Another update of MS-Windows entries in etc/PROBLEMS.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
612ddfc0
JB
12014-02-21 Juanma Barranquero <lekktu@gmail.com>
2
3 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
4 (whitespace-newline, whitespace-trailing, whitespace-line)
5 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
6 (whitespace-space-after-tab): Fix typo in docstrings.
7
c8481b1b
DG
82014-02-21 Dmitry Gutov <dgutov@yandex.ru>
9
cb8f50a7
DG
10 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
11
c8481b1b
DG
12 * electric.el (electric-indent-functions-without-reindent):
13 Add `yaml-indent-line'.
14
bed5126f
JB
152014-02-21 Juanma Barranquero <lekktu@gmail.com>
16
34b71457
JB
17 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
18 It has done nothing for years; should be removed after the release.
19
bed5126f
JB
20 * simple.el (choose-completion): Fix docstring typo.
21 (read-quoted-char-radix): Remove unneeded * in docstring.
22 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
23 Don't escape parentheses unnecessarily in docstrings.
24
8dd3e94f
MR
252014-02-21 Martin Rudalics <rudalics@gmx.at>
26
27 Fix handling of window-min-height/-width (Bug#16738).
28 * window.el (window--dump-window, window--dump-frame): New
29 functions.
30 (window--min-size-1): Account for window dividers. When
31 window-resize-pixelwise is nil, delay rounding till after the
32 sum of the window components has been calculated.
33 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
34 nil make sure at least one text line and two text columns remain
35 fully visible.
36 (window-resize): Signal an error when window-resize-apply fails.
37 (window--resize-child-windows): Fix calculation of by how many
38 pixels a window can still be shrunk via window-new-normal.
39 (adjust-window-trailing-edge): Call window--resizable with
40 correct TRAIL argument.
41
2ed94e04
MR
42 (with-temp-buffer-window): Don't evaluate BODY within
43 with-current-buffer (Bug#16816).
44
0e5324c4
MA
452014-02-21 Michael Albinus <michael.albinus@gmx.de>
46
47 * net/tramp.el (tramp-check-cached-permissions):
48 Call `file-attributes' with `suffix' being a symbol but a string.
49
48198420
DC
502014-02-21 Daniel Colascione <dancol@dancol.org>
51
52 * net/dbus.el (dbus-init-bus-1): Declare new subr.
53 (dbus-init-bus): New function: call into dbus-init-bus-1
54 and installs a handler for the disconnect signal.
55 (dbus-call-method): Rewrite to look for result in cons.
56 (dbus-call-method-handler): Store result in cons.
57 (dbus-check-event): Recognize events with nil sender as valid.
58 (dbus-handle-bus-disconnect): New function. React to bus
59 disconnection signal by synthesizing dbus error for each
60 pending synchronous or asynchronous call.
61 (dbus-notice-synchronous-call-errors): New function.
62 (dbus-handle-event): Raise errors directly only when `dbus-debug'
63 is true, not all the time.
64
99e15133
JB
652014-02-21 Juanma Barranquero <lekktu@gmail.com>
66
e48983a6
JB
67 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
68 Remove obsolescence declarations, these variables do not exist anymore.
69
fdcfd745
JB
70 * savehist.el (savehist-save-minibuffer-history)
71 (savehist-additional-variables, savehist-file, savehist-mode-hook)
72 (savehist-save-hook, savehist-coding-system, savehist-loaded)
73 (savehist-load, savehist-install, savehist-autosave): Fix typos;
74 mostly, refer to "Savehist mode" when talking about the mode,
75 and not the function.
76
99e15133
JB
77 * saveplace.el (save-place): Remove redundant info in docstring.
78 (save-place-forget-unreadable-files, toggle-save-place)
79 (save-place-forget-unreadable-files, save-place-dired-hook):
80 Fix typos and remove unneeded backslashes.
81
f5bee33b
MA
822014-02-20 Michael Albinus <michael.albinus@gmx.de>
83
84 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
85 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
86
87 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 88 <insert-directory>: Use `tramp-handle-insert-directory.
f5bee33b
MA
89 (tramp-gvfs-handle-insert-directory): Remove function.
90
91 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
92 Call `tramp-handle-insert-directory'.
93
ee0761ca
JB
942014-02-20 Juanma Barranquero <lekktu@gmail.com>
95
96 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
97 before the start of buffer/region (bug#16799).
98
4d49cc65
GM
992014-02-20 Glenn Morris <rgm@gnu.org>
100
101 * isearch.el (search-invisible): Doc fix.
102
eee0d650
TK
1032014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
104
105 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
106 (bug#16657).
107
94e5e202
JB
1082014-02-19 Juanma Barranquero <lekktu@gmail.com>
109
110 * frameset.el (frameset-restore): Delay removing an old frame's
111 duplicate id until the new frame has been correctly created.
112
50bfdd5d
MA
1132014-02-19 Michael Albinus <michael.albinus@gmx.de>
114
115 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
116 (tramp-check-cached-permissions): Call `file-attributes' if the
117 cache is empty.
118
119 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 120 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
121
122 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 123 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
124 (tramp-gvfs-maybe-open-connection): Set always connection
125 properties, even if target is mounted already.
126
127 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
128 Set tramp-autoload cookie.
129 (tramp-get-remote-touch): New defun.
130 (tramp-sh-handle-set-file-times): Use it.
131 (tramp-sh-handle-directory-files-and-attributes):
132 Use `tramp-handle-directory-files-and-attributes' if neither stat
133 nor perl are available on the remote host.
134
135 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
136 "/". Write long listing only when "l" belongs to the switches.
137
138 * net/trampver.el: Update release number.
139
f097a3d2
JB
1402014-02-19 Juanma Barranquero <lekktu@gmail.com>
141
142 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
143
8e009b78
MR
1442014-02-19 Martin Rudalics <rudalics@gmx.at>
145
146 * window.el (window-state-put): Allow WINDOW to refer to an
147 internal window (Bug#16793).
148
95160c90
GM
1492014-02-19 Glenn Morris <rgm@gnu.org>
150
151 * textmodes/remember.el: Move provide statement to end.
152 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
153 (remember-notes): Doc fixes.
154
b28df58c
SM
1552014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * delsel.el (delete-char): Restore incorrectly erased property
158 (bug#16795).
159
7108e1c0
JB
1602014-02-18 Juanma Barranquero <lekktu@gmail.com>
161
162 * frameset.el (frameset--restore-frame): When a frame is being reused
163 and its root window is not alive, delete all the frame's windows before
164 restoring the window state. This works around the issue in bug#16793.
165
c863b6ad
GM
1662014-02-18 Glenn Morris <rgm@gnu.org>
167
a73fae1f
GM
168 * textmodes/remember.el (remember-data-directory)
169 (remember-directory-file-name-format, remember-store-in-files)
170 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
171 (remember-notes-save-and-bury-buffer)
172 (remember-notes--kill-buffer-query): Doc fixes.
173
c863b6ad
GM
174 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
175
29238d28
AM
1762014-02-17 Alan Mackenzie <acm@muc.de>
177
178 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 179 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 180 to electric-indent-{,local-}-mode.
b28df58c
SM
181 (c-basic-common-init): Set electric-indent-inhibit.
182 Initialise c-electric-flag from electric-indent-mode.
29238d28 183 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 184 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
185
186 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 187 hit, toggle electric-indent-local-mode.
29238d28 188
b28df58c
SM
189 * electric.el (electric-indent-mode-has-been-called):
190 New variable.
29238d28 191
c6463340
JB
1922014-02-17 Juanma Barranquero <lekktu@gmail.com>
193
194 * frameset.el (frameset-cfg-id): New function.
195 (frameset--reuse-frame, frameset-restore): Use it.
196 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
197
94912b88
SM
1982014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
199
200 * ido.el (ido-file-internal): Remove unused var `d'.
201 Use \` for to match BoS. Fit within 80n columns.
202
26ea164c
DC
2032014-02-17 Daniel Colascione <dancol@dancol.org>
204
205 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
206 dbus-call-method check for completion using a busy-wait loop with
207 gradual backoff.
208
dd7691b7
MA
2092013-10-02 Michael Albinus <michael.albinus@gmx.de>
210
211 Sync with Tramp 2.2.9.
212
213 * net/trampver.el: Update release number.
214
17d1b51b
DG
2152014-02-16 Dmitry Gutov <dgutov@yandex.ru>
216
217 * ido.el (ido-file-internal): Don't add the name of an existing
218 directory twice. (Bug#16747)
219
5bcad689
GM
2202014-02-16 Glenn Morris <rgm@gnu.org>
221
222 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
223 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
224
2252014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
226
227 * progmodes/sql.el: Version 3.4
228 (sql-oracle-options): New default value ("-L").
94912b88 229 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7
MM
230 (sql-placeholders-filter): Correct placeholder pattern.
231 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
232 (sql-login-delay): New variable.
233 (sql-product-interactive): Use it.
234
285f1858
JB
2352014-02-15 Juanma Barranquero <lekktu@gmail.com>
236
237 * frameset.el (frameset--jump-to-register): Check that buffer is live
238 (bug#16749).
239
5d645ea4
GM
2402014-02-15 Glenn Morris <rgm@gnu.org>
241
242 * info.el (info-initialize): Revert 2014-01-10 change.
243
48c4f9b1
GM
2442014-02-14 Glenn Morris <rgm@gnu.org>
245
b8630261
GM
246 * replace.el (map-query-replace-regexp)
247 (read-regexp-defaults-function, read-regexp): Doc fixes.
248
b2bf2a25
GM
249 * dired.el (dired-read-regexp):
250 * faces.el (list-faces-display):
251 * misearch.el (multi-isearch-read-matching-buffers)
252 (multi-isearch-read-matching-files):
253 * play/cookie1.el (cookie-apropos):
254 * progmodes/grep.el (grep-read-regexp): Doc fixes.
255
48c4f9b1
GM
256 * textmodes/remember.el (remember): Use frameset-to-register
257 rather than frame-configuration-to-register.
258
2804e0bd
JB
2592014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
260
261 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
262 incorrect keybinding.
263
0b87142f
DC
2642014-02-13 Daniel Colascione <dancol@dancol.org>
265
266 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
267 when adding overlays so that line numbers from compiler match line
268 numbers we use.
269
47a73eb0
GM
2702014-02-13 Glenn Morris <rgm@gnu.org>
271
8abcfd51
GM
272 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
273
47a73eb0
GM
274 * jit-lock.el (jit-lock-mode): Doc fix.
275
c9b6b262
JB
2762014-02-13 Juanma Barranquero <lekktu@gmail.com>
277
278 * apropos.el (apropos-read-pattern): When the user passes an empty
279 string, give a more helpful error message than "Wrong type
280 argument: stringp, nil".
281
eb4c6947
SM
2822014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
285
0dab5068
GM
2862014-02-13 Glenn Morris <rgm@gnu.org>
287
288 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
289
59075dcf
SM
2902014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
293 shift-select commands.
294
5af9fbad
DG
2952014-02-12 Dmitry Gutov <dgutov@yandex.ru>
296
297 * progmodes/js.el (js-indent-line): Don't widen.
298 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
299
a215930c
GM
3002014-02-12 Glenn Morris <rgm@gnu.org>
301
a8cb4247
GM
302 * icomplete.el (icomplete): Add info-link to defgroup.
303 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
304 (icomplete-minibuffer-map, icomplete-mode)
305 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
306
a215930c
GM
307 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
308 (package-menu-filter): Rename from package-menu-filter-interactive.
309 Doc fix.
310
26c5ecd9
JB
3112014-02-11 Juanma Barranquero <lekktu@gmail.com>
312
313 * frameset.el (frameset--jump-to-register): Select the required
314 window and buffer before restoring position (bug#16696).
315
fcd58a02
LI
3162014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
317
318 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
319
bacb3380
GM
3202014-02-10 Glenn Morris <rgm@gnu.org>
321
322 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
323
881329dc
EZ
3242014-02-10 Eli Zaretskii <eliz@gnu.org>
325
02328db9
EZ
326 * w32-common-fns.el (x-get-selection): Doc fix.
327 * select.el (x-get-selection): Doc fix. (Bug#15109)
328
881329dc
EZ
329 * face-remap.el (face-remap-add-relative)
330 (face-remap-remove-relative, face-remap-reset-base)
331 (face-remap-set-base): Call force-mode-line-update to redisplay
332 the current buffer due to potential change in faces. (Bug#16709)
333
c7db4c06
MA
3342014-02-10 Michael Albinus <michael.albinus@gmx.de>
335
336 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
337 script more robustly.
338
6abe4589
LI
3392014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
340
7602b5c3
LI
341 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
342
e3692ee0
LI
343 * simple.el (choose-completion): Doc fix (bug#14160).
344
41015524
LI
345 * subr.el (event-start): Say what a nil EVENT value means.
346
87c79dcb
LI
347 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
348 (bug#14197).
349
3ab49e2c
LI
350 * progmodes/grep.el (find-program): Doc fix (bug#14289).
351
f3c60241
LI
352 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
353
3bd1d8a8
LI
354 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
355
6abe4589
LI
356 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
357 predicate function (bug#15455).
358
a11463de
DG
3592014-02-10 Dmitry Gutov <dgutov@yandex.ru>
360
361 * ielm.el (inferior-emacs-lisp-mode): Instead of
362 `comment-use-global-state', set `comment-use-syntax'.
363
2ab0ad85
GM
3642014-02-10 Glenn Morris <rgm@gnu.org>
365
366 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
367
411141fb
AM
3682014-02-09 Alan Mackenzie <acm@muc.de>
369
370 Fix c-invalidate-state-cache on narrowed buffers.
371 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
372 Widen when setting and clearing the CPP delimiter properties.
373
d6d5fdf8
LI
3742014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
375
92c70367
LI
376 * help.el (describe-bindings): Doc fix (bug#9888).
377
468ef484
LI
378 * files.el (save-buffer): Use ARG as the parameter name for
379 consistency (bug#10346).
7e34193f 380 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 381
fc2b1ffa 382 * cus-edit.el (customize-apropos): Fix error string.
382fd368 383 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 384 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 385
790aceec
LI
386 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
387
a54a7552 388 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 389 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 390
dd163123
LI
391 * font-lock.el (font-lock-value-in-major-mode): Clarify the
392 meaning of the parameter (bug#12282).
393
9e108fe6
LI
394 * files.el (find-file-noselect): Clarify prompt when changing
395 readedness (bug#13261).
5a836f58
LI
396 (locate-file): Suffixes aren't returned, so don't say that they
397 are (bug#12674).
2356b316 398 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 399
20dda930
LI
400 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
401 before we actually start to delete things (bug#16331).
402
d6d5fdf8
LI
403 * subr.el (event-start): Doc fix (bug#14228).
404 (event-end): Ditto.
405
2abd71e5
GM
4062014-02-09 Glenn Morris <rgm@gnu.org>
407
408 * emacs-lisp/warnings.el (lwarn):
409 Empower help-enable-auto-load. (Bug#15940)
410
c1b5900b
AS
4112014-02-08 Andreas Schwab <schwab@linux-m68k.org>
412
413 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
414 (Bug#16690)
415
429b93bd
MA
4162014-02-08 Michael Albinus <michael.albinus@gmx.de>
417
418 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
419 Insert output at end of buffer. (Bug#16120)
420
b772a699
LI
4212014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
422
18c6aa8c
LI
423 * simple.el (choose-completion-string-functions): Document new
424 calling convention (bug#14153).
54dd147a 425 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 426
dce8463b
LI
427 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
428
b772a699 429 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 430 (find-grep-dired): Doc fix (bug#14288).
b772a699 431
2423c8d5
JL
4322014-02-08 Juri Linkov <juri@jurta.org>
433
434 * isearch.el (isearch-quote-char): Check character validity
435 like in `quoted-insert' (bug#16677).
436
518f26c2
LI
4372014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
438
893cc908
LI
439 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
440
9165ffc0
LI
441 * isearch.el (isearch-hide-immediately): Doc clarification
442 (bug#14723).
443
6ef4f3ce
LI
444 * simple.el (line-move): Document utility function used many
445 places in the Emacs sources (bug#14843).
446
be58a238 447 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 448 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 449 (dired-up-directory): Doc fix (bug#14848).
be58a238 450
dd7aafbb
LI
451 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
452
15cb9968
LI
453 * files.el (file-relative-name): Doc fix (bug#15159).
454
9788effd
LI
455 * fringe.el (fringe-styles): Doc fix (bug#15239).
456
c96411bd
LI
457 * isearch.el (isearch-filter-predicate): Documentation typo fix
458 (bug#15474).
459
ea838c36
LI
460 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
461
0d8a4ae7
LI
462 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
463
f7a17bb3
LI
464 * replace.el (replace-match-maybe-edit): Doc clarification
465 (bug#15632).
466
1bde5c3b
LI
467 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
468
518f26c2
LI
469 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
470
dd8e49fd
GM
4712014-02-08 Glenn Morris <rgm@gnu.org>
472
473 * help-fns.el (describe-variable):
474 Check {file,dir}-local-variables-alist, and buffer-file-name,
475 in the correct buffer.
476
7e088b29
IL
4772014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
478
479 * help-fns.el (describe-variable): Fix the case where
480 a value is directory-local with no dir-locals file. (Bug#16635)
481
41a4a82f
GM
4822014-02-08 Glenn Morris <rgm@gnu.org>
483
484 * abbrev.el (edit-abbrevs-mode):
485 Derive from fundamental-mode. (Bug#16682)
486
e255a703
JB
4872014-02-07 Juanma Barranquero <lekktu@gmail.com>
488
489 * simple.el (quoted-insert): Check character validity (bug#16677).
490
c99cf5ee
JL
4912014-02-07 Juri Linkov <juri@jurta.org>
492
493 * desktop.el (desktop-read): Claim the lock when the owner is not
494 the current process. (Bug#16157)
495
7d7a68d8
JL
4962014-02-07 Juri Linkov <juri@jurta.org>
497
498 * desktop.el (desktop-buffers-not-to-save): Change default from nil
499 to "\\` ". (Bug#16651)
500
2b777cd9
JL
5012014-02-07 Juri Linkov <juri@jurta.org>
502
503 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
504 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
505 (desktop-auto-save-cancel-timer): New function with some code from
506 `desktop-auto-save-set-timer'.
507 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
508 Instead of setting `desktop-save-mode' to nil, call
509 `desktop-save-mode' with arg 0. (Bug#16630)
510
60eabbb9
GM
5112014-02-07 Glenn Morris <rgm@gnu.org>
512
99cf3859
GM
513 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
514 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
515 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
516
2b568bc9
GM
517 * obsolete/iswitchb.el: Move to obsolete/.
518 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
519 since obsolete/ is not scanned for autoloads.
520 * emacs-lisp/authors.el (authors-valid-file-names):
521 Add iswitchb.el.
522
60eabbb9
GM
523 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
524 Disable now non-functional find-file-hook.
525
629de968
MA
5262014-02-06 Michael Albinus <michael.albinus@gmx.de>
527
528 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
529 instead of ";" in order to avoid additional prompts. Let heredoc
530 scripts read from tty. (Bug#16582)
531 (tramp-send-command): No special handling of heredocs, it isn't
532 necessary anymore.
533
29127376
SM
5342014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
537 with a space (bug#16664). Limit the symbols considered to the ones
538 that are bound or fbound (bug#16646).
539
79b6e0a9
GM
5402014-02-06 Glenn Morris <rgm@gnu.org>
541
542 * epa.el (epa-mail-aliases): Doc fix.
543
a333e4d2
DG
5442014-02-06 Dmitry Gutov <dgutov@yandex.ru>
545
29127376
SM
546 * emacs-lisp/lisp.el (lisp-completion-at-point):
547 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
548 (bug#16604).
549
550 * minibuffer.el (completion-table-merge): New function.
551
9a83b32b
MA
5522014-02-05 Michael Albinus <michael.albinus@gmx.de>
553
554 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
555 (tramp-sh-handle-set-file-acl)
556 (tramp-sh-handle-start-file-process)
557 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
558 (tramp-find-executable, tramp-send-command): Use it.
559
451ea3e6
GM
5602014-02-05 Glenn Morris <rgm@gnu.org>
561
9a83b32b 562 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 563
dd27d13b
FEG
5642014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
565
566 * progmodes/python.el (python-shell-send-string):
567 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
568
08e41897
AL
5692014-02-04 Anders Lindgren <andlind@gmail.com>
570
571 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
572 the names (bug#16620).
573
764ec9e5
MR
5742014-02-03 Martin Rudalics <rudalics@gmx.at>
575
08e41897
AL
576 * faces.el (window-divider): New default value. Rewrite doc-string.
577 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 578
6da8227c
DG
5792014-02-03 Dmitry Gutov <dgutov@yandex.ru>
580
581 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
582 `protected' and `public' can also be called without arguments.
583
6a6b8e40
GM
5842014-02-03 Glenn Morris <rgm@gnu.org>
585
7bcbca40
GM
586 * register.el (window-configuration-to-register)
587 (frame-configuration-to-register): Unadvertise unused argument.
588 * frameset.el (frameset-to-register): Remove unused argument.
589
719d965d 590 * frameset.el (frameset-to-register):
6a6b8e40
GM
591 * kmacro.el (kmacro-to-register):
592 * register.el (increment-register):
593 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
594 (calc-append-to-register, calc-prepend-to-register):
595 * play/gametree.el (gametree-layout-to-register)
596 (gametree-apply-register-layout):
597 * textmodes/picture.el (picture-clear-rectangle-to-register)
598 (picture-yank-rectangle-from-register):
599 * vc/emerge.el (emerge-combine-versions-register):
600 Use register-read-with-preview to read registers.
601
5dca7759
JT
6022014-02-03 João Távora <joaotavora@gmail.com>
603
604 * elec-pair.el (electric-pair-backward-delete-char): Don't error
605 when at beginning of (possibly narrowed) buffer.
606
709085b9
DC
6072014-02-02 Daniel Colascione <dancol@dancol.org>
608
c295fc18 609 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 610 Also try to display local help from just before point.
709085b9 611
99f7b0a6
AM
6122014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
613
614 c-parse-state. Don't "append-lower-brace-pair" in certain
615 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
616 recognised as a comment.
617
618 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
619 as well as normal comment starter.
620 (c-parse-state-get-strategy): Extra return possibility
621 'back-and-forward.
622 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
623 return value list to indicate replacement of a brace-pair cons
624 with its car.
625 (c-parse-state-1): With 'back-and-forward, only call
626 c-append-lower-brace-pair-to state-cache when cons-separated.
627
f0a10576
JD
6282014-02-02 Jan Djärv <jan.h.d@swipnet.se>
629
630 * term/ns-win.el (ns-suspend-error): New function.
631 (ns-initialize-window-system): Add ns-suspend-error to
632 suspend-hook (Bug#16612).
633
b8d552c2
DC
6342014-02-02 Daniel Colascione <dancol@dancol.org>
635
636 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
637
f2b7d123
DC
6382014-02-02 Daniel Colascione <dancol@dancol.org>
639
640 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
641
4472a196
GM
6422014-02-02 Glenn Morris <rgm@gnu.org>
643
644 * register.el (register-read-with-preview, point-to-register)
645 (window-configuration-to-register, frame-configuration-to-register)
646 (jump-to-register, number-to-register, view-register, insert-register)
647 (copy-to-register, append-to-register, prepend-to-register)
648 (copy-rectangle-to-register): Doc fixes.
649
70e5a261
SM
6502014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
651
652 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
653 * emacs-lisp/find-func.el (find-function-C-source): Idem.
654 * emacs-lisp/nadvice.el (advice--cd*r): New function.
655 * help-fns.el (describe-function-1): Use it.
656
7c324762
GM
6572014-02-02 Glenn Morris <rgm@gnu.org>
658
659 * register.el (register-preview-default): New function,
660 split from register-preview.
661 (register-preview-function): Rename from register-preview-functions,
662 make it not a hook.
663 (register-preview): Use register-preview-function.
664 (register-read-with-preview): Error on non-character event. (Bug#16595)
665
a09beb3d
DG
6662014-02-01 Dmitry Gutov <dgutov@yandex.ru>
667
668 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
669 `:' before binary operators (bug#16609). Don't check for `:'
670 before `[' and `(', or their syntax status. A percent literal
671 can't end with either.
68e004e0
DG
672 (ruby-font-lock-keywords): For built-ins that require arguments,
673 check that they're followed by something that looks like argument
674 (bug#16610).
a09beb3d 675
ed4d2875
LI
6762014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
677
678 * subr.el (butlast): Document what an omitted N means (bug#13437).
679 (nbutlast): Ditto.
680
dba6e3ec
LI
6812014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
682
683 * net/shr.el (shr-generic): Make into a defsubst to make the stack
684 depth shallower (bug#16587).
cc477daa
LI
685 (shr-tag-svg): Respect `shr-inhibit-images'.
686 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 687
e2a67bd0
DG
6882014-01-31 Dmitry Gutov <dgutov@yandex.ru>
689
690 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
691 (ruby-smie-grammar): Make "." right-associative. Make its priority
692 lower than the ternary and all binary operators.
693 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
694 parent, or the first "." parent at indentation.
695 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
696 (Bug#16593)
697
bd21bf41
JL
6982014-01-31 Juri Linkov <juri@jurta.org>
699
700 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
701 from `make-hash-table'.
702
703 * textmodes/ispell.el (ispell-init-process): Change message format
704 to be consistent with other messages.
705
b7e615b9
GM
7062014-01-31 Glenn Morris <rgm@gnu.org>
707
a69ecd19
GM
708 * delsel.el (delete-selection-mode): Doc fix.
709
9997d7e3
GM
710 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
711 (trace-function-background): Doc fixes.
712
fbb764b8
GM
713 * ido.el (ido-use-virtual-buffers): Doc fix.
714 Reset :version, since the default value has not changed.
715
da942af1
GM
716 * register.el (register-preview-delay, register-read-with-preview):
717 Doc fixes.
718
b7e615b9
GM
719 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
720 do not mess with mail-buffer position (fixes 2009-11-03 change).
721 * progmodes/cc-mode.el (c-submit-bug-report):
722 Check auto-fill-mode is bound. (Bug#16592)
723
0a25002d
DH
7242014-01-31 Darren Hoo <darren.hoo@gmail.com>
725
726 * startup.el (fancy-splash-image-file): New function,
727 split from fancy-splash-head.
728 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
729 so that we are both using the same image. (Bug#16574)
730
ad78f432
GM
7312014-01-30 Glenn Morris <rgm@gnu.org>
732
6bbc0c84
GM
733 * simple.el (eval-expression): Doc fix.
734
ad78f432
GM
735 * hexl.el (hexl-mode-hook):
736 * ielm.el (ielm-mode-hook):
737 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
738 (lisp-interaction-mode-hook):
739 * progmodes/cfengine.e (cfengine3-documentation-function):
740 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
741
7b2f049c
SM
7422014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
745 is a symbol (bug#16584).
746
0c633f13
GM
7472014-01-30 Glenn Morris <rgm@gnu.org>
748
749 * help.el (help-for-help-internal): Add "P" to text.
750
5e61c1ef
GM
7512014-01-29 Glenn Morris <rgm@gnu.org>
752
753 * simple.el (just-one-space, cycle-spacing): Doc fixes.
754
1dcb169c
MR
7552014-01-28 Martin Rudalics <rudalics@gmx.at>
756
757 * window.el (fit-frame-to-buffer): Fix calculations for margins and
758 height constraints.
759
a9128931
LL
7602014-01-28 Luke Lee <luke.yx.lee@gmail.com>
761
762 * progmodes/hideif.el: Extend to full CPP expression syntax.
763 (hif-token-alist): Add missing tokens.
764 (hif-token-regexp): Add support for float/octal/hex immediates.
765 (hif-string-literal-regexp): New const.
766 (hif-tokenize): Recognize strings and float/octal/hex immediates.
767 (hif-exprlist): New function.
768 (hif-parse-if-exp): Use it.
769 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
770 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
771 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
772 (hif-logxor, hif-comma): New functions.
773
a22359a7
GM
7742014-01-28 Glenn Morris <rgm@gnu.org>
775
793ffe81
GM
776 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
777
e3bd7eed
GM
778 * indent.el (tab-stop-list): Doc fix. Add :version.
779
a22359a7
GM
780 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
781 (cvs-append-to-ignore): Add compatibility alias.
782
52695556 7832014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 784
bac524e0
GM
785 * dired.el (dired-hide-details-mode): Don't autoload it,
786 since it cannot be used outside Dired buffers anyway.
787
52695556 788 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 789
52695556
GM
790 * dired.el (dired-hide-details-hide-symlink-targets)
791 (dired-hide-details-hide-information-lines)
792 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
793
794 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
795 * strokes.el (strokes-file): Doc fix. Bump :version.
796 (strokes-help): Doc fix.
797 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
798 * emulation/viper.el (viper): Doc fix for custom group.
799 (top-level): Remove oh-so-no-longer-relevant text about vip.
800 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
801
802 * ido.el (ido-save-directory-list-file):
803 * saveplace.el (save-place-file):
804 * calendar/timeclock.el (timeclock-file):
805 * net/quickurl.el (quickurl-url-file):
806 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
807 * progmodes/idlwave.el (idlwave-config-directory):
808 * textmodes/remember.el (remember-data-file):
809 Bump :version.
810
169d6004
GM
8112014-01-26 Glenn Morris <rgm@gnu.org>
812
de6a923b
GM
813 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
814 Doc fix. Make obsolete.
815 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
816
169d6004
GM
817 * sort.el (delete-duplicate-lines): Doc fix.
818
ed85dee6
RS
8192014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
820
821 * progmodes/ada-mode.el (ada):
822 * woman.el (woman): Link to info manual and Commentary section.
823
824 * progmodes/flymake.el (flymake):
825 * nxml/nxml-mode.el (nxml):
826 * net/eww.el (eww):
827 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
828 * htmlfontify.el (htmlfontify):
829 * ses.el (ses):
830 * epa.el (epa):
831 * ido.el (ido): Link to info manual.
832
e0c67e1d
LL
8332014-01-25 Leo Liu <sdl.web@gmail.com>
834
835 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
836
35408b1a
AS
8372014-01-25 Adam Sjøgren <asjo@koldfront.dk>
838
839 * net/shr.el (shr-tag-img): Prefer the title over the alt text
840 (bug#16537).
841
76c3fa95
JB
8422014-01-24 Juanma Barranquero <lekktu@gmail.com>
843
f77c7a99
JB
844 * net/eww.el (eww-download-callback):
845 Fix reference to eww-download-directory.
846
76c3fa95
JB
847 * emacs-lisp/bytecomp.el (byte-compile-file):
848 Remove unused local variable `file-name'.
849
1e548e40
GM
8502014-01-24 Glenn Morris <rgm@gnu.org>
851
03f3b318
GM
852 * woman.el (woman-default-faces, woman-monochrome-faces):
853 Fix obsolescence specification.
854
1e548e40
GM
855 * subr.el (with-demoted-errors): Doc fix.
856
d4f0427b
SM
8572014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
860 (cl--macroexp-fboundp): New function.
861 (cl--make-type-test): Use it.
862
1670e27f
GM
8632014-01-23 Glenn Morris <rgm@gnu.org>
864
865 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
866 * simple.el (eval-expression): Doc fixes.
867
80efa207
GM
8682014-01-22 Glenn Morris <rgm@gnu.org>
869
870 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
871
29afcbab
SM
8722014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 * emacs-lisp/package.el: Write files silently.
875 (package-autoload-ensure-default-file, package--write-file-no-coding)
876 (package-generate-description-file, package--download-one-archive)
877 (package-install-from-archive): Tell `write-region' to stay quiet.
878 (package-menu-mode, package-menu--print-info): Omit the Archive column
879 if there's only one archive.
880 (package-all-keywords, package--has-keyword-p): Remove dead code.
881
2a5bce4f
GM
8822014-01-22 Glenn Morris <rgm@gnu.org>
883
edace89f
GM
884 * version.el (emacs-bzr-version-bzr): Fix typo.
885
2a5bce4f
GM
886 * version.el (emacs-repository-get-version):
887 Check either .bzr or .git, but not both.
888 Make the git case actually use the DIR argument, and return nil
889 rather than the empty string.
983664c0 890 Avoid error if .git exists but the git executable is not found.
2a5bce4f 891
6cb4da45
MR
8922014-01-22 Martin Rudalics <rudalics@gmx.at>
893
894 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
895 * window.el (window-total-size, window-size): New argument ROUND.
896 (window--min-delta-1, window-min-delta, window--max-delta-1):
897 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
898 columns a window can shrink (Bug#16430).
899 (fit-window-to-buffer): Simplify code.
900 * term.el (term-window-width): Call window-body-width again.
901
cc0f2ece
GM
9022014-01-22 Glenn Morris <rgm@gnu.org>
903
7b997b14
GM
904 * image.el (image-format-suffixes): Doc fix.
905
44e76f9d
GM
906 * international/quail.el (quail-define-package): Doc fix.
907
73c1c6d7
GM
908 * emacs-lisp/authors.el (authors-valid-file-names):
909 (authors-renamed-files-alist): Additions.
7bfc1caa 910
85a5f61f
GM
911 * vc/vc-git.el (vc-git-print-log): Remove --follow;
912 reverts 2014-01-09 change. (Bug#16422)
913
cc0f2ece
GM
914 * calc/calc-embed.el (thing-at-point-looking-at):
915 * emacs-lisp/map-ynp.el (x-popup-dialog):
916 * obsolete/lmenu.el (x-popup-dialog):
917 * emacs-lisp/package.el (url-recreate-url):
918 * mail/mailclient.el (clipboard-kill-ring-save):
919 * subr.el (x-popup-dialog): Update declaration.
920 * mail/rmail.el (rmail-mime-message-p):
921 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
922
00d2a6bb
DC
9232014-01-21 Daniel Colascione <dancol@dancol.org>
924
925 * progmodes/sh-script.el (sh--inside-noncommand-expression):
926 Correctly detect when we're inside an arithmetic expansion form
927 containing nested parenthesis.
c295fc18 928 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
929 to detect cases where we shouldn't expand "<<" to a heredoc
930 skeleton.
931
dd9d2e9d
SM
9322014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
935 (eldoc--message-command-p): New function.
936 (eldoc-display-message-p): Use it.
937 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
938 message is not automatically erased for us.
939 (eldoc-print-current-symbol-info): Erase previous message, if any.
940
e7d807ca
TH
9412014-01-21 Tassilo Horn <tsdh@gnu.org>
942
4ff0a0e5
TH
943 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
944 specify it's an interactive function.
945
dd9d2e9d
SM
946 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
947 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
948 citations with optional arguments.
949
87503791
LL
9502014-01-21 Leo Liu <sdl.web@gmail.com>
951
952 * simple.el (read--expression): Don't enable eldoc-mode.
953
6cc750ee
SM
9542014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
955
956 * simple.el (move-beginning-of-line): Make sure we don't move forward
957 (bug#16497).
958
71f16bda
JL
9592014-01-20 Juri Linkov <juri@jurta.org>
960
961 * saveplace.el (toggle-save-place, save-place-to-alist)
962 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
963 'dired-mode) before checking for dired-directory. (Bug#16477)
964
3c5a4839
JL
9652014-01-20 Juri Linkov <juri@jurta.org>
966
967 * indent.el (indent-line-to): Use backward-to-indentation
968 instead of back-to-indentation. (Bug#16461)
969
f952002e
PE
9702014-01-20 Paul Eggert <eggert@cs.ucla.edu>
971
972 Revert some of the CANNOT_DUMP fix (Bug#16494).
973 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
974 but fixing this can wait until after the next release.
975 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
976
93675500
MA
9772014-01-19 Michael Albinus <michael.albinus@gmx.de>
978
979 * eshell/esh-mode.el (eshell-password-prompt-regexp):
980 Use `password-word-equivalents'.
981 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
982 to t. (Bug#5664, Bug#13124)
983
e3af763f
AM
9842014-01-19 Alan Mackenzie <acm@muc.de>
985
986 Bind open-paren-in-column-0-is-defun-start to nil at some entry
987 points.
988 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 989 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
990 * progmodes/cc-mode.el (c-before-change, c-after-change)
991 (c-font-lock-fontify-region): Bind it here.
992
4ff6d92d
MR
9932014-01-19 Martin Rudalics <rudalics@gmx.at>
994
995 * term.el (term-window-width): Call window-text-width instead of
996 window-width (Bug#16470).
997
9a685cf6
PE
9982014-01-18 Paul Eggert <eggert@cs.ucla.edu>
999
1000 * simple.el (password-word-equivalents): Remove duplicates.
1001 Sort, to make this easier next time.
1002 Downcase. Omit ": " after "jelszó".
1003
5aa78c2d
JD
10042014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1005
1006 * term/common-win.el (saved-region-selection): Defvar it.
1007 (x-select-text): Set saved-region-selection (Bug#16382).
1008
cabb250c
GM
10092014-01-18 Glenn Morris <rgm@gnu.org>
1010
1011 * emacs-lisp/authors.el (authors-aliases)
1012 (authors-renamed-files-alist): Add some entries.
1013
a1340440
MA
10142014-01-17 Michael Albinus <michael.albinus@gmx.de>
1015
93675500
MA
1016 * net/tramp.el (tramp-password-prompt-regexp):
1017 Use `password-word-equivalents' if available.
a1340440
MA
1018 (tramp-action-password, tramp-process-one-action)
1019 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1020
681ce5d2
CY
10212014-01-17 Chong Yidong <cyd@gnu.org>
1022
1023 * simple.el (password-word-equivalents): New defcustom.
1024 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1025 to 24.4.
1026 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1027 to t. (Bug#13124)
1028
fb3d479c
DG
10292014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1030
1031 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1032 (ruby-align-to-stmt-keywords): Change the default value.
1033 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1034 choices.
1035 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1036 keywords, check against the value of `ruby-alignable-keywords'
1037 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1038
0d613483
GM
10392014-01-17 Glenn Morris <rgm@gnu.org>
1040
fc23fe2d
GM
1041 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1042
0d613483
GM
1043 Make M-x authors return zero *Authors Errors* from current logs.
1044 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1045 (authors-ignored-files): Add some entries, remove others.
1046 (authors-ambiguous-files, authors-valid-file-names):
1047 Add some entries.
1048 (authors-renamed-files-alist): Add, remove, and adjust entries.
1049 (authors-renamed-files-regexps): Add some entries.
1050 Remove some very broad ones. Make some entries `lax'.
1051 (authors-lax-changelogs): New constant.
1052 (authors-disambiguate-file-name): Treat top-level specially.
1053 (authors-lax-changelog-p): New function.
1054 (authors-canonical-file-name): Check file as written against
1055 authors-valid-file-names. Do not special-case etc/.
1056 Handle `lax' logs and authors-renamed-files-regexps elements.
1057
2dbf4ffd
DG
10582014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1059
1060 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1061 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1062 callers.
2dbf4ffd 1063
87b2a7f2
SM
10642014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1067 Assume we're already in the proper buffer.
1068 Inspired by Anders Lindgren <andlind@gmail.com>.
1069 (follow-post-command-hook): Call it from the right buffer.
1070 (follow-comint-scroll-to-bottom): Adjust call.
1071 (follow-all-followers): Use get-buffer-window-list.
1072
93acfb0e
DC
10732014-01-15 Daniel Colascione <dancol@dancol.org>
1074
1075 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1076 `buffer-file-name' in interactive-form so that we don't leave
1077 pathless file names in `file-name-history'.
1078
ccc6b208
JL
10792014-01-15 Juri Linkov <juri@jurta.org>
1080
1081 * indent.el (indent-rigidly): Set deactivate-mark to nil
1082 in transient indentation mode. (Bug#16438)
1083
5c92e00d
DG
10842014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1085
1086 * emacs-lisp/package.el (package-desc-keywords): New function
1087 (Bug#16222).
1088 (describe-package-1, package-all-keywords)
1089 (package--has-keyword-p): Use it.
1090
dac69660
NR
10912014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1092
1093 * simple.el (define-alternatives): When creating the
1094 COMMAND-alternatives variable, assign COMMAND as its definition
1095 name so that `describe-variable' can relocate it.
1096
8b63edf8
ML
10972014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1098
1099 * font-lock.el (font-lock-keywords): Fix typo in docstring
1100 (bug#16307).
1101
c6a0b8eb
AM
11022014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1103
1104 * ispell.el (ispell-region): Reset `in-comment' for new line
1105 instead of wrongly reset `add-coment' (bug#13577).
1106
02bf443d
DU
11072014-01-14 Daiki Ueno <ueno@gnu.org>
1108
1109 * epa-file.el (epa-file-write-region): Encode the region according
1110 to `buffer-file-format'. Problem reported at:
1111 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1112
fd7fde15
SM
11132014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1116 so it applies in the right buffer (bug#16410).
1117
c176054f
DC
11182014-01-13 Daniel Colascione <dancol@dancol.org>
1119
1120 * textmodes/rst.el (rst-define-key): Provide deprecated
1121 keybindings through named functions instead of anonymous ones so
1122 that "??" doesn't appear in describe-mode output.
1123
e3f33e5d
BG
11242014-01-13 Bastien Guerry <bzg@gnu.org>
1125
1126 * simple.el (define-alternatives): Call the selected command
1127 interactively. When setting `COMMAND--implementation' for the
1128 first time, tell the user how to chose another implementation.
1129 Enhance the docstring.
1130
c055d654
SM
11312014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1132
1133 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1134 (log-edit--match-first-line): New function.
1135 (log-edit-font-lock-keywords): Use it.
1136 (log-edit-mode): Make jit-lock-defer-multiline work.
1137
d791cc3b
BG
11382014-01-13 Bastien Guerry <bzg@gnu.org>
1139
1140 * rect.el (rectangle-mark-mode): When the region is not active,
1141 display a message saying that the mark as been set and that
1142 rectangle mode is in use.
1143 (rectangle--highlight-for-redisplay): Only put an overlay with a
1144 visible vertical bar when (display-graphic-p) is non-nil.
1145 This partially fixes Bug#16403.
1146
3c0c4562
JL
11472014-01-13 Juri Linkov <juri@jurta.org>
1148
1149 * info.el (Info-find-file): Go to DIR before displaying the error
1150 about a nonexistent file if no previous Info file is visited.
1151 Use `user-error' instead of `error' for "Info file %s does not exist".
1152 (Info-find-node-2): In case of a nonexistent node in unwind forms
1153 go to the Top node if there is no previous node to revert to.
1154 (Bug#16405)
1155
25a700d0
MR
11562014-01-13 Martin Rudalics <rudalics@gmx.at>
1157
1158 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1159 * window.el (fit-frame-to-buffer): Fix doc-string.
1160 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1161 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1162 when avoiding that frame goes partially off-screen.
1163 (fit-window-to-buffer): Respect window-min-height/-width
1164 (Bug#14096).
1165
6ae948d8
SM
11662014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1169 after an empty line.
1170
6137cb82
SM
11712014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * net/shr.el (shr-render-region): Autoload.
1174
e6344e17
XF
11752014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1176
1177 * net/eww.el (eww-download-directory): Rename from
1178 `eww-download-path' (Bug#16419).
1179
3b922c70
LL
11802014-01-12 Leo Liu <sdl.web@gmail.com>
1181
1182 * dired-x.el (dired-mode-map): Fix last change.
1183
1184 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1185
4fa51741
PE
11862014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1187
1188 Spelling fixes.
1189 * emacs-lisp/generic.el (generic--normalize-comments):
1190 Rename from generic--normalise-comments. All uses changed.
1191 * play/bubbles.el (bubbles--neighborhood-score):
1192 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1193 (bubbles--neighborhood-available)
1194 (bubbles--update-neighborhood-score):
1195 Rename from names with 'neighbourhood'. All uses changed.
1196
9b335362
LL
11972014-01-12 Leo Liu <sdl.web@gmail.com>
1198
1199 Re-implement the feature of showing eldoc info after editing.
1200 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1201 (eldoc-edit-message-commands): New function.
1202 (eldoc-print-after-edit): New variable.
1203 (eldoc-pre-command-refresh-echo-area): Emit message only by
1204 eldoc-message-commands.
1205 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1206 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1207 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1208 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1209
e2a095b1
GM
12102014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1211 Eric S. Raymond <esr@thyrsus.com>
9685190b 1212
841a6d0c 1213 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1214 function works correctly in either a Bazaar or Git repo.
0abf4134 1215
e2a095b1
GM
12162014-01-11 Eric S. Raymond <esr@thyrsus.com>
1217
6137cb82
SM
1218 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1219 Goes with removal of the joke manpages from /etc.
9685190b 1220
c295fc18 12212014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1222
6137cb82
SM
1223 * mail/rmail.el (rmail-get-coding-system):
1224 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1225
d2f16e93
GM
12262014-01-10 Glenn Morris <rgm@gnu.org>
1227
1228 * emacs-lisp/authors.el (authors-fixed-entries):
1229 Update for files that no longer exist.
1230
7e03bb32
ER
12312014-01-10 Eric S. Raymond <esr@thyrsus.com>
1232
1233 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1234 24.3 (Tested).
7e03bb32 1235
dd806710
BB
12362014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1237
1238 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1239 and Podfile.
1240
ed6ec139
EZ
12412014-01-10 Eli Zaretskii <eliz@gnu.org>
1242
1243 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1244
cc33cac9
CY
12452014-01-10 Chong Yidong <cyd@gnu.org>
1246
6137cb82 1247 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1248
d9d836b5
AL
12492014-01-10 Anders Lindgren <andlind@gmail.com>
1250
1251 * follow.el (follow-cache-command-list): Include right-char and
1252 left-char.
1253
06827ec8
PE
12542014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1255
1256 Spelling fixes.
1257 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1258 * woman.el (woman-mark-horizontal-position):
1259 Rename from woman-mark-horizonal-position. Use changed.
1260
458dbf5e
GM
12612014-01-10 Glenn Morris <rgm@gnu.org>
1262
dad6fae7
GM
1263 * info.el (info-initialize): If running uninstalled, ensure our
1264 own info files are always found first, even if INFOPATH is set.
1265
458dbf5e
GM
1266 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1267
05e0afce
DE
12682014-01-09 David Engster <deng@randomsample.de>
1269
1270 * emacs-lisp/eieio-custom.el:
1271 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1272 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1273 * emacs-lisp/eieio.el: Regenerate autoloads.
1274
f29778b3
ER
12752014-01-09 Eric S. Raymond <esr@thyrsus.com>
1276
1277 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 1278 following renames. (Bug#8756)
f29778b3 1279
684d44ef
SM
12802014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1281
1282 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1283 (bug#16382).
1284 (activate-mark): Add `no-tmm' argument.
1285 (set-mark, push-mark-command): Use it instead of running
1286 activate-mark-hook by hand.
1287
9475054f
ER
12882014-01-08 Eric S. Raymond <esr@thyrsus.com>
1289
1290 In preparation for the move to git, sanitize out some
1291 Bazaar-specific names.
1292
38942b9c
GM
1293 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1294
9475054f 1295 * version.el (emacs-bzr-version): Name changed to
689c9ca5 1296 emacs-repository-version. Obsolete-variable alias made.
9475054f 1297 * loadup.el: Follow through on this name change.
a12bf61e 1298 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
1299 assumption about the version control system in use.
1300
0f918d96 13012014-01-08 David Engster <deng@randomsample.de>
abb82152 1302
684d44ef
SM
1303 * help-fns.el (help-fns-describe-function-functions):
1304 New variable to call functions for augmenting help buffers.
abb82152
DE
1305 (describe-function-1): Remove explicit calls to
1306 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
1307 `help-fns--obsolete'. Put them in above new variable instead, and
1308 call them through `run-hook-with-args'.
1309 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1310 `eieio-describe-class'. Not meant for interactive use anymore,
1311 but to augment existing help buffers. Remove optional second
684d44ef
SM
1312 argument. Create proper button for file location.
1313 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
1314 possible.
1315 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1316 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
1317 (describe-method, describe-generic, eieio-describe-method):
1318 Remove aliases.
0f918d96
DE
1319 (eieio-help-constructor, eieio-help-generic): Rename from
1320 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1321 Rewrite to use `insert' in the current buffer and use proper help
1322 buttons.
1323 (eieio-help-find-method-definition)
1324 (eieio-help-find-class-definition): Also accept symbols as
1325 arguments.
1326 (eieio-help-mode-augmentation-maybee): Remove.
1327 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
1328 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1329 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 1330
136b74c5
PE
13312014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1332
1333 Spelling fixes.
1334 * language/china-util.el (hz-ascii-designation):
1335 Rename from hz-ascii-designnation.
1336 (hz-ascii-designation): Rename from hz-ascii-designnation.
1337 All uses changed.
1338
ec6c7de2
SM
13392014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1342 package-alist.
1343
d6262c7c
BG
13442014-01-08 Bastien Guerry <bzg@gnu.org>
1345
4b9e6087
GM
1346 * emacs-lisp/package.el (package-delete):
1347 Correctly delete the package from package-alist.
d6262c7c 1348
0a3eec32
DU
13492014-01-08 Daiki Ueno <ueno@gnu.org>
1350
1351 * emacs-lisp/package.el (url-recreate-url): Declare.
1352 (url-http-target-url): Declare.
4b9e6087 1353 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1354 (package--check-signature): Don't re-signal errors from
1355 package--with-work-buffer. Suggested by Stefan Monnier.
1356
68f0bb97
BG
13572014-01-07 Bastien Guerry <bzg@gnu.org>
1358
1359 * minibuffer.el (completion--try-word-completion): When both a
1360 hyphen and a space are possible candidates for the character
1361 following a word, display both candidates. (Bug#15980)
1362
7e1899d7
MR
13632014-01-07 Martin Rudalics <rudalics@gmx.at>
1364
1365 * window.el (balance-windows-2): While rounding don't give a
c295fc18 1366 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 1367
0030ec15
GM
13682014-01-07 Glenn Morris <rgm@gnu.org>
1369
1370 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1371 (menu-bar-help-menu): Use view-external-packages instead.
1372
2b6b4f20
BG
13732014-01-07 Bastien Guerry <bzg@gnu.org>
1374
1375 * emacs-lisp/package.el (package-delete): Also delete the package
1376 name from `package-alist', not its description only.
1377
e9be0a13
GM
13782014-01-07 Glenn Morris <rgm@gnu.org>
1379
1380 * help.el (view-external-packages):
1381 * menu-bar.el (menu-bar-help-extra-packages):
1382 Visit efaq.info rather than etc/MORE.STUFF.
1383
e4f74da9
JL
13842014-01-07 Juri Linkov <juri@jurta.org>
1385
1386 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1387 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1388
1389 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1390 that shadows RET. (Bug#16342)
1391
de7ce2d1
CY
13922014-01-07 Chong Yidong <cyd@gnu.org>
1393
1394 * isearch.el (isearch-yank-char, isearch-yank-word)
1395 (isearch-yank-line): Doc fix.
1396
6bdd9204
SM
13972014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1400 * emacs-lisp/elint.el (elint-find-builtins):
1401 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1402 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1403 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1404 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1405 * apropos.el (apropos-safe-documentation):
1406 * subr.el (symbol-file): Remove redundant fboundp.
1407 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1408
daccca97
BG
14092014-01-06 Bastien Guerry <bzg@gnu.org>
1410
1411 * hl-line.el (global-hl-line-overlay): Make a local variable.
1412 (global-hl-line-overlays): New variable to store all overlays.
1413 (global-hl-line-mode): Don't delete overlays from the current
1414 buffer when `global-hl-line-sticky-flag' is non-nil.
1415 (global-hl-line-highlight): Add new overlays to
1416 `global-hl-line-overlays'.
1417 (global-hl-line-unhighlight-all): New function to delete all
1418 overlays when turning off `global-hl-line-mode'.
1419 This fixes Bug#16183.
1420
ec00f20f
SM
14212014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 * subr.el (set-transient-map): Fix nested case and docstring.
1424
a0031f97
TH
14252014-01-06 Tassilo Horn <tsdh@gnu.org>
1426
1427 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1428 `Texinfo' entry.
1429
bf6a77f3
DC
14302014-01-06 Daniel Colascione <dancol@dancol.org>
1431
1432 Fix defun navigation in vc log view.
1433
1434 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1435 like `beginning-of-defun'.
c295fc18 1436 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
1437 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1438 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1439 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1440 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1441
d5081c1e
PE
14422014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1443
1444 Spelling fixes.
1445 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1446 * emacs-lisp/debug.el (cancel-debug-on-entry):
1447 * epg.el (epg-error-to-string):
1448 * files.el (recover-file):
1449 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1450 * mail/emacsbug.el (report-emacs-bug-hook):
1451 * mail/sendmail.el (mail-recover):
1452 * ses.el (ses-yank-resize):
1453 * term/ns-win.el (ns-print-buffer):
1454 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1455 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1456 All uses changed.
1457 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1458
53f6b148
LL
14592014-01-06 Leo Liu <sdl.web@gmail.com>
1460
1461 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1462 to avoid shadowing global key. (Bug#16354)
53f6b148 1463
b82ace2f
DC
14642014-01-06 Daniel Colascione <dancol@dancol.org>
1465
1466 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1467 rst-mode.
1468
3669b636
MR
14692014-01-05 Martin Rudalics <rudalics@gmx.at>
1470
1471 * window.el (balance-windows): Add mising t to fix Bug#16351.
1472
1a29adc2
LMI
14732014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1474
1475 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1476 (bug#16285).
3d95a0f4
LMI
1477 (shr-insert): If we have a word that's longer than `shr-width',
1478 break after it anyway. Otherwise we'll do no breaking once we get
1479 such a long word.
1a29adc2 1480
f4018140
KN
14812014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1482
3fcfc4ee 1483 * net/eww.el (eww): Support single/double quote for search.
c295fc18 1484 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
1485 (eww-history-quit): Delete and use quit-window.
1486 (eww-history-kill): Delete, because it doesn't work well and
1487 not necessary.
1488 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1489
4e619754
PE
14902014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1491
73dbf960
PE
1492 Fix misspelling of 'chinese' in rx (Bug#16237).
1493 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1494 chinese-two-byte.
1495
4e619754
PE
1496 Change subword regexps back to vars (Bug#16296).
1497 * progmodes/subword.el (subword-forward-regexp)
1498 (subword-backward-regexp): Change these back to variables.
1499
e18b70fc
SM
15002014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1503 syntax-begin-function (bug#16247).
1504
0d53f628
CY
15052014-01-03 Chong Yidong <cyd@gnu.org>
1506
1507 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1508 (advice--docstring): Delete variable.
1509 (advice--make-1): Leave the docstring empty.
1510 (advice-add): Use function-documentation for advised docstring.
1511
1512 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1513 Ignore function-documentation property when getting documentation.
1514 (ad-activate-advised-definition): Use function-documentation
1515 generate the docstring.
1516 (ad-make-advised-definition): Don't call
1517 ad-make-advised-definition-docstring.
1518 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1519 Delete functions.
1520
1521 * progmodes/sql.el (sql-help): Use function-documentation instead
1522 of dynamic-docstring-function property. No need to autoload now.
1523 (sql--help-docstring): New variable.
1524 (sql--make-help-docstring): Use it.
1525
6f547583
SM
15262014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1527
6ef9aed8
SM
1528 * ielm.el (ielm-tab): Retarget.
1529 (ielm-map): Use ielm-tab for tab.
1530 (ielm-complete-filename): Use comint-filename-completion.
1531 (ielm-complete-symbol): Remove.
1532 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1533 remove ielm-tab from completion-at-point-functions (bug#16224).
1534
6f547583
SM
1535 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1536 Beware signals raised by predicates (bug#16201).
1537
a574edbe
RS
15382014-01-02 Richard Stallman <rms@gnu.org>
1539
e831604d
RS
1540 * dired-aux.el (dired-do-print): Handle printer-name.
1541
6f547583
SM
1542 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1543 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1544 (rmail-epa-decrypt): Turn off mime processing.
1545
3fcfc4ee 1546 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1547 Add parens in message-id.
1548
1549 * mail/rmail.el (rmail-get-coding-function): Variable.
1550 (rmail-get-coding-system): Use it.
1551
04311a16
KH
15522013-12-31 Eli Zaretskii <eliz@gnu.org>
1553
1554 * international/mule-conf.el: Unify the charset indian-is13194.
1555 (indian-is13194): Specify unify-map.
1556
c8d89778
LL
15572013-12-31 Leo Liu <sdl.web@gmail.com>
1558
1559 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1560
e63ace37
DC
15612013-12-30 Daniel Colascione <dancol@dancol.org>
1562
9e0bf19a
DC
1563 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1564 of printing a useless when we resume from sleep.
1565
e63ace37 1566 * progmodes/sh-script.el
c295fc18 1567 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
1568 in indentation code. (Bug#16233)
1569
e9d6c46a
JT
15702013-12-28 João Távora <joaotavora@gmail.com>
1571
6f547583
SM
1572 * elec-pair.el (electric-pair-post-self-insert-function):
1573 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1574
bf7bea5d
EZ
15752013-12-28 Eli Zaretskii <eliz@gnu.org>
1576
1577 * frame.el (window-system-for-display): Don't allow to create a
1578 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1579
8449dd1f
GM
15802013-12-28 Glenn Morris <rgm@gnu.org>
1581
9c5a5c77
GM
1582 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1583 Update callers.
1584
1585 * apropos.el (apropos-match-face):
1586 * calculator.el (calculator-displayer):
1587 * dabbrev.el (dabbrev-search-these-buffers-only):
1588 * face-remap.el (buffer-face-mode-face):
1589 * simple.el (yank-handled-properties):
1590 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1591 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1592 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1593 (hashcash-double-spend-database):
1594 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1595 (ruby-deep-indent-paren-style):
1596 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1597 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1598 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1599 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1600 Specify custom types.
1601
bb098075
GM
1602 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1603 * bookmark.el (bookmark-bmenu-use-header-line):
1604 * doc-view.el (doc-view-scale-internally):
1605 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1606 * register.el (register-preview-delay):
1607 * net/shr.el (shr-bullet):
1608 * progmodes/cfengine.el (cfengine-cf-promises)
1609 (cfengine-parameters-indent):
1610 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1611 * textmodes/reftex-vars.el (reftex-label-regexps):
1612 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1613
9c61f806
GM
1614 * net/tls.el (tls-certtool-program): Fix default value.
1615
1616 * desktop.el (desktop-restore-in-current-display):
1617 * newcomment.el (comment-empty-lines):
1618 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1619 (idlwave-pad-keyword):
1620 * progmodes/tcl.el (tcl-tab-always-indent):
1621 * textmodes/reftex-vars.el (reftex-index-default-tag):
1622 * elec-pair.el (electric-pair-skip-whitespace):
1623 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1624
8449dd1f
GM
1625 * emacs-lisp/authors.el (authors-ignored-files)
1626 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1627
fdadeb49
JC
16282013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1629
72140a0f
GM
1630 * shell.el (shell-dynamic-complete-command): Doc fix.
1631 (shell--command-completion-data): Shell completion now matches
1632 executable filenames from the current buffer's directory, on
da5ecfa9 1633 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1634
e572a7d8
LI
16352013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1636
1637 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1638
7514d3f8
SM
16392013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1640
a4151f3b
SM
1641 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1642 (bug#16251).
1643
7514d3f8
SM
1644 * electric.el: Move all electric-pair-* to elec-pair.el.
1645 * elec-pair.el: New file, split from electric.el.
1646
ac5758d1
LI
16472013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1648
1649 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1650 indentation level is larger than the width, because that will
1651 infloop.
1652 (shr-insert): Fill repeatedly long texts, so that Japanese is
1653 formatted correctly (bug#16263).
24a6b65e
LI
1654 (shr-find-fill-point): Off by one error in comparison with the
1655 indentation.
ac5758d1 1656
7514d3f8 16572013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1658
1659 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1660 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1661 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1662 if that keeps or improves their balance in buffers.
1663 (electric-pair-delete-adjacent-pairs): Delete the pair when
1664 backspacing over adjacent matched delimiters.
1665 (electric-pair-open-extra-newline): Open extra newline when
1666 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1667 (electric--sort-post-self-insertion-hook):
1668 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1669 minor-modes are activated.
1670 * simple.el (newline-and-indent): Call newline with interactive
1671 set to t.
1672 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1673 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1674 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1675 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1676 electric-pair-open-newline-between-pairs to nil.
1677
fbcc63a3
FEG
16782013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1679
1680 * progmodes/python.el: Use lexical-binding.
1681 (python-nav-beginning-of-defun): Stop searching ASAP.
1682
ed78d16c
XF
16832013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1684
1685 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1686 Fix interactive spec. Doc fix. (Bug#15754)
1687
38b2c142
KY
16882013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1689
1690 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1691 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1692 Fix edebug spec (bug#16184).
1693
3c856c14
LI
16942013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1695
83fa295c 1696 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1697 (shr-insert): Don't infloop if we can't find a good place to break
1698 the line (bug#16256).
3c856c14 1699
01379221
FEG
17002013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1701
1702 * progmodes/python.el:
1703 (python-nav--lisp-forward-sexp): New function.
1704 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1705 python-nav-lisp-forward-sexp-safe.
1706 (python-nav--forward-sexp): New argument SAFE allows switching
1707 forward sexp movement behavior for parens.
1708 (python-nav-forward-sexp): Throw errors on unterminated parens
1709 (Bug#16191).
1710 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1711 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1712 (python-shell-buffer-substring):
1713 Use `python-nav-forward-sexp-safe'.
01379221 1714
99e4926f
LI
17152013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1716
1717 * net/shr.el (shr-find-fill-point): Don't break lines before a
1718 quotation mark.
c6c20584
LI
1719 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1720 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1721 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1722
fec0e828
KN
17232013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1724
1725 * net/eww.el (eww-form-textarea): Use a different face for
1726 textareas than text input since they have different keymaps
1727 (bug#16142).
1728
89c868ad
FEG
17292013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1730
7514d3f8
SM
1731 * progmodes/python.el (python-nav-beginning-of-statement):
1732 Speed up (Bug#15295).
89c868ad 1733
eeef121a
LI
17342013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1735
1736 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1737 the window configuration.
1738
121ea65f
EZ
17392013-12-24 Eli Zaretskii <eliz@gnu.org>
1740
1741 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1742 we run on MS-Windows or MS-DOS.
1743
18cee9ec
MR
17442013-12-24 Martin Rudalics <rudalics@gmx.at>
1745
1746 * window.el (balance-windows-area): Call window-size instead of
1747 window-height and window-width. Bug#16241.
1748
58f2b9a5
LI
17492013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1750
1751 * net/eww.el (eww-bookmark-quit): Remove.
1752 (eww-bookmark-browse): Restore the window configuration when you
1753 choose a bookmark (bug#16144).
1754
d64b6308
DC
17552013-12-24 Daniel Colascione <dancol@dancol.org>
1756
1757 * icomplete.el: Remove redundant :group arguments to `defcustom'
1758 throughout.
1759 (icomplete-show-matches-on-no-input): New customizable variable.
1760 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1761 we have something to show.
7514d3f8 1762 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1763
0da54898
DC
17642013-12-23 Daniel Colascione <dancol@dancol.org>
1765
1766 * icomplete.el: Move `provide' to end of file.
1767
b90aa4f4
TZ
17682013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1769
1770 * net/gnutls.el (gnutls-verify-error): Add version tag.
1771
8cd22a08
CY
17722013-12-23 Chong Yidong <cyd@gnu.org>
1773
1774 * subr.el (set-transient-map): Rename from
1775 set-temporary-overlay-map. Doc fix.
1776
1777 * face-remap.el (text-scale-adjust):
1778 * indent.el (indent-rigidly):
1779 * kmacro.el (kmacro-call-macro):
1780 * minibuffer.el (minibuffer-force-complete):
1781 * repeat.el (repeat):
1782 * simple.el (universal-argument--mode):
1783 * calendar/todo-mode.el (todo-insert-item--next-param):
1784 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1785
7510b021
CY
1786 * indent.el (indent-rigidly): Use substitute-command-keys.
1787
72140a0f 17882013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1789
1790 * net/eww.el (eww-tag-select): Add text-property to jump to next
1791 select field.
e9dc713d 1792 (eww): Add non-supported ftp error.
56890ecd 1793
1f87a56c
DG
17942013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1795
1796 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1797 comments. Handle electric indent after typing `?' and `!'.
1798
dca38cf9
CY
17992013-12-22 Chong Yidong <cyd@gnu.org>
1800
1801 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1802 applicable to a frame, fall back on the defface spec.
1803 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1804
f2351498
DG
18052013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1806
1807 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1808 after `{'. We need it after block openers, and it doesn't seem
1809 to hurt after hash openers.
1810
6cddebc1
DG
18112013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1812
1813 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1814 extracted from `ruby-smie-rules'.
1815 (ruby--electric-indent-chars): New variable.
1816 (ruby--electric-indent-p): New function.
1817 (ruby-mode): Use `electric-indent-functions' instead of
1818 `electric-indent-chars'.
1819
65a1da00
DG
18202013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1821
1822 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1823 docstring.
1824 (ruby-smie-rules): Indent plus one level after `=>'.
1825
b51ad4cf
RS
18262013-12-21 Richard Stallman <rms@gnu.org>
1827
1828 * simple.el (newline): Doc fix.
1829
72140a0f 18302013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1831
e9dc713d 1832 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1833 (eww-history-browse, eww-history-quit, eww-history-kill)
1834 (eww-history-mode-map, eww-history-mode): New command and
1835 functions to list browser histories.
e9dc713d
JB
1836 (eww-form-text): Support text form with disabled
1837 and readonly attributes.
1838 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1839
5e1901c1
RS
18402013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1841
1842 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1843 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1844 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1845 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1846 Use `user-error'.
1847 (eww-bookmark-mode-map): Add menu.
1848 (eww-render, eww-mode): Use `setq-local'.
1849 (eww-tool-bar-map): New variable.
1850 (eww-mode): Set `tool-bar-map'.
1851 (eww-view-source): Check for `html-mode' with `fboundp'.
1852
073d5cfd
LMI
18532013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1854
1855 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1856 elements with text inside. Also remove debugging.
1857
41cf3d11
JD
18582013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1859
1860 * cus-start.el (all): Add ns-use-srgb-colorspace.
1861
aac2b673
CY
18622013-12-21 Chong Yidong <cyd@gnu.org>
1863
1864 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1865 undefined. Thus, theme settings for undefined faces do not take
1866 effect until the faces are defined with defface, the same as with
1867 theme variables.
1868
1869 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1870 (face-spec-reset-face): Don't assign extra properties in temacs.
1871 (face-spec-recalc): Apply X resources too.
1872
bacb0e77
CY
18732013-12-21 Chong Yidong <cyd@gnu.org>
1874
1875 * faces.el (face-spec-set):
1876 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1877 * custom.el (defface): Doc fixes (Bug#16203).
1878
77221051
CY
1879 * indent.el (indent-rigidly-map): Add docstring, and move commands
1880 into named functions.
1881 (indent-rigidly-left, indent-rigidly-right)
1882 (indent-rigidly-left-to-tab-stop)
1883 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1884 indentation direction based on bidi direction, and accumulate
1885 sequential commands in a single undo boundary.
1886 (indent-rigidly--pop-undo): New utility function.
1887
e0eb0550
JB
18882013-12-20 Juanma Barranquero <lekktu@gmail.com>
1889
1890 * faces.el (read-face-name): Require crm.el when using crm-separator.
1891
3282bd2e
DC
18922013-12-20 Daniel Colascione <dancol@dancol.org>
1893
1894 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1895 so that we don't reflow comments into the shebang line.
1896
1d42e5b6
JL
18972013-12-20 Juri Linkov <juri@jurta.org>
1898
1899 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1900 a position when `dired-directory' is non-nil. Check integer
1901 positions with `integerp'.
1902 (toggle-save-place, save-places-to-alist): Add check for
1903 `dired-directory'.
1904 (save-place-find-file-hook): Check integer positions with
1905 `integerp'.
1906 (save-place-dired-hook): Use `dired-goto-file' when
1907 `dired-filename' is found in the assoc list. Check integer
1908 positions with `integerp'.
1909 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1910
1911 * dired.el (dired-initial-position-hook): Rename back from
1912 `dired-initial-point-hook'.
1913 (dired-initial-position): Rename `dired-initial-point-hook' to
1914 `dired-initial-position-hook'.
1915 (dired-file-name-at-point): Doc fix. (Bug#15329)
1916
24da7273
JL
19172013-12-20 Juri Linkov <juri@jurta.org>
1918
1919 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1920 (read-regexp-suggestions): New function.
1921 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1922 Use `read-regexp-suggestions'. Add non-empty default to history
1923 for empty input.
1924 (occur-read-regexp-defaults-function): Remove function.
1925 (occur-read-primary-args): Use `regexp-history-last' instead of
1926 `occur-read-regexp-defaults-function'.
1927
1928 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1929 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1930 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1931 `hi-lock-read-regexp-defaults-function'. Doc fix.
1932 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1933 with `find-tag-default-as-symbol-regexp'. Doc fix.
1934 (hi-lock-read-regexp-defaults): Remove function.
1935 (hi-lock-regexp-okay): Add check for null.
1936
1937 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1938 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1939
1940 * subr.el (find-tag-default-as-symbol-regexp): New function.
1941 (find-tag-default-as-regexp): Move symbol regexp formatting to
1942 `find-tag-default-as-symbol-regexp'.
1943
137f57c8
S
19442013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1945
1946 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1947 (Bug#14179)
1948
f3a66082
SB
19492013-12-20 Stephen Berman <stephen.berman@gmx.net>
1950
1951 * calendar/todo-mode.el: New implementation of item insertion
1952 commands and key bindings.
1953 (todo-key-prompt): New face.
1954 (todo-insert-item): New command.
1955 (todo-insert-item--parameters): New defconst, replacing defvar
1956 todo-insertion-commands-args-genlist.
1957 (todo-insert-item--param-key-alist): New defconst, replacing
1958 defvar todo-insertion-commands-arg-key-list.
1959 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1960 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1961 (todo-insert-item--next-param): New functions.
1962 (todo-insert-item--args, todo-insert-item--argleft)
1963 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1964 New variables.
1965 (todo-key-bindings-t): Change binding of "i" from
1966 todo-insertion-map to todo-insert-item.
1967 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1968 (todo-insertion-command-name, todo-insertion-commands-names)
1969 (todo-define-insertion-command, todo-insertion-commands)
1970 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1971
2f99433b
SB
19722013-12-20 Stephen Berman <stephen.berman@gmx.net>
1973
1974 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1975 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1976 eval-when-compile.
1977 (todo-move-category): Allow choosing a non-existing todo file to
1978 move the category to, and create that file.
1979 (todo-default-priority): New user option.
1980 (todo-set-item-priority): Use it.
1981 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1982 (desktop-restore-file-buffer): Declare.
1983 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1984 (todo-modes-set-2): Locally set desktop-save-buffer to
1985 todo-desktop-save-buffer.
1986 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1987 (auto-mode-alist): Add autoload cookie.
1988
131e4695
BB
19892013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1990
1991 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1992 helpers.el was a poor choice of name.
3cbfb935
BB
1993 (string-remove-prefix): New function.
1994 (string-remove-suffix): New function.
131e4695 1995
c44de18d
MR
19962013-12-20 Martin Rudalics <rudalics@gmx.at>
1997
1998 Fix assignment for new window total sizes.
1999 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2000 (window--pixel-to-total-1, window--pixel-to-total):
2001 Fix calculation of new total sizes.
c44de18d 2002
ca65efcc
VS
20032013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2004
2005 * comint.el (comint-output-filter): Fix rear-nonsticky property
2006 placement (Bug#16010).
2007
a9574eb7
CY
20082013-12-20 Chong Yidong <cyd@gnu.org>
2009
2010 * faces.el (read-color): Minor fix for completion function.
2011
b520f210
DG
20122013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2013
e0eb0550
JB
2014 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2015 New option. (Bug#16182)
b520f210
DG
2016 (ruby-smie--indent-to-stmt-p): Use it.
2017 (ruby-smie-rules): Revert the logic in the handling of `when'.
2018 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2019 (ruby-deep-arglist, ruby-deep-indent-paren)
2020 (ruby-deep-indent-paren-style): Update docstrings to note that the
2021 vars don't have any effect with SMIE.
2022
26b75b45
JB
20232013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2024
2025 * calc/calc.el (calc-enter, calc-pop): Use the variable
2026 `calc-context-sensitive-enter'.
2027
cf91cee7
LMI
20282013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2029
2030 * net/shr.el (shr-insert): Protect against infloops in degenerate
2031 tables.
2032
51d971b4
RS
20332013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2034
2035 * progmodes/octave.el (octave): Add link to manual and octave
2036 homepage.
2037 (octave-mode-menu): Link to octave-mode manual.
2038
8c2e462a
LL
20392013-12-20 Leo Liu <sdl.web@gmail.com>
2040
2041 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2042 insertion using skeleton-end-newline. (Bug#16138)
2043
501158bc
JL
20442013-12-20 Juri Linkov <juri@jurta.org>
2045
2046 * replace.el (occur-engine): Use `add-face-text-property'
2047 to add the face property to matches and titles. (Bug#14645)
2048
2049 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2050 the palette of other hi-lock colors.
2051 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2052
50ab1da6
JL
20532013-12-19 Juri Linkov <juri@jurta.org>
2054
2055 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2056 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2057 (minibuffer-history-symbol): Move variable declaration closer to
2058 its usage.
2059
2060 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2061 (Bug#14785)
2062
3d6e95e7
JL
20632013-12-19 Juri Linkov <juri@jurta.org>
2064
2065 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2066 New function.
2067 (log-edit-hook): Add it to :options. (Bug#16170)
2068
b41594fd
JL
20692013-12-19 Juri Linkov <juri@jurta.org>
2070
2071 * simple.el (eval-expression-print-format): Don't check for
2072 command names and the last command. Always display additional
2073 formats of the integer result in the echo area, and insert them
2074 to the current buffer only with a zero prefix arg.
2075 Display character when char-displayable-p is non-nil.
2076 (eval-expression): With a zero prefix arg, set `print-length' and
2077 `print-level' to nil, and insert the integer values from
2078 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2079
2080 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2081 `eval-last-sexp-arg-internal'. Doc fix.
2082 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2083 `eval-last-sexp-print-value'. Doc fix.
2084 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2085 Set `print-length' and `print-level' to nil when arg is zero.
2086 (eval-last-sexp): Doc fix.
2087 (eval-defun-2): Print the integer values from
2088 `eval-expression-print-format' at the end.
2089
2090 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2091 values from `eval-expression-print-format' at the end.
2092
2093 * ielm.el (ielm-eval-input): Print the integer
2094 values from `eval-expression-print-format' at the end.
2095
8f2be364
TZ
20962013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2097
2098 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2099 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2100
2230a6e3
SM
21012013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2104 (hl-line-highlight, global-hl-line-highlight): Use it.
2105 (hl-line-overlay): Use defvar-local.
2106
1269a680
JD
21072013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2108
2109 * term/ns-win.el: Require dnd.
2110 (global-map): Remove drag items.
2111 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2112 (ns-set-background-at-mouse):
2113 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2114 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2115 New functions.
1269a680 2116
049638ad
GM
21172013-12-19 Glenn Morris <rgm@gnu.org>
2118
2119 * emacs-lisp/ert.el (ert-select-tests):
2120 Fix string/symbol mixup. (Bug#16121)
2121
ce41edb4
DG
21222013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2123
2124 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2125 keywords to their parent.
2126
7e1549c9
DG
21272013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2128
2129 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2130 first arg to be a string (fixed dead code), or an operator symbol.
2131 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2132 operator symbols.
2133 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2134 did nothing. Don't respond to `(:after ".")', it will be called
2135 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2136 change anything. Only return indentation for binary operators
2137 when they are hanging. De-dent opening paren when its parent is
2138 `.', otherwise it looks bad when the dot is not at bol or eol
2139 (bug#16182).
2140
3ee4cd64
JL
21412013-12-19 Juri Linkov <juri@jurta.org>
2142
2143 * replace.el (query-replace-read-args): Split a non-negative arg
2144 and a negative arg into separate elements.
2145 (query-replace, query-replace-regexp, replace-string)
2146 (replace-regexp): Add arg `backward'. Doc fix.
2147 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2148 move point to the beginning of the match.
2149 (replace-search, replace-highlight): Use new arg `backward'
2150 to set the value of `isearch-forward'.
2151 (perform-replace): Add arg `backward' and use it to perform
2152 replacement backward. (Bug#14979)
2153
2154 * isearch.el (isearch-query-replace): Use a negative prefix arg
2155 to call `perform-replace' with a non-nil arg `backward'.
2156
0cda6b7b
JL
21572013-12-18 Juri Linkov <juri@jurta.org>
2158
2159 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2160 to the default list. Move `log-edit-show-files' to the end.
2161 Add more available functions to options.
2162 (log-edit): Move default specific settings to
2163 `log-edit-insert-message-template'. Don't move point.
2164 (log-edit-insert-message-template): New function.
2165 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2166 (Bug#16170)
2167
b216f0a6
JL
21682013-12-18 Juri Linkov <juri@jurta.org>
2169
2170 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2171 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2172
1d1c55dc
LL
21732013-12-18 Leo Liu <sdl.web@gmail.com>
2174
e9dc713d
JB
2175 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2176 (Bug#16186)
1d1c55dc 2177
64e4c76e
EZ
21782013-12-18 Eli Zaretskii <eliz@gnu.org>
2179
2180 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2181 formats for displaying file sizes when the -s switch is given.
2182 Instead, compute a separate format for displaying the size in
2183 blocks, which is displayed in addition to the "regular" size.
2184 When -h is given in addition to -s, produce size in blocks in
2185 human-readable form as well. (Bug#16179)
2186
b2984e39
TH
21872013-12-18 Tassilo Horn <tsdh@gnu.org>
2188
2230a6e3
SM
2189 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2190 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2191
50ff2e06
CY
21922013-12-18 Chong Yidong <cyd@gnu.org>
2193
0081bc84
CY
2194 * cus-edit.el (custom-magic-alist): Fix "themed" description
2195 (Bug#14348).
2196
a7ee9424
CY
2197 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2198 is non-nil, do not create a new entry in the symbol's theme-value
2199 or theme-face property; update theme-settings only (Bug#14664).
18874304 2200 (custom-available-themes): Doc fix.
a7ee9424 2201
8f942537
CY
2202 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2203 (Bug#15674).
2204
50ff2e06
CY
2205 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2206
83c60f60
KI
22072013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2208
2209 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2210 (Bug#13914).
2211
e0eb0550 22122013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2213
2214 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2215
1f41ee56
GM
22162013-12-18 Glenn Morris <rgm@gnu.org>
2217
2218 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2219 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2220
e82134b1
LW
22212013-12-18 Le Wang <l26wang@gmail.com>
2222
2230a6e3
SM
2223 * comint.el (comint-previous-matching-input-from-input):
2224 Retain point (Bug#13404).
e82134b1 2225
33f5d4c1
CY
22262013-12-18 Chong Yidong <cyd@gnu.org>
2227
2228 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2229
ccc9f6dc
GM
22302013-12-18 Glenn Morris <rgm@gnu.org>
2231
2232 * mail/emacsbug.el (report-emacs-bug):
2233 Only mention enable-multibyte-characters if non-standard.
2234
33dd8e95
JL
22352013-12-17 Juri Linkov <juri@jurta.org>
2236
2237 * arc-mode.el (archive-extract-by-file): Check if directory exists
2238 before deletion to not show irrelevant errors if it doesn't exist.
2239
7a409b30
JL
22402013-12-17 Juri Linkov <juri@jurta.org>
2241
2242 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2243 (Bug#14751)
2244
2245 * net/eww.el (browse-web): Add alias to `eww'.
2246 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2247 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2248
2249 * net/browse-url.el (browse-url-browser-function): Move `eww'
2250 closer to similar functions.
2251
2252 * startup.el (fancy-startup-screen, fancy-about-screen):
2253 Set browse-url-browser-function to eww-browse-url locally.
2254 (Bug#14751)
2255
2d6b6005
SM
22562013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * window.el (window--pixel-to-total): Remove unused `mini' var.
2259 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2260 (split-window): Remove unused `new' var.
2261 (window--display-buffer): Remove unused `frame' and `delta' vars.
2262 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2263 and display-width'.
2264
cf2b7efc
MR
22652013-12-17 Martin Rudalics <rudalics@gmx.at>
2266
2267 * dired.el (dired-mark-pop-up):
2268 * register.el (register-preview): Don't bind
2269 split-height-threshold here since it's now done in
2270 display-buffer-below-selected.
2271
ed3af8a7 22722013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2273
2274 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2275 xterm-rgb-convert-to-16bit.
2276 (rxvt-register-default-colors): Standardize with
2277 xterm-register-default-colors (Bug#14078).
2278
76da3455
DK
22792013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2280
2281 * simple.el (kill-region): Pass mark first, then point, so that
2282 kill-append works right (Bug#12819).
2283 (copy-region-as-kill, kill-ring-save): Likewise.
2284
2b84d763
LL
22852013-12-17 Leo Liu <sdl.web@gmail.com>
2286
2287 * net/rcirc.el (rcirc-add-face):
2288 * eshell/em-prompt.el (eshell-emit-prompt):
2289 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2290 (Bug#16167)
2291
e2f6a0bc
CY
22922013-12-17 Chong Yidong <cyd@gnu.org>
2293
2294 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2295 Suggested by Xue Fuqiao.
2296
35b249a6
DG
22972013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2298
2299 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2300
e9145444
SM
23012013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2302
2303 * net/shr.el (shr-insert-document): Remove unused var
2304 `shr-preliminary-table-render'.
2305 (shr-rescale-image): Remove unused arg `force'.
2306 (shr-put-image): Update calls accordingly.
2307 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2308
5556c0ce
DG
23092013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2310
2311 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2312 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2313 :close-all, to see which indentation method to use (Bug#16116).
2314 (smie-rules-function): Document the method :close-all.
2315
11bade0a
LMI
23162013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2317
1c4b1e61
LMI
2318 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2319
11bade0a
LMI
2320 * net/eww.el (eww-display-html): If we can't find the anchor we're
2321 looking for, then go to point-min.
2322
8fb8c4f3
PE
23232013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2324
2325 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2326 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2327 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2328 Expand dir too, in case it's relative.
2329
6c8e0ae6
JL
23302013-12-16 Juri Linkov <juri@jurta.org>
2331
2332 * desktop.el (desktop-auto-save-timeout): Change default to
2333 `auto-save-timeout'. Doc fix.
2334 (desktop-save): Skip the timestamp in desktop-saved-frameset
2335 when checking for auto-save changes.
2336 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2337 `desktop-auto-save' is called repeatedly by the idle timer.
2338 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2339 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2340 (Bug#15331)
2341
2178e858
JL
23422013-12-16 Juri Linkov <juri@jurta.org>
2343
2344 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2345 (Bug#16035)
2346 (isearch-pre-command-hook): Check `this-command' for symbolp.
2347
39cb42c6
SM
23482013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2351
5b9b750a
TZ
23522013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2353
2354 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2355 (cfengine3--current-function): Bring in the current-function
2356 functionality from `cfengine3--current-word'.
2357 (cfengine3-completion-function): Bring in the
2358 bounds-of-current-word functionality from
2359 `cfengine3--current-word'.
2360
d144ef06
MR
23612013-12-16 Martin Rudalics <rudalics@gmx.at>
2362
39cb42c6
SM
2363 * window.el (display-buffer-below-selected):
2364 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2365
a8bbe298
LL
23662013-12-16 Leo Liu <sdl.web@gmail.com>
2367
2368 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2369 Remove NOMSG arg and all uses changed.
2370
2013a2f9
SM
23712013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2372
2373 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2374 (cua--deactivate-rectangle): Don't deactivate the mark.
2375 (cua-set-rectangle-mark): Don't set mark-active since
2376 cua--activate-rectangle already does it for us.
2377 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2378 non-rectangular region.
2379
2380 * emulation/cua-base.el (cua-repeat-replace-region):
2381 Use with-current-buffer.
2382
2383 * net/gnutls.el: Use cl-lib.
2384 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2385
5ae811dd
TZ
23862013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2387
2388 * emacs-lisp/package.el (package-built-in-p): Support both
2389 built-in and the package.el converted package descriptions.
2390 (package-show-package-list): Allow keywords.
2391 (package-keyword-button-action): Use it instead of
2392 `finder-list-matches'.
2393 (package-menu-filter-interactive): Interactive filtering (by
2394 keyword) function.
2395 (package-menu--generate): Support keywords and change keymappings
2396 and headers when they are given.
2397 (package--has-keyword-p): Helper function.
2398 (package-menu--refresh): Use it.
2399 (package--mapc): Helper function.
2400 (package-all-keywords): Use it.
2401 (package-menu-mode-map): Set up menu items and keybindings to
2402 provide a filtering UI.
2403
31b4827e
TZ
24042013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2405
2406 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2407 the behavior when a certificate fails validation. Defaults to
2408 old behavior: never abort, just warn.
2409 (gnutls-negotiate): Use it.
2410
f93cc74f
MR
24112013-12-14 Martin Rudalics <rudalics@gmx.at>
2412
2413 * window.el (display-buffer-below-selected): Never split window
2414 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2415
f77d7d17
TW
24162013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2417
2418 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2419 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2420
7514d3f8
SM
24212013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2422
aa2bddd7 2423 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2424 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2425
276bc333
DG
24262013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2427
2428 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2429 open-paren tokens when preceded by a open-paren, too.
2430 (ruby-smie-rules): Handle virtual indentation after open-paren
2431 tokens specially. If there is code between it and eol, return the
2432 column where is starts (Bug#16118).
2433
d43957f3
TZ
24342013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2435
a5c1ac0c 2436 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2437 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2438 (cfengine3--current-word): Fix parameters.
2439 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2440 (cfengine3-completion-function, cfengine3--current-function):
2441 Use `assq' for symbols.
d43957f3
TZ
2442 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2443
06a4f110
GM
24442013-12-13 Glenn Morris <rgm@gnu.org>
2445
2446 * loadup.el (load-path): Warn if site-load or site-init changes it.
2447 No more need to reset it when bootstrapping.
2448
978a5fda
TZ
24492013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2450
2451 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2452 locations for cf-promises.
2453 (cfengine-mode-syntax-functions-regex): New caching variable.
2454 (cfengine3-fallback-syntax): Fallback syntax for cases where
2455 cf-promises doesn't run.
2456 (cfengine3--current-word): Reimplement using
2457 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2458 (cfengine3-completion-function, cfengine3--current-function):
2459 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2460 (cfengine3-clear-syntax-cache): New function.
2461 (cfengine3-make-syntax-cache): Simplify and create
2462 `cfengine-mode-syntax-functions-regex' on demand.
2463 (cfengine3-format-function-docstring): Don't call
2464 `cfengine3-make-syntax-cache' explicitly.
2465
71e6691e
MR
24662013-12-13 Martin Rudalics <rudalics@gmx.at>
2467
2468 Fix windmove-find-other-window broken after pixelwise resizing
2469 (Bug#16017).
2470 * windmove.el (windmove-other-window-loc): Revert change from
2471 2013-12-04.
2472 (windmove-find-other-window): Call window-in-direction.
2473 * window.el (window-in-direction): New arguments SIGN, WRAP and
2474 MINI to emulate original windmove-find-other-window behavior.
2475
84c73ba0
DG
24762013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2477
2478 * simple.el (blink-matching--overlay): New variable.
2479 (blink-matching-open): Instead of moving point, highlight the
2480 matching paren with an overlay
2481 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2482
2483 * faces.el (paren-showing-faces, show-paren-match)
2484 (show-paren-mismatch): Move from paren.el.
2485
b9e20952
LL
24862013-12-13 Leo Liu <sdl.web@gmail.com>
2487
2488 * indent.el (indent-region): Disable progress reporter in
2489 minibuffer. (Bug#16108)
2490
2491 * bindings.el (visual-order-cursor-movement): Fix version.
2492
ce030451
FEG
24932013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2494
2495 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2496 Also match after beginning of line.
2497 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2498 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2499
4a9c6865
JL
25002013-12-13 Juri Linkov <juri@jurta.org>
2501
2502 * simple.el <Keypad support>: Remove key bindings duplicated
2503 with bindings.el. (Bug#14397)
2504
2bc170c3
JL
25052013-12-13 Juri Linkov <juri@jurta.org>
2506
2507 * comint.el (comint-mode-map): Replace `delete-char' with
2508 `delete-forward-char'. (Bug#16109)
2509
bc9222c9
FEG
25102013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2511
aa2bddd7 2512 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2513 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2514
cb3a1380
SM
25152013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2518 (advice--make): Pay attention to `depth'.
2519 (advice--make-1): Don't autoload commands eagerly.
2520 * emacs-lisp/elp.el (elp-instrument-function):
2521 * emacs-lisp/trace.el (trace-function-internal):
2522 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2523
2524 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2525
01633a17
EZ
25262013-12-12 Eli Zaretskii <eliz@gnu.org>
2527
2528 * term/w32-win.el (w32-handle-dropped-file):
2529 * startup.el (normal-top-level):
2530 * net/browse-url.el (browse-url-file-url):
2531 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2532 decode file names using 'utf-8' rather than
2533 file-name-coding-system.
2534
09faee72
FEG
25352013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2536
2537 * progmodes/python.el (python-indent-context)
2538 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2539 behavior for comment blocks. (Bug#15916)
09faee72 2540
f4f84024 25412013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2542
cb3a1380
SM
2543 * progmodes/python.el (python-indent-calculate-indentation):
2544 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2545 operators when they are just string constituents. (Bug#15812)
2546
d5ccb7be
JL
25472013-12-12 Juri Linkov <juri@jurta.org>
2548
2549 * uniquify.el (uniquify-buffer-name-style): Change default to
2550 `post-forward-angle-brackets'.
2551
2552 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2553 `uniquify'. Change default to `post-forward-angle-brackets'.
2554
7b3f5679
GM
25552013-12-11 Glenn Morris <rgm@gnu.org>
2556
2557 * emacs-lisp/package.el (finder-list-matches):
2558 Autoload rather than falsely declaring.
2559
f4fe8fdd
TZ
25602013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2561
2562 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2563 (eww-mode-map): Use them.
2564
3c29190f
MR
25652013-12-11 Martin Rudalics <rudalics@gmx.at>
2566
2567 * window.el (display-buffer-in-side-window): Fix doc-string
2568 (Bug#16115).
2569
0cd616a2
JB
25702013-12-11 Juanma Barranquero <lekktu@gmail.com>
2571
2572 * vc/vc-git.el: Silence byte-compiler warnings.
2573 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2574 (log-edit-set-header): Declare.
2575
3ef8e0d1
EZ
25762013-12-11 Eli Zaretskii <eliz@gnu.org>
2577
2578 * Makefile.in (custom-deps, finder-data): Run output file names
2579 through unmsys--file-name. (Bug#16099)
2580
afdadaf7
SM
25812013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2582
7ae3ae39 2583 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2584 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2585
5b4f37ab
SM
2586 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2587 instead of deleting the selection "by hand" (bug#16098).
2588 Rely on insert-for-yank to yank rectangles.
2589 (cua-highlight-region-shift-only): Mark obsolete.
2590 (cua-mode): Don't enable/disable transient-mark-mode,
2591 shift-select-mode (cua-mode works both with and without them), and
2592 pc-selection-mode (obsolete).
2593 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2594 (cua--deactivate-rectangle): Deactivate it.
2595
4b72c12b
SM
2596 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2597 (delete-selection-helper): Make sure yank starts at the top of the
2598 deleted region.
2599 (minibuffer-keyboard-quit): Use region-active-p.
2600
e82af72d
SM
2601 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2602
afdadaf7
SM
2603 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2604 to `delete' (bug#16109).
2605
ed4bc201
RS
26062013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2607
2608 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2609 info manual and show keybindings and set `:group' keyword.
2610
bb8097b9
JL
26112013-12-11 Juri Linkov <juri@jurta.org>
2612
2613 * delsel.el (delete-active-region): Let-bind `this-command'
2614 to prevent `kill-region' from changing its original value.
2615 (delete-selection-helper): Handle `overwrite-mode' for the type
2616 `kill' exactly the same way as for the type `t'.
2617 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2618 Support more commands. (Bug#13312)
2619
c1916ff5
JL
26202013-12-11 Juri Linkov <juri@jurta.org>
2621
2622 * bindings.el: Map kp keys to non-kp keys systematically
2623 with basic modifiers control, meta and shift. (Bug#14397)
2624
7514d3f8 26252013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2626
2627 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2628 "Close browser" menu items. Fix wrong function of "List
2629 bookmarks".
2630
4cc51eaf
JL
26312013-12-11 Juri Linkov <juri@jurta.org>
2632
2633 * misearch.el (multi-isearch-buffers): Set the value of
2634 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2635 arg of isearch-forward to t.
2636 (multi-isearch-buffers-regexp): Set the value of
2637 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2638 arg of isearch-forward-regexp to t.
2639 (multi-isearch-files): Set the value of
2640 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2641 arg of isearch-forward to t.
2642 (multi-isearch-files-regexp): Set the value of
c295fc18 2643 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
2644 arg of isearch-forward-regexp to t. (Bug#16035)
2645
2646 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2647 arg of isearch-forward to t.
2648 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2649 arg of isearch-forward-regexp to t.
2650 (dired-isearch-filter-filenames): Remove unnecessary check for
2651 `dired-isearch-filenames'.
2652
2653 * comint.el (comint-history-isearch-backward):
2654 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2655 (comint-history-isearch-backward-regexp):
2656 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2657
ceac12b7
EZ
26582013-12-10 Eli Zaretskii <eliz@gnu.org>
2659
2660 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2661 unmsys--file-name. (Bug#16099)
2662
5a565782
TZ
26632013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2664
cb3a1380
SM
2665 * emacs-lisp/package.el (package-keyword-button-action):
2666 Remove finder.el require dependency.
5a565782 2667
a81fc7ba
TZ
26682013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2669
2670 * emacs-lisp/package.el: Require finder.el.
2671 (describe-package-1): Add keyword buttons.
2672 (package-make-button): New convenience function.
2673 (package-keyword-button-action): Keyword button action using
e0eb0550 2674 `finder-list-matches'.
a81fc7ba 2675
6aaca951
EZ
26762013-12-09 Eli Zaretskii <eliz@gnu.org>
2677
2678 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2679 last commit.
2680
a1099a91
MA
26812013-12-09 Michael Albinus <michael.albinus@gmx.de>
2682
2683 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2684 symlinked files.
2685
8212d9c0
DG
26862013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2687
2688 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2689 after the end of a percent literal.
2690
8f48d131
CD
26912013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2692
cb3a1380
SM
2693 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2694 Handle caret-delimited strings (Bug#16079).
8f48d131 2695
ff8c9764
DG
26962013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2697
cb3a1380
SM
2698 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2699 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2700 `ruby-parse-partial' (Bug#16078).
2701
d64643b4
LL
27022013-12-09 Leo Liu <sdl.web@gmail.com>
2703
2704 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2705
47e59c66
DG
27062013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2707
2708 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2709 (js-switch-indent-offset): New option.
2710 (js--proper-indentation): Use it. And handle the case when
2711 "default" is actually a key in an object literal.
2712 (js--same-line): New function.
2713 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2714 (js--indent-in-array-comp, js--array-comp-indentation):
2715 New functions.
47e59c66
DG
2716 (js--proper-indentation): Use them, to handle array comprehension
2717 continuations.
2718
974ebc9c
LL
27192013-12-08 Leo Liu <sdl.web@gmail.com>
2720
2721 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2722 (flymake-make-overlay): Remove arg MOUSE-FACE.
2723 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2724
27262e39
SM
27252013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2728 New function.
2729 (redisplay-highlight-region-function): Use it.
2730
2731 * emulation/cua-base.el (cua--explicit-region-start)
2732 (cua--last-region-shifted): Remove.
2733 (cua--deactivate): Use deactivate-mark.
2734 (cua--pre-command-handler-1): Don't handle shift-selection.
2735 (cua--post-command-handler-1): Don't change transient-mark-mode.
2736 (cua--select-keymaps): Use region-active-p rather than
2737 cua--explicit-region-start or cua--last-region-shifted.
2738 (cua-mode): Enable shift-select-mode.
2739
6407822c
LL
27402013-12-08 Leo Liu <sdl.web@gmail.com>
2741
27262e39
SM
2742 * progmodes/flymake.el (flymake-popup-current-error-menu):
2743 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2744 (flymake-posn-at-point-as-event, flymake-popup-menu)
2745 (flymake-make-emacs-menu): Remove. (Bug#16077)
2746
00a2b823
SM
27472013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2748
02033d49
SM
2749 * rect.el (rectangle-mark-mode): Activate mark even if
2750 transient-mark-mode is off (bug#16066).
2751 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2752 is > mark and at bolp.
2753
6f8dfccf
SM
2754 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2755 (region-extract-function): Use it.
2756 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2757 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2758 Delete functions.
2759 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2760 kill-ring-save, kill-region, delete-char, delete-forward-char.
2761 Ignore self-insert-iso.
2762
2763 * emulation/cua-gmrk.el (cua--init-global-mark):
2764 Ignore `self-insert-iso'.
2765
2766 * emulation/cua-base.el (cua--prefix-copy-handler)
2767 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2768 checking cua--rectangle.
2769 (cua-delete-region): Use region-extract-function.
2770 (cua-replace-region): Delete function.
2771 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2772 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2773 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2774 (cua--init-keymaps): Don't remap delete-selection commands.
2775 (cua-mode): Use delete-selection-mode instead of rolling our own
2776 (bug#16085).
2777
2778 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2779 Obey region-extract-function.
2780
00a2b823
SM
2781 Make registers and delete-selection-mode work on rectangles.
2782 * register.el (describe-register-1): Don't modify the register's value.
2783 (copy-to-register): Obey region-extract-function.
2784 * delsel.el (delete-active-region): Obey region-extract-function.
2785
a92fa5f1
LL
27862013-12-08 Leo Liu <sdl.web@gmail.com>
2787
2788 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2789 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2790 (flymake-compilation-prevents-syntax-check)
2791 (flymake-start-syntax-check-on-newline)
2792 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2793 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2794 (flymake-xml-program, flymake-master-file-dirs)
2795 (flymake-master-file-count-limit)
2796 (flymake-allowed-file-name-masks): Relocate.
2797 (flymake-makehash, flymake-float-time)
2798 (flymake-replace-regexp-in-string, flymake-split-string)
2799 (flymake-get-temp-dir): Remove.
2800 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2801 (flymake-current-row, flymake-selected-frame)
2802 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2803 related functions. (Bug#16077)
2804
73c8ceea
BB
28052013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2806
2807 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2808
faec28d9
TH
28092013-12-07 Tassilo Horn <tsdh@gnu.org>
2810
2811 * help-fns.el (describe-function-1): Use new advice-* functions
2812 rather than old ad-* functions. Fix function type description and
2813 source links for advised functions and subrs.
2814
e330b646
LMI
28152013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2816
00a2b823 2817 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2818
4803595d
MA
28192013-12-06 Michael Albinus <michael.albinus@gmx.de>
2820
2821 * progmodes/compile.el (compilation-start):
2822 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2823
2824 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2825 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2826
fa834a93
DG
28272013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2828
00a2b823
SM
2829 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2830 Touch up the last change.
fa834a93 2831
b2856a6f
LL
28322013-12-06 Leo Liu <sdl.web@gmail.com>
2833
2834 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2835 (inferior-octave-startup): Always use "octave> " for prompt.
2836 (octave-goto-function-definition)
2837 (octave-sync-function-file-names)
2838 (octave-find-definition-default-filename): Remove redundant backquotes.
2839
af67e79a
DG
28402013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2841
2842 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2843 syntax for `?'.
2844 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2845 where appropriate already.
2846 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2847 end of method names (Bug#15874).
2848
bf093209
JL
28492013-12-06 Juri Linkov <juri@jurta.org>
2850
2851 * isearch.el (isearch--saved-overriding-local-map):
2852 New internal variable.
2853 (isearch-mode): Set it to the initial value of
2854 `overriding-terminal-local-map'.
2855 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2856 with `isearch--saved-overriding-local-map'. (Bug#16035)
2857
16588fad
DG
28582013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2859
00a2b823
SM
2860 * progmodes/octave.el (inferior-octave-completion-table):
2861 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2862 (Bug#11906). Update all references.
2863
2864 * minibuffer.el (completion-table-with-cache): New function.
2865
bf4906d7
CD
28662013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2867
2868 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2869
ff69c18f
TZ
28702013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2871
2872 * net/eww.el (eww-current-source): New variable to store page
2873 source.
2874 (eww-display-html, eww-mode, eww-save-history)
2875 (eww-restore-history): Use it.
2876 (eww-view-source): New command to view page source.
2877 Opportunistically uses `html-mode' to highlight the buffer.
2878 (eww-mode-map): Install it.
2879
b85eff45
MA
28802013-12-05 Michael Albinus <michael.albinus@gmx.de>
2881
2882 * net/dbus.el (dbus-unregister-service)
2883 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2884 Fix docstring.
2885 (dbus-unregister-service): Skip :serial entries in
2886 `dbus-registered-objects-table'.
2887 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2888
39eb0899
TZ
28892013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2890
2891 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2892 around keywords with extra `split-string' argument.
2893
456760a5
MR
28942013-12-04 Martin Rudalics <rudalics@gmx.at>
2895
2896 * windmove.el (windmove-other-window-loc): Handle navigation
2897 between windows (excluding the minibuffer window - Bug#16017).
2898
81961e4c
MA
28992013-12-04 Michael Albinus <michael.albinus@gmx.de>
2900
2901 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2902 in D-Bus type syntax.
2903 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2904 preserve unibyte strings. (Bug#16048)
2905
8497f938
SM
29062013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2909 Call force-mode-line-update is the proper buffer (bug#16042).
2910
dda61916
DG
29112013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2912
2913 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2914 `log-edit-remember-comment', make argument optional. Adjust all
2915 callers.
2916 (log-edit-mode): Add `log-edit-remember-comment' to
2917 `kill-buffer-hook' locally.
2918 (log-edit-kill-buffer): Don't remember comment explicitly since
2919 the buffer is killed anyway.
2920
c085e5b9
JL
29212013-12-04 Juri Linkov <juri@jurta.org>
2922
2923 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2924 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2925
e0eb0550 29262013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2927
2928 * notifications.el (notifications-close-notification): Call the
81961e4c 2929 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2930
39fa32d6
KY
29312013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2932
2933 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2934
9139632a
JL
29352013-12-03 Juri Linkov <juri@jurta.org>
2936
2937 * progmodes/compile.el (compilation-start): Rename window alist
2938 entry `no-display-ok' to `allow-no-window'.
2939
2940 * simple.el (shell-command): Add window alist entry
2941 `allow-no-window' to `display-buffer'.
2942 (async-shell-command): Doc fix.
2943
2944 * window.el (display-buffer-no-window): New action function.
2945 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2946
0f457a37
DG
29472013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2948
2949 * vc/log-edit.el (log-edit-set-header): Extract from
2950 `log-edit-toggle-header'.
2951 (log-edit-extract-headers): Separate the summary, when extracted
2952 from header, from the rest of the message with an empty line.
2953
2954 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2955 line, if present, to the Summary header.
2956
0962f376
SM
29572013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2960 in current-buffer (bug#16029).
2961
f345395c
HE
29622013-12-02 Helmut Eller <eller.helmut@gmail.com>
2963
2964 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2965 (debugger-mode-map): Bind it.
2966 (debugger--backtrace-base): New function.
2967 (debugger-eval-expression): Use it.
2968 (debugger-frame-number): Skip local vars when present.
2969 (debugger--locals-visible-p, debugger--insert-locals)
2970 (debugger--show-locals, debugger--hide-locals): New functions.
2971
a8a15d9d
MA
29722013-12-02 Michael Albinus <michael.albinus@gmx.de>
2973
2974 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2975 "LC_ALL".
2976 (tramp-get-remote-locale): New defun.
2977 (tramp-open-connection-setup-interactive-shell): Use it.
2978
0518b057
LL
29792013-12-02 Leo Liu <sdl.web@gmail.com>
2980
2981 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2982
2983 * progmodes/sh-script.el (sh-shell-process):
2984 * progmodes/octave.el (inferior-octave-process-live-p):
2985 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2986 (gdb-inferior-io-sentinel):
2987 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2988
3adc9c6d
DG
29892013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2990
2991 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2992 `save-selected-window' to `log-edit-hide-buf'. This makes
2993 `log-edit-show-files' idempotent.
2994 (log-edit-show-files): Mark the new window as dedicated.
2995
47e8b74e
DG
29962013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2997
2998 * vc/log-edit.el (log-edit-mode-map): Add binding for
2999 `log-edit-kill-biffer'.
3000 (log-edit-hide-buf): Add a FIXME comment.
3001 (log-edit-add-new-comment): New function, extracted from
3002 `log-edit-done'.
3003 (log-edit-done, log-edit-add-to-changelog): Use it.
3004 (log-edit-kill-buffer): New command.
3005
1f6e1bb0
LMI
30062013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3007
3008 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3009 instead of killing the buffer.
3010
fb651d15
SM
30112013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3014
8feacce0
RS
30152013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3016
fb651d15 3017 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3018 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3019 (eww-form-checkbox, eww-toggle-checkbox):
3020 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3021
e0eb0550 3022 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3023 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3024 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3025 no :src tag was specified.
3026
fb651d15 3027 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3028 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3029 Use \\` to match beginning of string instead of ^.
3030 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3031 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3032
177948a5
RS
3033 * net/shr.el (shr-tag-video): Display content for video if no
3034 poster is available.
eb2dd24d 3035 (shr-tag-audio): Add support for <audio> tag.
177948a5 3036
e0eb0550 3037 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3038 (eww-process-text-input): Treat input types in
3039 `eww-text-input-types' as text.
3040
8feacce0
RS
3041 * net/shr.el (shr-tag-table): Fix comment typo.
3042
513562a1
LMI
30432013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3044
3045 * net/eww.el (eww-follow-link): New command to avoid reloading
3046 pages when we follow #target links (bug#15243).
de8a5633 3047 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3048
9dd99753
KN
30492013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3050
3051 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3052 forms.
3053
3e9876de
LMI
30542013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3055
3056 * net/eww.el (eww-restore-history): Update the window title after
3057 moving in the history.
ab6dea82 3058 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3059
52789f7f
DG
30602013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3061
3062 * vc/log-edit.el (log-edit-mode-map): Add binding for
3063 `log-edit-beginning-of-line'.
3064 (log-edit-setup-add-author): New user option.
3065 (log-edit-beginning-of-line): New command.
3066 (log-edit): Move major mode call above the contents setup so that
3067 the local variable values are already applied.
3068 (log-edit): Only insert "Author: " when
3069 `log-edit-setup-add-author' is non-nil.
3070 (log-edit): When SETUP is non-nil, position point after ": "
3071 instead of point-min.
3072
2e6710c3
GM
30732013-12-01 Glenn Morris <rgm@gnu.org>
3074
3075 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3076
fadec31f
EZ
30772013-11-30 Eli Zaretskii <eliz@gnu.org>
3078
3079 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3080 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3081 visible. (Bug#16014)
3082
10634b40 30832013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3084
3085 Support resizing frames and windows pixelwise.
3086 * cus-start.el (frame-resize-pixelwise)
3087 (window-resize-pixelwise): New entries.
3088 * emacs-lisp/debug.el (debug): Use window-total-height instead
3089 of window-total-size.
3090 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3091 * help.el (describe-bindings-internal): Call help-buffer
3092 (temp-buffer-max-width): New option.
3093 (resize-temp-buffer-window, help-window-setup)
3094 (with-help-window): Rewrite.
3095 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3096 dragging dividers.
3097 * window.el (frame-char-size, window-min-pixel-height)
3098 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3099 (window-min-pixel-width, window-safe-min-pixel-size)
3100 (window-combination-p, window-safe-min-size)
3101 (window-resizable-p, window--size-to-pixel)
3102 (window--pixel-to-size, window--resize-apply-p): New functions.
3103 (window-safe-min-height): Fix doc-string.
3104 (window-size, window-min-size, window--min-size-1)
3105 (window-sizable, window-sizable-p, window--min-delta-1)
3106 (window-min-delta, window--max-delta-1, window-max-delta)
3107 (window--resizable, window--resizable-p, window-resizable)
3108 (window-full-height-p, window-full-width-p, window-at-side-p)
3109 (window--in-direction-2, window-in-direction)
3110 (window--resize-reset-1, window--resize-mini-window)
3111 (window-resize, window-resize-no-error)
3112 (window--resize-child-windows-normal)
3113 (window--resize-child-windows, window--resize-siblings)
3114 (window--resize-this-window, window--resize-root-window)
3115 (window--resize-root-window-vertically)
3116 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3117 (maximize-window, minimize-window, delete-window)
3118 (quit-restore-window, window-split-min-size, split-window)
3119 (balance-windows-2, balance-windows)
3120 (balance-windows-area-adjust, balance-windows-area)
3121 (window--state-get-1, window-state-get, window--state-put-1)
3122 (window--state-put-2, window-state-put)
fb651d15
SM
3123 (display-buffer-record-window, window--display-buffer):
3124 Make functions handle pixelwise sizing of windows.
880e6158 3125 (display-buffer--action-function-custom-type)
fb651d15
SM
3126 (display-buffer-fallback-action):
3127 Add display-buffer-in-previous-window.
880e6158
MR
3128 (display-buffer-use-some-window): Resize window to height it had
3129 before.
3130 (fit-window-to-buffer-horizontally): New option.
3131 (fit-frame-to-buffer): Describe new values.
3132 (fit-frame-to-buffer-bottom-margin): Replace with
3133 fit-frame-to-buffer-margins.
3134 (window--sanitize-margin): New function.
3135 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3136 using window-text-pixel-size.
3137
f9b697dd
GM
31382013-11-30 Glenn Morris <rgm@gnu.org>
3139
3e2fb4db
GM
3140 * emacs-lisp/bytecomp.el (byte-compile-form):
3141 Make the `interactive-only' warning like the `obsolete' one.
3142 * comint.el (comint-run):
3143 * files.el (insert-file-literally, insert-file):
3144 * replace.el (replace-string, replace-regexp):
3145 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3146 (goto-line, insert-buffer, next-line, previous-line):
3147 Tweak `interactive-only' spec.
3148
f9b697dd
GM
3149 Stop keeping (most) generated cedet grammar files in the repository.
3150 * Makefile.in (semantic): New.
3151 (compile-main): Depend on semantic.
3152
da048127
SM
31532013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3154
7784b779
SM
3155 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3156 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3157
4e36a6a6
SM
3158 * uniquify.el (uniquify-buffer-name-style): Change default.
3159
3160 * loadup.el: Preload "uniquify".
3161
e0ba1308
SM
3162 * time.el (display-time-update): Update all mode lines (bug#15999).
3163
da048127
SM
3164 * electric.el (electric-indent-mode): Enable by default.
3165 * loadup.el: Preload "electric".
3166
015b3b3e
BB
31672013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3168
3169 * emacs-lisp/helpers.el (string-empty-p): New function.
3170 (string-blank-p): New function.
3171
7efb806d
AP
31722013-11-29 Andreas Politz <politza@hochschule-trier.de>
3173
3174 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3175 (Bug#14029).
3176
c8f0efc2
AP
31772013-11-29 Andreas Politz <politza@fh-trier.de>
3178 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3179 allow non-lambda lists as functions.
3180 (imenu--in-alist): Don't recurse into non-subalists.
3181 (imenu): Don't pass function itself as an argument (Bug#14029).
3182
bd15d9d1
SM
31832013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * progmodes/python.el (python-mode-map): Remove binding for ":".
3186 (python-indent-electric-colon): Remove command.
3187 (python-indent-post-self-insert-function): Integrate the previous code
3188 of python-indent-electric-colon. Make it conditional on
3189 electric-indent-mode.
3190 (python-mode): Add ?: to electric-indent-chars.
3191 Move python-indent-post-self-insert-function to the end of
3192 post-self-insert-hook.
3193
1b10adb6
SM
31942013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3195
655ab9a3
SM
3196 * doc-view.el (doc-view-goto-page): Update mode-line.
3197
1b10adb6
SM
3198 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3199
7e3bf78c
GM
32002013-11-27 Glenn Morris <rgm@gnu.org>
3201
3202 * international/charprop.el, international/uni-bidi.el:
3203 * international/uni-category.el, international/uni-combining.el:
3204 * international/uni-comment.el, international/uni-decimal.el:
3205 * international/uni-decomposition.el, international/uni-digit.el:
3206 * international/uni-lowercase.el, international/uni-mirrored.el:
3207 * international/uni-name.el, international/uni-numeric.el:
3208 * international/uni-old-name.el, international/uni-titlecase.el:
3209 * international/uni-uppercase.el:
3210 Remove generated files from VCS repository.
3211
fb6a5d68
EZ
32122013-11-27 Eli Zaretskii <eliz@gnu.org>
3213
3214 * filenotify.el (file-notify-add-watch): Don't special-case
3215 w32notify when computing the directory to watch.
3216
cb6c95a3
GM
32172013-11-27 Glenn Morris <rgm@gnu.org>
3218
20372d0c
GM
3219 Make bootstrap without generated uni-*.el files possible again.
3220 * loadup.el: Update command-line-args checking for unidata-gen.
3221 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3222 * composite.el, international/characters.el:
3223 Handle unicode tables being undefined.
3224
52d6635f 3225 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3226 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3227 (compile-main): Depend on leim rule.
3228 (leim): New rule.
3229 * loadup.el: Move leim-list.el to leim/ subdirectory.
3230 * startup.el (normal-top-level): No more leim directory.
3231 * international/ja-dic-cnv.el (skkdic-convert):
3232 Disable version-control and autoloads in output files.
3233 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3234 Disable version-control and autoloads in output files.
3235 * leim/quail: Move here from ../leim.
3236 * leim/quail/hangul.el (hangul-input-method-activate):
3237 Add autoload cookie.
3238 (generated-autoload-load-name): Set file-local value.
3239 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3240 (generated-autoload-load-name): Set file-local value.
3241
7514d3f8 32422013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3243
e0eb0550 3244 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3245 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3246 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3247
0e2c793f
EZ
32482013-11-26 Eli Zaretskii <eliz@gnu.org>
3249
3250 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3251 reading output from Diff on MS-Windows and MS-DOS.
3252
447bdcb8
BB
32532013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3254
3255 * emacs-lisp/helpers.el (string-reverse): New function.
3256
5fbf6856
MA
32572013-11-26 Michael Albinus <michael.albinus@gmx.de>
3258
3259 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3260 names on MS Windows, like "/[::1]:".
3261
3262 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3263 SWITCHES.
3264
624780f0
GM
32652013-11-26 Glenn Morris <rgm@gnu.org>
3266
0bf3f0fa
GM
3267 * progmodes/python.el (python-indent-guess-indent-offset):
3268 Avoid corner-case error. (Bug#15975)
3269
624780f0
GM
3270 Preload leim-list.el. (Bug#4789)
3271 * loadup.el: Load leim-list.el when found.
3272 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3273
4301875e 32742013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
3275
3276 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3277
4301875e
BB
3278 * emacs-lisp/helpers.el (string-join): New function.
3279
1633a815 32802013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
3281
3282 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3283 Mark as obsolete and replace it with a symbol property.
3284 (byte-compile-form): Use new 'interactive-only property.
3285 * comint.el, files.el, replace.el, simple.el:
3286 Apply new 'interactive-only properly.
3287
00139435
MR
32882013-11-25 Martin Rudalics <rudalics@gmx.at>
3289
3290 * window.el (display-buffer-at-bottom): Make sure that
3291 split-window-sensibly creates the new window on bottom
3292 (Bug#15961).
3293
5f5b128d
DK
32942013-11-23 David Kastrup <dak@gnu.org>
3295
3296 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3297 on the conflict markers when available.
3298 (smerge--get-marker): New function.
3299 (smerge-end-re, smerge-base-re): Add subgroup.
3300
623891e5
SM
33012013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3302
3303 * frame.el (handle-focus-in, handle-focus-out): Add missing
3304 interactive spec.
3305
05ca27d8
MA
33062013-11-25 Michael Albinus <michael.albinus@gmx.de>
3307
3308 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3309 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3310
511fa0d3
SM
33112013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3312
e82ad66c
SM
3313 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3314 (gomoku--last-pos): New var.
3315 (gomoku--intangible-chars): New const.
3316 (gomoku--intangible): New function.
3317 (gomoku-mode): Use it. Derive from special-mode.
3318 (gomoku-move-up): Adjust line count.
3319 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3320 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3321 Simplify accordingly.
3322
511fa0d3
SM
3323 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3324 Remove blink-cursor code.
3325 (blink-cursor-timer-function, blink-cursor-suspend):
3326 Don't special-case GUIs.
3327 (blink-cursor-mode): Use focus-in/out-hook.
3328
6f20dd03
DG
33292013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3330
3331 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3332 work when annotation is invisible (Bug#13886).
3333
431dec31 33342013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
3335
3336 * json.el (json-alist-p): Only return non-nil if the alist has
3337 simple keys (Bug#13518).
3338
431dec31 33392013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
3340
3341 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3342 when control-statement is the first statement in a buffer (Bug#15956).
3343
ee4f0261
DG
33442013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3345
3346 * imenu.el (imenu-generic-skip-comments-and-strings):
3347 New option (Bug#15560).
3348 (imenu--generic-function): Use it.
3349
c484f866
JS
33502013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3351
e9dc713d
JB
3352 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3353 (Bug#13898)
c484f866 3354
41ce6f70
BB
33552013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3356
b55aea38
BB
3357 * emacs-lisp/helpers.el: Add some string helpers.
3358 (string-trim-left): Removes leading whitespace.
3359 (string-trim-right): Removes trailing whitespace.
3360 (string-trim): Removes leading and trailing whitespace.
3361
41ce6f70
BB
3362 * subr.el (string-suffix-p): New function.
3363
3cfb6af3
GM
33642013-11-23 Glenn Morris <rgm@gnu.org>
3365
3366 * progmodes/python.el (python-shell-send-file):
3367 Add option to delete file when done. (Bug#15647)
3368 (python-shell-send-string, python-shell-send-region): Use it.
3369
c27924b7
IS
33702013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3371
e1b01c7f
IS
3372 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3373 to set buffer-read-only to t, never to nil. (Bug#15938)
3374
c27924b7
IS
3375 * textmodes/tex-mode.el (latex-noindent-environments):
3376 Add safe-local-variable property. (Bug#15936)
3377
17e0445b
GM
33782013-11-23 Glenn Morris <rgm@gnu.org>
3379
92f78ea3
GM
3380 * textmodes/enriched.el (enriched-mode): Doc fix.
3381 * emacs-lisp/authors.el (authors-renamed-files-alist):
3382 Add enriched.doc -> enriched.txt.
3383
17e0445b
GM
3384 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3385
965bb23a
LL
33862013-11-22 Leo Liu <sdl.web@gmail.com>
3387
3388 * progmodes/octave.el (inferior-octave-startup): Spit out error
3389 message.
3390
d19ffd64
BB
33912013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3392
3393 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3394 Improve docstring.
15ba2182
BB
3395 Add :version.
3396 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3397
7a7567d2
LL
33982013-11-22 Leo Liu <sdl.web@gmail.com>
3399
3400 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3401 (Bug#15076)
8c09f64b
LL
3402 (octave-help-mode): Adapt to change to help-mode-finish to use
3403 derived-mode-p on 2013-09-17.
3404 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3405 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3406
724bc265
LL
34072013-11-22 Leo Liu <sdl.web@gmail.com>
3408
3409 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3410 (inferior-octave-startup, inferior-octave-check-process)
3411 (inferior-octave-track-window-width-change)
3412 (octave-completion-at-point, octave-eldoc-function): Use it.
3413 (octave-kill-process): Provide confirmation. (Bug#10564)
3414
38637cca
LL
34152013-11-21 Leo Liu <sdl.web@gmail.com>
3416
511fa0d3
SM
3417 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3418 Fix obsolete variable comment-use-global-state.
38637cca 3419
06e752b4
RS
34202013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3421
511fa0d3
SM
3422 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3423 Add `octave-source-file'.
06e752b4
RS
3424 (octave-source-file): New function. (Bug#15935)
3425
7514d3f8 34262013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3427
3428 * net/eww.el (eww-local-regex): New variable.
3429 (eww): Use it to detect localhost and similar.
3430
b6ffa04a
LL
34312013-11-21 Leo Liu <sdl.web@gmail.com>
3432
3433 Add completion for command `ag'.
2021a200
LL
3434 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3435 (pcomplete/ag): New function.
e9dc713d 3436 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3437
d1a6bccc
SM
34382013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3439
3440 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3441 (bug#14646).
3442 (make-obsolete): Remove interactive spec.
3443
2df10228
GM
34442013-11-21 Glenn Morris <rgm@gnu.org>
3445
3446 * startup.el (command-line-1): Use path-separator with -L.
3447
86fd16b6
TZ
34482013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3449
3450 * emacs-lisp/package.el (describe-package-1): Add package archive
3451 to shown fields.
3452
0449d6cd 34532013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3454
3455 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3456 Change default to "# encoding: %s" to differentiate it from the
3457 default Ruby encoding comment template.
3458
dc7e8c17 34592013-11-20 era eriksson <era+emacsbugs@iki.fi>
3460
3461 * ses.el (ses-mode): Doc fix. (Bug#14748)
3462
f0cfa5fe
LL
34632013-11-20 Leo Liu <sdl.web@gmail.com>
3464
3465 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3466
826dc7b6
DN
34672013-11-19 Dan Nicolaescu <dann@gnu.org>
3468
3469 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3470 when rebase or bisect are in progress.
3471
a6e3a5d5
XF
34722013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3473
3474 * filenotify.el (file-notify-add-watch): Doc fix.
3475
f130cb76
LL
34762013-11-19 Leo Liu <sdl.web@gmail.com>
3477
e0855d7d
LL
3478 * obsolete/rcompile.el: Mark obsolete.
3479
f130cb76 3480 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3481 (compilation-goto-locus, compilation-find-file):
3482 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3483 (Bug#13594)
3484
3485 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3486 new parameter no-display-ok. Return either a window or nil
3487 but never a non-window value.
f130cb76 3488
1f35d401
SM
34892013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3490
25158c76
SM
3491 * electric.el (electric-indent-mode-map): Remove.
3492 (electric-indent-mode): Change the global-map instead (bug#15915).
3493
3494 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3495 Use add-function.
1f35d401 3496
9bc67baa
SM
34972013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3498
986545b5
SM
3499 * emacs-lisp/nadvice.el (remove-function): Align with
3500 add-function's behavior.
3501
9bc67baa
SM
3502 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3503 (gdb--string-regexp): New constant.
3504 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3505 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3506 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3507 submatch 1.
3508 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3509 Adjust use accordingly.
3510 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3511
56cd894e
AS
35122013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3513
3514 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3515 interpolation curlies (Bug#15914).
3516
014690de
JB
35172013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3518
3519 * calc/calc.el (calc-context-sensitive-enter): New variable.
3520 (calc-enter): Use `calc-context-sensitive-enter'.
3521
7e26a6c3
TZ
35222013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3523
3524 * progmodes/cfengine.el: Version bump.
3525 (cfengine-cf-promises): New defcustom to locate cf-promises.
3526 (cfengine3-vartypes): Add new "data" type.
3527 (cfengine3--current-word): New function to get current name-like
3528 word or its bounds.
3529 (cfengine3--current-function): New function to look up a CFEngine
3530 function's definition.
3531 (cfengine3-format-function-docstring): New function.
3532 (cfengine3-make-syntax-cache): New function.
3533 (cfengine3-documentation-function): New function: ElDoc glue.
3534 (cfengine3-completion-function): New function: completion glue.
3535 (cfengine3-mode): Set `compile-command',
3536 `eldoc-documentation-function', and add to
3537 `completion-at-point-functions'.
3538
355204dd
MA
35392013-11-16 Michael Albinus <michael.albinus@gmx.de>
3540
3541 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3542 `tramp-current-connection'.
3543
43cebc23
DG
35442013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3545
3546 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3547 nil/self/true/false with "end of symbol".
3548
a3fed6ff
BB
35492013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3550
3551 * subr.el (version-regexp-alist): Fix a typo.
3552
e675b3e4
MA
35532013-11-15 Michael Albinus <michael.albinus@gmx.de>
3554
3555 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3556 "en_US.utf8" and "LC_CTYPE" to "".
3557 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3558 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3559
a1f03e89
LL
35602013-11-15 Leo Liu <sdl.web@gmail.com>
3561
3562 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3563
5d9d9451
SM
35642013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3565
58362662
CS
3566 * progmodes/gud.el (ctl-x-map):
3567 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3568 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3569
6c1bf086
BB
35702013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3571
0d5363c4
BB
3572 * subr.el (version-regexp-alist):
3573 Recognize hg, svn and darcs versions as snapshot versions.
3574
4e9fc48c
BB
3575 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3576 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3577 (ruby--encoding-comment-required-p): Extract from
3578 `ruby-mode-set-encoding'.
3579 (ruby-mode-set-encoding): Add the ability to always insert an
3580 utf-8 encoding comment. Fix and simplify coding comment update
3581 logic.
6c1bf086 3582
2f7e72f8
MA
35832013-11-14 Michael Albinus <michael.albinus@gmx.de>
3584
3585 * net/tramp-gvfs.el (top): Run init code only when
3586 `tramp-gvfs-enabled' is not nil.
3587 (tramp-gvfs-enabled): Check also :system bus.
3588
0f137a73
SM
35892013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3590
3591 Sync with upstream verilog-mode revision 78e66ba.
3592 * progmodes/verilog-mode.el (verilog-end-of-defun)
3593 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3594 (verilog-get-end-of-defun): Remove unused argument.
3595 (verilog-comment-depth): Remove unused local `e'.
3596 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3597 Don't pass arg to verilog-get-end-of-defun.
3598
1c276bdd
GM
35992013-11-14 Glenn Morris <rgm@gnu.org>
3600
3601 * obsolete/assoc.el (aget): Prefix dynamic variable.
3602
3603 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3604
ff6ec81d
SM
36052013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3606
3607 * widget.el, hfy-cmap.el: Remove bogus package version number.
3608
75f777b6
GM
36092013-11-13 Glenn Morris <rgm@gnu.org>
3610
1d43dba1
GM
3611 * replace.el (replace-eval-replacement):
3612 Try to give more helpful error message. (Bug#15836)
3613
ff4b7bd5
GM
3614 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3615 (archive-7z-update): Avoid custom type mismatches.
3616
75f777b6
GM
3617 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3618
11151a06
MA
36192013-11-13 Michael Albinus <michael.albinus@gmx.de>
3620
e675b3e4 3621 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3622 address can be empty.
3623
3624 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3625 Accept nil SWITCHES.
3626 (tramp-gvfs-handle-write-region): Implement APPEND.
3627
7b08f97e
DG
36282013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3629
3630 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3631 binary "|" operator and closing block args delimiter.
3632 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3633 (ruby-smie--implicit-semi-p): Not after "|" operator.
3634 (ruby-smie--closing-pipe-p): New function.
3635 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3636 (ruby-smie-rules): Indent after "|".
3637
f201cf3a
GM
36382013-11-12 Glenn Morris <rgm@gnu.org>
3639
3640 * ps-print.el (ps-face-attribute-list):
3641 Handle anonymous faces. (Bug#15827)
3642
e6f759f9
MR
36432013-11-12 Martin Rudalics <rudalics@gmx.at>
3644
3645 * window.el (display-buffer-other-frame): Fix doc-string.
3646 (Bug#15868)
3647
ecda65d4
SM
36482013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3651
7ce8fcc3
MA
36522013-11-11 Michael Albinus <michael.albinus@gmx.de>
3653
3654 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3655 (tramp-sh-handle-file-local-copy): Don't write a message when
3656 saving temporary files.
3657
3658 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3659 both directories are remote.
3660 (tramp-smb-handle-directory-files): Do not return double entries.
3661 Do not expand full file names.
3662 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3663 (tramp-smb-handle-write-region): Implement APPEND.
3664 (tramp-smb-get-stat-capability): Fix a stupid bug.
3665
7818df11
SM
36662013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3669
608c2085
NT
36702013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3671
3672 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3673 throwing error over malformed let/let* (bug#15814).
3674
122a7e46
SM
36752013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3676
3677 * iswitchb.el (iswitchb-mode): Mark obsolete.
3678
766284d9
GM
36792013-11-11 Glenn Morris <rgm@gnu.org>
3680
3681 * international/uni-bidi.el, international/uni-category.el:
3682 * international/uni-name.el, international/uni-numeric.el:
3683 Regenerate for Unicode 6.3.0.
3684
7072a4e9
MA
36852013-11-10 Michael Albinus <michael.albinus@gmx.de>
3686
3687 * net/tramp.el (tramp-methods):
3688 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3689 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3690
c9df215b
AS
36912013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3692
608c2085
NT
3693 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3694 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3695
fa47d796
DG
36962013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3697
3698 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3699 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3700 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3701 (ispell-complete-word): Call `ispell-lookup-words' with the value
3702 independent of `ispell-look-p'.
3703
1629a329
DG
37042013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3705
3706 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3707 Not after "||".
3708 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3709 their parent.
3710
ad16897c
SM
37112013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3712
3713 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3714 (ruby-font-lock-keywords): Use backquote.
3715
ffa2df72
DG
37162013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3717
3718 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3719 (ruby-smie--backward-token): Only consider full-string matches.
3720
5b97b4c0
JD
37212013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3722
3723 * faces.el (describe-face): Add distant-foreground.
3724
71731c03
BB
37252013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3726
4e9fc48c
BB
3727 * progmodes/ruby-mode.el: Improve encoding comment handling.
3728 (ruby-encoding-magic-comment-style): New option.
3729 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3730 (ruby--insert-coding-comment, ruby--detect-encoding):
3731 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3732 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3733 to control the style of the auto-inserted encoding comment.
71731c03 3734
da3b328d
DG
37352013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3736
ad16897c
SM
3737 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3738 Use `smie-backward-sexp' with token argument.
da3b328d 3739
1606c2d3
MA
37402013-11-08 Michael Albinus <michael.albinus@gmx.de>
3741
3742 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3743 Remove instrumentation code.
3744
b0f4c320
GM
37452013-11-08 Glenn Morris <rgm@gnu.org>
3746
3747 * progmodes/autoconf.el (autoconf-mode):
3748 Tweak comment-start-skip. (Bug#15822)
3749
43668fb1
SM
37502013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3753 at bobp (bug#15826).
3754 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3755
daddb3fd
DH
37562013-11-08 Darren Hoo <darren.hoo@gmail.com>
3757
3758 * man.el (Man-start-calling): New macro, extracted from
3759 Man-getpage-in-background.
3760 (Man-getpage-in-background): Use it.
3761 (Man-update-manpage): New command.
3762 (Man-mode-map): Bind it.
3763
1f923923
DG
37642013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3765
3766 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3767 of "and", "or", "&&" and "||".
3768 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3769 argument. Prohibit opening curly brace because it could only be a
3770 block opener in that position.
daddb3fd
DH
3771 (ruby-smie--forward-token, ruby-smie--backward-token):
3772 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3773 arguments.
3774 (ruby-smie--indent-to-stmt): New function, seeks the end of
3775 previous statement or beginning of buffer.
3776 (ruby-smie-rules): Use it.
3777 (ruby-smie-rules): Check if there's a ":" before a curly block
3778 opener candidate; if there is, it's a hash.
3779
3220d527
SM
37802013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3783 (cl--block-wrapper): Fix last accidental change.
3784
1eb1f9e0
MA
37852013-11-07 Michael Albinus <michael.albinus@gmx.de>
3786
3787 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3788 Instrument, in order to hunt failure on hydra.
3789
e6e4db3c
NT
37902013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3791
3792 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3793 malformed bindings form (bug#15814).
3794
b420ccfc
DG
37952013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3796
3797 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3798 "." compared to " @ ". This incidentally fixes some indentation
3799 examples with "do".
e6e4db3c 3800 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3801 (ruby-smie-grammar): New tokens: "and" and "or".
3802 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3803 Exclude "and" and "or". Remove "do" in order to work around token
3804 priorities.
3805 (ruby-smie-rules): Add all infix tokens. Handle the case of
3806 beginning-of-buffer.
b420ccfc 3807
6b4ac03e
GM
38082013-11-06 Glenn Morris <rgm@gnu.org>
3809
3810 * Makefile.in (setwins_almost, setwins_for_subdirs):
3811 Avoid accidental matches.
3812
5ca114d1
SM
38132013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3814
3815 * menu-bar.el (popup-menu): Use key-binding.
3816
f72552bd
EZ
38172013-11-06 Eli Zaretskii <eliz@gnu.org>
3818
3819 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3820 menus, support also the menus produced by minor modes.
3821 (Bug#15817)
3822
5d5c701e
LL
38232013-11-06 Leo Liu <sdl.web@gmail.com>
3824
3825 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3826 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3827
0a8b75e2
GM
38282013-11-06 Glenn Morris <rgm@gnu.org>
3829
3830 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3831 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3832 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3833
a35287ea
SM
38342013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3835
feca4e2d
SM
3836 * electric.el (electric-indent-just-newline): New command.
3837 (electric-indent-mode-map): New keymap.
3838 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3839 Re-add :group which weren't redundant.
3840
a35287ea
SM
3841 * electric.el (electric-indent-local-mode): New minor mode.
3842 (electric-indent-functions-without-reindent): New var.
3843 (electric-indent-post-self-insert-function): Use it.
3844 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3845
375761b2
EZ
38462013-11-05 Eli Zaretskii <eliz@gnu.org>
3847
9a6ad735
EZ
3848 * international/quail.el (quail-help): Be more explicit about the
3849 meaning of the labels shown on the keys. (Bug#15800)
3850
375761b2
EZ
3851 * startup.el (normal-top-level): Load the subdirs.el files before
3852 setting the locale environment. (Bug#15805)
3853
520a6e4a
SM
38542013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3855
0acfafef
SM
3856 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3857 via arguments so as to get the right ones (bug#15418).
3858
520a6e4a
SM
3859 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3860
15826261
MA
38612013-11-05 Michael Albinus <michael.albinus@gmx.de>
3862
3863 Fix problems found while writing a test suite.
3864
3865 * net/tramp-compat.el (tramp-compat-load): New defun.
3866 * net/tramp.el (tramp-handle-load): Use it.
3867
3868 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3869 "(numberp ok-if-already-exists)" correctly.
3870
d35f31a4
XF
38712013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3872
3873 * international/characters.el (glyphless-char-display-control):
3874 Add usage note.
3875
ae93bc74
BB
38762013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3877
520a6e4a
SM
3878 * progmodes/python.el (python-mode):
3879 * progmodes/scheme.el (scheme-mode):
3880 * progmodes/prolog.el (prolog-mode):
3881 * progmodes/ruby-mode.el (ruby-mode):
3882 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3883 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3884
0ade65b5
SM
38852013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3886
a0d5f7a4
SM
3887 * rect.el (rectangle--highlight-for-redisplay):
3888 * emacs-lisp/smie.el (smie--next-indent-change):
3889 Use buffer-chars-modified-tick.
3890
c93f3f5c
SM
3891 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3892
0ade65b5
SM
3893 * electric.el (electric-indent-post-self-insert-function):
3894 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3895
ef9dd188
HE
38962013-11-04 Helmut Eller <eller.helmut@gmail.com>
3897
3898 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3899
306e7308
NT
39002013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3901
3902 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3903 (bug#15786).
3904
e5afbcac
SM
39052013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3906
1d01ad41
SM
3907 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3908
e5afbcac
SM
3909 * progmodes/python.el: Fix up last change.
3910 (python-shell--save-temp-file): New function.
3911 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3912 `string' comes from the current buffer.
3913 (python-shell-send-string-no-output): Remove `msg' arg.
3914 (python--use-fake-loc): New var.
3915 (python-shell-buffer-substring): Obey it. Try to compensate for the
3916 extra coding line added by python-shell--save-temp-file.
3917 (python-shell-send-region): Use python-shell--save-temp-file and
3918 python-shell-send-file directly. Add `nomain' argument.
3919 (python-shell-send-buffer): Use python-shell-send-region.
3920 (python-electric-pair-string-delimiter): New function.
3921 (python-mode): Use it.
3922
d0065ff1
EZ
39232013-11-04 Eli Zaretskii <eliz@gnu.org>
3924
3925 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3926 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3927 environment and decoding all of the default-directory's to here
3928 from command-line.
3929 (command-line): Decode also argv[0].
3930
3931 * loadup.el: Error out if default-directory is a multibyte string
3932 when we are dumping.
3933
3934 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3935
7397c587
TZ
39362013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3937
3938 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3939 (package-menu--print-info, package-menu--archive-predicate):
3940 Add Archive column to package list.
7397c587 3941
b27cc9fc
MA
39422013-11-04 Michael Albinus <michael.albinus@gmx.de>
3943
3944 Fix problems found while writing a test suite.
3945
3946 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3947 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3948 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3949 to nil when running original file name handler. Otherwise,
3950 there are problems with constructs like "$$FOO".
3951
3952 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3953 for `localname'.
3954
d8c4f18a
BB
39552013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3956
7b530552
BB
3957 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3958
3959 * subr.el (version<, version<=, version=):
3960 Update docstrings with information for snapshot versions.
3961
d8c4f18a
BB
3962 * helpers.el: New library for misc helper functions.
3963 (hash-table-keys): New function returning a list of hash keys.
3964 (hash-table-values): New function returning a list of hash values.
3965
dca01b09
DG
39662013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3967
3968 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3969 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3970
0a749fa0
MN
39712013-11-04 Michal Nazarewicz <mina86@mina86.com>
3972
3973 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3974 checking whether point is after a 1-letter word.
3975
39762013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3977
3978 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3979 Don't infloop when expanding region over `multiline' syntax-type that
3980 begins a line (bug#15778).
3981
4aca7145
SM
39822013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3983
3984 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3985 Make it into a proper minor mode.
3986 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3987 (rectangle-mark-mode-map): New keymap.
3988 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3989
a0833f62
GM
39902013-11-04 Glenn Morris <rgm@gnu.org>
3991
3992 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3993
e61845c1
SM
39942013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3997 (ruby-smie-rules): Use smie-rule-parent instead.
3998
3999 * emacs-lisp/smie.el (smie-rule-parent): Always call
4000 smie-indent-virtual rather than only for hanging tokens.
4001 (smie--next-indent-change): New helper command.
4002
62942f89
GM
40032013-11-03 Glenn Morris <rgm@gnu.org>
4004
4005 * Makefile.in (abs_srcdir): Remove.
4006 (emacs): Unset EMACSLOADPATH.
4007
b0b9e592
GM
40082013-11-02 Glenn Morris <rgm@gnu.org>
4009
18ba6a33 4010 * Makefile.in (EMACS): Use a relative filename.
8061810d 4011 (abs_top_builddir): Remove.
18ba6a33
GM
4012 (custom-deps, finder-data, autoloads): Use --chdir.
4013
6a8b929e
GM
4014 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4015
c617f3d0
GM
4016 Use relative filenames in TAGS files.
4017 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4018 (lisptagsfiles4, TAGS): Use relative file names.
4019 (TAGS-LISP): Remove.
4020 (maintainer-clean): No more TAGS-LISP file.
4021
b0b9e592
GM
4022 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4023 (lisptagsfiles4): Use absolute filenames again.
4024 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4025 Remove all *loaddefs files, not just the first. Remove esh-groups.
4026 (maintainer-clean): Delete TAGS, TAGS-LISP.
4027
d1c0ea6a
BB
40282013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4029
e61845c1
SM
4030 * emacs-lisp/package.el (package-version-join):
4031 Recognize snapshot versions.
d1c0ea6a 4032
684d71c6
BB
40332013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4034
4035 * subr.el (version-regexp-alist): Add support for snapshot versions.
4036
3d42b968
DG
40372013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4038
e61845c1
SM
4039 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4040 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4041 skip over our direct parent if it's an assignment token..
4042 (ruby-smie-rules): Use it.
4043
7ffd3721
DG
40442013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4045
8449dd1f 4046 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4047 unconditionally. Remove now unnecessary forward declarations.
4048 Remove XEmacs-specific setup.
4049 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4050 (ruby-font-lock-syntactic-keywords)
4051 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4052 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4053 (ruby-here-doc-end-syntax): Remove.
4054 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4055 defined as function.
4056
a3996a2e
BB
40572013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4058
4059 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4060
6f9260e8
BB
40612013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4062
4063 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4064 table and abbrev table, `define-derived-mode' does that for us
4065 anyway.
4066
6014de84
GM
40672013-11-01 Glenn Morris <rgm@gnu.org>
4068
4069 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4070 files is atomic for some time, so no parallel compilation issues).
4071
3c334c14
JD
40722013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4073
4074 * faces.el (face-x-resources): Add :distant-foreground.
4075 (region): Use :distant-foreground for gtk and ns.
4076
9bc236c8
TH
40772013-11-01 Tassilo Horn <tsdh@gnu.org>
4078
5246583b 4079 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4080 BibTeX.
4081 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4082 (reftex-locate-bibliography-files): Us it.
4083
d14c81ee
CB
40842013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4085
0e7690de
CB
4086 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4087 allow comments in pbm files.
4088
d14c81ee
CB
4089 * term/w32-win.el (dynamic-library-alist): Support newer versions
4090 of libjpeg starting with v7: look only for the DLL from the
4091 version against which Emacs was built.
ac1bf374 4092 Support versions of libpng beyond 1.4.x.
019c8218 4093 Support libtiff v4.x.
d14c81ee 4094
983d0df5
BB
40952013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4096
4097 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4098 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4099 Add property :safe.
4100 (ruby-deep-arglist): Add property :type.
4101
47f58d85
GM
41022013-10-31 Glenn Morris <rgm@gnu.org>
4103
4104 * Makefile.in (custom-deps, finder-data): No need to setq the target
4105 variables, we are in the right directory and the defaults work fine.
4106
4f85b479
GM
41072013-10-30 Glenn Morris <rgm@gnu.org>
4108
ca7dd4cd
GM
4109 * Makefile.in (autoloads): Do not use abs_lisp.
4110
4f85b479
GM
4111 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4112 `newline' does not respect `standard-output', so use `princ'.
4113
cf59e41c
AA
41142013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4115
4116 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4117 * buff-menu.el (Buffer-menu--unmark): New function.
4118 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4119
74cf04fb
GM
41202013-10-30 Glenn Morris <rgm@gnu.org>
4121
b040b60e
GM
4122 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4123
f53d3815
GM
4124 * emacs-lisp/package.el (lm-homepage): Declare.
4125
5413d873
GM
4126 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4127 Fix doc typos.
4128
cecedb36
GM
4129 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4130
74cf04fb
GM
4131 * Makefile.in (finder-data, autoloads, update-subdirs)
4132 (compile-main, compile-clean, compile-always, bootstrap-clean):
4133 Check return value of cd.
4134 (compile-calc): Remove.
4135
195ee2f0
SM
41362013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4137
ae4002ce
SM
4138 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4139
4140 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4141 (byte-compile-and-folded): New function.
4142 (=, <, >, <=, >=): Use it.
4143
4144 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4145 (path-separator, null-device, buffer-file-coding-system)
4146 (lpr-headers-switches): Check system-type before modifying them.
4147 (find-buffer-file-type-coding-system): Mark obsolete.
4148 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4149 find-file-not-found-set-buffer-file-coding-system.
4150 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4151 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4152 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4153 (w32-direct-print-region-helper, w32-direct-print-region-function)
4154 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4155 * startup.el (normal-top-level-add-subdirs-to-load-path):
4156 * ps-print.el (ps-print-region-function):
4157 * lpr.el (print-region-function): Use new name.
4158
53b39e89
SM
4159 * subr.el (custom-declare-variable-early): Remove function.
4160 (custom-declare-variable-list): Remove var.
4161 (error, user-error): Remove `while' loop.
4162 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4163 (user-emacs-directory-warning, locate-user-emacs-file):
4164 Move to files.el.
4165 * simple.el (read-quoted-char-radix, read-quoted-char):
4166 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4167 Move from subr.el.
4168 * custom.el (custom-declare-variable-list): Don't process
4169 custom-declare-variable-list.
4170
195ee2f0
SM
4171 * progmodes/python.el (python-shell-get-buffer): New function.
4172 (python-shell-get-process): Use it.
4173 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4174 Python which encoding was used. Don't split-string since we only care
4175 about the first line. Return the temp-file, if applicable.
4176 (python-shell-send-region): Tell compile.el how to turn locations in
4177 the temp-file into locations in the source buffer.
4178
7e3561ee
SM
41792013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4180
4c9797cb
SM
4181 * subr.el (undefined): Add missing behavior from the C code for
4182 unbound keys.
4183
3472b6c6
SM
4184 * rect.el: Use lexical-binding. Add new rectangular region support.
4185 (rectangle-mark): New command.
4186 (rectangle--region): New var.
4187 (deactivate-mark-hook): Reset rectangle--region.
4188 (rectangle--extract-region, rectangle--insert-for-yank)
4189 (rectangle--highlight-for-redisplay)
4190 (rectangle--unhighlight-for-redisplay): New functions.
4191 (region-extract-function, redisplay-unhighlight-region-function)
4192 (redisplay-highlight-region-function): Use them to handle
4193 rectangular region.
4194 * simple.el (region-extract-function): New var.
4195 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4196 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4197 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4198 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4199 (redisplay-unhighlight-region-function)
4200 (redisplay-highlight-region-function): New vars.
4201 (redisplay--update-region-highlight): New function.
4202 (pre-redisplay-function): Use it.
4203 (exchange-point-and-mark): Don't deactivate the mark before
4204 reactivate-it anyway.
4205 * comint.el (comint-kill-region): Remove yank-handler argument.
4206 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4207 (delete-char): Remove property, since it's now part of their
4208 default behavior.
4209 (self-insert-iso): Remove property since this command doesn't exist.
4210
7e3561ee
SM
4211 * emacs-lisp/package.el (package--download-one-archive)
4212 (describe-package-1): Don't query the user about final newline.
4213
b9bef71f
DC
42142013-10-29 Daniel Colascione <dancol@dancol.org>
4215
4216 * net/tramp.el (tramp-methods): Document new functionality.
4217 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4218 tramp-hostname-checker if method provides one instead of scanning
4219 argument list for "%h" to decide hostname acceptability.
4220
4efc33f0
MA
42212013-10-28 Michael Albinus <michael.albinus@gmx.de>
4222
4223 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4224 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4225 Handle COPY-CONTENTS. (Bug#15737)
4226
ed42a877
DU
42272013-10-28 Daiki Ueno <ueno@gnu.org>
4228
4229 * epa-file.el
7e3561ee
SM
4230 (epa-file-cache-passphrase-for-symmetric-encryption):
4231 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4232
18c9f8a2
XF
42332013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4234
7a4bc7be
XF
4235 * image.el (defimage):
4236 (image-load-path): Doc fixes.
18c9f8a2 4237
b1e8e010
AM
42382013-10-27 Alan Mackenzie <acm@muc.de>
4239
4240 Indent statements in macros following "##" correctly.
7e3561ee
SM
4241 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4242 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4243
73d40d1e 42442013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4245
4246 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4247
c8c605ac
DG
42482013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4249
4250 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4251 after `=' is probably a new expression.
4252
ca7e59d4
RS
42532013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4254
4255 * man.el (man-imenu-title): New option.
4256 (Man-mode-map): Add menu. (Bug#15722)
4257 (Man-mode): Add imenu to menu.
4258
bae91342
DG
42592013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4260
4261 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4262 specific in what the first arg can be: a non-keyword word,
4263 string/regexp/percent literal opener, opening paren, or unary
4264 operator followed directly by word.
4265
eb89dc14
SM
42662013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4267
4268 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4269 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4270 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4271 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4272 Remove vars, they do not apply any more.
4273 (prolog-mode-abbrev-table): Remove redundant declaration.
4274 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4275 (prolog-use-smie): Remove.
4276 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4277 supported by prolog-electric-if-then-else-flag.
4278 (prolog-mode-variables, prolog-menu): Use setq-local.
4279 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4280 Remove binding to `Backspace' since this key doesn't exist anyway.
4281 Remove bindings for electric self-inserting keys.
4282 (prog-mode): Assume it's defined.
4283 (prolog-post-self-insert): New function.
4284 (prolog-mode): Use it.
4285 (prolog-indent-line, prolog-indent-level)
4286 (prolog-find-indent-of-matching-paren)
4287 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4288 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4289 (prolog-goto-next-paren, prolog-in-string-or-comment)
4290 (prolog-tokenize, prolog-inside-mline-comment)
4291 (prolog-find-start-of-mline-comment): Remove functions.
4292 (prolog-find-unmatched-paren, prolog-clause-end)
4293 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4294 (prolog-electric--if-then-else): Rename from
4295 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4296 (prolog-tokenize-searchkey): Remove const.
4297 (prolog-clause-info): Use forward-sexp.
4298 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4299 (prolog-electric-if-then-else): Remove commands.
4300 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4301 for use in post-self-insert-hook.
4302 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4303 for use in post-self-insert-hook.
4304 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4305 for use in post-self-insert-hook.
4306 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4307 adapt it for use in post-self-insert-hook.
4308
3dab0a83
MA
43092013-10-25 Michael Albinus <michael.albinus@gmx.de>
4310
4311 * emacs-lisp/ert.el (ert-run-tests-interactively):
4312 Use `completing-read'. (Bug#9756)
4313
fbfd0e1d
EZ
43142013-10-25 Eli Zaretskii <eliz@gnu.org>
4315
4316 * simple.el (line-move): Call line-move-1 instead of
4317 line-move-visual when the current window hscroll is zero, but
4318 temporary-goal-column indicates we will need to hscroll as result
4319 of the movement. (Bug#15712)
4320
963ce636
DG
43212013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4322
4323 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
4324 capitalization. Use :visible instead of :active.
4325 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
4326 commands that are used with SMIE.
4327 (ruby-do-end-to-brace): Insert space after `{'.
4328
a0be396a
JA
43292013-10-25 John Anthony <john@jo.hnanthony.com>
4330
f73754c9
JA
4331 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4332
4333 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 4334
f5bf77df
GM
43352013-10-25 Glenn Morris <rgm@gnu.org>
4336
4337 * vc/vc.el (vc-print-log): Don't use a working revision unless
4338 one was explicitly specified. (Bug#15322)
4339
37241f62
SM
43402013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * subr.el (add-to-list): Preserve return value in compiler-macro
4343 (bug#15692).
4344
6408a65d
RS
43452013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4346
4347 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4348 result. Ask user to retry using '-all' flag. (Bug#15701)
4349
71e3276b
SM
43502013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4351
4352 * emacs-lisp/smie.el: New smie-config system.
4353 (smie-config): New defcustom.
4354 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4355 (smie-config-guess, smie-config-save): New commands.
4356 (smie-config--mode-local, smie-config--buffer-local)
4357 (smie-config--trace, smie-config--modefuns): New vars.
4358 (smie-config--advice, smie-config--mode-hook)
4359 (smie-config--setter, smie-config-local, smie-config--get-trace)
4360 (smie-config--guess-value, smie-config--guess): New functions.
4361 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4362 text properties. Treat "string fence" syntax like string syntax.
4363
4364 * progmodes/sh-script.el (sh-use-smie): Change default.
4365 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4366 (sh-var-value): Simplify by CSE.
4367 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4368 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4369 is used.
4370 (sh-guess-basic-offset): Use cl-incf.
4371 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4372
60db713e
HE
43732013-10-24 Helmut Eller <eller.helmut@gmail.com>
4374
4375 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4376 (bug#15699).
4377
8b251df6
GM
43782013-10-24 Glenn Morris <rgm@gnu.org>
4379
4380 * Makefile.in (abs_top_srcdir): Remove.
4381 (update-subdirs): Use relative path to update-subdirs.
4382
6be0e22b
EZ
43832013-10-24 Eli Zaretskii <eliz@gnu.org>
4384
4385 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4386 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4387 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4388 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4389
50b5b857
MA
43902013-10-24 Michael Albinus <michael.albinus@gmx.de>
4391
4392 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4393 (ert-test-skipped): New error.
4394 (ert-skip, ert-stats-skipped): New defuns.
4395 (ert--skip-unless): New macro.
4396 (ert-test-skipped): New struct.
4397 (ert--run-test-debugger, ert-test-result-type-p)
4398 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4399 (ert--stats-set-test-and-result, ert-char-for-test-result)
4400 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4401 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4402 Handle skipped tests. (Bug#9803)
50b5b857 4403
6f317c2f
GM
44042013-10-24 Glenn Morris <rgm@gnu.org>
4405
e43817c1
GM
4406 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4407
6f317c2f
GM
4408 * Makefile.in (abs_top_srcdir): New, set by configure.
4409 (update-subdirs): Correct build-aux location.
4410
369bbf71
DG
44112013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4412
8297b2cf
DG
4413 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4414 value, whether we could auto-deduce `backend', or not.
4415
369bbf71
DG
4416 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4417 with parameters" example. Simplify the "is it block or is it
4418 hash" check, but also make it more thorough.
4419
d5f1282f
MF
44202013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4421
4422 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4423
bc4aaa31
SM
44242013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4425
03d44565
SM
4426 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4427 { if it is hanging.
4428
bc4aaa31
SM
4429 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4430 :before ";".
4431
f493ff19
JB
44322013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4433
4434 * progmodes/compile.el (compilation-directory-matcher)
4435 (compilation-page-delimiter):
4436 Support GNU Make-4.0 directory quoting. (Bug#15678)
4437
c744a3b9
LL
44382013-10-23 Leo Liu <sdl.web@gmail.com>
4439
4440 * ido.el (ido-tidy): Handle read-only text.
4441
b8e3b0a9
GM
44422013-10-23 Glenn Morris <rgm@gnu.org>
4443
4444 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4445 (emacs, compile, compile-always):
4446 Quote entities that might contain whitespace.
4447 (custom-deps, finder-data, autoloads): Use abs_lisp.
4448 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4449 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4450 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4451
ee4282cd
DG
44522013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4453
bc4aaa31
SM
4454 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4455 Use `following-char'.
7790a270 4456
ee4282cd 44572013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4458
4459 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4460 * progmodes/ruby-mode.el (ruby-smie-rules):
4461 Remove corresponding workaround. Fix indentation rule of ";" so it
4462 also applies when ";" is the parent.
4463
d40a46d7
XF
44642013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4465
4466 * frame.el (display-screens, display-pixel-height)
4467 (display-pixel-width, display-mm-width, display-backing-store)
4468 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4469 (display-visual-class, display-monitor-attributes-list):
4470 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4471
a0f143c9
MG
44722013-10-22 Michael Gauland <mikelygee@amuri.net>
4473
4474 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4475 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4476
18cacc39
DG
44772013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4478
4479 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4480 TODO. Add "." after " @ ".
4481 (ruby-smie--at-dot-call): New function. Checks if point at method
4482 call with explicit target.
4483 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4484 to the method name tokens when it precedes them.
4485 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4486 (ruby-smie-rules): Add rule for indentation before and after "."
4487 token.
4488
df74c4be
SM
44892013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4490
c6dab55f
SM
4491 * textmodes/remember.el (remember-diary-extract-entries):
4492 Avoid add-to-list.
4493
df74c4be
SM
4494 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4495 an instruction.
4496
8c1ae481
DG
44972013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4498
e9dc713d
JB
4499 * progmodes/ruby-mode.el (ruby-smie-grammar):
4500 Add (almost) all infix operators.
cfef16c0
DG
4501 (ruby-smie--implicit-semi-p): Add new operator chars.
4502
8c1ae481
DG
4503 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4504 `smie-down-list'.
4505 (ruby-smie--args-separator-p): Check that there's no newline
4506 between method call and its arguments.
4507
87756ca9
AM
45082013-10-20 Alan Mackenzie <acm@muc.de>
4509
4510 Allow comma separated lists after Java "implements".
4511
df74c4be
SM
4512 * progmodes/cc-engine.el (c-backward-over-enum-header):
4513 Parse commas.
87756ca9
AM
4514 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4515 from a "disallowed" list in enum fontification.
4516
c25f8957
JB
45172013-10-20 Johan Bockgård <bojohan@gnu.org>
4518
df74c4be 4519 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4520
c25f8957
JB
4521 * progmodes/verilog-mode.el (verilog-mode): Don't set
4522 comment-indent-function globally.
4523
aca5fcdc
JD
45242013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4525
5f161884
JD
4526 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4527 Move Info menu item creation to ns-win.el.
4528
4529 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4530 in menu bar.
4531
a6c4680a 4532 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4533
4534 * term/ns-win.el (ns-initialize-window-system): ... to here.
4535
914b7f98
SM
45362013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4537
4538 * simple.el (newline): Only run post-self-insert-hook when
4539 called interactively.
4540
846ffe77
JB
45412013-10-19 Johan Bockgård <bojohan@gnu.org>
4542
4543 * icomplete.el (icomplete-with-completion-tables): Add :version.
4544
033f22dd
AM
45452013-10-19 Alan Mackenzie <acm@muc.de>
4546
4547 Fix fontification bugs with constructors and const.
4548
4549 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4550 CASE 2) Remove the check for the absence of a suffix construct
4551 after a function declaration with only types (no identifiers) in
4552 the parentheses. Also, accept a function declaration with just a
4553 type inside the parentheses, if this type can be positively
4554 recognised as such, or if a prefix keyword like "explicit" nails
4555 down the construct as a declaration.
4556
58ce0cfc
EZ
45572013-10-19 Eli Zaretskii <eliz@gnu.org>
4558
4559 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4560 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4561 the problem whereby selecting a menu item that leads to a
4562 minibuffer prompt moves the cursor out of the minibuffer window,
4563 making it hard to type at the prompt. Suggested by Stefan Monnier
4564 <monnier@iro.umontreal.ca>.
4565
50e28e7d
JD
45662013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4567
4568 * menu-bar.el: Don't make Services menu.
4569
7deed4bf
RS
45702013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4571
4572 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4573 (ffap-alist): Use ffap-c++-mode for c++-mode.
4574 (ffap-c++-path): New variable.
4575 (ffap-c++-mode): New function.
4576
7bcb455b
JVJ
45772013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4578
4579 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4580
f0ff1cd5
MA
45812013-10-18 Michael Albinus <michael.albinus@gmx.de>
4582
4583 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4584 introduced on 2013-09-08, which results in an infinite loop
4585 requesting a password.
4586
d64da4b7
GM
45872013-10-18 Glenn Morris <rgm@gnu.org>
4588
4589 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4590
ea89ff08
WS
45912013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4592
4593 Sync with upstream verilog-mode revision 1a6ecec7.
4594 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4595 (verilog-mode-release-date): Remove.
4596 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4597 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4598 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4599 (verilog-auto-tieoff-ignore-regexp)
4600 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4601 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4602 (verilog-signals-with, verilog-dir-cache-preserving)
4603 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4604 Doc fixes.
4605 (verilog-case-fold): New option, to control case folding in
4606 regexp searches, bug597.
4607 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4608 (verilog-string-match-fold, verilog-in-paren-count)
4609 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4610 (verilog-at-close-struct-p): New functions.
4611 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4612 (verilog-forward-sexp, verilog-set-auto-endcomments):
4613 (verilog-leap-to-case-head): Handle "unique0" case.
4614 (verilog-in-constraint-re): New constant.
4615 (verilog-keywords, verilog-type-font-keywords):
4616 Add some SystemVerilog 1800-2012 keywords.
4617 (verilog-label-be): Remove unimplemented argument, bug669.
4618 (verilog-batch-execute-func): When batch expanding clear
4619 create-lockfiles to prevent spurious user locks when a file ends
4620 up not changing.
4621 (verilog-calculate-indent, verilog-calc-1)
4622 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4623 (verilog-do-indent): Fix indentation of nested constraints
4624 and structures.
4625 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4626 (verilog-auto-inst-param): Use verilog-string-match-fold.
4627 (verilog-read-inst-module-matcher):
4628 Fix AUTOINST on gate primitives with #1.
4629 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4630 Reads all user-defined typed variables.
4631 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4632 (verilog-signals-matching-regexp)
4633 (verilog-signals-not-matching-regexp, verilog-auto):
4634 Respect verilog-case-fold.
4635 (verilog-diff-report): Fix line count.
4636 (verilog-auto-assign-modport): Remove unused local `modi'.
4637 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4638 better handle multidimensional arrays.
4639 Fix packed array ports misadding bit index in AUTOINST, bug637.
4640 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4641 to not double-declare existing outputs and inputs, respectively.
4642 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4643 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4644 (verilog-sk-uvm-component): New skeleton.
4645 (verilog-submit-bug-report): Add verilog-case-fold,
4646 remove verilog-mode-release-date.
4647
ef566920
BR
46482013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4649
a12bf61e 4650 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4651 as before.
4652
29df8a0b
RT
46532013-10-18 Reuben Thomas <rrt@sc3d.org>
4654
e0eb0550 4655 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4656 remember buffers (bug#13566).
4657
04a19a79
DC
46582013-10-18 Daniel Colascione <dancol@dancol.org>
4659
4660 When evaluating forms in ielm, direct standard output to ielm
4661 buffer. Add new ielm-return-for-effect command. Remove trailing
4662 whitespace throughout.
4663
4664 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4665 (ielm-return-for-effect): New command.
4666 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4667 (ielm-eval-input): Accept optional `for-effect' parameter.
4668 Bind `standard-output' to stream we create using
04a19a79
DC
4669 `ielm-standard-output-impl'. Suppress printing result when
4670 `for-effect'.
4671 (ielm-standard-output-impl): New function.
4672 (inferior-emacs-lisp-mode): Explain new features in documentation.
4673
4c1f03ef
MA
46742013-10-17 Michael Albinus <michael.albinus@gmx.de>
4675
4676 Code cleanup.
4677
4678 * net/tramp.el (tramp-debug-message): Do not check for connection
4679 buffer.
4680 (tramp-message): Use "vector" connection property.
4681
4682 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4683 (tramp-equal-remote, tramp-eshell-directory-change)
4684 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4685 (tramp-adb-handle-rename-file)
4686 * net/tramp-cmds.el (tramp-list-remote-buffers)
4687 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4688 * net/tramp-compat.el (tramp-compat-process-running-p)
4689 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4690 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4691 (tramp-gvfs-handle-rename-file)
4692 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4693 (tramp-set-file-uid-gid)
4694 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4695 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4696 of `file-remote-p'.
4697
4698 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4699 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4700 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4701 (tramp-gw-open-network-stream): Suppress unrelated traces.
4702
4703 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4704 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4705 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4706 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4707 connection property.
4708
4709 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4710 persistency file.
4c1f03ef
MA
4711
4712 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4713 Refactor common code. Improve debug message.
4714 (tramp-maybe-open-connection)
4715 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4716 connection buffer too early.
4717
4718 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4719 from `tramp-smb-actions-with-acl'.
4720 (tramp-smb-actions-set-acl): New defconst.
4721 (tramp-smb-handle-copy-directory)
4722 (tramp-smb-action-get-acl): New defun, renamed from
4723 `tramp-smb-action-with-acl'.
4724 (tramp-smb-action-set-acl): New defun.
4725 (tramp-smb-handle-set-file-acl): Rewrite.
4726
642eb8b6
GM
47272013-10-17 Glenn Morris <rgm@gnu.org>
4728
4729 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4730
85527ff3
SM
47312013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4732
921c1d62
SM
4733 * skeleton.el (skeleton-newline): Remove.
4734 (skeleton-internal-1): Use (insert "\n") instead.
4735
e333fb10
SM
4736 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4737 let-bindings.
4738
85527ff3
SM
4739 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4740 forward-sexp-function while we redo its job (bug#15613).
4741
c8722a97
JB
47422013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4743
4744 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4745 represented by lists.
4746
7a550bbb
GM
47472013-10-16 Glenn Morris <rgm@gnu.org>
4748
4749 * tmm.el (tmm--history): New dynamic variable.
4750 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4751
f19da8ad
MA
47522013-10-16 Michael Albinus <michael.albinus@gmx.de>
4753
4754 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4755 (tramp-smb-errors): Add error messages.
4756 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 4757 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
4758 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4759 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4760 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4761 (tramp-smb-get-stat-capability): Fix tests.
4762
a24b9961
DK
47632013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4764
4765 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4766 (bug#15580).
4767
62ad85e6
GM
47682013-10-16 Glenn Morris <rgm@gnu.org>
4769
0283d6b0
GM
4770 * ansi-color.el (ansi-color-drop-regexp):
4771 Add 1J, 1K, 2K. (Bug#15617)
4772
012e2f9f
GM
4773 * files.el (hack-local-variables--warned-lexical): New.
4774 (hack-local-variables):
4775 Warn about misplaced lexical-binding. (Bug#15616)
4776
62ad85e6
GM
4777 * net/eww.el (eww-render): Always set eww-current-url,
4778 and update header line. (Bug#15622)
4779 (eww-display-html): ... Rather than just doing it here.
4780
6456c0ea
EZ
47812013-10-15 Eli Zaretskii <eliz@gnu.org>
4782
4783 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4784 menu navigations commands.
4785
c2de5588
DK
47862013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4787
4788 * progmodes/subword.el (subword-capitalize): Be careful when
4789 the search for [[:alpha:]] fails (bug#15580).
4790
ccd4a783
EZ
47912013-10-14 Eli Zaretskii <eliz@gnu.org>
4792
4793 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4794 to commands that scroll the menu.
4795
1eda1d8d
DG
47962013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4797
c2de5588
DK
4798 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4799 Handle methods ending with `?' and `!'.
1eda1d8d 4800
e70181b8
AM
48012013-10-14 Akinori MUSHA <knu@iDaemons.org>
4802
4803 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4804 `japanese-cp932' to `cp932' to fix the problem where saving a
4805 source file written in Shift_JIS twice would end up having
4806 `coding: japanese-cp932' which Ruby could not recognize.
4807 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4808 in `ruby-encoding-map'.
4809 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4810 doesn't need to be explicitly declared in magic comment.
4811 (ruby-encoding-map): Add type declaration for better customize UI.
4812
9148ee92
GM
48132013-10-13 Glenn Morris <rgm@gnu.org>
4814
a5d38e34
GM
4815 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4816 Occur buffers are read-only. http://bugs.debian.org/720775
4817
9148ee92
GM
4818 * emacs-lisp/authors.el (authors-fixed-entries):
4819 Comment out old alpha stuff.
4820
a9ba094b
DG
48212013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4822
4823 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4824 to `after-save-hook' instead of `before-save-hook'.
4825 (ruby-mode-set-encoding): Use the value of coding system used to
4826 write the file. Call `basic-save-buffer-1' after modifying the
4827 buffer.
4828
7a068717
AM
48292013-10-13 Alan Mackenzie <acm@muc.de>
4830
4831 Fix indentation/fontification of Java enum with
4832 "implements"/generic.
4833
c2de5588
DK
4834 * progmodes/cc-engine.el (c-backward-over-enum-header):
4835 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4836 (c-inside-bracelist-p): Uses new function above.
4837 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4838 function above.
4839 (c-font-lock-enum-tail): Uses new function above.
4840
85b64f02
KH
48412013-10-13 Kenichi Handa <handa@gnu.org>
4842
4843 * international/mule-cmds.el (select-safe-coding-system): Remove a
4844 superfluous condition in chekcing whether a coding system is safe
4845 or not.
4846
fc7f501b
OK
48472013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4848
4849 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4850
fdcb2049
AP
48512013-10-13 Andreas Politz <politza@hochschule-trier.de>
4852
4853 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4854
8c106d17
GM
48552013-10-13 Glenn Morris <rgm@gnu.org>
4856
feab892d
GM
4857 * menu-bar.el (menu-bar-update-buffers):
4858 Unify Buffers menu prompt string. (Bug#15576)
4859
b22d0686
GM
4860 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4861
8c106d17
GM
4862 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4863 Add some entries.
4864 (authors-fixed-entries): Use accented form of name.
4865
1b12c797
SM
48662013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4867
650fa7bf 4868 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4869 method calls (bug#15594).
650fa7bf
SM
4870 (ruby-smie--args-separator-p): New function.
4871 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4872 recognize paren-free method calls.
4873
1b12c797
SM
4874 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4875 internals of universal-argument.
4876
029619c8
EZ
48772013-10-11 Eli Zaretskii <eliz@gnu.org>
4878
4879 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4880 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4881 dropped menu on second mouse click on the menu bar.
029619c8 4882
dd070019
SM
48832013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4886 (explicit-shell-file-name): Declare.
4887 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4888 (sh-completion-at-point-function): New function.
4889 (sh-mode): Use it.
4890 (sh-smie--keyword-p): Remove unused argument.
4891 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4892 vars.
4893 (sh-set-shell): Always setup SMIE, even if we use the
4894 old indentation code.
4895
0922b826
DG
48962013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4897
b68e2926
DG
4898 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4899 cases of ? and =.
4900 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4901 predicate would return nil are almost non-existent.
4902 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4903
0922b826
DG
4904 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4905 cache also after commands that modify the buffer but don't move
4906 point.
4907
ee041f2d
SM
49082013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * env.el (substitute-env-in-file-name): New function.
4911 (substitute-env-vars): Extend the meaning of the optional arg.
4912
a5dab159
EZ
49132013-10-10 Eli Zaretskii <eliz@gnu.org>
4914
4915 * term/w32-win.el (dynamic-library-alist): Define separate lists
4916 of GIF DLLs for versions before and after 5.0.0 of giflib.
4917 (Bug#15531)
4918
0449d6cd 49192013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4920
4921 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4922 not locked, use last revision and current source as
4923 defaults. (Bug#15569)
4924
2f6e161e
MY
49252013-10-10 Masatake YAMATO <yamato@redhat.com>
4926
4927 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4928 menu-bar is hidden.
4929
6c8413fc
MR
49302013-10-10 Martin Rudalics <rudalics@gmx.at>
4931
4932 * window.el (pop-to-buffer-same-window): Fix doc-string.
4933 (Bug#15492)
4934
20832de0
SM
49352013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4936
4937 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4938
c6e8ae77
AC
49392013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4940
4941 * calendar/icalendar.el (icalendar-import-file):
4942 Fix interactive spec. (Bug#15482)
4943
9db13baf
GM
49442013-10-10 Glenn Morris <rgm@gnu.org>
4945
9271e90e
GM
4946 * desktop.el (desktop-save): Default to saving in .emacs.d,
4947 since PWD is no longer in desktop-path by default. (Bug#15319)
4948
9db13baf
GM
4949 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4950 now that text mode has a menu with the same entry.
4951 (menu-bar-text-mode-auto-fill): Remove now unused func.
4952 * textmodes/text-mode.el (text-mode-map):
4953 Use auto-fill help text from menu-bar.el.
4954
a0be396a 49552013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4956
4957 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4958
2edcd3c7
JL
49592013-10-09 Juri Linkov <juri@jurta.org>
4960
4961 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4962 instead of this-command-keys. Add universal-argument-more and
4963 universal-argument-minus to the list of prefix commands. (Bug#15568)
4964
574411d0
GM
49652013-10-09 Glenn Morris <rgm@gnu.org>
4966
14afa541
GM
4967 * vc/vc-svn.el (vc-svn-create-repo):
4968 Expand paths in file://... url. (Bug#15446)
4969
574411d0
GM
4970 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4971 Add some entries.
4972 (authors): Remove unused local variables.
4973
79804536
SM
49742013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4975
4976 * profiler.el: Create a more coherent calltree from partial backtraces.
4977 (profiler-format): Hide the tail with `invisible' so that C-s can still
4978 find the hidden elements.
4979 (profiler-calltree-depth): Don't recurse so enthusiastically.
4980 (profiler-function-equal): New hash-table-test.
4981 (profiler-calltree-build-unified): New function.
4982 (profiler-calltree-build): Use it.
4983 (profiler-report-make-name-part): Indent the calltree less.
4984 (profiler-report-mode): Add visibility specs for profiler-format.
4985 (profiler-report-expand-entry, profiler-report-toggle-entry):
4986 Expand the whole subtree when provided with a prefix arg.
4987
238150c8
DG
49882013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4989
4990 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4991 iuwu-mod token.
4992 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4993 hanging iuwu-mod token.
4994 (ruby-smie--forward-token): Do not include a dot after a token in
4995 that token.
4996 (ruby-smie--backward-token): Likewise.
4997
b0949cc4
JL
49982013-10-08 Juri Linkov <juri@jurta.org>
4999
5000 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5001 to isearch-other-control-char.
5002 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5003 and isearch-post-command-hook to post-command-hook.
5004 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5005 and isearch-post-command-hook from post-command-hook.
5006 (isearch-unread-key-sequence)
5007 (isearch-reread-key-sequence-naturally)
5008 (isearch-lookup-scroll-key, isearch-other-control-char)
5009 (isearch-other-meta-char): Remove functions.
5010 (isearch-pre-command-hook, isearch-post-command-hook):
5011 New functions based on isearch-other-meta-char rewritten
5012 relying on the new behavior of overriding-terminal-local-map
5013 that does not replace the local keymaps any more. (Bug#15200)
5014
4ed77415
EZ
50152013-10-08 Eli Zaretskii <eliz@gnu.org>
5016
5017 Support menus on text-mode terminals.
5018 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5019 functionality.
5020
5021 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5022
c2de5588
DK
5023 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5024 Move here from mouse.el.
4ed77415
EZ
5025 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5026 and arrow keys.
5027 (tty-menu-navigation-map): New map for TTY menu navigation.
5028
5029 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5030
5031 * frame.el (display-mouse-p): Report text-mode mouse as available
5032 on w32.
5033 (display-popup-menus-p): Report availability if mouse is
5034 available; don't condition on window-system.
5035
5036 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5037 (tty-menu-selected-face): New faces.
5038
b7d5bd82
TL
50392013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5040
06286513
SM
5041 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5042 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5043 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5044 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5045 New constants.
5046 (lisp-mode-variables): New `elisp' argument.
5047 (emacs-lisp-mode): Use it.
5048 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5049 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5050
b7d5bd82
TL
5051 * indent.el: Use lexical-binding.
5052 (indent-region): Add progress reporter.
5053 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5054 last step.
5055 (indent--next-tab-stop): New function to implement this behavior.
5056 (tab-to-tab-stop, move-to-tab-stop): Use it.
5057
50582013-10-08 Teemu Likonen <tlikonen@iki.fi>
5059
5060 * indent.el (indent-rigidly--current-indentation): New function.
5061 (indent-rigidly-map): New var.
5062 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5063
5ea75d23
BG
50642013-10-08 Bastien Guerry <bzg@gnu.org>
5065
f2726fa2 5066 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5067
cc5da1ec
SM
50682013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5069
8ffa1a0b
SM
5070 * progmodes/perl-mode.el: Use lexical-binding.
5071 Remove redundant :group args.
5072 (perl-nochange): Change default to be closer to other major modes's
5073 standard behavior.
5074 (perl-indent-line): Don't consider text on current line as a
5075 valid beginning of function from which to indent.
5076
f2223371
SM
5077 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5078 with more than one argument (bug#15538).
5079
44256060
SM
5080 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5081
cc5da1ec
SM
5082 * vc/pcvs.el: Use lexical-binding.
5083 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5084 environment of `eval'.
5085 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5086 than a list of expressions. Adjust callers.
5087 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5088
0ea1599d
DG
50892013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5090
5091 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5092 case of the dot in a chained method call being on the following line.
0ea1599d 5093
da3e5ebb
SM
50942013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5095
2abb4e65
SM
5096 * electric.el (electric-indent-inhibit): New var.
5097 (electric-indent-post-self-insert-function): Use it.
5098 * progmodes/python.el (python-mode): Set it.
5099
d2e0e795
SM
5100 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5101 open braces.
5102
5103 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5104
bdc6b4c8
SM
5105 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5106 (css-mode): Use electric-indent-chars.
5107
da3e5ebb
SM
5108 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5109 (font-lock-beg, font-lock-end): Move before first use.
5110 (nxml-mode): Use syntax-propertize-function.
5111 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5112 (nxml-extend-after-change-region): Remove.
5113 * nxml/xmltok.el: Use lexical-binding.
5114 (xmltok-save): Use `declare'.
5115 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5116 * nxml/nxml-util.el: Use lexical-binding.
5117 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5118 Use `declare'.
5119 * nxml/nxml-ns.el: Use lexical-binding.
5120 (nxml-ns-save): Use `declare'.
5121 (nxml-ns-prefixes-for): Avoid add-to-list.
5122 * nxml/rng-match.el: Use lexical-binding.
5123 (rng--ipattern): Use cl-defstruct.
5124 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5125 (rng-cons-group-after, rng-subst-group-after)
5126 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5127 Use closures instead of `(lambda...).
5128
f8f91d5d
MA
51292013-10-07 Michael Albinus <michael.albinus@gmx.de>
5130
5131 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5132 of BEG and END.
5133
da3e5ebb
SM
5134 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5135 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5136 (tramp-gvfs-handle-insert-file-contents): Remove function.
5137
da3e5ebb
SM
5138 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5139 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5140
5141 * net/trampver.el: Update release number.
5142
7ccae3b1
SM
51432013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5144
55ca2c0d
SM
5145 * progmodes/compile.el (compilation-parse-errors):
5146 Use compilation--put-prop.
5147 (compilation--ensure-parse): Check compilation-multiline.
5148
731fc3ae
SM
5149 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5150
da3e5ebb
SM
5151 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5152 lexical-binding.
a5833280 5153
2e7ba2c2
SM
5154 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5155
7ccae3b1
SM
5156 * progmodes/ruby-mode.el: Fix recently added tests.
5157 (ruby-smie-grammar): Add - and +.
5158 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5159 (ruby-smie--backward-id): New functions.
5160 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5161 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5162 any more.
5163
85698d63
LL
51642013-10-07 Leo Liu <sdl.web@gmail.com>
5165
5166 * register.el (register-preview-delay)
5167 (register-preview-functions): New variables.
5168 (register-read-with-preview, register-preview)
5169 (register-describe-oneline): New functions.
5170 (point-to-register, window-configuration-to-register)
5171 (frame-configuration-to-register, jump-to-register)
5172 (number-to-register, view-register, insert-register)
5173 (copy-to-register, append-to-register, prepend-to-register)
5174 (copy-rectangle-to-register): Use register-read-with-preview to
5175 read register. (Bug#15525)
5176
3986af6c
DS
51772013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5178
5179 * net/network-stream.el (network-stream-open-starttls): Don't add
5180 --insecure if it's already present, because that gnutls-cli
5181 rejects getting that parameter twice.
5182
5cd9cda9
DG
51832013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5184
5185 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5186 keyword, too.
5187
da9ea6d9
DG
51882013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5189
5190 * newcomment.el (comment-use-global-state): Change default value
5191 to t, mark obsolete (Bug#15251).
5192 (comment-beginning): In addition to `comment-to-syntax', check the
5193 value of `comment-use-global-state'.
5194
34d1a133
SM
51952013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5198 (ruby-comment-column): Follow the global default, by default.
5199 (ruby-smie-grammar): Add assignment syntax.
5200 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5201 open-paren, a comma, or a \.
5202 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5203 and line continuations.
5204 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5205 followed by implicit semi-colons. Add rule for string concatenation
5206 and for indentation at BOB.
5207 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5208
5209 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5210 calling next-sexp, since next-token may have skipped chars which
5211 next-sexp doesn't know should be skipped!
5212
6f6ab820
LL
52132013-10-05 Leo Liu <sdl.web@gmail.com>
5214
34d1a133
SM
5215 * progmodes/octave.el (octave-send-region):
5216 Call compilation-forget-errors.
6f6ab820 5217
34ca0f4c
XF
52182013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5219
5220 * vc/vc-svn.el (vc-svn-find-admin-dir):
5221 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5222 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5223 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5224 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5225
a27c1b72
SM
52262013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5229
258ab3bc
SM
52302013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * subr.el (read-passwd): Hide chars even when called within a context
5233 where after-change-functions is disabled (bug#15501).
5234 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5235 until we removed ourself from overriding-terminal-local-map.
5236
939fb29c
LL
52372013-10-04 Leo Liu <sdl.web@gmail.com>
5238
258ab3bc
SM
5239 * progmodes/octave.el (inferior-octave-mode):
5240 Call compilation-forget-errors.
939fb29c 5241
63bd7f35
XF
52422013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5243
5244 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5245
9e6229fa
MA
52462013-10-04 Michael Albinus <michael.albinus@gmx.de>
5247
5248 * net/secrets.el (secrets-create-collection): Add optional
5249 argument ALIAS. Use proper Label keyword. Append ALIAS as
5250 dbus-call-method argument. (Bug#15516)
5251
1dab32a3
LL
52522013-10-04 Leo Liu <sdl.web@gmail.com>
5253
5254 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5255 (inferior-octave-compilation-font-lock-keywords): New variables.
5256 (compilation-error-regexp-alist)
5257 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5258 (inferior-octave-mode): Use compilation-shell-minor-mode.
5259
6cad7ba3
JS
52602013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5261
5262 * minibuffer.el (completion--replace): Be careful that `end' might be
5263 a marker.
5264
acbadd00
DU
52652013-10-03 Daiki Ueno <ueno@gnu.org>
5266
5267 Add support for package signature checking.
5268 * emacs-lisp/package.el (url-http-file-exists-p)
5269 (epg-make-context, epg-context-set-home-directory)
5270 (epg-verify-string, epg-context-result-for)
5271 (epg-signature-status, epg-signature-to-string)
5272 (epg-check-configuration, epg-configuration)
5273 (epg-import-keys-from-file): Declare.
5274 (package-check-signature): New user option.
5275 (package-unsigned-archives): New user option.
5276 (package-desc): Add `signed' field.
5277 (package-load-descriptor): Set `signed' field if .signed file exists.
5278 (package--archive-file-exists-p): New function.
5279 (package--check-signature): New function.
5280 (package-install-from-archive): Check package signature.
5281 (package--download-one-archive): Check archive signature.
5282 (package-delete): Remove .signed file.
5283 (package-import-keyring): New command.
5284 (package-refresh-contents): Import default keyring.
5285 (package-desc-status): Add "unsigned" status.
5286 (describe-package-1, package-menu--print-info)
5287 (package-menu-mark-delete, package-menu--find-upgrades)
5288 (package-menu--status-predicate): Support "unsigned" status.
5289
adf2aa61
SM
52902013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5291
5292 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5293 the new compilation scheme using the new byte-codes.
5294
5295 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5296 (byte-pophandler): New byte codes.
5297 (byte-goto-ops): Adjust accordingly.
5298 (byte-compile--use-old-handlers): New var.
5299 (byte-compile-catch): Use new byte codes depending on
5300 byte-compile--use-old-handlers.
5301 (byte-compile-condition-case--old): Rename from
5302 byte-compile-condition-case.
5303 (byte-compile-condition-case--new): New function.
5304 (byte-compile-condition-case): New function that dispatches depending
5305 on byte-compile--use-old-handlers.
5306 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5307 when we can.
5308
5309 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5310 Optimize under `condition-case' and `catch' if
5311 byte-compile--use-old-handlers is nil.
5312 (disassemble-offset): Handle new bytecodes.
5313
328a8179
SM
53142013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5315
5316 * subr.el (error): Use `declare'.
5317 (decode-char, encode-char): Use advertised-calling-convention instead
5318 of the docstring to discourage use of the `restriction' arg.
5319
15a1e936
DU
53202013-10-03 Daiki Ueno <ueno@gnu.org>
5321
5322 * epg.el (epg-verify-file): Add a comment saying that it does not
5323 notify verification error as a return value nor a signal.
5324 (epg-verify-string): Ditto.
5325
376f862a
KR
53262013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5327
5328 * progmodes/compile.el (compilation-start): Try globbing the arg to
5329 `cd' (bug#15417).
5330
a2f93a5f
MA
53312013-10-02 Michael Albinus <michael.albinus@gmx.de>
5332
5333 Sync with Tramp 2.2.8.
5334
5335 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5336 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5337 * net/trampver.el: Update release number.
5338
0daa0804
JD
53392013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5340
5341 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5342 and default-process-coding-system for darwin only.
5343
abd1ae34
SM
53442013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5345
5346 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5347
be4e325d
MH
53482013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5349
5350 * vc/vc-git.el (vc-git-grep): Disable pager.
5351
e9155c4a
DG
53522013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5353
494e898b
DG
5354 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5355 Use :url instead of :homepage, as per
5356 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5357
e9155c4a
DG
5358 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5359 non-nil, use `syntax-ppss' (Bug#15251).
5360
481a8e0f
RS
53612013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5362
be4e325d
MH
5363 * progmodes/octave.el (inferior-octave-startup-file):
5364 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5365
056453c6
DG
53662013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5367
be4e325d
MH
5368 * emacs-lisp/package.el (package-desc-from-define):
5369 Accept additional arguments as plist, convert them to an alist and store
5370 them in the `extras' slot.
056453c6
DG
5371 (package-generate-description-file): Convert extras alist back to
5372 plist and append to the `define-package' form arguments.
5373 (package--alist-to-plist): New function.
5374 (package--ac-desc): Add `extras' slot.
5375 (package--add-to-archive-contents): Check if the archive-contents
5376 vector is long enough, and if it is, pass its `extras' slot value
5377 to `package-desc-create'.
5378 (package-buffer-info): Call `lm-homepage', pass the returned value
5379 to `package-desc-from-define'.
5380 (describe-package-1): Render the homepage button (Bug#13291).
5381
be4e325d
MH
5382 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5383 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5384
832966e5
JD
53852013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5386
5387 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5388 and default-process-coding-system to utf-8-unix (Bug#15402).
5389
6cfe977d
XF
53902013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5391
5392 * subr.el (looking-back): Do not recommend using looking-back.
5393
38de11bd
AM
53942013-09-28 Alan Mackenzie <acm@muc.de>
5395
5396 Fix indentation/fontification of Java enum with "implements".
5397
5398 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5399 regexp which matches "implements", etc., in Java.
5400 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5401 specifier clauses coming after "enum".
5402 * progmodes/cc-fonts.el (c-font-lock-declarations)
5403 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5404 after "enum".
5405
1610938f
JD
54062013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5407
5408 * faces.el (region): Change ns_selection_color to
5409 ns_selection_fg_color, add ns_selection_bg_color.
5410
e090f499
LL
54112013-09-28 Leo Liu <sdl.web@gmail.com>
5412
4d2e94d1
LL
5413 * progmodes/octave.el (inferior-octave-completion-table)
5414 (inferior-octave-completion-at-point): Minor tweaks.
5415
e090f499
LL
5416 * textmodes/ispell.el (ispell-lookup-words): Rename from
5417 lookup-words. (Bug#15460)
5418 (lookup-words): Obsolete.
5419 (ispell-complete-word, ispell-command-loop): All uses changed.
5420
7e138a62
RS
54212013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5422
a12bf61e 5423 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5424 (octave-mode-menu): Add octave-send-buffer.
5425 (octave-send-buffer): New function.
5426
5af5ed08
RS
54272013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5428
a12bf61e 5429 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5430 octave-lookfor.
5431 (octave-mode-menu): Add octave-lookfor.
5432 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5433 octave-lookfor.
5434 (octave-lookfor): New function.
5435
3b7b2692
SM
54362013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5437
5438 * emacs-lisp/cl-macs.el:
5439 (cl--loop-destr-temps): Remove.
5440 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5441 its convention.
5442 (cl--loop-set-iterator-function): New function.
5443 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5444 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5445 Bind `it' with `let' instead of substituting it with `cl-subst'.
5446 (cl--unused-var-p): New function.
5447 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5448 Eliminate some unused variable warnings (bug#15326).
5449
529fb53f
TH
54502013-09-27 Tassilo Horn <tsdh@gnu.org>
5451
5452 * doc-view.el (doc-view-scale-reset): Rename from
5453 `doc-view-reset-zoom-level'.
5454 (doc-view-scale-adjust): New command.
5455 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5456 `doc-view-scale-adjust'.
5457
0550c95a
TH
54582013-09-26 Tassilo Horn <tsdh@gnu.org>
5459
5460 * doc-view.el (doc-view-reset-zoom-level): New command.
5461 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5462 zoom commands (bug#15466).
5463
6950f152
KH
54642013-09-26 Kenichi Handa <handa@gnu.org>
5465
5466 * international/quail.el (quail-help): Make it not a command.
5467
39587580
LL
54682013-09-26 Leo Liu <sdl.web@gmail.com>
5469
5470 * minibuffer.el (completion-all-sorted-completions): Make args
5471 optional as they are.
5472
00578659
DC
54732013-09-25 Daniel Colascione <dancol@dancol.org>
5474
5475 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5476 specs are and that they're not evaluated.
5477
0c173878
SS
54782013-09-24 Sam Steingold <sds@gnu.org>
5479
5480 * midnight.el (clean-buffer-list-kill-regexps)
5481 (clean-buffer-list-kill-buffer-names): Update for the new Man
5482 buffer naming which includes the object name.
5483
84998447
SM
54842013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5485
5486 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5487 (eshell-parse-command, eshell-parse-pipeline): Use it since
5488 eshell-separate-commands requires a dynamic scoped var.
5489 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5490
33215353
LL
54912013-09-23 Leo Liu <sdl.web@gmail.com>
5492
5493 * autoinsert.el (auto-insert-alist): Make the value of
5494 lexical-binding match its file setting.
5495
57b16162
JB
54962013-09-23 Juanma Barranquero <lekktu@gmail.com>
5497
c8af4e67
JB
5498 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5499
57b16162
JB
5500 * autoarg.el (autoarg-kp-digit-argument):
5501 * electric.el (Electric-command-loop):
5502 * kmacro.el (kmacro-step-edit-insert):
5503 Do not set universal-argument-num-events.
5504
7186ba60
LL
55052013-09-22 Leo Liu <sdl.web@gmail.com>
5506
5507 * files.el (interpreter-mode-alist): Add octave.
5508
ece15004
AM
55092013-09-21 Alan Mackenzie <acm@muc.de>
5510
5511 C++: fontify identifier in declaration following "public:" correctly.
5512 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5513 to match "public", etc.
5514 (c-decl-prefix-re): Add ":" into the C++ value.
5515 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5516 bit. Add a check for a ":" preceded by "public", etc.
5517
75d83e22
EZ
55182013-09-21 Eli Zaretskii <eliz@gnu.org>
5519
5520 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5521 recognized by GDB 7.5 and later.
5522
d052d3bd
XF
55232013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5524
5525 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5526
31dca772
R
55272013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5528
5529 * subr.el (internal--call-interactively): New const.
5530 (called-interactively-p): Use it (bug#3984).
5531
98ccf24e
XF
55322013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5533
5534 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5535 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5536 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5537
c39cc7d1
SM
55382013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5539
5540 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5541 (eshell-ls-orig-insert-directory): Remove.
5542 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5543 (eshell-ls-use-in-dired): Use advice-add/remove.
5544 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5545 Add `orig-fun' arg for use in :around advice.
5546 Make it check (redundantly) eshell-ls-use-in-dired.
5547
9a0289a2
GM
55482013-09-19 Glenn Morris <rgm@gnu.org>
5549
a2c501b8
GM
5550 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5551
c440407a
GM
5552 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5553
9a0289a2
GM
5554 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5555
85e05915
MA
55562013-09-19 Michael Albinus <michael.albinus@gmx.de>
5557
5558 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5559 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5560 (tramp-get-remote-python): New defuns.
5561 (tramp-get-remote-uid-with-perl)
5562 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5563 contributed by yary <not.com@gmail.com> (tiny change).
5564 (tramp-get-remote-uid-with-python)
5565 (tramp-get-remote-gid-with-python): New defuns. Python code
5566 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5567 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5568
ce503312
GM
55692013-09-19 Glenn Morris <rgm@gnu.org>
5570
f7544773
GM
5571 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5572
72fd2877
GM
5573 * eshell/em-unix.el (eshell-remove-entries):
5574 Rename argument to avoid name-clash with global `top-level'.
5575
336b5a56
GM
5576 * eshell/esh-proc.el (eshell-kill-process-function):
5577 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5578 (eshell-reset-after-proc): Remove unused arg `proc'.
5579
57a3a53d
GM
5580 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5581 (directory-files-and-attributes): Mark unused arg.
5582
3261d4af
GM
5583 * eshell/em-unix.el (eshell-remove-entries):
5584 Remove unused arg `path'. Update callers.
5585
8e51b5d0
GM
5586 * eshell/em-hist.el (eshell-hist-parse-arguments):
5587 Remove unused arg `silent'. Update callers.
5588
ce503312
GM
5589 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5590 Fix (f)boundp mix-up.
5591
5592 * eshell/em-smart.el (eshell-smart-scroll-window)
5593 (eshell-disable-after-change):
336b5a56 5594 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5595
ee3ce8a7
AM
55962013-09-18 Alan Mackenzie <acm@muc.de>
5597
5598 Fix fontification of type when followed by "const".
5599 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5600 "known" types from fontification.
5601
ec9177ba
GM
56022013-09-18 Glenn Morris <rgm@gnu.org>
5603
7bb3e768
GM
5604 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5605 (chart-face-list): Drop Emacsen without display-color-p.
5606
5148da15
GM
5607 * net/eww.el (libxml-parse-html-region): Declare.
5608 (eww-display-html): Explicit error if no libxml2 support.
5609
2f68e157
GM
5610 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5611
9019d095
GM
5612 * image.el (image-type-from-buffer, image-multi-frame-p):
5613 Remove --without-x warning/error.
67645389 5614
5f30349b 5615 * mouse.el (mouse-yank-primary):
45069b2e 5616 * term.el (term-mouse-paste):
5f30349b
GM
5617 Reorder to silence --without-x compilation.
5618
cd8edbbe
GM
5619 * mpc.el (doc-view-mode): Silence --without-x compilation.
5620
8a78544e
GM
5621 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5622 Silence --without-x compilation.
5623
12679bfd
GM
5624 * progmodes/gud.el (gud-find-file, gud-mode):
5625 Silence --without-x compilation.
5626 (tooltip-mode): Declare.
30810a05 5627
f0047cb9
GM
5628 * wdired.el (dired-backup-overwrite): Remove declaration.
5629 (wdired-mode-map): Add doc string.
5630
e740f9d2
GM
5631 * custom.el (x-get-resource): Declare.
5632
92d77c89
GM
5633 * eshell/em-glob.el (ange-cache):
5634 * eshell/em-unix.el (ange-cache): Declare.
5635
76e69577
GM
5636 * faces.el (x-display-list, x-open-connection, x-get-resource):
5637 Declare.
7e58af4b
GM
5638
5639 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5640 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5641 Declare.
76e69577 5642
4bd4c0af 5643 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5644
ffb82dbd
GM
5645 * net/gnutls.el (gnutls-log-level): Declare.
5646
986ed135
GM
5647 * net/shr.el (image-size, image-animate): Declare.
5648
e740f9d2
GM
5649 * simple.el (font-info): Declare.
5650
d2f3e9f8
GM
5651 * subr.el (x-popup-dialog): Declare.
5652
047a1a4c
GM
5653 * term/common-win.el (x-select-enable-primary)
5654 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5655 Declare.
5656
f4a1d572
GM
5657 * term/ns-win.el (x-handle-args): Declare.
5658
e843de77
GM
5659 * term/x-win.el (x-select-enable-clipboard): Declare.
5660
5fa89513
GM
5661 * term/w32-win.el (create-default-fontset): Declare.
5662
38702b5b
GM
5663 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5664 Declare.
5665
e740f9d2
GM
5666 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5667 (fit-frame-to-buffer): Explicit error if --without-x.
5668 (mouse-autoselect-window-select): Silence compiler.
5669
49a053fc
GM
5670 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5671
5672 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5673 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5674 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5675 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5676 Remove unused local variables.
5677
5678 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5679
ec9177ba
GM
5680 * textmodes/two-column.el: Make 2C-split work for --without-x.
5681 (scroll-bar-columns): Autoload.
5682 (top-level): Require fringe when compiling.
5683
9f25cb77
LL
56842013-09-18 Leo Liu <sdl.web@gmail.com>
5685
5686 * subr.el (add-hook): Robustify to handle closure as well.
5687
2b42da98
GM
56882013-09-17 Glenn Morris <rgm@gnu.org>
5689
5690 * simple.el (messages-buffer-mode-map): Unbind "g".
5691
e8b66a6a
SM
56922013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5693
9c0ad4f7
SM
5694 * help-mode.el (help-mode-finish): Use derived-mode-p.
5695 Remove obsolete highlighting.
5696
7a806dfb
SM
5697 * play/life.el (life-mode): Use define-derived-mode. Derive from
5698 special-mode.
5699 (life): Let-bind inhibit-read-only.
5700 (life-setup): Avoid `setq'. Use `life-mode'.
5701
96dbf5a8
SM
5702 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5703 which should not be needed any more.
5704 (package-menu-refresh, package-menu-describe-package): Use user-error.
5705
e8b66a6a
SM
5706 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5707 (eshell-post-rewrite-command-hook): Make obsolete.
5708 (eshell-parse-command): Simplify.
5709 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5710 (eshell--cmd): Declare.
5711 (eshell-parse-pipeline): Remove unused var `final-p'.
5712 Pass a dynvar to eshell-post-rewrite-command-hook.
5713 Implement the new eshell-post-rewrite-command-function.
5714 (eshell-invoke-directly): Remove unused arg `input'.
5715 * eshell/esh-io.el (eshell-io-initialize):
5716 Use eshell-post-rewrite-command-function (bug#15399).
5717 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5718 adjust to new calling convention.
5719 (eshell-create-handles): Rename args to avoid clashing with dynvar
5720 `standard-output'.
5721
90582f05
GM
57222013-09-17 Glenn Morris <rgm@gnu.org>
5723
5724 * simple.el (messages-buffer-mode): New major mode.
5725 (messages-buffer): New function.
5726 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5727 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5728 (ert-run-test): Use `messages-buffer' function.
90582f05 5729 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5730 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5731 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5732
39eb0cb5 57332013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5734
5735 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5736
1d42e5b6 5737 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5738
70568a90
SM
57392013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5740
504a0381
SM
5741 * icomplete.el (icomplete-in-buffer): New var.
5742 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5743 vars and replace them with functions.
5744 (icomplete-minibuffer-setup): Adjust accordingly.
5745 (icomplete--completion-table, icomplete--completion-predicate)
5746 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5747 New functions.
5748 (icomplete-forward-completions, icomplete-backward-completions)
5749 (icomplete-simple-completing-p, icomplete-exhibit)
5750 (icomplete-completions): Use them.
5751 (icomplete--in-region-buffer): New var.
5752 (icomplete--in-region-setup): New function.
5753 (icomplete-mode): Use it.
5754
70568a90
SM
5755 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5756 (bug#15379).
5757 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5758 return args and options.
5759 (eshell-eval-using-options): Use the new return value of
5760 eshell--do-opts to set the options's vars in their scope.
5761 (eshell--set-option): Rename from eshell-set-option.
5762 Add arg `opt-vals'.
5763 (eshell--process-option): Rename from eshell-process-option.
5764 Add arg `opt-vals'.
5765 (eshell--process-args): Use an `opt-vals' alist to store the options's
5766 values during their processing and return them additionally to the
5767 remaining args.
5768
578c21bc
DG
57692013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5770
5771 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5772 continuation character an operator, as far as indentation is
5773 concerned (Bug#15369).
5774
c089653d
MR
57752013-09-15 Martin Rudalics <rudalics@gmx.at>
5776
5777 * window.el (window--state-put-2): Don't process buffer state
5778 when buffer doesn't exist any more (Bug#15382).
5779
1e53bb4b
GM
57802013-09-15 Glenn Morris <rgm@gnu.org>
5781
30753242
GM
5782 * eshell/em-unix.el (eshell/rm):
5783 Make -f ignore missing files. (Bug#15373)
5784
1e53bb4b
GM
5785 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5786 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5787 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5788
0d8863b3
GM
57892013-09-14 Glenn Morris <rgm@gnu.org>
5790
5791 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5792
d3fc6549
GM
57932013-09-13 Glenn Morris <rgm@gnu.org>
5794
5795 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5796 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5797
fcd42c11
DA
57982013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5799
5800 * frame.el (x-focus-frame): Mark as declared in frame.c.
5801
7830899f
SM
58022013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5803
5804 * ls-lisp.el: Use advice-add.
5805 (original-insert-directory): Remove.
5806 (ls-lisp--insert-directory): Rename from insert-directory; add
5807 `orig-fun' argument.
5808 (insert-directory): Advise.
5809
84387cd2
EZ
58102013-09-13 Eli Zaretskii <eliz@gnu.org>
5811
5812 * term.el (term-emulate-terminal): Decode the command string
5813 before passing it to term-command-hook. (Bug#15337)
5814
35ffc6ba
GM
58152013-09-13 Glenn Morris <rgm@gnu.org>
5816
5c3f9bcc
GM
5817 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5818
2ada368a
GM
5819 * eshell/esh-ext.el (eshell-search-path): Declare.
5820
fcef2e13
GM
5821 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5822 Otherwise an error occurs if eshell-dirs module not loaded.
5823
35ffc6ba
GM
5824 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5825
35c3d36e
MA
58262013-09-13 Michael Albinus <michael.albinus@gmx.de>
5827
5828 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5829 `tramp-check-proper-host'. Check for a valid method name.
5830
5831 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5832 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5833 * net/tramp-sh.el (tramp-maybe-open-connection):
5834 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5835
5836 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5837 also for hash values.
5838
ae5e4c48
SM
58392013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5840
379add74
SM
5841 * term/ns-win.el (parameters): Don't declare as dynamic.
5842 (before-make-frame-hook): Don't add ineffective function.
5843
ae5e4c48
SM
5844 * eshell/*.el: Use lexical-binding (bug#15231).
5845
b5623270
KH
58462013-09-12 Kenichi Handa <handa@gnu.org>
5847
ae5e4c48 5848 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5849
30213927
GM
58502013-09-12 Glenn Morris <rgm@gnu.org>
5851
be94d713 5852 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5853 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5854
44915370
GM
5855 * subr.el (do-after-load-evaluation): Also give compiler warnings
5856 when obsolete files are used (except by obsolete files).
5857
a6ae021f
GM
5858 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5859 in the status output, assume `filename' is the first. (Bug#15322)
5860
40e64f0c
GM
5861 * vc/vc.el (vc-deduce-fileset): Doc fix.
5862
16d9f896
GM
5863 * calc/calc-help.el (Info-goto-node):
5864 * progmodes/cperl-mode.el (Info-find-node):
5865 * vc/ediff.el (Info-goto-node): Update declarations.
5866
dea01c6e
GM
5867 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5868
759880bf 5869 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5870 (vc-bzr-pull): Require vc-dispatcher.
5871 * vc/vc-git.el (vc-compilation-mode): Declare.
5872 (vc-git-pull): Require vc-dispatcher.
5873
08d66420
GM
5874 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5875
30b626e9
GM
5876 * progmodes/octave.el (help-button-action): Declare.
5877
8c05cb10
GM
5878 * shell.el (shell-directory-tracker): Output error as a message
5879 rather than just returning it as a string.
5880 (shell-process-pushd): Remove useless use of message.
5881
30213927
GM
5882 * dframe.el (dframe-timer-fn):
5883 * files.el (dir-locals-read-from-file):
5884 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5885 (mpc-format):
5886 * reveal.el (reveal-post-command):
5887 * saveplace.el (load-save-place-alist-from-file):
5888 * shell.el (shell-resync-dirs):
5889 * w32-common-fns.el (x-get-selection-value):
5890 * emacs-lisp/copyright.el (copyright-find-copyright):
5891 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5892 * emulation/tpu-edt.el (tpu-copy-keyfile):
5893 * play/bubbles.el (bubbles--mark-neighbourhood):
5894 * progmodes/executable.el
5895 (executable-make-buffer-file-executable-if-script-p):
5896 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5897
d3b049e6
SM
58982013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5899
170266d0
SM
5900 Cleanup Eshell to rely less on dynamic scoping.
5901 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5902 last-value, and ext-command here. Bind `args' closer to `body'.
5903 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5904 (eshell--args): Declare new dynamic var.
5905 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5906 last-value, and ext-command. Pass `args' to `body'.
5907 (eshell-process-args): Bind eshell--args.
5908 (eshell-set-option): Use eshell--args.
5909 * eshell/eshell.el (eshell): Use derived-mode-p.
5910 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5911 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5912 (eshell-glob-function): Declare.
5913 * eshell/esh-util.el: Require cl-lib.
5914 (eshell-read-hosts-file): Avoid add-to-list.
5915 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5916 `err'.
5917 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5918 Declare.
5919 (eshell/diff): Remove unused var `err'.
5920 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5921 `killflag'.
5922 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5923 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5924 first use.
5925 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5926 Move declaration before first use.
5927 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5928 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5929 rely on cl-return.
5930
56834f3b
GM
59312013-09-12 Glenn Morris <rgm@gnu.org>
5932
5933 * term/ns-win.el (global-map): Remove binding for ispell-next,
5934 deleted 1999-05-29. (Bug#15357)
5935
5c91a2b8
GM
59362013-09-11 Glenn Morris <rgm@gnu.org>
5937
da712f22
GM
5938 * echistory.el (electric-command-history): Remove call to deleted func.
5939
512e4cdc
GM
5940 * play/landmark.el (landmark-mode): Fix typos.
5941
d3506ca5
GM
5942 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5943 Check cvs-sort-ignore-file is bound.
5944
5c91a2b8
GM
5945 * savehist.el: No need for cl when compiling on Emacs.
5946
feeff482
SM
59472013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5948
656bd483
SM
5949 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5950 (bug#15338).
d3b049e6
SM
5951 (eshell-self-insert-command, eshell-send-invisible):
5952 Remove unused argument.
656bd483
SM
5953 (eshell-handle-control-codes): Remove unused var `orig'.
5954 Avoid delete-backward-char.
5955
feeff482
SM
5956 * files.el (set-auto-mode): Simplify a bit further.
5957
2a08047a
GM
59582013-09-11 Glenn Morris <rgm@gnu.org>
5959
5960 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5961 (set-auto-mode): Don't regexp-quote elements.
5962 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5963 * progmodes/cc-mode.el (interpreter-mode-alist):
5964 * progmodes/ruby-mode.el (interpreter-mode-alist):
5965 Revert previous change.
5966
34675540
SM
59672013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5968
1b3b87df
SM
5969 * play/snake.el (snake-mode):
5970 * play/mpuz.el (mpuz-mode):
5971 * play/landmark.el (lm-mode):
5972 * play/blackbox.el (blackbox-mode):
5973 * play/5x5.el (5x5-mode):
5974 * obsolete/options.el (Edit-options-mode):
5975 * net/quickurl.el (quickurl-list-mode):
5976 * net/newst-treeview.el (newsticker-treeview-mode):
5977 * mail/rmailsum.el (rmail-summary-mode):
5978 * mail/mspools.el (mspools-mode):
5979 * locate.el (locate-mode):
5980 * ibuffer.el (ibuffer-mode):
5981 * emulation/ws-mode.el (wordstar-mode):
5982 * emacs-lisp/debug.el (debugger-mode):
5983 * array.el (array-mode):
5984 * net/eudc.el (eudc-mode): Use define-derived-mode.
5985 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5986 Move initialization into declaration.
5987 (mairix-searches-mode): Use define-derived-mode.
5988 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5989 (eudc-edit-hotlist): Use dolist.
5990 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5991 (Man-mode): Use define-derived-mode.
5992 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5993 (Info-edit-mode): Use define-derived-mode.
5994 (Info-cease-edit): Use Info-mode.
5995 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5996 into declaration.
5997 (eshell-mode): Use define-derived-mode.
5998 * chistory.el (command-history-mode-map): Rename from
5999 command-history-map.
6000 (command-history-mode): Use define-derived-mode.
da712f22 6001 (Command-history-setup): Remove function.
1b3b87df
SM
6002 * calc/calc.el (calc-trail-mode-map): New var.
6003 (calc-trail-mode): Use define-derived-mode.
6004 (calc-trail-buffer): Set calc-main-buffer manually.
6005 * bookmark.el (bookmark-insert-annotation): New function.
6006 (bookmark-edit-annotation): Use it.
6007 (bookmark-edit-annotation-mode): Make it a proper major mode.
6008 (bookmark-send-edited-annotation): Use derived-mode-p.
6009 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6010 closer to its ideal place. Use \' to match EOS.
6011
34675540
SM
6012 * profiler.el (profiler-calltree-find): Use function-equal.
6013
6a5c15d9
GM
60142013-09-10 Glenn Morris <rgm@gnu.org>
6015
1af4c220
GM
6016 * files.el (interpreter-mode-alist): Convert to regexps.
6017 (set-auto-mode): Adapt for this. (Bug#15306)
6018 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6019 Comment out unused variable.
6020 * progmodes/cc-mode.el (interpreter-mode-alist):
6021 * progmodes/python.el (interpreter-mode-alist):
6022 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6023 * progmodes/sh-script.el (sh-set-shell):
6024 No longer use interpreter-mode-alist to get list of shells.
6025
6a5c15d9
GM
6026 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6027
8c27f5ff
SM
60282013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6029
02ef6c1a 6030 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6031 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6032 Bind switch-frame explicitly. Replace universal-argument-minus with
6033 a conditional binding.
6034 (universal-argument-num-events, saved-overriding-map): Remove.
6035 (restore-overriding-map): Remove.
6036 (universal-argument--mode): Rename from save&set-overriding-map,
6037 and rewrite.
6038 (universal-argument, universal-argument-more, negative-argument)
6039 (digit-argument): Adjust accordingly.
6040 (universal-argument-minus): Remove.
6041 (universal-argument-other-key): Remove.
6042
8c27f5ff
SM
6043 * subr.el (with-demoted-errors): Add `format' argument.
6044
6480194c
MA
60452013-09-10 Michael Albinus <michael.albinus@gmx.de>
6046
6047 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6048 `tramp-cleanup-connection'.
6049
6050 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6051 parameters KEEP-DEBUG and KEEP-PASSWORD.
6052
6053 * net/tramp.el (tramp-file-name-handler):
6054 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6055 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6056 (tramp-maybe-open-connection):
8c27f5ff
SM
6057 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6058 Use `tramp-cleanup-connection'.
6480194c 6059
8c27f5ff
SM
6060 * net/tramp-sh.el (tramp-maybe-open-connection):
6061 Catch 'uname-changed inside the progress reporter.
6480194c 6062
e5e916d8
GM
60632013-09-10 Glenn Morris <rgm@gnu.org>
6064
9a2c9b47
GM
6065 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6066
e5e916d8
GM
6067 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6068 returns "alternate access method" in mode (eg "-rw-r--r--.").
6069
144e38fe
GM
60702013-09-08 Glenn Morris <rgm@gnu.org>
6071
6072 * saveplace.el (load-save-place-alist-from-file):
6073 Demote errors. (Bug#15305)
6074
af9ff9e8
MA
60752013-09-08 Michael Albinus <michael.albinus@gmx.de>
6076
6077 Improve compatibility with older Emacsen, and XEmacs.
6078
6079 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6080 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6081 (with-tramp-progress-reporter): Do not let-bind `result'.
6082 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6083 (tramp-handle-make-auto-save-file-name): New function, moved from
6084 tramp-sh.el.
6085
6086 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6087 for `make-auto-save-file-name'.
8c27f5ff
SM
6088 (tramp-adb--gnu-switches-to-ash):
6089 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6090
6091 * net/tramp-cache.el (tramp-cache-print): Call
6092 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6093
6094 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6095 bound. It isn't for XEmacs.
6096
8c27f5ff
SM
6097 * net/tramp-compat.el (tramp-compat-copy-file):
6098 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6099 (tramp-compat-replace-regexp-in-string): New defun.
6100
6101 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6102 for `make-auto-save-file-name'.
6103 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6104 `copy-file'.
6105 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6106 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6107 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6108
8c27f5ff
SM
6109 * net/tramp-gw.el (tramp-gw-open-network-stream):
6110 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6111
8c27f5ff
SM
6112 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6113 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6114 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6115 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6116 (tramp-sh-file-inotifywait-process-filter):
6117 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6118 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6119
6120 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6121 for `make-auto-save-file-name'.
8c27f5ff
SM
6122 (tramp-smb-handle-copy-directory):
6123 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6124 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6125 (tramp-smb-handle-copy-file): Improve error message.
6126 (tramp-smb-handle-rename-file): Rename directly only in case
6127 `newname' does not exist yet. This is a restriction of smbclient.
6128 (tramp-smb-maybe-open-connection): Rerun the function only when
6129 `auth-sources' is non-nil.
6130
0ca754d0
KH
61312013-09-08 Kenichi Handa <handa@gnu.org>
6132
e0eb0550 6133 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6134 more characters.
6135
e8dd0787
AM
61362013-09-07 Alan Mackenzie <acm@muc.de>
6137
6138 Correctly fontify Java class constructors.
6139 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6140 in Java Mode.
6141 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6142 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6143 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6144 "typeless" declaration there.
6145
f2f248e7
RW
61462013-09-07 Roland Winkler <winkler@gnu.org>
6147
6148 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6149 field subtitle for entry type book.
6150
67982e2b
SM
61512013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6152
6153 * minibuffer.el: Make minibuffer-complete call completion-in-region
6154 rather than other way around.
6155 (completion--some, completion-pcm--find-all-completions):
6156 Don't delay signals when debugging.
6157 (minibuffer-completion-contents): Beware fields within the
6158 minibuffer contents.
6159 (completion-all-sorted-completions): Use defvar-local.
6160 (completion--do-completion, completion--cache-all-sorted-completions)
6161 (completion-all-sorted-completions, minibuffer-force-complete):
6162 Add args `beg' and `end'.
6163 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6164 (minibuffer-complete): Use completion-in-region.
6165 (completion-complete-and-exit): New fun, extracted from
6166 minibuffer-complete-and-exit.
6167 (minibuffer-complete-and-exit): Use it.
6168 (completion--complete-and-exit): Rename from
6169 minibuffer--complete-and-exit.
6170 (completion-in-region--single-word): New function, extracted from
6171 minibuffer-complete-word.
6172 (minibuffer-complete-word): Use it.
6173 (display-completion-list): Make `common-substring' argument obsolete.
6174 (completion--in-region): Call completion--in-region-1 instead of
6175 minibuffer-complete.
6176 (completion-help-at-point): Pass boundaries to
6177 minibuffer-completion-help as args rather than via an overlay.
6178 (completion-pcm--string->pattern): Use `any-delim'.
6179 (completion-pcm--optimize-pattern): New function.
6180 (completion-pcm--pattern->regex): Handle `any-delim'.
6181 * icomplete.el (icomplete-forward-completions)
6182 (icomplete-backward-completions, icomplete-completions):
6183 Adjust calls to completion-all-sorted-completions and
6184 completion--cache-all-sorted-completions.
6185 (icomplete-with-completion-tables): Default to t.
6186 * emacs-lisp/crm.el (crm--current-element): Rename from
6187 crm--select-current-element. Don't put an overlay but return the
6188 boundaries instead.
6189 (crm--completion-command): Take two new args to bind to the boundaries.
6190 (crm-completion-help): Adjust accordingly.
6191 (crm-complete): Use completion-in-region.
6192 (crm-complete-word): Use completion-in-region--single-word.
6193 (crm-complete-and-exit): Use completion-complete-and-exit.
6194
e17d94a5
SM
61952013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6198 than dynamically.
6199
96727100
JL
62002013-09-06 Juri Linkov <juri@jurta.org>
6201
6202 * info.el (Info-display-images-node): When image file doesn't exist
6203 display text version of the image if it's provided in the Info file.
6204 Otherwise, display the location of missing image from SRC attribute.
6205 Add help-echo text property from ALT attribute. (Bug#15279)
6206
86cf7329
SM
62072013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6210 (edit-abbrevs-mode): Use define-derived-mode.
6211
6212 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6213 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6214 that it's defined.
6215 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6216 Use define-derived-mode.
6217
6218 * epg.el (epg-start-encrypt): Minor CSE simplification.
6219
816244a2
WX
62202013-09-06 William Xu <william.xwl@gmail.com>
6221
6222 * arc-mode.el: Add support for 7za (bug#15264).
6223 (archive-7z-program): New var.
6224 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6225 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6226 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6227
1486fa31
MA
62282013-09-06 Michael Albinus <michael.albinus@gmx.de>
6229
6230 Remove URL syntax.
6231
6232 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6233 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6234 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6235 (tramp-postfix-host-format, tramp-file-name-regexp)
6236 (tramp-completion-file-name-regexp)
6237 (tramp-completion-dissect-file-name)
6238 (tramp-handle-substitute-in-file-name): Remove 'url case.
6239 (tramp-file-name-regexp-url)
6240 (tramp-completion-file-name-regexp-url): Remove constants.
6241
39785324
GM
62422013-09-06 Glenn Morris <rgm@gnu.org>
6243
6244 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6245
1f896cb7
DG
62462013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6247
6248 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6249 keywords" below "here-doc beginnings" (Bug#15270).
6250
c0458e0b
SM
62512013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6252
6253 * subr.el (pop): Use `car-safe'.
6254 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6255 to detect unused `pop' return value.
6256
6257 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6258 var `block-regexp'.
6259 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6260 (python-fill-string): Remove unused var `marker'.
6261 (python-skeleton-add-menu-items): Remove unused var `items'.
6262
6263 * international/mule-cmds.el: Require CL.
6264 (find-coding-systems-for-charsets): Avoid add-to-list.
6265 (sanitize-coding-system-list): New function, extracted from
6266 select-safe-coding-system-interactively.
6267 (select-safe-coding-system-interactively): Use it.
6268 (read-input-method-name): Accept symbols for `default'.
6269
6270 * emacs-lisp/advice.el (defadvice): Add indent rule.
6271
6c42fc3e
DH
62722013-09-05 Daniel Hackney <dan@haxney.org>
6273
6274 * dired-x.el:
6275 * net/ange-ftp.el:
6276 * net/browse-url.el:
6277 * net/dbus.el:
6278 * net/eudc.el:
6279 * net/eudcb-ldap.el:
6280 * net/eww.el:
6281 * net/imap.el:
6282 * printing.el:
6283 * vc/ediff-diff.el:
6284 * vc/ediff-init.el:
6285 * vc/ediff-merg.el:
6286 * vc/ediff-mult.el:
6287 * vc/ediff-util.el:
6288 * vc/ediff-wind.el:
6289 * vc/ediff.el:
6290 * vc/emerge.el:
6291 * vc/pcvs.el:
6292 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6293 byte compiler. Remove some unused let-bound variables.
6294
4c528aab
SM
62952013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6298 a "ref-cell", since it gets better optimized (bug#14883).
6299
bd15c390
GM
63002013-09-05 Glenn Morris <rgm@gnu.org>
6301
6302 * progmodes/cc-awk.el (c-forward-sws): Declare.
6303
1c3ac2e5
GM
63042013-09-04 Glenn Morris <rgm@gnu.org>
6305
6306 * generic-x.el [rul-generic-mode]: Require cc-mode.
6307 (c++-mode-syntax-table): Declare.
6308 (rul-generic-mode-syntax-table): Init in the defvar.
6309
52b1cc79
SM
63102013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6311
c828af56
SM
6312 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6313 (vc-do-command, vc-set-async-update):
6314 * vc/vc-mtn.el (vc-mtn-dir-status):
6315 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6316 (vc-hg-pull, vc-hg-merge-branch):
6317 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6318 (vc-git-merge-branch):
6319 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6320 (vc-cvs-dir-status-files):
6321 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6322 (vc-bzr-dir-status-files):
6323 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6324 * vc/vc-annotate.el: Use lexical-binding.
6325 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6326 (vc-sentinel-movepoint): Declare.
6327 (vc-annotate): Don't use `goto-line'.
6328 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6329 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6330 (vc-sentinel-movepoint): Declare.
6331 * vc/vc-svn.el: Use lexical-binding.
6332 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6333 * vc/vc-sccs.el:
6334 * vc/vc-rcs.el: Use lexical-binding.
6335
abae272c
SM
6336 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6337 `deleted'. Don't drop errors silently.
6338
52b1cc79
SM
6339 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6340
63191d9f
XF
63412013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6342
6343 * vc/vc.el (vc-ignore): Rewrite.
6344 (vc-default-ignore): New function.
6345 (vc-default-ignore-completion-table): Use find-ignore-file.
6346
6347 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6348 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6349 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6350 Remove. Most code moved to vc.el.
6351
9d3f707c
SM
63522013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6353
abae272c 6354 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6355 * net/tramp-smb.el (tramp-smb-get-file-entries):
6356 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6357 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6358
fde38d49
SM
6359 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6360 Update call to it.
6361 (eww-change-select): Remove unused var `properties'.
6362 (eww-make-unique-file-name): Remove unused var `base'.
6363
6364 * finder.el (finder-compile-keywords): Don't mess with windows.
6365
84032db7
SM
6366 * calculator.el (calculator-funcall): Fix typo in last change.
6367
724f5e41
SM
6368 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6369
14b511d4
SM
6370 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6371 <pkg>-autoloads.el file stop us.
6372
9d3f707c 6373 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6374 warnings, and factor out common code.
9d3f707c 6375
88527bc0
DG
63762013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6377
6378 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6379 two-character operators and whether the character preceding them
6380 changes their meaning (Bug#15208).
6381
96edb677
FEG
63822013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6383
6384 Format code sent to Python shell for robustness.
9d3f707c
SM
6385 * progmodes/python.el (python-shell-buffer-substring):
6386 New function.
96edb677
FEG
6387 (python-shell-send-region, python-shell-send-buffer): Use it.
6388
95beaef3
MA
63892013-09-02 Michael Albinus <michael.albinus@gmx.de>
6390
6391 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6392 * net/tramp.el (tramp-user-error): ... here.
6393 (tramp-find-method, tramp-check-proper-host)
6394 (tramp-dissect-file-name, tramp-debug-message)
6395 (tramp-handle-shell-command):
6396 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6397 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6398
6399 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6400
f167c27b
MR
64012013-09-02 Martin Rudalics <rudalics@gmx.at>
6402
6403 * avoid.el (mouse-avoidance-point-position)
6404 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6405 returns nil.
6406
cd16c5f1
FEG
64072013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6408
6409 * progmodes/python.el (python-shell-completion-get-completions):
6410 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6411 (python-nav-if-name-main): New command.
cd16c5f1 6412
e73c3a0d
GM
64132013-09-01 Glenn Morris <rgm@gnu.org>
6414
f8ccce03
GM
6415 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6416 Avoid leading space in $wins. Otherwise the sed command used by
6417 eg compile-main ends up containing "/*.el". (Bug#15170)
6418
e73c3a0d
GM
6419 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6420
415f808e
GM
64212013-08-30 Glenn Morris <rgm@gnu.org>
6422
6423 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6424 Fix is-this-a-directory logic. (Bug#15220)
6425
f069bba8
SM
64262013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6427
112798c1
SM
6428 * textmodes/css-mode.el: Use SMIE.
6429 (css-smie-grammar): New var.
6430 (css-smie--forward-token, css-smie--backward-token)
6431 (css-smie-rules): New functions.
6432 (css-mode): Use them.
6433 (css-navigation-syntax-table): Remove var.
6434 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6435 (css-indent-calculate, css-indent-line): Remove functions.
6436
6437 Misc changes to reduce use of `(lambda...); and other cleanups.
6438 * cus-edit.el: Use lexical-binding.
6439 (customize-push-and-save, customize-apropos)
6440 (custom-buffer-create-internal): Use closures.
6441 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6442 * progmodes/ada-xref.el: Use setq.
6443 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6444 * dframe.el: Use lexical-binding.
6445 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6446 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6447 * descr-text.el: Use lexical-binding.
6448 (describe-text-widget, describe-text-sexp, describe-property-list):
6449 Use closures.
6450 * comint.el (comint-history-isearch-push-state): Use a closure.
6451 * calculator.el: Use lexical-binding.
6452 (calculator-number-to-string): Make it work with lexical-binding.
6453 (calculator-funcall): Same and use cl-letf.
6454
2da4c3ab
SM
6455 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6456 (lisp--company-doc-string, lisp--company-location): New functions.
6457 (lisp-completion-at-point): Use them to improve Company support.
6458
f069bba8
SM
6459 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6460 params of lambda expressions.
6461 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6462 (ruby-smie--opening-pipe-p): New function.
6463 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6464 symbols and matched |...| for formal params.
6465 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6466 from being treated as hanging. Handle "rescue".
6467
6758b6a8
GM
64682013-08-29 Glenn Morris <rgm@gnu.org>
6469
6470 * progmodes/cc-engine.el (c-pull-open-brace):
6471 Move definition before use.
6472
e8dfd197
SM
64732013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6474
6475 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6476 are immutable. Don't use `unsafe' any more.
6477 (cl--defsubst-expand): Don't substitute at the same time as keeping
6478 a residual unused let-binding. Don't use `unsafe' any more.
6479
cc585c96
GM
64802013-08-29 Glenn Morris <rgm@gnu.org>
6481
ba579ea6
GM
6482 * calendar/cal-china.el (calendar-chinese-year-cache):
6483 Recenter on 2015.
6484
8201a87e
GM
6485 * nxml/nxml-util.el (nxml-debug-clear-inside):
6486 Use cl-loop rather than loop.
6487
6ee877c7
GM
6488 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6489
cc585c96
GM
6490 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6491
27be8d39
GM
64922013-08-28 Glenn Morris <rgm@gnu.org>
6493
397440a1
GM
6494 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6495
2bb762d4
GM
6496 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6497
27be8d39
GM
6498 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6499
2d69b99e
SM
65002013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6501
f663baa7
SM
6502 * simple.el (repeat-complex-command--called-interactively-skip):
6503 New function.
6504 (repeat-complex-command): Use it (bug#14136).
6505
dd4f8b74
SM
6506 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6507 (c-define-abbrev-table): Add `doc' argument.
6508 (c-mode-abbrev-table, c++-mode-abbrev-table)
6509 (objc-mode-abbrev-table, java-mode-abbrev-table)
6510 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6511 (awk-mode-abbrev-table): Use it.
6512 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6513 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6514 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6515 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6516 Move initialization into the declaration; and remove any
6517 autoload cookie.
6518
b58969f7
SM
6519 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6520 and dynamic let binding.
6521
4021d6a6
SM
6522 * vc/smerge-mode.el: Remove redundant :group args.
6523
2d69b99e
SM
6524 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6525 to load-path.
6526
274919fd
JL
65272013-08-28 Juri Linkov <juri@jurta.org>
6528
6529 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6530 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6531 (isearch-other-meta-char): Handle an undefined shifted printing
6532 character by downshifting it. (Bug#15200)
6533
121f8c95
JL
65342013-08-28 Juri Linkov <juri@jurta.org>
6535
6536 * isearch.el (isearch-search): Change regexp error message for
6537 non-regexp searches. (Bug#15166)
6538
50b13cde
PE
65392013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6540
6541 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6542 for portability to hosts where /bin/sh has problems.
6543
95888bca
SM
65442013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6545
6546 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6547
bbe558f1
JL
65482013-08-27 Juri Linkov <juri@jurta.org>
6549
6550 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6551 in the keyboard macro. (Bug#15126)
6552
26f98a7d
JL
65532013-08-27 Juri Linkov <juri@jurta.org>
6554
6555 * isearch.el (isearch-quote-char): Comment out converting unibyte
6556 to multibyte, thus syncing with its `quoted-insert' counterpart.
6557 (Bug#15166)
6558
7c97d35e
MR
65592013-08-27 Martin Rudalics <rudalics@gmx.at>
6560
6561 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6562 argument in call of get-largest-window (Bug#15185).
6563 Reported by Stephen Leake.
7c97d35e 6564
a0b5606e 65652013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6566
6567 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6568
9e89d835
SM
65692013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6570
6571 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6572 from a matcher-function unless there's no more matches (bug#15161).
6573
78fc2530
MA
65742013-08-26 Michael Albinus <michael.albinus@gmx.de>
6575
6576 * minibuffer.el: Revert change from 2013-08-20.
6577
6578 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6579 with text property `tramp-default', if appropriate.
6580 (tramp-check-proper-host): New defun.
6581 (tramp-dissect-file-name): Do not check hostname. Revert change
6582 of 2013-03-18.
6583 (tramp-backtrace): Make VEC-OR-PROC optional.
6584
6585 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6586 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6587 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6588 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6589 Apply `tramp-check-proper-host'.
78fc2530 6590
edca97cd
TH
65912013-08-26 Tassilo Horn <tsdh@gnu.org>
6592
6593 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6594 lambda expression in order to have `describe-variable' display it.
6595
df54bcbd
MA
65962013-08-26 Michael Albinus <michael.albinus@gmx.de>
6597
6598 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6599 BUF can be optional. (Bug#15186)
6600
eed99101
XF
66012013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6602
6603 * progmodes/flymake.el (flymake-get-real-file-name-function):
6604 Fix broken customization. (Bug#15184)
6605
b5eb9035
AM
66062013-08-25 Alan Mackenzie <acm@muc.de>
6607
8a51e842
AM
6608 Improve indentation of bracelists defined by macros (without "=").
6609
6610 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6611 expansion begins with "{", regard it as bracelist when it doesn't
6612 contain a ";".
6613
869455d4
AM
6614 Parse C++ inher-intro when there's a template split over 2 lines.
6615
6616 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6617 rigorously the search for "class" etc. followed by ":".
6618
6619 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6620 random languages a regexp which never matches rather than nil.
6621
b5eb9035
AM
6622 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6623
6624 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6625 (c-awk-regexp-one-line-possibly-open-char-list-re)
6626 (c-awk-one-line-possibly-open-regexp-re)
6627 (c-awk-one-line-non-syn-ws*-re): Remove.
6628 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6629 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6630 (c-awk-space*-unclosed-regexp-/-re): New constants.
6631 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6632 aren't regexp delimiters.
6633
6634 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6635 handling for a rare situation in AWK Mode involving unterminated
6636 strings/regexps.
6637
61611d54
GM
66382013-08-23 Glenn Morris <rgm@gnu.org>
6639
2d85dc34
GM
6640 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6641
cb8d2612
GM
6642 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6643
bb35f42f
GM
6644 * files.el (create-file-buffer): If the result would begin with
6645 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6646
b9808e77
SM
66472013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6648
e3a66363
SM
6649 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6650 text-properties (bug#15155).
6651
b9808e77
SM
6652 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6653 exist any more.
6654 (calc-keypad-redraw): Remove unused var `pad'.
6655 (calc-keypad-press): Remove unused var `menu'.
6656
7fd5f65e
MR
66572013-08-23 Martin Rudalics <rudalics@gmx.at>
6658
b9808e77
SM
6659 * window.el (display-buffer-pop-up-frame):
6660 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6661 use it as the new frame's buffer (Bug#15133).
6662
8352b530
SM
66632013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * calendar/timeclock.el: Minor cleanups.
6666 (timeclock-ask-before-exiting, timeclock-use-display-time):
6667 Use `symbol'.
6668 (timeclock-modeline-display): Define as alias before the
6669 actual definition.
6670 (timeclock-mode-line-display): Use define-minor-mode.
6671 (timeclock-day-list-template): Make it a function, add an argument.
6672 (timeclock-day-list-required, timeclock-day-list-length)
6673 (timeclock-day-list-debt, timeclock-day-list-span)
6674 (timeclock-day-list-break): Adjust calls accordingly.
6675
9f7b1925
SM
66762013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6679 Use read--expression so that completion works again.
6680
6e50e983
SS
66812013-08-21 Sam Steingold <sds@gnu.org>
6682
6683 Add rudimentary inferior shell interaction
6684 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6685 (sh-set-shell): Reset it.
9f7b1925
SM
6686 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6687 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6688
dbb0d350
SM
66892013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6690
6691 * align.el: Use lexical-binding.
6692 (align-region): Simplify accordingly.
6693
c88586a9
MA
66942013-08-20 Michael Albinus <michael.albinus@gmx.de>
6695
6696 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6697
6698 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6699 `non-essential' up.
6700
f95527c8
MA
67012013-08-17 Michael Albinus <michael.albinus@gmx.de>
6702
6703 * net/tramp.el:
6704 * net/tramp-adb.el:
6705 * net/tramp-cmds.el:
6706 * net/tramp-ftp.el:
6707 * net/tramp-gvfs.el:
6708 * net/tramp-gw.el:
6709 * net/tramp-sh.el: Don't wrap external variable declarations by
6710 `eval-when-compile'.
6711
4b5fe4ee
LMI
67122013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6713
6714 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6715 now that Emacs supports ImageMagick animations.
6716
13c366c9
MA
67172013-08-16 Michael Albinus <michael.albinus@gmx.de>
6718
6719 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6720 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6721
3dfc5cd6
MR
67222013-08-16 Martin Rudalics <rudalics@gmx.at>
6723
6724 * window.el (mouse-autoselect-window-select): Do autoselect when
6725 mouse pointer is on margin.
6726
4bbb4381
WP
67272013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6728
6729 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6730
3a2ddc2d
GM
67312013-08-16 Glenn Morris <rgm@gnu.org>
6732
e8bedf5a
GM
6733 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6734 Handle "Remote Directory" response of some clients. (Bug#15058)
6735
58c4682f
GM
6736 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6737 Tweak warning. (Bug#14926)
6738
57953f49
GM
6739 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6740 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6741
3a2ddc2d
GM
6742 * image-mode.el (image-mode-map): Add menu items to reverse,
6743 increase, decrease, reset animation speed.
6744 (image--set-speed, image-increase-speed, image-decrease-speed)
6745 (image-reverse-speed, image-reset-speed): New functions.
6746 (image-mode-map): Add bindings for speed commands.
6747
6748 * image.el (image-animate-get-speed, image-animate-set-speed):
6749 New functions.
6750 (image-animate-timeout): Respect image :speed property.
6751
10fa0ed3
SM
67522013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6753
6754 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6755 previous line (bug#15101).
6756 (debugger-eval-expression, debugger-record-expression):
6757 Use read--expression (bug#15102).
6758
5d89d9d2
MA
67592013-08-15 Michael Albinus <michael.albinus@gmx.de>
6760
6761 Remove byte compiler warnings, visible when compiling with
6762 `byte-compile-force-lexical-warnings' set to t.
6763
6764 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6765 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6766 (tramp-handle-unhandled-file-name-directory)
6767 (tramp-handle-file-notify-add-watch, tramp-action-login)
6768 (tramp-action-succeed, tramp-action-permission-denied)
6769 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6770 arguments with "_".
6771
6772 * net/tramp-adb.el (tramp-adb-parse-device-names)
6773 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6774 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6775 (tramp-adb-handle-file-truename): Remove unused arguments.
6776
6777 * net/tramp-cache.el (tramp-flush-directory-property)
6778 (tramp-flush-connection-property, tramp-list-connections)
6779 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6780
10fa0ed3
SM
6781 * net/tramp-compat.el (tramp-compat-make-temp-file):
6782 Rename FILENAME to F.
5d89d9d2
MA
6783
6784 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6785 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6786 (tramp-zeroconf-parse-workstation-device-names)
6787 (tramp-zeroconf-parse-webdav-device-names)
6788 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6789
6790 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6791 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6792
6793 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6794 arguments.
6795 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6796 (tramp-sh-handle-insert-file-contents-literally)
6797 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6798 with "_".
6799 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6800 Remove unused variables.
6801
6802 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6803 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6804 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6805
6806 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6807 Make them a defconst.
6808 (tramp-uuencode-region): Remove unused variable.
6809
62f33bae
JB
68102013-08-14 Juanma Barranquero <lekktu@gmail.com>
6811
6812 * frameset.el (frameset--prop-setter): New function.
6813 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6814 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6815 parameter was already set in FILTERED. Doc fix.
6816 (frameset--record-minibuffer-relationships): Allow saving a
6817 minibufferless frame without its corresponding minibuffer frame.
6818 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6819 frame, if the frame id matches.
6820 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6821 frames before orphaned ones.
6822 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6823
c660a885
MR
68242013-08-14 Martin Rudalics <rudalics@gmx.at>
6825
6826 * window.el (window-make-atom): Don't overwrite parameter
6827 already present.
6828 (display-buffer-in-atom-window): Handle special case where we
6829 split an already atomic window.
6830 (window--major-non-side-window, display-buffer-in-side-window)
6831 (window--side-check): Ignore minibuffer window when walking
6832 window tree.
6833 (window-deletable-p): Return 'frame only if no other frame uses
6834 our minibuffer window.
6835 (record-window-buffer): Run buffer-list-update-hook.
6836 (split-window): Make sure window--check-frame won't destroy an
6837 existing atomic window in case the new window gets nested
6838 inside.
6839 (display-buffer-at-bottom): Ignore minibuffer window when
6840 walking window tree. Don't split a side window.
6841 (pop-to-buffer): Don't set-buffer here, the select-window call
6842 should do that.
6843 (mouse-autoselect-window-select): Autoselect only if we are in the
6844 text portion of the window.
6845
8259030d
LMI
68462013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6847
21c58ae2
LMI
6848 * net/shr.el (shr-parse-image-data): New function to grab both the
6849 data itself and the Content-Type.
6850 (shr-put-image): Use it.
6851
6852 * net/eww.el (eww-display-image): Ditto.
6853
8259030d
LMI
6854 * image.el (image-content-type-suffixes): New variable.
6855
ad756449
FEG
68562013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6857
6858 * progmodes/python.el (python-imenu--build-tree)
6859 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6860
f73f4ce6
XF
68612013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6862
6863 * simple.el (backward-word): Mention the optional argument.
6864
1f585e65
SM
68652013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * frameset.el (frameset--make): Rename constructor from make-frameset.
6868 (frameset-p, frameset-valid-p): Don't autoload.
6869 (frameset-valid-p): Use normal accessors.
6870
af1c6c84
GM
68712013-08-13 Glenn Morris <rgm@gnu.org>
6872
55e47f95
GM
6873 * progmodes/compile.el (compile-command): Tweak example in doc.
6874 * obsolete/scribe.el (scribe-mode):
6875 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6876
f0024d8c
GM
6877 * mail/feedmail.el (feedmail-confirm-outgoing)
6878 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6879
6880 * cus-start.el (truncate-partial-width-windows): Fix type.
6881
6882 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6883
af1c6c84
GM
6884 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6885
5514cc4c
SM
68862013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 * emacs-lisp/timer.el (timer--time-setter): New function.
6889 (timer--time): Use it as gv-setter.
6890
6891 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6892 setter is not a symbol.
6893
7997a2f1
GJ
68942013-08-12 Grégoire Jadi <daimrod@gmail.com>
6895
6896 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6897 if sending fails. This makes debugging easier.
6898
01f1a9ab
JB
68992013-08-12 Juanma Barranquero <lekktu@gmail.com>
6900
6901 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6902 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6903 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6904
594a4307
EZ
69052013-08-12 Eli Zaretskii <eliz@gnu.org>
6906
6907 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6908
7a22490f 69092013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6910
6911 * format.el (format-annotate-function):
6912 Handle read-only text properties in the source. (Bug#14887)
6913
3e41a054
LMI
69142013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6915
5514cc4c
SM
6916 * net/eww.el (eww-display-html): Ignore coding system errors.
6917 One web site uses "utf-8lias" as the coding system.
3e41a054 6918
7ec326db
JB
69192013-08-11 Juanma Barranquero <lekktu@gmail.com>
6920
6921 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6922
5660113b
JB
69232013-08-10 Juanma Barranquero <lekktu@gmail.com>
6924
9a4ebc74
JB
6925 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6926 (tutorial--detailed-help): Remove unused local variables.
6927 (tutorial--save-tutorial-to): Use ignore-errors.
6928 (help-with-tutorial): Use looking-at-p.
6929
6930 * view.el (view-buffer-other-window, view-buffer-other-frame):
6931 Mark unused arguments.
6932
6933 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6934 (woman-select-symbol-fonts, woman, woman-find-file)
6935 (woman-insert-file-contents, woman-non-underline-faces):
6936 Use string-match-p.
6937 (woman1-unquote): Move declaration.
6938
6939 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6940 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6941 argument. Remove unused local variable.
6942 (xml-parse-elem-type): Use string-match-p.
6943 (xml-substitute-numeric-entities): Use ignore-errors.
6944
45fdb482
JB
6945 * calculator.el (calculator): Mark unused argument.
6946 (calculator-paste, calculator-quit, calculator-integer-p):
6947 Use ignore-errors.
6948 (calculator-string-to-number, calculator-decimal, calculator-exp)
6949 (calculator-op-or-exp): Use string-match-p.
6950
6951 * dired.el (dired-buffer-more-recently-used-p): Declare.
6952 (dired-insert-set-properties, dired-insert-old-subdirs):
6953 Use ignore-errors.
6954
6955 * dired-aux.el (dired-compress): Use ignore-errors.
6956 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6957 (dired-do-async-shell-command, dired-do-shell-command)
6958 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6959 (dired-insert-subdir-validate): Use string-match-p.
6960 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6961 (dired-add-entry): Use string-match-p, looking-at-p.
6962 (dired-insert-subdir-newpos): Remove unused local variable.
6963
6964 * filenotify.el (file-notify-callback): Remove unused local variable.
6965
6966 * filesets.el (filesets-error): Mark unused argument.
6967 (filesets-which-command-p, filesets-filter-dir-names)
6968 (filesets-directory-files, filesets-get-external-viewer)
6969 (filesets-ingroup-get-data): Use string-match-p.
6970
6971 * find-file.el (ff-other-file-name, ff-other-file-name)
6972 (ff-find-the-other-file, ff-cc-hh-converter):
6973 Remove unused local variables.
6974 (ff-get-file-name): Use string-match-p.
6975 (ff-all-dirs-under): Use ignore-errors.
6976
6977 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6978 (follow-select-if-visible): Remove unused local variable.
6979
6980 * forms.el (read-file-filter): Move declaration.
6981 (forms--make-format, forms--make-parser, forms-insert-record):
6982 Quote function with #'.
6983 (forms--update): Use string-match-p. Quote function with #'.
6984
6985 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6986 (help-make-xrefs): Use looking-at-p.
6987 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6988
6989 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6990 (ibuffer-confirm-operation-on): Use string-match-p.
6991
6992 * msb.el (msb-item-handler, msb-dired-item-handler):
6993 Mark unused arguments.
6994
6995 * ses.el (ses-decode-cell-symbol)
6996 (ses-kill-override): Remove unused local variable.
6997 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6998 (ses-load): Use ignore-errors, looking-at-p.
6999 (ses-jump-safe): Use ignore-errors.
7000 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7001
7002 * tabify.el (untabify, tabify): Mark unused arguments.
7003
7004 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7005 Mark unused argument.
7006 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7007 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7008
c880af52
JB
7009 * emacs-lisp/timer.el (timer--time): Define setter with
7010 gv-define-setter to avoid deprecation warning.
7011
5660113b 7012 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7013 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7014 (cmpl-statistics-block): Remove (body was commented out).
7015 All callers changed.
7016 (add-completions-from-buffer, load-completions-from-file):
7017 Remove unused variables.
7018
156aab80
JB
70192013-08-09 Juanma Barranquero <lekktu@gmail.com>
7020
5c5dee78
JB
7021 * filecache.el (file-cache-delete-file-list):
7022 Print message only when told so.
7023 (file-cache-files-matching): Use #' in mapconcat argument.
7024
156aab80
JB
7025 * ffap.el (ffap-url-at-point): Fix reference to variable
7026 thing-at-point-default-mail-uri-scheme.
7027
ad9dcd70
SM
70282013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7029
54bd972f
SM
7030 * subr.el (define-error): New function.
7031 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7032 error-file-not-found and define with define-error.
7033 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7034 and define with define-error.
7035 * userlock.el (file-locked, file-supersession):
7036 * simple.el (mark-inactive):
7037 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7038 * progmodes/ada-mode.el (ada-mode-errors):
7039 * play/life.el (life-extinct):
7040 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7041 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7042 * nxml/rng-util.el (rng-error):
7043 * nxml/rng-uri.el (rng-uri-error):
7044 * nxml/rng-match.el (rng-compile-error):
7045 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7046 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7047 * nxml/nxml-rap.el (nxml-scan-error):
7048 * nxml/nxml-outln.el (nxml-outline-error):
7049 * net/soap-client.el (soap-error):
7050 * net/gnutls.el (gnutls-error):
7051 * net/ange-ftp.el (ftp-error):
7052 * mpc.el (mpc-proc-error):
7053 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7054 (json-number-format, json-string-escape, json-string-format)
7055 (json-key-format, json-object-format):
7056 * jka-compr.el (compression-error):
7057 * international/quail.el (quail-error):
7058 * international/kkc.el (kkc-error):
7059 * emacs-lisp/ert.el (ert-test-failed):
7060 * calc/calc.el (calc-error, inexact-result, math-overflow)
7061 (math-underflow):
7062 * bookmark.el (bookmark-error-no-filename):
7063 * epg.el (epg-error): Define with define-error.
7064
0ea9e53a
SM
7065 * time.el (display-time-event-handler)
7066 (display-time-next-load-average): Don't call sit-for since it seems
7067 unnecessary (bug#15045).
7068
b0429158
SM
7069 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7070 Use #' instead of ' to quote functions.
7071 (checkdoc-output-mode): Use setq-local.
7072 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7073 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7074 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7075 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7076 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7077 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7078 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7079 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7080
ad9dcd70
SM
7081 * ido.el (ido-completion-help): Fix up compiler warning.
7082
77187e6f
JB
70832013-08-09 Juanma Barranquero <lekktu@gmail.com>
7084
7085 * frameset.el (frameset-p): Add autoload cookie.
7086 (frameset--jump-to-register): New function, based on code moved from
7087 register.el.
7088 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7089
7090 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7091 (frameset-restore, frameset-save, frameset-session-filter-alist):
7092 Remove declarations.
7093 (register-alist): Doc fix.
7094 (frameset-to-register): Move to frameset.el.
7095 (jump-to-register, describe-register-1): Remove frameset-specific code.
7096
9d3aa82c
JB
70972013-08-08 Juanma Barranquero <lekktu@gmail.com>
7098
7099 * allout-widgets.el (allout-widgets-pre-command-business)
7100 (allout-widgets-post-command-business)
7101 (allout-widgets-after-change-handler)
7102 (allout-decorate-item-and-context, allout-set-boundary-marker)
7103 (allout-body-modification-handler)
7104 (allout-graphics-modification-handler): Mark ignored arguments.
7105 (allout-widgets-post-command-business)
7106 (allout-widgets-exposure-change-processor)
7107 (allout-widgets-exposure-undo-processor)
7108 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7109 (allout-parse-item-at-point, allout-decorate-item-guides)
7110 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7111 * allout.el (epa-passphrase-callback-function): Declare.
7112 (allout-overlay-insert-in-front-handler)
7113 (allout-overlay-interior-modification-handler)
7114 (allout-isearch-end-handler, allout-chart-siblings)
7115 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7116 (allout-yank-processing, allout-process-exposed)
7117 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7118 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7119 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7120 (lisp-indent-defform): Mark ignored arguments.
7121 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7122 (calculate-lisp-indent): Remove unused variables.
7123 * international/characters.el (indian-2-column, arabic-2-column)
7124 (tibetan): Mark ignored arguments.
7125 (use-cjk-char-width-table): Mark ignored arguments.
7126 Remove unused variables.
7127 * international/fontset.el (build-default-fontset-data)
7128 (x-compose-font-name, create-fontset-from-fontset-spec):
7129 Mark ignored arguments.
7130 (fontset-plain-name): Remove unused variables.
7131 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7132 (keyboard-coding-system): Mark ignored arguments.
7133 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7134 * help.el (resize-temp-buffer-window):
7135 * window.el (display-buffer-in-major-side-window)
7136 (display-buffer-in-side-window, display-buffer-in-previous-window):
7137 Remove unused variables.
7138 * isearch.el (isearch-forward-symbol):
7139 * version.el (emacs-bzr-version-bzr):
7140 * international/mule-cmds.el (current-language-environment):
7141 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7142 (x-handle-display):
7143 * term/pc-win.el (x-list-fonts, x-display-planes)
7144 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7145 (x-server-version, x-display-screens, x-display-mm-height)
7146 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7147 (x-selection-owner-p, x-own-selection-internal)
7148 (x-disown-selection-internal, x-get-selection-internal)
7149 (msdos-initialize-window-system):
7150 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7151 * term/x-win.el (x-handle-no-bitmap-icon):
7152 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7153 (vc-default-find-file-hook, vc-default-extra-menu):
7154 Mark ignored arguments.
7155
0ca3f70e
SM
71562013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7157
7158 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7159 break-condition in the context of the debugged code (bug#12685).
7160
74c5d24c
CS
71612013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7162
7163 * comint.el:
7164 Do not use an overlay to highlight the last prompt. (Bug#14744)
7165 (comint-mode): Make comint-last-prompt buffer local.
7166 (comint-last-prompt): New variable.
7167 (comint-last-prompt-overlay): Remove. Superseded by
7168 comint-last-prompt.
0ca3f70e
SM
7169 (comint-snapshot-last-prompt, comint-output-filter):
7170 Use comint-last-prompt.
74c5d24c 7171
c03c02ee
JB
71722013-08-08 Juanma Barranquero <lekktu@gmail.com>
7173
a3738d20 7174 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7175 (frameset-save): Check validity of the resulting frameset.
7176
04263d23
XF
71772013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7178
7179 * ido.el (ido-record-command): Add doc string.
7180
76c5e5ab
JB
71812013-08-08 Juanma Barranquero <lekktu@gmail.com>
7182
7183 * frameset.el (frameset): Do not disable creation of the default
7184 frameset-p predicate. Doc fix.
7185 (frameset-valid-p): New function, copied from the old predicate-p.
7186 Add additional checks.
7187 (frameset-restore): Check with frameset-valid-p.
7188 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7189 (frameset-name, frameset-description, frameset-properties)
7190 (frameset-states): Add docstring.
f9dbf1cb
JB
7191 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7192 (frameset-filter-alist): Doc fixes.
76c5e5ab 7193
bd0c3c0b
JB
71942013-08-08 Juanma Barranquero <lekktu@gmail.com>
7195
7196 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7197
c735544c
SM
71982013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7199
7200 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7201 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7202 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7203 (byte-compile-normal-call): Remove obsolescence check.
7204
2805a651
JB
72052013-08-08 Juanma Barranquero <lekktu@gmail.com>
7206
3677ffeb
JB
7207 * frameset.el (frameset-restore): Doc fix.
7208
2805a651
JB
7209 * register.el (frameset-frame-id, frameset-frame-with-id)
7210 (frameset-p, frameset-restore, frameset-save): Declare.
7211 (register-alist): Document framesets.
7212 (frameset-session-filter-alist): Declare.
7213 (frameset-to-register): New function.
7214 (jump-to-register): Implement jumping to framesets. Doc fix.
7215 (describe-register-1): Describe framesets.
7216
7217 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7218
a912c016
JB
72192013-08-07 Juanma Barranquero <lekktu@gmail.com>
7220
7221 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7222 Use lexical-binding.
7223
7224 * frameset.el (frameset): Use type vector, not list (incompatible
7225 change). Do not declare a new constructor, use the default one.
7226 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7227 `name' and `description', respectively, and add read-only slot
7228 `timestamp'. Doc fixes.
7229 (frameset-copy, frameset-persistent-filter-alist)
7230 (frameset-filter-alist, frameset-switch-to-gui-p)
7231 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7232 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7233 (frameset-filter-iconified, frameset-keep-original-display-p):
7234 Doc fixes.
7235 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7236 Rename from frameset-filter-(save|restore)-param. All callers changed.
7237 Doc fix.
7238 (frameset-p): Adapt to change to vector and be more thorough.
7239 Change arg name to OBJECT. Doc fix.
7240 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7241 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7242 All callers changed.
7243 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7244 All callers changed.
7245 (frameset--record-minibuffer-relationships): Rename from
7246 frameset--process-minibuffer-frames. All callers changed.
7247 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7248 Use new default constructor (again). Doc fix.
c295fc18 7249 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7250 All callers changed.
7251 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7252 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7253 Doc fix.
7254 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7255 PARAMETERS and WINDOW-STATE, respectively.
7256 (frameset-restore): Add new keyword argument PREDICATE.
7257 Reset frameset--target-display to nil. Doc fix.
7258
bb41480a
SM
72592013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7260
f001e98e
SM
7261 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7262 (bat-mode): Use it.
7263 (bat-mode-syntax-table): Mark \n as end-of-comment.
7264 (bat-font-lock-keywords): Remove comment rule.
7265
7679edb1
SM
7266 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7267 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7268
bb41480a
SM
7269 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7270 (byte-compile-callargs-warn): Use `push'.
7271 (byte-compile-arglist-warn): Ignore higher-order "calls".
7272 (byte-compile-file-form-autoload): Use `pcase'.
7273 (byte-compile-function-form): If quoting a symbol, check that it exists.
7274
cdc1ebb9
EZ
72752013-08-07 Eli Zaretskii <eliz@gnu.org>
7276
7277 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7278 and add a few popular commands found in batch files.
7279 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7280 (dos-mode): Doc fixes.
7281
312b1740
SM
72822013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7283
7284 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7285 (dos-mode): Use setq-local. Add space after "rem".
7286 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7287 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7288
400a3178
AM
72892013-08-07 Arni Magnusson <arnima@hafro.is>
7290
7291 * progmodes/dos.el: New file.
7292 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7293 dos-mode.
7294
3b5c03d3
GM
72952013-08-06 Glenn Morris <rgm@gnu.org>
7296
7297 * calendar/calendar.el: Add new faces, and day-header-array.
7298 (calendar-weekday-header, calendar-weekend-header)
7299 (calendar-month-header): New faces.
7300 (calendar-day-header-construct): New function.
7301 (calendar-day-header-width): Also :set calendar-day-header-array.
7302 (calendar-american-month-header, calendar-european-month-header)
7303 (calendar-iso-month-header): Use calendar- faces.
7304 (calendar-generate-month):
7305 Use calendar-day-header-array for day headers; apply faces to them.
7306 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7307 (calendar-abbrev-construct): Add optional maxlen argument.
7308 (calendar-day-name-array): Doc fix.
7309 (calendar-day-name-array, calendar-abbrev-length)
7310 (calendar-day-abbrev-array):
7311 Also :set calendar-day-header-array, and maybe redraw.
7312 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 7313 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
7314 (calendar-day-name): Add option to use header array.
7315
ec6a2d7a
LMI
73162013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7317
7318 * net/shr.el (shr-render-td): Remove debugging.
7319 (shr-render-td): Make width computation consistent by defaulting
7320 all zero-width columns to 10 characters. This may not be optimal,
7321 but it's at least consistent.
2122cb6d
LMI
7322 (shr-make-table-1): Redo last change to fix the real problem in
7323 colspan handling.
ec6a2d7a 7324
ed4fd9c5
DA
73252013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7326
0ca3f70e
SM
7327 * files.el (cache-long-line-scans):
7328 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 7329
64e22afe
JB
73302013-08-06 Juanma Barranquero <lekktu@gmail.com>
7331
024b38fc
JB
7332 * frameset.el (frameset, frameset-filter-alist)
7333 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7334 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7335 (frameset-compute-pos): Rename from frameset--compute-pos,
7336 and add docstring.
7337 (frameset-move-onscreen): Use frameset-compute-pos.
7338 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7339
64e22afe
JB
7340 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7341 Fix typos in docstrings.
7342
c8c2aca8
DA
73432013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7344
7345 * frame.el (get-other-frame): Tiny cleanup.
7346
1d237bba
JB
73472013-08-06 Juanma Barranquero <lekktu@gmail.com>
7348
8951efef
JB
7349 * vc/vc.el (vc-default-ignore-completion-table):
7350 Silence byte-compiler warning.
7351
307764cc 7352 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7353 slot, which can indeed be nil.
307764cc
JB
7354 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7355 Move entry for `left' from persistent to live filter alist.
7356 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7357 Doc fixes.
7358 (frameset-filter-params): When restoring a frame, copy items added to
7359 `filtered', to avoid unwittingly modifying the original parameters.
7360 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7361 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7362
1d237bba
JB
7363 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7364 to use looking-at-p instead of looking-at. (Bug#15028)
7365
dc6c0eda
SM
73662013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7367
7368 Revert introduction of isearch-filter-predicates (bug#14714).
7369 Rely on add-function instead.
7370 * isearch.el (isearch-filter-predicates): Rename it back to
7371 isearch-filter-predicate.
7372 (isearch-message-prefix): Use advice-function-mapc and advice
7373 properties to get the isearch-message-prefix.
7374 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7375 instead of run-hook-with-args-until-failure.
7376 (isearch-filter-visible): Not obsolete any more.
7377 * loadup.el: Preload nadvice.
7378 * replace.el (perform-replace): Revert to funcall
7379 instead of run-hook-with-args-until-failure.
7380 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7381 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7382 dired-isearch-filenames-toggle; make it into a proper minor mode.
7383 Use add/remove-function.
7384 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7385 Call the minor-mode rather than add/remove-hook.
7386 (dired-isearch-filter-filenames):
7387 Remove isearch-message-prefix property.
7388 * info.el (Info--search-loop): New function, extracted from Info-search.
7389 Funcall isearch-filter-predicate instead of
7390 run-hook-with-args-until-failure isearch-filter-predicates.
7391 (Info-search): Use it.
7392 (Info-mode): Use isearch-filter-predicate instead of
7393 isearch-filter-predicates.
7394
290d5b58
DA
73952013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7396
7397 Do not call to `selected-window' where it is assumed by default.
7398 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7399 `window-hscroll', `window-width', `window-height', `window-buffer',
7400 `window-frame', `window-start', `window-point', `next-window'
7401 and `window-display-table'.
7402 * abbrev.el (abbrev--default-expand):
7403 * bs.el (bs--show-with-configuration):
7404 * buff-menu.el (Buffer-menu-mouse-select):
7405 * calc/calc.el (calc):
7406 * calendar/calendar.el (calendar-generate-window):
7407 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7408 (diary-make-entry):
7409 * comint.el (send-invisible, comint-dynamic-complete-filename)
7410 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7411 * completion.el (complete):
7412 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7413 * disp-table.el (describe-current-display-table):
7414 * doc-view.el (doc-view-insert-image):
7415 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7416 * ehelp.el (with-electric-help):
7417 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7418 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7419 * emacs-lisp/helper.el (Helper-help-scroller):
7420 * emulation/cua-base.el (cua--post-command-handler-1):
7421 * eshell/esh-mode.el (eshell-output-filter):
7422 * ffap.el (ffap-gnus-wrapper):
7423 * help-macro.el (make-help-screen):
7424 * hilit-chg.el (highlight-compare-buffers):
7425 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7426 * hl-line.el (global-hl-line-highlight):
7427 * icomplete.el (icomplete-simple-completing-p):
7428 * isearch.el (isearch-done):
7429 * jit-lock.el (jit-lock-stealth-fontify):
7430 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7431 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7432 * mpc.el (mpc-tagbrowser, mpc):
7433 * net/rcirc.el (rcirc-any-buffer):
7434 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7435 * play/landmark.el (landmark-max-width, landmark-max-height):
7436 * play/zone.el (zone):
7437 * progmodes/compile.el (compilation-goto-locus):
7438 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7439 * progmodes/etags.el (find-tag-other-window):
7440 * progmodes/fortran.el (fortran-column-ruler):
7441 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7442 * progmodes/verilog-mode.el (verilog-point-text):
7443 * reposition.el (reposition-window):
7444 * rot13.el (toggle-rot13-mode):
7445 * server.el (server-switch-buffer):
7446 * shell.el (shell-dynamic-complete-command)
7447 (shell-dynamic-complete-environment-variable):
7448 * simple.el (insert-buffer, set-selective-display)
7449 (delete-completion-window):
7450 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7451 (speedbar-recenter):
7452 * startup.el (fancy-splash-head):
7453 * textmodes/ispell.el (ispell-command-loop):
7454 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7455 * tutorial.el (help-with-tutorial):
7456 * vc/add-log.el (add-change-log-entry):
7457 * vc/compare-w.el (compare-windows):
7458 * vc/ediff-help.el (ediff-indent-help-message):
7459 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7460 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7461 (ediff-setup-control-frame):
7462 * vc/emerge.el (emerge-position-region):
7463 * vc/pcvs-util.el (cvs-bury-buffer):
7464 * window.el (walk-windows, mouse-autoselect-window-select):
7465 * winner.el (winner-set-conf, winner-undo): Related users changed.
7466
38276e01
JB
74672013-08-05 Juanma Barranquero <lekktu@gmail.com>
7468
7469 * frameset.el (frameset--set-id): Doc fix.
7470 (frameset-frame-id, frameset-frame-id-equal-p)
7471 (frameset-locate-frame-id): New functions.
7472 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7473 (frameset-restore): Use them.
7474
12b4c0ea
DA
74752013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7476
7477 Do not call to `selected-frame' where it is assumed by default.
7478 Affected functions are `raise-frame', `redraw-frame',
7479 `frame-first-window', `frame-terminal' and `delete-frame'.
7480 * calendar/appt.el (appt-disp-window):
7481 * epg.el (epg-wait-for-completion):
7482 * follow.el (follow-delete-other-windows-and-split)
7483 (follow-avoid-tail-recenter):
7484 * international/mule.el (set-terminal-coding-system):
7485 * mail/rmail.el (rmail-mail-return):
7486 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7487 * progmodes/f90.el (f90-add-imenu-menu):
7488 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7489 * server.el (server-switch-buffer):
7490 * simple.el (delete-completion-window):
7491 * talk.el (talk):
7492 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7493 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7494 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7495 * vc/ediff.el (ediff-documentation): Related users changed.
7496 * frame.el (selected-terminal): Remove the leftover.
7497
17f25e76
GM
74982013-08-05 Glenn Morris <rgm@gnu.org>
7499
7500 * calendar/calendar.el (calendar-generate-month):
7501 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7502 (calendar-generate-month, calendar-font-lock-keywords):
7503 Fix for calendar-day-header-width > length of any day name.
17f25e76 7504
063233c3
JB
75052013-08-05 Juanma Barranquero <lekktu@gmail.com>
7506
7507 * desktop.el (desktop-clear): Use new name of sort predicate.
7508
7509 * frameset.el (frameset): Add docstring. Move :version property to its
7510 own `version' slot.
7511 (frameset-copy): Rename from copy-frameset.
7512 (frameset-p): Check more thoroughly.
7513 (frameset-prop): Do not check for :version, which is no longer a prop.
7514 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7515 Use new :never value instead of t.
7516 (frameset-filter-alist): Expand and clarify docstring.
7517 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7518 (frameset-filter-minibuffer, frameset-filter-save-param)
7519 (frameset-filter-restore-param, frameset-filter-iconified):
7520 Add pointer to docstring of frameset-filter-alist.
7521 (frameset-filter-params): Rename filter values to be more meaningful:
7522 :never instead of t, and reverse the meanings of :save and :restore.
7523 (frameset--process-minibuffer-frames): Clarify error message.
7524 (frameset-save): Avoid unnecessary and confusing call to framep.
7525 Use new BOA constructor for framesets.
7526 (frameset--reuse-list): Doc fix.
7527 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7528 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7529 (frameset-minibufferless-first-p): Doc fix.
7530 Rename from frameset-sort-frames-for-deletion.
7531 (frameset-restore): Doc fixes. Use new function names.
7532 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7533
d5671a82
JB
75342013-08-04 Juanma Barranquero <lekktu@gmail.com>
7535
7536 * desktop.el (desktop-restore-forces-onscreen)
7537 (desktop-restore-reuses-frames): Document :keyword constant values.
7538 (desktop-filter-parameters-alist): Remove, now identical to
7539 frameset-filter-alist.
7540 (desktop--filter-tty*): Remove, moved to frameset.el.
7541 (desktop-save-frameset, desktop-restore-frameset):
7542 Do not pass :filters argument.
7543
7544 * frameset.el (frameset-live-filter-alist)
7545 (frameset-persistent-filter-alist): New variables.
7546 (frameset-filter-alist): Use them. Add autoload cookie.
7547 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7548 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7549 `frameset--id' (it's supposed to be internal to frameset.el).
7550 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7551 (frameset--initial-params): New function.
7552 (frameset--get-frame): Use it. Doc fix.
7553 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7554 Accept :all, not 'all.
7555 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7556 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7557 with fbound symbols. Fix frame id matching, and remove matching ids if
7558 the frame being restored is deleted. Obey :delete.
7559
671d5c16
SM
75602013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * subr.el (macrop): New function.
7563 (text-clone--maintaining): New var.
7564 (text-clone--maintain): Rename from text-clone-maintain. Use it
7565 instead of inhibit-modification-hooks.
7566
7567 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7568 a proxy, so as handle autoloads and redefinitions of the target.
7569 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7570
7571 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7572 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7573 (pcase--mutually-exclusive-p): New function.
7574 (pcase--split-consp): Use it.
7575 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7576 mutually exclusive with the current predicate.
7577
7578 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7579 (edebug-macrop): Remove. Use `macrop' instead.
7580 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7581 (ad-macro-p):
7582 * eshell/esh-cmd.el (eshell-macrop):
7583 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7584
1d44e9dc
SM
75852013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7588 (advice-mapc): New function, using it.
7589 (advice-function-member-p): New function.
7590 (advice--normalize): Store the cdr in advice--saved-rewrite since
7591 that's the part that will be changed.
7592 (advice--symbol-function): New function.
7593 (advice-remove): Handle removal before the function is defined.
7594 Adjust to new advice--saved-rewrite.
7595 (advice-member-p): Use advice-function-member-p and
7596 advice--symbol-function.
7597
5414a283
JB
75982013-08-04 Juanma Barranquero <lekktu@gmail.com>
7599
51d30f2c
JB
7600 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7601 (frameset-filter-minibuffer): Doc fix.
7602 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7603 (frameset--set-id, frameset--process-minibuffer-frames)
7604 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7605 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7606
5414a283
JB
7607 * desktop.el (desktop-clear): Only delete frames when called
7608 interactively and desktop-restore-frames is non-nil. Doc fix.
7609 (desktop-read): Set desktop-saved-frameset to nil.
7610
ab419665
XF
76112013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7612
7613 * vc/vc.el (vc-ignore): Rewrite.
7614 (vc-default-ignore-completion-table):
7615 (vc--read-lines):
7616 (vc--add-line, vc--remove-regexp): New functions.
7617
7618 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7619 (vc-svn-ignore-completion-table): New function.
7620
7621 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7622 (vc-hg-ignore-completion-table):
7623 (vc-hg-find-ignore-file): New functions.
7624
7625 * vc/vc-git.el (vc-git-ignore): Rewrite.
7626 (vc-git-ignore-completion-table):
7627 (vc-git-find-ignore-file): New functions.
7628
7629 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7630
7631 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7632 (vc-bzr-ignore-completion-table):
7633 (vc-bzr-find-ignore-file): New functions.
7634
2613dea2
JB
76352013-08-03 Juanma Barranquero <lekktu@gmail.com>
7636
7637 * frameset.el (frameset-prop): New function and setter.
7638 (frameset-save): Do not modify frame list passed by the caller.
7639
9c959872
SM
76402013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7643
a104f656
SM
76442013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7645
70122acf
SM
7646 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7647 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7648
a104f656
SM
7649 * custom.el (custom-initialize-default, custom-initialize-set)
7650 (custom-initialize-reset, custom-initialize-changed): Affect the
7651 toplevel-default-value (bug#6275, bug#14586).
7652 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7653 for bug#6275.
7654
f078d570
JB
76552013-08-02 Juanma Barranquero <lekktu@gmail.com>
7656
185e3b5a
JB
7657 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7658 Add cl-def* expressions.
7659
f078d570
JB
7660 * frameset.el (frameset-filter-params): Fix order of arguments.
7661
9421876d
JB
76622013-08-02 Juanma Barranquero <lekktu@gmail.com>
7663
7664 Move code related to saving frames to frameset.el.
7665 * desktop.el: Require frameset.
7666 (desktop-restore-frames): Doc fix.
7667 (desktop-restore-reuses-frames): Rename from
7668 desktop-restoring-reuses-frames.
7669 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7670 (desktop-clear): Clear frames too.
7671 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7672 (desktop--filter-tty*, desktop-save, desktop-read):
7673 Use frameset functions.
7674 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7675 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7676 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7677 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7678 (desktop--process-minibuffer-frames, desktop-save-frames)
7679 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7680 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7681 (desktop--sort-states, desktop-restoring-frames-p)
7682 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7683 (desktop-restoring-frameset-p, desktop-restore-frameset)
7684 (desktop--check-dont-save, desktop-save-frameset): New functions.
7685 (desktop--app-id): New constant.
7686 (desktop-first-buffer, desktop-buffer-ok-count)
7687 (desktop-buffer-fail-count): Move before first use.
7688 * frameset.el: New file.
7689
76dc5996
SM
76902013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * files.el: Use lexical-binding.
7693 (dir-locals-read-from-file): Remove unused `err' variable.
7694 (hack-dir-local-variables--warned-coding): New var.
7695 (hack-dir-local-variables): Use it to avoid repeated warnings.
7696 (make-backup-file-name--default-function): New function.
7697 (make-backup-file-name-function): Use it as default.
7698 (buffer-stale--default-function): New function.
7699 (buffer-stale-function): Use it as default.
7700 (revert-buffer-insert-file-contents--default-function): New function.
7701 (revert-buffer-insert-file-contents-function): Use it as default.
7702 (insert-directory): Avoid add-to-list.
7703
7704 * autorevert.el (auto-revert-handler): Simplify.
7705 Use buffer-stale--default-function.
7706
06d36e2b
TH
77072013-08-01 Tassilo Horn <tsdh@gnu.org>
7708
5f648ab4
TH
7709 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7710
06d36e2b
TH
7711 * whitespace.el (whitespace-ensure-local-variables): New function.
7712 (whitespace-cleanup-region): Call it.
7713 (whitespace-turn-on): Call it.
7714
a43dc424
MA
77152013-08-01 Michael Albinus <michael.albinus@gmx.de>
7716
7717 Complete file name handlers.
7718
7719 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7720 (tramp-handle-verify-visited-file-modtime)
7721 (tramp-handle-file-notify-rm-watch): New functions.
7722 (tramp-call-process): Do not bind `default-directory'.
7723
44e18199
JB
7724 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7725 Order alphabetically.
afe1e4c8
GM
7726 <access-file, add-name-to-file, dired-call-process>:
7727 <dired-compress-file, file-acl, file-notify-rm-watch>:
7728 <file-ownership-preserved-p, file-selinux-context>:
7729 <make-directory-internal, make-symbolic-link, set-file-acl>:
7730 <set-file-selinux-context, set-visited-file-modtime>:
7731 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7732 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7733
7734 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
7735 <file-notify-add-watch, file-notify-rm-watch>:
7736 <set-file-times, set-visited-file-modtime>:
7737 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7738 (with-tramp-gvfs-error-message)
7739 (tramp-gvfs-handle-set-visited-file-modtime)
7740 (tramp-gvfs-fuse-file-name): Remove.
7741 (tramp-gvfs-handle-file-notify-add-watch)
7742 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7743 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7744
44e18199
JB
7745 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7746 Order alphabetically.
afe1e4c8
GM
7747 <file-notify-rm-watch>: Use default Tramp handler.
7748 <executable-find>: Remove private handler.
a43dc424
MA
7749 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7750 `default-directory'.
7751 (tramp-sh-handle-executable-find)
7752 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7753 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7754 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7755 Do not use `format' in `tramp-message'.
7756
7757 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
7758 <file-notify-rm-watch, set-visited-file-modtime>:
7759 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7760 (tramp-smb-call-winexe): Do not bind `default-directory'.
7761
7188b515
XF
77622013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7763
7764 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7765
2412ee1a
DG
77662013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7767
7768 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7769 use it.
7770 (log-view-diff-changeset): Same.
7771 (log-view-diff-common): Call backend command `previous-revision'
7772 to find out the previous revision, in both cases. Swap the
7773 variables `to' and `fr', so that `fr' usually refers to the
7774 earlier revision (Bug#14989).
7775
5002a754
KRC
77762013-07-31 Kan-Ru Chen <kanru@kanru.info>
7777
7778 * ibuf-ext.el (ibuffer-filter-by-filename):
7779 Make it work with dired buffers too.
7780
44e18199 77812013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7782
7783 * emacs-lisp/re-builder.el (reb-color-display-p):
7784 * files.el (save-buffers-kill-terminal):
7785 * net/browse-url.el (browse-url):
7786 * server.el (server-save-buffers-kill-terminal):
7787 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7788 Prefer nil to selected-frame for the first arg of frame-parameter.
7789
aeca3fbb
XF
77902013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7791
7792 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7793
158bc55c
SB
77942013-07-30 Stephen Berman <stephen.berman@gmx.net>
7795
7796 * minibuffer.el (completion--twq-all): Try and preserve each
7797 completion's case choice (bug#14907).
7798
d50fceab
LMI
77992013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7800
ac38e731
LMI
7801 * net/network-stream.el (open-network-stream): Mention the new
7802 :nogreeting parameter.
7803 (network-stream-open-starttls): Use the :nogreeting parameter
7804 (bug#14938).
7805
1211de50
LMI
7806 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7807
997798bf
LMI
7808 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7809 more natural than popping.
7810
d50fceab 7811 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7812 (shr-urlify): Highlight under mouse.
d50fceab 7813
5c09de04
XF
78142013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7815
207d1d04
XF
7816 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7817
7818 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7819
5c09de04
XF
7820 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7821 buffer for output.
7822
3cd51eaa
XF
7823 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7824 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7825
44e18199 7826 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7827 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7828
7829 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7830
7831 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7832 buffer for output.
7833
35a89bdd
EZ
78342013-07-29 Eli Zaretskii <eliz@gnu.org>
7835
7836 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7837 initial frame is minibuffer-less. (Bug#14841)
7838
78822e94
MA
78392013-07-29 Michael Albinus <michael.albinus@gmx.de>
7840
7841 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7842 option.
7843
7844 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7845 (tramp-maybe-open-connection): Use it.
7846
9503c190
JB
78472013-07-28 Juanma Barranquero <lekktu@gmail.com>
7848
7849 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7850 minimal set of parameters passed when creating a frame, because
7851 the minibuffer status of a frame cannot be changed later.
7852
d5a845b4
SB
78532013-07-28 Stephen Berman <stephen.berman@gmx.net>
7854
7855 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7856 replace-regexp-in-string and inadvertent omissions in previous change.
7857 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7858 name of filtered items buffer.
d5a845b4 7859
ddeffb17
JB
78602013-07-28 Juanma Barranquero <lekktu@gmail.com>
7861
7862 * desktop.el: Optionally force offscreen frames back onscreen.
7863 (desktop-restoring-reuses-frames): New option.
7864 (desktop--compute-pos, desktop--move-onscreen): New functions.
7865 (desktop--make-frame): Use desktop--move-onscreen.
7866
f5950f7a
AM
78672013-07-27 Alan Mackenzie <acm@muc.de>
7868
7869 Fontify a Java generic method as a function.
7870 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7871 value to t.
7872
ae43b66a
SB
78732013-07-27 Stephen Berman <stephen.berman@gmx.net>
7874
7875 * calendar/todo-mode.el: Add command to rename todo files.
7876 (todo-rename-file): New command.
7877 (todo-key-bindings-t): Add key binding for it. Change the
7878 bindings of todo-filter-regexp-items(-multifile) to use `x'
7879 instead of `r', since the latter is better suited to the new
7880 renaming command.
7881
5ab78d3d
AM
78822013-07-27 Alan Mackenzie <acm@muc.de>
7883
7884 Make Java try-with-resources statement parse properly.
7885 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7886 (c-block-stmt-1-2-key): New language constants/variables.
7887 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7888 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7889 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7890 with c-block-stmt-1-2-key.
5ab78d3d 7891
d85c4d50
JB
78922013-07-27 Juanma Barranquero <lekktu@gmail.com>
7893
7894 * desktop.el (desktop--make-frame): Apply most frame parameters after
7895 creating the frame to force (partially or totally) offscreen frames to
7896 be restored as such.
7897
e4c467f9
XF
78982013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7899
7900 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7901 (Bug#14948)
e4c467f9 7902
7ced0d04
SM
79032013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7906 `base' arg of backtrace-frame.
7907
fec92060
EZ
79082013-07-26 Eli Zaretskii <eliz@gnu.org>
7909
7910 * simple.el (list-processes): Doc fix.
7911
d58d31fb
JB
79122013-07-26 Juanma Barranquero <lekktu@gmail.com>
7913
7914 * desktop.el (desktop--select-frame):
d85c4d50 7915 Try harder to reuse existing frames.
d58d31fb 7916
53ff3e77
SM
79172013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7920 (edebug-eval): Use backtrace-eval.
7921 (edebug--display, edebug--recursive-edit): Don't let-bind the
7922 edebug-outer-* vars that keep track of variables we locally let-bind.
7923 (edebug-outside-excursion): Don't restore outside values of locally
7924 let-bound vars.
7925 (edebug--display): Use user-error.
7926 (cl-lexical-debug, cl-debug-env): Remove.
7927
045f7a53
JB
79282013-07-26 Juanma Barranquero <lekktu@gmail.com>
7929
7930 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7931 are restored to be sure that they are visible before deleting any
7932 remaining ones.
7933
59070b32
MM
79342013-07-26 Matthias Meulien <orontee@gmail.com>
7935
742a3501
XF
7936 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7937 vc-print-root-log. (Bug#14948)
59070b32 7938
b1fb3596
RS
79392013-07-26 Richard Stallman <rms@gnu.org>
7940
7941 Add aliases for encrypting mail.
7942 * epa.el (epa-mail-aliases): New option.
7943 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7944 Bind inhibit-read-only so read-only text doesn't ruin everything.
7945 (epa-mail-default-recipients): New subroutine broken out.
7946 Handle epa-mail-aliases.
7947
56ea7291
SM
79482013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 Add support for lexical variables to the debugger's `e' command.
7951 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7952 vars, except for debugger-outer-match-data.
7953 (debugger-frame-number): Move check for "on a function call" from
7954 callers into it. Add `skip-base' argument.
7955 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7956 (debugger-env-macro): Only reset the state stored in non-variables,
7957 i.e. current-buffer and match-data.
7958 (debugger-eval-expression): Rewrite using backtrace-eval.
7959 * subr.el (internal--called-interactively-p--get-frame): Remove.
7960 (called-interactively-p):
7961 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7962 `base' arg of backtrace-frame instead.
7963
15ac32d5
GM
79642013-07-26 Glenn Morris <rgm@gnu.org>
7965
8358a09d
GM
7966 * align.el (align-regexp): Doc fix. (Bug#14857)
7967 (align-region): Explicit error if subexpression missing/does not match.
7968
15ac32d5
GM
7969 * simple.el (global-visual-line-mode):
7970 Do not duplicate the mode lighter. (Bug#14858)
7971
f47ad11b
MR
79722013-07-25 Martin Rudalics <rudalics@gmx.at>
7973
7974 * window.el (display-buffer): In display-buffer bind
7975 split-window-keep-point to t, bug#14829.
7976
02530987
JB
79772013-07-25 Juanma Barranquero <lekktu@gmail.com>
7978
7979 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7980 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7981 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7982 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7983 Change accordingly.
f63ebeb5
JB
7984 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7985 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7986
6ccb9cab 79872013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7988
6ccb9cab 7989 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7990
cb3a56d2
JB
79912013-07-25 Juanma Barranquero <lekktu@gmail.com>
7992
7993 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7994 parameter to modify-frame-parameters if the value has not changed;
7995 this is a workaround for bug#14949.
7996 (desktop--make-frame): On cl-delete-if call, check parameter name,
7997 not full parameter.
7998
7aa7fff0
XF
79992013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8000
8001 * vc/vc.el (vc-ignore): New function.
8002
8003 * vc/vc-svn.el (vc-svn-ignore): New function.
8004
8005 * vc/vc-hg.el (vc-hg-ignore): New function.
8006
8007 * vc/vc-git.el (vc-git-ignore): New function.
8008
8009 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8010 (vc-dir-ignore): New function.
8011
8012 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8013 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8014
8015 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8016
8017 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8018
889acc5c
JB
80192013-07-24 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8022 (desktop-restore-frames): Warn when deleting an existing frame failed.
8023
86c40970
GM
80242013-07-24 Glenn Morris <rgm@gnu.org>
8025
8026 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8027
d5d3c58a
MA
80282013-07-24 Michael Albinus <michael.albinus@gmx.de>
8029
8030 * filenotify.el (file-notify-supported-p):
8031 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8032 Remove functions.
8033
8034 * autorevert.el (auto-revert-use-notify):
8035 (auto-revert-notify-add-watch):
8036 * net/tramp.el (tramp-file-name-for-operation):
8037 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8038 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8039 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8040 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8041 Remove `file-notify-supported-p' entry.
8042
d100084b
GM
80432013-07-24 Glenn Morris <rgm@gnu.org>
8044
8045 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8046 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8047
ac93e56b
SM
80482013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8049
249eea30
SM
8050 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8051 checked with memq (bug#14935).
8052
ac93e56b
SM
8053 * files.el (revert-buffer-function): Use a non-nil default.
8054 (revert-buffer-preserve-modes): Declare var to
8055 provide access to the `preserve-modes' argument.
8056 (revert-buffer): Let-bind it.
8057 (revert-buffer--default): New function, extracted from revert-buffer.
8058
2cdeb903
SM
80592013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8060
8061 * lpr.el: Signal print errors more prominently.
8062 (print-region-function): Don't default to nil.
8063 (lpr-print-region): New function, extracted from print-region-1.
8064 Check lpr's return value and signal an error in case of problem.
8065 (print-region-1): Use it.
8066 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8067 versions instead.
8068 (ps-printer-name): Default to nil.
8069 (ps-printer-name-option): Default to lpr-printer-switch.
8070 (ps-print-region-function): Don't default to nil.
8071 (ps-postscript-code-directory): Simplify default.
8072 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8073 (ps-string-list, ps-eval-switch, ps-flatten-list)
8074 (ps-flatten-list-1): Remove.
8075 (ps-multibyte-buffer): Avoid setq.
8076 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8077 (print-region-function, ps-print-region-function): Don't set them here.
8078
73600831
XF
80792013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8080
0e55c076
XF
8081 * ido.el (ido-fractionp):
8082 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8083 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8084 (ido-max-directory-size, ido-max-dir-file-cache)
8085 (ido-decorations): Doc fix.
8086
73600831
XF
8087 * ansi-color.el: Fix old URL.
8088
3d012865
MM
80892013-07-23 Michael R. Mauger <michael@mauger.com>
8090
e903c210 8091 * progmodes/sql.el: Version 3.3
3d012865
MM
8092 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8093 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8094 (sql-interactive-remove-continuation-prompt): Rewrite, use
8095 functions above. Fix continuation prompt and complete output line
8096 handling.
8097 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8098 redirected output buffer.
8099 (sql-mode): Restore deleted code (Bug#13591).
8100
da77a2e2
JB
81012013-07-23 Juanma Barranquero <lekktu@gmail.com>
8102
8103 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8104
80ff0c71
MA
81052013-07-23 Michael Albinus <michael.albinus@gmx.de>
8106
8107 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8108
8109 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8110 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8111 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8112
b61d71e4
JB
81132013-07-23 Juanma Barranquero <lekktu@gmail.com>
8114
8115 * desktop.el (desktop-clear): Simplify; remove useless checks
8116 against invalid buffer names.
8117 (desktop-list*): Use cl-list*.
8118 (desktop-buffer-info, desktop-create-buffer): Simplify.
8119
c3512092
LL
81202013-07-23 Leo Liu <sdl.web@gmail.com>
8121
8122 * bookmark.el (bookmark-make-record): Restore NAME as a default
8123 value. (Bug#14933)
8124
0ac26976
SM
81252013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8126
7d22ce18
SM
8127 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8128 extracted from autoload--insert-text.
8129 (autoload--insert-text): Remove.
8130 (autoload--print-cookie-text): New function, extracted from
8131 autoload--insert-cookie-text.
8132 (autoload--insert-cookie-text): Remove.
8133 (autoload-generate-file-autoloads): Adjust calls accordingly.
8134
9b2607e8
SM
8135 * winner.el (winner-hook-installed-p): Remove.
8136 (winner-mode): Simplify accordingly.
8137
c43a8618
SM
8138 * subr.el (add-to-list): Fix compiler-macro when `append' is
8139 not constant. Don't use `cl-member' for the base case.
8140
0ac26976
SM
8141 * progmodes/subword.el: Fix boundary case (bug#13758).
8142 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8143 own group.
8144 (subword-backward-regexp): Make it a constant.
8145 (subword-forward-internal): Don't treat a trailing capital as the
8146 beginning of a word.
8147
6874724a
AR
81482013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8149
8150 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8151 global value of tabulated-list-revert-hook (bug#14930).
8152
70f1b5e8
JB
81532013-07-22 Juanma Barranquero <lekktu@gmail.com>
8154
a1c80d9d
JB
8155 * desktop.el: Require 'cl-lib.
8156 (desktop-before-saving-frames-functions): New hook.
8157 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8158 for frames being saved. Rename from desktop--save-minibuffer-frames.
8159 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8160 Do not save frames with non-nil `desktop-dont-save' parameter.
8161 Filter out deleted frames.
a1c80d9d
JB
8162 (desktop--find-frame): Use cl-find-if.
8163 (desktop--select-frame): Use cl-(first|second|third) to access values
8164 of desktop-mini.
8165 (desktop--make-frame): Use cl-delete-if.
8166 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8167 (desktop-restore-frames): Use cl-(first|second|third) to access values
8168 of desktop-mini. Look for visible frame at the end, not while
8169 restoring frames.
8170
70f1b5e8
JB
8171 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8172 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8173 Use string-match-p, looking-at-p (bug#14927).
8174
728dc3cc
JB
81752013-07-21 Juanma Barranquero <lekktu@gmail.com>
8176
56bc453c
JB
8177 * desktop.el (desktop-saved-frame-states):
8178 Rename from desktop--saved-states; all users changed.
8179 (desktop-save-frames): Rename from desktop--save-frames.
8180 Do not save state to desktop file.
8181 (desktop-save): Save desktop-saved-frame-states to desktop file
8182 and reset to nil.
8183 (desktop-restoring-frames-p): New function.
8184 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8185 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8186 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8187
728dc3cc
JB
8188 * desktop.el: Correctly restore iconified frames.
8189 (desktop--filter-iconified-position): New function.
8190 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8191
862f1c9c
GM
81922013-07-20 Glenn Morris <rgm@gnu.org>
8193
c4074c9f
GM
8194 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8195 Let `message' do the formatting.
8196 (def-gdb-preempt-display-buffer): Add explicit format.
8197
d828e5f9
GM
8198 * image-dired.el (image-dired-track-original-file):
8199 Use with-current-buffer.
8200 (image-dired-track-thumbnail): Use with-current-buffer.
8201 Avoid changing point of wrong window.
8202
862f1c9c
GM
8203 * image-dired.el (image-dired-track-original-file):
8204 Avoid changing point of wrong window. (Bug#14909)
8205
f0398ec1 82062013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8207
8208 * progmodes/gdb-mi.el (gdb-done-or-error):
8209 Guard against "%" in gdb output. (Bug#14127)
8210
1451928f
AS
82112013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8212
763a086d
JB
8213 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8214 (Bug#14826)
f7a03897 8215
1451928f
AS
8216 * international/mule.el (coding-system-iso-2022-flags): Fix last
8217 change.
8218
99107004
KH
82192013-07-20 Kenichi Handa <handa@gnu.org>
8220
763a086d
JB
8221 * international/mule.el (coding-system-iso-2022-flags):
8222 Add `8-bit-level-4'. (Bug#8522)
99107004 8223
48494e06
LMI
82242013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8225
8ba8eec5
LMI
8226 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8227 (bug#14815).
8228
dfbc66e3
LMI
8229 * net/eww.el (eww-process-text-input): Allow inputting when the
8230 point is at the start of the line, as the properties aren't
8231 front-sticky.
8232
48494e06
LMI
8233 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8234 degenerate widths.
8235
77c92cb9
RS
82362013-07-19 Richard Stallman <rms@gnu.org>
8237
aec7da77
RS
8238 * epa.el (epa-popup-info-window): Doc fix.
8239
77c92cb9
RS
8240 * subr.el (split-string): New arg TRIM.
8241
945c5bb1
JB
82422013-07-18 Juanma Barranquero <lekktu@gmail.com>
8243
8244 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8245 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8246
e06ec67f
MA
82472013-07-18 Michael Albinus <michael.albinus@gmx.de>
8248
c7064f05 8249 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8250 `file-notify-support'. Do not autoload. Adapt all uses.
8251 (file-notify-supported-p): New defun.
8252
c7064f05
JB
8253 * autorevert.el (auto-revert-use-notify):
8254 Use `file-notify-supported-p' instead of `file-notify-support'.
8255 Adapt docstring.
e06ec67f
MA
8256 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8257
8258 * net/tramp.el (tramp-file-name-for-operation):
8259 Add `file-notify-supported-p'.
8260
8261 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8262 New defun.
8263 (tramp-sh-file-name-handler-alist): Add it as handler for
8264 `file-notify-supported-p '.
8265
8266 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8267 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8268 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8269 Add `ignore' as handler for `file-notify-*' functions.
8270
5dc8a629
EZ
82712013-07-17 Eli Zaretskii <eliz@gnu.org>
8272
8273 * simple.el (line-move-partial, line-move): Don't start vscroll or
8274 scroll-up if the current line is not taller than the window.
8275 (Bug#14881)
8276
77aea2fb
DG
82772013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8278
8279 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8280 highlight question marks in the method names as strings.
ac72c08d
DG
8281 (ruby-block-beg-keywords): Inline.
8282 (ruby-font-lock-keyword-beg-re): Extract from
8283 `ruby-font-lock-keywords'.
77aea2fb 8284
18c26d81
JD
82852013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8286
8287 * frame.el (blink-cursor-blinks): New defcustom.
8288 (blink-cursor-blinks-done): New defvar.
8289 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8290 (blink-cursor-timer-function): Check if number of blinks has been
8291 done on X and NS.
8292 (blink-cursor-suspend, blink-cursor-check): New defuns.
8293
da48522e
GM
82942013-07-15 Glenn Morris <rgm@gnu.org>
8295
8296 * edmacro.el (edmacro-format-keys): Fix previous change.
8297
0463c1ef
PE
82982013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8299
8300 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8301 The hack didn't work outside English locales anyway.
8302
b43f6451
JB
83032013-07-15 Juanma Barranquero <lekktu@gmail.com>
8304
8305 * simple.el (define-alternatives): Rename from alternatives-define,
8306 per RMS' suggestion.
8307
b958c0ad
JB
83082013-07-14 Juanma Barranquero <lekktu@gmail.com>
8309
8310 * desktop.el (desktop-restore-frames): Change default to t.
8311 (desktop-restore-in-current-display): Now offer more options.
8312 (desktop-restoring-reuses-frames): New customization option.
8313 (desktop--saved-states): Doc fix.
8314 (desktop-filter-parameters-alist): New variable, renamed and expanded
8315 from desktop--excluded-frame-parameters.
8316 (desktop--target-display): New variable.
8317 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8318 (desktop--filter-tty*, desktop--filter-*-color)
8319 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8320 (desktop--filter-save-desktop-parm)
8321 (desktop-restore-in-original-display-p): New functions.
8322 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8323 (desktop--save-minibuffer-frames): New function, inspired by a similar
8324 function from Martin Rudalics.
8325 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8326 (desktop--restore-in-this-display-p): Remove.
8327 (desktop--find-frame): Rename from desktop--find-frame-in-display
8328 and add predicate argument.
8329 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8330 (desktop--reuse-list): New variable.
8331 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8332 New functions.
8333 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8334
f6dd8b36
MA
83352013-07-14 Michael Albinus <michael.albinus@gmx.de>
8336
8337 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8338
2ce3c565
DG
83392013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8340
763a086d
JB
8341 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8342 Highlight conversion methods on Kernel.
2ce3c565 8343
2cdb7698
AM
83442013-07-13 Alan Mackenzie <acm@muc.de>
8345
8346 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8347 and comment it out. This out-commenting enables certain C++
8348 declarations to be parsed correctly.
8349
1a67b811
EZ
83502013-07-13 Eli Zaretskii <eliz@gnu.org>
8351
1b796d6b
EZ
8352 * international/mule.el (define-coding-system): Doc fix.
8353
1a67b811
EZ
8354 * simple.el (default-font-height): Don't call font-info if the
8355 frame's default font didn't change since the frame was created.
8356 (Bug#14838)
8357
58fbe886
LL
83582013-07-13 Leo Liu <sdl.web@gmail.com>
8359
8360 * ido.el (ido-read-file-name): Guard against non-symbol value.
8361
1f0480d4
FEG
83622013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8363
8364 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8365 in nested defuns.
8366
97ead0e5
LL
83672013-07-13 Leo Liu <sdl.web@gmail.com>
8368
8369 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8370 ido-set-matches call. (Bug#6852)
8371
0880a952
DG
83722013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8373
8374 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8375 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8376 Ruby 2.0.
8377 (ruby-font-lock-keywords): Distinguish calls to functions with
8378 module-like names from module references. Highlight character
8379 literals.
8380
a7d8babb
SDJ
83812013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8382
8383 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8384 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8385
acfcc8c5
JB
83862013-07-12 Juanma Barranquero <lekktu@gmail.com>
8387
8388 * desktop.el (desktop--v2s): Remove unused local variable.
8389 (desktop-save-buffer): Make defvar-local; adjust docstring.
8390 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8391 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8392
051f2775
AS
83932013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8394
8395 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8396
f24e7572
GM
83972013-07-12 Eli Zaretskii <eliz@gnu.org>
8398
8399 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8400 (Bug#14842)
8401
539a920c
GM
84022013-07-12 Glenn Morris <rgm@gnu.org>
8403
8404 * doc-view.el: Require cl-lib at runtime too.
8405 (doc-view-remove-if): Remove.
8406 (doc-view-search-next-match, doc-view-search-previous-match):
8407 Use cl-remove-if.
8408
8409 * edmacro.el: Require cl-lib at runtime too.
8410 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8411 (edmacro-mismatch, edmacro-subseq): Remove.
8412
8413 * shadowfile.el: Require cl-lib.
8414 (shadow-remove-if): Remove.
8415 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8416 Use cl-remove-if.
8417
8418 * wid-edit.el: Require cl-lib.
8419 (widget-choose): Use cl-remove-if.
8420 (widget-remove-if): Remove.
8421
8422 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8423 (ebrowse-delete-if-not): Remove.
8424 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8425 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8426 Use cl-delete-if-not.
8427
1048af7c
JB
84282013-07-12 Juanma Barranquero <lekktu@gmail.com>
8429
8430 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8431 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8432
6c0674ee
LL
84332013-07-12 Leo Liu <sdl.web@gmail.com>
8434
8435 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8436
a19b3c2d
GM
84372013-07-11 Glenn Morris <rgm@gnu.org>
8438
4582a01c
GM
8439 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8440 (edebug-gensym-index, edebug-gensym):
8441 Remove reimplementation of cl-gensym.
8442 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8443
8444 * thumbs.el: Require cl-lib at run-time too.
8445 (thumbs-gensym-counter, thumbs-gensym):
8446 Remove reimplementation of cl-gensym.
8447 (thumbs-temp-file): Use cl-gensym.
8448
a19b3c2d
GM
8449 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8450 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8451 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8452 (ert--union, ert--gensym-counter, ert--gensym-counter)
8453 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8454 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8455 (ert-make-test-unbound, ert--expand-should-1)
8456 (ert--expand-should, ert--should-error-handle-error)
8457 (should-error, ert--explain-equal-rec)
8458 (ert--plist-difference-explanation, ert-select-tests)
8459 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8460 Use cl-lib functions rather than reimplementations.
8461
88f6a933
MA
84622013-07-11 Michael Albinus <michael.albinus@gmx.de>
8463
8464 * net/tramp.el (tramp-methods): Extend docstring.
8465 (tramp-connection-timeout): New defcustom.
8466 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8467 (with-tramp-progress-reporter): Simplify.
8468 (tramp-process-actions): Improve messages.
8469
8470 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8471 * net/tramp-sh.el (tramp-maybe-open-connection):
8472 Use `tramp-connection-timeout'.
afe1e4c8 8473 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
8474 (Bug#14808)
8475
a43d577e
LL
84762013-07-11 Leo Liu <sdl.web@gmail.com>
8477
8478 * ido.el (ido-read-file-name): Conform to the requirements of
8479 read-file-name. (Bug#11861)
8480 (ido-read-directory-name): Conform to the requirements of
8481 read-directory-name.
8482
d77974bf
JB
84832013-07-11 Juanma Barranquero <lekktu@gmail.com>
8484
8485 * subr.el (delay-warning): New function.
8486
35cb8a3e
EZ
84872013-07-10 Eli Zaretskii <eliz@gnu.org>
8488
8489 * simple.el (default-line-height): New function.
8490 (line-move-partial, line-move): Use it instead of computing the
8491 line height inline.
8492 (line-move-partial): Always compute ROWH. If the last line is
8493 partially-visible, but its text is completely visible, allow
8494 cursor to enter such a partially-visible line.
8495
525c5c77
MA
84962013-07-10 Michael Albinus <michael.albinus@gmx.de>
8497
8498 Improve error messages. (Bug#14808)
8499
8500 * net/tramp.el (tramp-current-connection): New defvar, moved from
8501 tramp-sh.el.
0ac26976 8502 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8503 needed anymore.
0ac26976
SM
8504 (tramp-error-with-buffer): Show message in minibuffer.
8505 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8506 (with-tramp-progress-reporter): Improve messages.
8507 (tramp-process-actions): Use progress reporter. Delete process in
8508 case of error. Improve messages.
8509
763a086d
JB
8510 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8511 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8512 (tramp-current-connection): Remove.
525c5c77
MA
8513 (tramp-maybe-open-connection): The car of
8514 `tramp-current-connection' are the first 3 slots of the vector.
8515
c7a4d368
TZ
85162013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8517
8518 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8519 inside continued strings.
8520
954b166e
PE
85212013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8522
8523 Timestamp fixes for undo (Bug#14824).
8524 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8525
56973319
LL
85262013-07-10 Leo Liu <sdl.web@gmail.com>
8527
8528 * files.el (require-final-newline): Allow safe local value.
8529 (Bug#14834)
8530
5550a72c
LL
85312013-07-09 Leo Liu <sdl.web@gmail.com>
8532
8533 * ido.el (ido-read-directory-name): Handle fallback.
8534 (ido-read-file-name): Update DIR to ido-current-directory.
8535 (Bug#1516)
c28b9050 8536 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8537
70c46b28
DG
85382013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8539
8540 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8541 "autoload". Remove "warn lower camel case" section, previously
8542 commented out. Highlight negation char. Do not highlight the
8543 target in singleton method definitions.
8544
0b64b838
SM
85452013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8546
7fd72e2c
SM
8547 * faces.el (tty-setup-hook): Declare the hook.
8548
0b64b838
SM
8549 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8550 and detect when a guard/pred depends on local vars (bug#14773).
8551 (pcase--u1): Adjust caller.
8552
ab49d60b
EZ
85532013-07-08 Eli Zaretskii <eliz@gnu.org>
8554
8555 * simple.el (line-move-partial, line-move): Account for
8556 line-spacing.
701d79aa
EZ
8557 (line-move-partial): Avoid setting vscroll when the last
8558 partially-visible line in window is of default height.
ab49d60b 8559
2d756ae0
LMI
85602013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8561
8562 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8563 been used a while.
8564
ed095bd7
JB
85652013-07-07 Juanma Barranquero <lekktu@gmail.com>
8566
8567 * subr.el (read-quoted-char): Remove unused local variable `char'.
8568
f1e6674b
MK
85692013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8570
584ee3fc
GM
8571 * ediff.el (ediff-version): Version update.
8572 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8573 (ediff-merge-with-ancestor-command, ediff-directories-command)
8574 (ediff-directories3-command, ediff-merge-directories-command)
8575 (ediff-merge-directories-with-ancestor-command): New functions.
8576 All are command-line interfaces to ediff: to facilitate calling
8577 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8578
8579 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8580 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8581
584ee3fc
GM
8582 * viper.el (viper-version): Version update.
8583 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8584
584ee3fc
GM
85852013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8586
8587 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8588 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8589 (viper-intercept-ESC-key): Simplify.
8590 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8591 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8592 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8593 (viper-setup-ESC-to-escape): New functions.
8594 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8595 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8596
9aff9b38
EZ
85972013-07-07 Eli Zaretskii <eliz@gnu.org>
8598
5165d44a
JB
8599 * simple.el (default-font-height, window-screen-lines):
8600 New functions.
9aff9b38
EZ
8601 (line-move, line-move-partial): Use them instead of
8602 frame-char-height and window-text-height. This makes scrolling
8603 text smoother when the buffer's default face uses a font that is
8604 different from the frame's default font.
8605
1afb1d07
JD
86062013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8607
8608 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8609 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8610
23de972a
EZ
86112013-07-06 Eli Zaretskii <eliz@gnu.org>
8612
8613 * simple.el (line-move-partial): Adjust the row returned by
8614 posn-at-point for the current window-vscroll. (Bug#14567)
8615
54a42486
MA
86162013-07-06 Michael Albinus <michael.albinus@gmx.de>
8617
8618 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8619 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8620 spaces.
8621
34ada5f4
MR
86222013-07-06 Martin Rudalics <rudalics@gmx.at>
8623
8624 * window.el (window-state-put-stale-windows): New variable.
8625 (window--state-put-2): Save list of windows without matching buffer.
8626 (window-state-put): Remove "bufferless" windows if possible.
8627
11e03d89
JB
86282013-07-06 Juanma Barranquero <lekktu@gmail.com>
8629
8630 * simple.el (alternatives-define): Remove leftover :group keyword.
8631 Tweak docstring.
8632
3504a4be
LL
86332013-07-06 Leo Liu <sdl.web@gmail.com>
8634
8635 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8636 (ido-enable-virtual-buffers): New variable.
8637 (ido-buffer-internal, ido-toggle-virtual-buffers)
8638 (ido-make-buffer-list): Use it.
8639 (ido-exhibit): Support turning on and off virtual buffers
8640 automatically.
8641
61e56e2c
JB
86422013-07-06 Juanma Barranquero <lekktu@gmail.com>
8643
8644 * simple.el (alternatives-define): New macro.
8645
321e1a9c
SM
86462013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * subr.el (read-quoted-char): Use read-key.
8649 (sit-for): Let read-event decode tty input (bug#14782).
8650
d610f6dd
SB
86512013-07-05 Stephen Berman <stephen.berman@gmx.net>
8652
8653 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8654 mode command and externally. Fix various related bugs.
8655 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8656 (todo-delete-file): New command.
8657 (todo-check-file): New function.
8658 (todo-show): Handle external deletion of the file we're trying to
8659 show (bug#14688). Replace called-interactively-p by an optional
8660 prefix argument to avoid problematic interaction with catch form
8661 when byte compiled (bug#14702).
8662 (todo-quit): Handle external deletion of the archive's todo file.
8663 Make sure the buffer that was visiting the archive file is still
8664 live before trying to bury it.
8665 (todo-category-completions): Handle external deletion of any
8666 category completion files.
8667 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8668 of todo files, in case of external deletion.
8669 (todo-add-file): Replace unnecessary setq by let-binding.
8670 (todo-find-archive): Check whether there are any archives.
8671 Replace unnecessary setq by let-binding.
8672 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8673 archive buffer whether or not the archive already exists.
8674 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8675 check if the archive is new; if it is, update list of archives.
8676 (todo-default-todo-file): Allow nil to be a valid value for when
8677 there are no todo files.
8678 (todo-reevaluate-default-file-defcustom): Use corrected definition
8679 of todo-default-todo-file.
8680 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8681 (todo-delete-category, todo-show-categories-table)
8682 (todo-category-number): Clarify comment.
8683 (todo-filter-items): Clarify documentation string.
8684 (todo-show-current-file, todo-display-as-todo-file)
8685 (todo-reset-and-enable-done-separator): Tweak documentation string.
8686 (todo-done-separator): Make separator length window-width, since
8687 bug#2749 is now fixed.
8688
ddbdfd6f
MA
86892013-07-05 Michael Albinus <michael.albinus@gmx.de>
8690
321e1a9c
SM
8691 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8692 Support both "gvfs-monitor-dir" and "inotifywait".
8693 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8694 `tramp-sh-file-notify-process-filter'.
8695 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8696 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8697
96eb829a
LL
86982013-07-05 Leo Liu <sdl.web@gmail.com>
8699
8700 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8701
cf13177e
YM
87022013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8703
8704 * frame.el (display-pixel-height, display-pixel-width)
8705 (display-mm-height, display-mm-width): Mention behavior on
8706 multi-monitor setups in docstrings.
8707 (w32-display-monitor-attributes-list): Declare function.
8708 (display-monitor-attributes-list): Use it.
8709
864c58ca
MA
87102013-07-04 Michael Albinus <michael.albinus@gmx.de>
8711
8712 * filenotify.el: New package.
8713
8714 * autorevert.el (top): Require filenotify.el.
8715 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8716 instead.
8717 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8718 (auto-revert-notify-handler): Use `file-notify-*' functions.
8719
8720 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8721
321e1a9c
SM
8722 * net/tramp.el (tramp-file-name-for-operation):
8723 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8724
8725 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8726 for `file-notify-add-watch' and `file-notify-rm-watch'.
8727 (tramp-process-sentinel): Improve trace.
8728 (tramp-sh-handle-file-notify-add-watch)
8729 (tramp-sh-file-notify-process-filter)
8730 (tramp-sh-handle-file-notify-rm-watch)
8731 (tramp-get-remote-inotifywait): New defuns.
8732
96673afe
JL
87332013-07-03 Juri Linkov <juri@jurta.org>
8734
8735 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8736 call of `occur-read-primary-args' to interactive spec.
8737
8738 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8739 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8740
924494f4
MM
87412013-07-03 Matthias Meulien <orontee@gmail.com>
8742
8743 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8744 `Buffer-menu-multi-occur'. Add it to the menu.
8745 (Buffer-menu-mode): Document it in docstring.
8746 (Buffer-menu-multi-occur): New command. (Bug#14673)
8747
56f75efc
DG
87482013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8749
8750 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8751 keywords and built-ins.
8752
9b057d61
GM
87532013-07-03 Glenn Morris <rgm@gnu.org>
8754
208dee4d
GM
8755 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8756
9b057d61
GM
8757 Make info-xref checks case-sensitive by default
8758 * info.el (Info-find-node, Info-find-in-tag-table)
8759 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8760 Add option for exact case matching of nodes.
8761 * info-xref.el (info-xref): New custom group.
8762 (info-xref-case-fold): New option.
8763 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8764
e01aa29c
LL
87652013-07-03 Leo Liu <sdl.web@gmail.com>
8766
8767 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8768
3086ca2e
DG
87692013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8770
8771 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8772 middle of block statement initially, lower the depth. Remove
8773 FIXME comment, not longer valid. Remove middle of block statement
8774 detection, no need to do that anymore since we've been using
8775 `ruby-parse-region' here.
8776
a3b49114
JD
87772013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8778
8779 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8780
08e5c823 87812013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8782
8783 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8784
2addf922
JB
87852013-07-01 Juanma Barranquero <lekktu@gmail.com>
8786
8787 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8788 (desktop-restore-in-current-display): New customization option.
8789 (desktop--excluded-frame-parameters): Add `font'.
8790 (desktop--save-frames): Rename from desktop--save-windows.
8791 (desktop--restore-in-this-display-p): New function.
8792 (desktop--make-full-frame): Remove unwanted width/height from
8793 full(width|height) frames.
8794 (desktop--restore-frames): Rename from desktop--restore-windows.
8795 Obey desktop-restore-current-display. Do not delete old frames or
8796 select a new frame unless we were able to restore at least one frame.
8797
ef099a94
MN
87982013-06-30 Michal Nazarewicz <mina86@mina86.com>
8799
8800 * files.el (find-file-noselect): Simplify conditional expression.
8801
a12bf61e 8802 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8803 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8804
8805 Add `remember-notes' function to store random notes across Emacs
8806 restarts.
3fcfc4ee
JB
8807 * textmodes/remember.el (remember-data-file): Add :set callback to
8808 affect notes buffer (if any).
ef099a94
MN
8809 (remember-notes): New command.
8810 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8811 New defcustoms for the `remember-notes' function.
8812 (remember-notes-save-and-bury-buffer): New command.
8813 (remember-notes-mode-map): New variable.
8814 (remember-mode): New minor mode.
8815 (remember-notes--kill-buffer-query): New function.
8816 * startup.el (initial-buffer-choice): Add notes to custom type.
8817
0865d506
EZ
88182013-06-30 Eli Zaretskii <eliz@gnu.org>
8819
0ba54312
EZ
8820 * bindings.el (right-char, left-char): Don't call sit-for, this is
8821 no longer needed. Use arithmetic comparison only for numerical
8822 arguments.
8823
ef099a94
MN
8824 * international/mule-cmds.el (select-safe-coding-system):
8825 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8826
2fae38e5
LMI
88272013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8828
8829 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8830 progression on degenerate tables.
ef099a94 8831 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8832
a47cbd64
JB
88332013-06-30 Juanma Barranquero <lekktu@gmail.com>
8834
8835 Some fixes and improvements for desktop frame restoration.
8836 It is still experimental and disabled by default.
8837 * desktop.el (desktop--save-windows): Put the selected frame at
8838 the head of the list.
8839 (desktop--make-full-frame): New function.
8840 (desktop--restore-windows): Try to re-select the frame that was
8841 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8842 just show an error message and continue. Set up maximized frames
8843 so they have default non-maximized dimensions.
a47cbd64 8844
6dbafa30
DG
88452013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8846
ef099a94
MN
8847 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8848 Don't start heredoc inside a string or comment.
6dbafa30 8849
4c672a0f
EZ
88502013-06-29 Eli Zaretskii <eliz@gnu.org>
8851
8852 * bindings.el (visual-order-cursor-movement): New defcustom.
8853 (right-char, left-char): Provide visual-order cursor motion by
8854 calling move-point-visually. Update the doc strings.
8855
50960f36
KH
88562013-06-28 Kenichi Handa <handa@gnu.org>
8857
8858 * international/mule.el (define-coding-system): New coding system
8859 properties :inhibit-null-byte-detection,
8860 :inhibit-iso-escape-detection, and :prefer-utf-8.
8861 (set-buffer-file-coding-system): If :charset-list property of
8862 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8863 appropriate for setting.
8864
c1ea3abf
JB
8865 * international/mule-cmds.el (select-safe-coding-system):
8866 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8867 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8868
8869 * international/mule-conf.el (prefer-utf-8): New coding system.
8870 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8871 files.
8872
75dbaf9d
IK
88732013-06-28 Ivan Kanis <ivan@kanis.fr>
8874
eadb6068
IK
8875 * net/shr.el (shr-render-region): New function.
8876
75dbaf9d
IK
8877 * net/eww.el: Autoload `eww-browse-url'.
8878
9ea5cf9f
DG
88792013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8880
c1ea3abf
JB
8881 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8882 Adapt to `package-desc-version' being a list.
8883 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8884 archive element.
8885
39c0e36f
JB
88862013-06-27 Juanma Barranquero <lekktu@gmail.com>
8887
8888 New experimental feature to save&restore window and frame setup.
8889 * desktop.el (desktop-save-windows): New defcustom.
8890 (desktop--saved-states): New var.
8891 (desktop--excluded-frame-parameters): New defconst.
8892 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8893 (desktop--restore-windows, desktop--save-windows): New functions.
8894 (desktop-save): Call `desktop--save-windows'.
8895 (desktop-read): Call `desktop--restore-windows'.
8896
7f13406b
LMI
88972013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8898
ef099a94 8899 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8900
1e072639
SB
89012013-06-27 Stephen Berman <stephen.berman@gmx.net>
8902
8903 * info.el (Info-try-follow-nearest-node): Move search for footnote
8904 above search for node name to prevent missing a footnote (bug#14717).
8905
f3e2cbde
SB
89062013-06-27 Stephen Berman <stephen.berman@gmx.net>
8907
8908 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8909
99906aa0
LL
89102013-06-27 Leo Liu <sdl.web@gmail.com>
8911
8912 * net/eww.el (eww-read-bookmarks): Check file size.
8913
539f75f4
SM
89142013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8915
8916 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8917 advice--pending if newdef is nil or an autoload (bug#13820).
8918 (advice-mapc): New function.
8919
843571cb
LMI
89202013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8921
8922 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8923 probably.
23a75d7f 8924 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8925 (eww-add-bookmark): New command.
8926 (eww-bookmark-mode): New mode and commands.
a285ce99 8927 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8928 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8929
f2136e1e
GM
89302013-06-26 Glenn Morris <rgm@gnu.org>
8931
eab35f39
GM
8932 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8933 (hfy-size): Handle ttys. (Bug#14668)
8934
f2136e1e
GM
8935 * info-xref.el: Update for Texinfo 5 change in *note format.
8936 (info-xref-node-re, info-xref-note-re): New constants.
8937 (info-xref-check-buffer): Use info-xref-note-re.
8938
a49ff80c
SM
89392013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8940
a343d218
SM
8941 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8942
a49ff80c
SM
8943 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8944 nil terminate the loop (bug#14718).
8945
8308f184
LMI
89462013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8947
8948 * net/eww.el: Rework history traversal. When going forward/back,
8949 put these actions into the history, too, so that they can be
8950 replayed.
26bf2b82 8951 (eww-render): Move the history reset to the correct buffer.
8308f184 8952
ec64c273
JL
89532013-06-25 Juri Linkov <juri@jurta.org>
8954
8955 * files-x.el (modify-dir-local-variable): Change the header comment
8956 in the file with directory local variables. (Bug#14692)
8957
e080a9d7
JL
8958 * files-x.el (read-file-local-variable-value): Add `default'.
8959 (Bug#14710)
8960
bfbc93a1
IK
89612013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8962
8963 * net/eww.el (eww-make-unique-file-name): Create a unique file
8964 name before saving to entering `y' accidentally asynchronously.
8965
89662013-06-25 Ivan Kanis <ivan@kanis.fr>
8967
8968 * net/eww.el (eww-download): New command and keystroke.
8969
16f74f10
LMI
89702013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8971
a49ff80c 8972 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8973
8974 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8975 be more consistent with Info and dired.
8976
8977 * net/eww.el (eww-mode-map): Ditto.
8978
12059709
SM
89792013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8980
8981 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8982 packages from archives.
8983 (package-archive-contents): Change format; include obsolete packages.
8984 (package-desc): Use `dir' to mark builtin packages.
8985 (package--from-builtin): Set the `dir' field to `builtin'.
8986 (generated-autoload-file, version-control): Declare.
8987 (package-compute-transaction): Change first arg and return value to be
8988 lists of package-descs. Adjust to new package-archive-contents format.
8989 (package--add-to-archive-contents): Adjust to new
8990 package-archive-contents format.
8991 (package-download-transaction): Arg is now a list of package-descs.
8992 (package-install): If `pkg' is a package name, pass it as
8993 a requirement, so it is subject to the usual (e.g. disabled) checks.
8994 (describe-package): Accept package-desc as well.
8995 (describe-package-1): Describe a specific package-desc. Add links to
8996 other package-descs for the same package name.
8997 (package-menu-describe-package): Pass the actual package-desc.
8998 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8999 works correctly.
9000 (package-desc-status): New function.
9001 (package-menu--refresh): New function, extracted
9002 from package-menu--generate.
9003 (package-menu--generate): Use it.
9004 (package-delete): Update package-alist.
9005 (package-menu-execute): Don't call package-initialize.
9006
9007 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9008 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9009 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9010 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9011 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9012 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9013
8bbdea0f
MR
90142013-06-25 Martin Rudalics <rudalics@gmx.at>
9015
9016 * window.el (window--state-get-1): Workaround for bug#14527.
9017 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9018
e82b0991
LMI
90192013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9020
9021 * net/eww.el (eww-back-url): Implement the history by stashing all
9022 the data into a list.
d3f0f918 9023 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9024
c763842b
SM
90252013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9028 for values and use read--expression for expressions (bug#14710).
9029 (read-file-local-variable): Avoid setq.
9030 (read-file-local-variable-mode): Use minor-mode-list.
9031
bceff189
RW
90322013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9033
864c58ca 9034 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9035 for DOI URLs.
9036
45f431c6
RW
90372013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9038
864c58ca 9039 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9040 Update imenu-support when dialect changes.
9041
f42d8237
LL
90422013-06-25 Leo Liu <sdl.web@gmail.com>
9043
9044 * ido.el (ido-read-internal): Allow forward slash on windows.
9045
be549ce6
LMI
90462013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9047
9048 * net/eww.el (eww): Start of strings is \\`, not ^.
9049
71d4c19d
IK
90502013-06-24 Ivan Kanis <ivan@kanis.fr>
9051
5196f88a
IK
9052 * net/shr.el (shr-browse-url): Fix interactive spec.
9053
71d4c19d
IK
9054 * net/eww.el (eww): Add a trailing slash to domain names.
9055
ae36ca55
JB
90562013-06-24 Juanma Barranquero <lekktu@gmail.com>
9057
9058 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9059
0ebd92a3
LMI
90602013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9061
bdaa086b
LMI
9062 * net/shr.el (shr-browse-url): Use an external browser if given a
9063 prefix.
9064
c763842b 9065 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9066
b89fc156
IK
90672013-06-24 Ivan Kanis <ivan@kanis.fr>
9068
9069 * net/eww.el (eww): Work more correctly for file: URLs.
9070 (eww-detect-charset): Allow quoted charsets.
9071 (eww-yank-page-url): New command and keystroke.
9072
18eb4bca
DU
90732013-06-24 Daiki Ueno <ueno@gnu.org>
9074
9075 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9076 file name of gpg executable.
9077 (epg-context-program): New function.
9078 (epg-context-home-directory): New function.
9079 (epg-context-set-program): New function.
9080 (epg-context-set-home-directory): New function.
9081 (epg--start): Use `epg-context-program' instead of
9082 'epg-gpg-program'.
9083 (epg--list-keys-1): Likewise.
9084
6c6268c8
LL
90852013-06-24 Leo Liu <sdl.web@gmail.com>
9086
9087 * ido.el (ido-read-internal): Fix bug#14620.
9088
5e400cb3
JB
90892013-06-23 Juanma Barranquero <lekktu@gmail.com>
9090
9091 * faces.el (face-documentation): Simplify.
9092 (read-face-attribute, tty-find-type, x-resolve-font-name):
9093 Use `string-match-p'.
9094 (list-faces-display): Use `string-match-p'. Simplify.
9095 (face-spec-recalc): Check face to avoid face alias loops.
9096 (read-color): Use `string-match-p' and non-capturing parenthesis.
9097
f3f9606c
LMI
90982013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9099
9100 * net/shr.el (shr-rescale-image): Use the new
9101 :max-width/:max-height functionality.
9102
a3ca09b9
IK
91032013-06-23 Ivan Kanis <ivan@kanis.fr>
9104
9105 * net/eww.el (eww-search-prefix): New variable.
9106 (eww): Use it.
f865b474
IK
9107 (eww-external-browser): New variable.
9108 (eww-mode-map): New keystroke.
9109 (eww-browse-with-external-browser): New command.
a3ca09b9 9110
e854cfc7
IK
9111 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9112
18bb9e21
JB
91132013-06-23 Juanma Barranquero <lekktu@gmail.com>
9114
9115 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9116 Don't skip aligning the next header field when padding is 0;
9117 otherwise, field width is not respected unless the title is as
9118 wide as the field.
9119
5b165ade
SM
91202013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9121
9122 * emacs-lisp/package.el (package-el-version): Remove.
9123 (package-process-define-package): Fix inf-loop.
9124 (package-install): Allow symbols as arguments again.
9125
12adebe9
DG
91262013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9127
9128 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9129 add some more keyword-like methods.
9130 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9131
388573ee
JB
91322013-06-22 Juanma Barranquero <lekktu@gmail.com>
9133
9134 * bs.el (bs-buffer-show-mark): Make defvar-local.
9135 (bs-mode): Use setq-local.
9136
9137 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9138 (emacs-lock--try-unlocking): Make defvar-local.
9139
4582a01c 91402013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9141
2663dd23
GM
9142 * play/cookie1.el (cookie-apropos): Minor simplification.
9143
3d94f3ad
GM
9144 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9145
f72e2fdb
DG
91462013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9147
9148 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9149 `regexp-opt', it breaks the build during dumping.
9150
73eab938
DG
91512013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9152
c763842b
SM
9153 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9154 Highlight keyword-like methods on Kernel and Module with
73eab938 9155 font-lock-builtin-face.
5cf8176d
DG
9156 (auto-mode-alist): Consolidate different entries into one regexp
9157 and add more *file-s.
73eab938 9158
d26255f6
SB
91592013-06-21 Stephen Berman <stephen.berman@gmx.net>
9160
9161 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9162
9163 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9164 (diary-entry): Use it in the action of this button type instead of
9165 diary-goto-entry.
9166
9167 * calendar/todo-mode.el: New version.
9168 (todo-add-category): Append new category to end of file and give
9169 it the highest number, instead of putting it at the beginning and
9170 giving it 0. Incorporate noninteractive functionality.
9171 (todo-forward-category): Adapt to 1-based category numbering.
9172 Allow skipping over archived categories.
9173 (todo-backward-category): Derive from todo-forward-category.
9174 (todo-backward-item, todo-forward-item): Make noninteractive and
9175 delegate interactive part to new commands. Make sensitive to done items.
9176 (todo-categories): Make value an alist of category names and
9177 vectors of item counts.
9178 (todo-category-beg): Make a defconst.
9179 (todo-category-number): Use 1 instead of 0 as initial value.
9180 (todo-category-select): Make sensitive to overlays, optional item
9181 highlighting and done items.
9182 (todo-delete-item): Make sensitive to overlays and marked and done items.
9183 (todo-edit-item): Make sensitive to overlays and editing of
9184 date/time header optional. Add format checks.
9185 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9186 no-op if point is not on an item. Advertise using todo-edit-quit.
9187 (todo-edit-mode): Make sensitive to new format, font-locking, and
9188 multiple todo files.
9189 (todo-insert-item, todo-insert-item-here): Derive from
9190 todo-basic-insert-item and extend functionality.
9191 (todo-item-end, todo-item-start): Make sensitive to done items.
9192 (todo-item-string): Don't return text properties. Restore point.
9193 (todo-jump-to-category): Make sensitive to multiple todo files and
9194 todo archives. Use extended category completion.
9195 (todo-lower-item, todo-raise-item): Rename to *-priority and
9196 derive from todo-set-item-priority.
9197 (todo-mode): Derive from special-mode. Make sensitive to new
9198 format, font-locking and multiple todo files. Make read-only.
9199 (todo-mode-map): Don't suppress digit keys, so they can supply
9200 prefix arguments. Add many new key bindings.
9201 (todo-prefix): Insert as an overlay instead of file text.
9202 Change semantics from diary date expression to purely visual mark.
9203 (todo-print): Rename to todo-print-buffer. Make buffer display
9204 features printable. Remove option to restrict number of items
9205 printed. Add option to print to file.
9206 (todo-print-function): Rename to todo-print-buffer-function.
9207 (todo-quit): Extend to handle exiting new todo modes.
9208 (todo-remove-item): Make sensitive to overlays.
9209 (todo-save): Extend to buffers of filtered items.
9210 (todo-show): Make sensitive to done items, multiple todo files and
9211 new todo modes. Offer to convert legacy todo file before creating
9212 first new todo file.
9213 (todo-show-priorities): Rename to todo-top-priorities.
9214 Change semantics of value 0.
9215 (todo-top-priorities): Rename to todo-filter-top-priorities,
9216 derive from todo-filter-items and extend functionality.
9217 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9218 and extend functionality to other types of filtered items.
9219 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9220 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9221 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9222 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9223 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9224 (todo-edit-mode-hook, todo-entry-prefix-function)
9225 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9226 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9227 (todo-initials, todo-insert-threshold, todo-item-string-start)
9228 (todo-line-string, todo-menu, todo-mode-hook)
9229 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9230 (todo-print-priorities, todo-remove-separator)
9231 (todo-save-top-priorities-too, todo-string-count-lines)
9232 (todo-string-multiline-p, todo-time-string-format)
9233 (todo-tmp-buffer-name): Remove.
9234 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9235 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9236 (todo-edit-category-diary-inclusion)
9237 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9238 (todo-edit-file, todo-edit-item-date-day)
9239 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9240 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9241 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9242 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9243 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9244 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9245 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9246 (todo-filter-top-priorities-multifile, todo-find-archive)
9247 (todo-find-filtered-items-file, todo-go-to-source-item)
9248 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9249 (todo-jump-to-archive-category, todo-lower-category)
9250 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9251 (todo-move-category, todo-move-item, todo-next-button)
9252 (todo-next-item, todo-padded-string, todo-powerset)
9253 (todo-previous-button, todo-previous-item)
9254 (todo-print-buffer-to-file, todo-raise-category)
9255 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9256 (todo-set-category-number, todo-set-item-priority)
9257 (todo-set-top-priorities-in-category)
9258 (todo-set-top-priorities-in-file, todo-show-categories-table)
9259 (todo-sort-categories-alphabetically-or-numerically)
9260 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9261 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9262 (todo-toggle-item-header, todo-toggle-item-highlighting)
9263 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9264 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9265 (todo-unarchive-items, todo-unmark-category): New commands.
9266 (todo-absolute-file-name, todo-add-to-buffer-list)
9267 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9268 (todo-basic-insert-item, todo-category-completions)
9269 (todo-category-number, todo-category-string-matcher-1)
9270 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9271 (todo-check-format, todo-clear-matches)
9272 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9273 (todo-current-category, todo-date-string-matcher)
9274 (todo-define-insertion-command, todo-diary-expired-matcher)
9275 (todo-diary-goto-entry, todo-diary-item-p)
9276 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9277 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9278 (todo-done-item-section-p, todo-done-separator)
9279 (todo-done-string-matcher, todo-files, todo-filter-items)
9280 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9281 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9282 (todo-insert-category-line, todo-insert-item-from-calendar)
9283 (todo-insert-sort-button, todo-insert-with-overlays)
9284 (todo-insertion-command-name, todo-insertion-key-bindings)
9285 (todo-label-to-key, todo-longest-category-name-length)
9286 (todo-make-categories-list, todo-mode-external-set)
9287 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9288 (todo-modes-set-3, todo-multiple-filter-files)
9289 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9290 (todo-read-category, todo-read-date, todo-read-dayname)
9291 (todo-read-file-name, todo-read-time)
9292 (todo-reevaluate-category-completions-files-defcustom)
9293 (todo-reevaluate-default-file-defcustom)
9294 (todo-reevaluate-filelist-defcustoms)
9295 (todo-reevaluate-filter-files-defcustom)
9296 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9297 (todo-reset-done-separator, todo-reset-done-separator-string)
9298 (todo-reset-done-string, todo-reset-global-current-todo-file)
9299 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9300 (todo-reset-prefix, todo-set-categories)
9301 (todo-set-date-from-calendar, todo-set-show-current-file)
9302 (todo-set-top-priorities, todo-short-file-name)
9303 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9304 (todo-total-item-counts, todo-update-buffer-list)
9305 (todo-update-categories-display, todo-update-categories-sexp)
9306 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9307 New functions.
9308 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9309 New major modes.
9310 (todo-categories, todo-display, todo-edit, todo-faces)
9311 (todo-filtered): New defgroups.
9312 (todo-archived-only, todo-button, todo-category-string, todo-date)
9313 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9314 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9315 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9316 (todo-add-item-if-new-category, todo-always-add-time-string)
9317 (todo-categories-align, todo-categories-archived-label)
9318 (todo-categories-category-label, todo-categories-diary-label)
9319 (todo-categories-done-label, todo-categories-number-separator)
9320 (todo-categories-todo-label, todo-categories-totals-label)
9321 (todo-category-completions-files, todo-completion-ignore-case)
9322 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9323 (todo-done-separator-string, todo-done-string)
9324 (todo-files-function, todo-filter-done-items, todo-filter-files)
9325 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9326 (todo-initial-category, todo-initial-file, todo-item-mark)
9327 (todo-legacy-date-time-regexp, todo-mode-line-function)
9328 (todo-nondiary-marker, todo-number-prefix)
9329 (todo-print-buffer-function, todo-show-current-file)
9330 (todo-show-done-only, todo-show-first, todo-show-with-done)
9331 (todo-skip-archived-categories, todo-top-priorities-overrides)
9332 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9333 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9334 New defcustoms.
9335 (todo-category-done, todo-date-pattern, todo-date-string-start)
9336 (todo-diary-items-buffer, todo-done-string-start)
9337 (todo-filtered-items-buffer, todo-item-start)
9338 (todo-month-abbrev-array, todo-month-name-array)
9339 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9340 (todo-top-priorities-buffer): New defconsts.
9341 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9342 (todo-categories-with-marks, todo-category-string-face)
9343 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9344 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9345 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9346 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9347 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9348 (todo-font-lock-keywords, todo-global-current-todo-file)
9349 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9350 (todo-insertion-commands-args)
9351 (todo-insertion-commands-args-genlist)
9352 (todo-insertion-commands-names, todo-insertion-map)
9353 (todo-key-bindings-t, todo-key-bindings-t+a)
9354 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9355 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9356 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9357 (todo-visited): New variables.
9358
cad5d1cb
GM
93592013-06-21 Glenn Morris <rgm@gnu.org>
9360
9361 * play/cookie1.el (cookie-apropos): Add optional display argument.
9362 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9363 (psychoanalyze-pinhead): Use cookie-doctor.
9364
9e277302
JB
93652013-06-21 Juanma Barranquero <lekktu@gmail.com>
9366
9367 * emacs-lisp/package.el (tar-get-file-descriptor)
9368 (tar--extract): Declare.
9369
c5b0993e
EW
93702013-06-21 Eduard Wiebe <usenet@pusto.de>
9371
9372 Extend flymake's warning predicate to be a function (bug#14217).
9373 * progmodes/flymake.el (flymake-warning-predicate): New.
9374 (flymake-parse-line): Use it.
9375 (flymake-warning-re): Make obsolete alias to
9376 `flymake-warning-predicate'.
9377
a7d2d465
SM
93782013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9379
9380 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9381 (package-obsolete-list): Remove.
9382 (package-activate): Remove min-version argument. Add `force' argument.
9383 Adjust to new package-alist format.
9384 (package-mark-obsolete): Remove.
9385 (package-unpack): Force reload of the package's autoloads.
9386 (package-installed-p): Check builtins if the installed package is not
9387 recent enough.
9388 (package-initialize): Don't reset package-obsolete-list.
9389 Don't specify which package version to activate.
9390 (package-process-define-package, describe-package-1)
9391 (package-menu--generate): Adjust to new package-alist format.
9392
cedf5c9d
JB
93932013-06-21 Juanma Barranquero <lekktu@gmail.com>
9394
9395 * allout-widgets.el (allout-widgets-mode-off)
9396 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9397 (allout-widgets-post-command-business)
9398 (allout-widgets-after-copy-or-kill-function)
9399 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9400 (allout-decorate-item-and-context)
9401 (allout-graphics-modification-handler): Fix typos in docstrings.
9402 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9403
9404 * cmuscheme.el (scheme-start-file): Doc fix.
9405 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9406 (scheme-input-filter): Use `string-match-p'.
9407
9408 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9409
9410 * dired-x.el: Use Dired consistently in docstrings.
9411
9412 * dired.el: Use Dired consistently in docstrings.
9413 (dired-readin, dired-mode): Use `setq-local'.
9414 (dired-switches-alist): Make defvar-local.
9415 (dired-buffers-for-dir): Use `zerop'.
9416 (dired-safe-switches-p, dired-switches-escape-p)
9417 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9418 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9419 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9420 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9421 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9422 (dired-toggle-marks, dired-mark-files-containing-regexp)
9423 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9424 (dired-flag-auto-save-files, dired-flag-backup-files):
9425 Use `looking-at-p'.
9426 (dired-mark-files-regexp, dired-build-subdir-alist):
9427 Use `string-match-p', `looking-at-p'.
9428
9429 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9430 (direct-print-region-helper): Use `string-match-p'.
9431
aed838b5
LL
94322013-06-21 Leo Liu <sdl.web@gmail.com>
9433
cedf5c9d
JB
9434 * comint.el (comint-redirect-results-list-from-process):
9435 Fix infinite loop.
aed838b5 9436
d80a808f
LMI
94372013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9438
9439 * net/eww.el (eww-update-header-line-format): Quote % characters.
9440
e7a526e3
GM
94412013-06-21 Glenn Morris <rgm@gnu.org>
9442
9443 * play/cookie1.el (cookie): New custom group.
9444 (cookie-file): New option.
9445 (cookie-check-file): New function.
9446 (cookie): Make it interactive. Make start and end messages optional.
9447 Interactively, display the result. Default to cookie-file.
9448 (cookie-insert): Default to cookie-file.
9449 (cookie-snarf): Make start and end messages optional.
9450 Default to cookie-file. Use with-temp-buffer.
9451 (cookie-read): Rename from read-cookie.
9452 Make start and end messages optional. Default to cookie-file.
9453 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9454 Do not autoload it.
e7a526e3
GM
9455 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9456 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9457
62efb35e
LL
94582013-06-21 Leo Liu <sdl.web@gmail.com>
9459
9460 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9461
21e3f963
GM
94622013-06-21 Glenn Morris <rgm@gnu.org>
9463
9464 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9465
fd846ab4
SM
94662013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9467 Daniel Hackney <dan@haxney.org>
9468
9469 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9470 Consolidate the single-file vs tarball code.
9471 (package-desc-suffix): New function.
9472 (package-desc-full-name): Don't bother inlining it.
9473 (package-load-descriptor): Return the new package-desc.
9474 (package-mark-obsolete): Remove unused arg `package'.
9475 (package-unpack): Make it work for single files as well.
9476 Make it update package-alist.
9477 (package--make-autoloads-and-stuff): Rename from
9478 package--make-autoloads-and-compile. Don't compile any more.
9479 (package--compile): New function.
9480 (package-generate-description-file): New function, extracted from
9481 package-unpack-single.
9482 (package-unpack-single): Remove.
9483 (package--with-work-buffer): Add indentation and debugging info.
9484 (package-download-single): Remove.
9485 (package-install-from-archive): Rename from package-download-tar, make
9486 it take a pkg-desc, and make it work for single files as well.
9487 (package-download-transaction): Simplify.
9488 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9489 external tar program.
9490 (package-install-from-buffer): Remove `pkg-desc' argument.
9491 Use package-tar-file-info for tar-mode buffers.
9492 (package-install-file): Simplify accordingly.
9493 (package-archive-base): Change to take a pkg-desc.
9494 * tar-mode.el (tar--check-descriptor): New function, extracted from
9495 tar-get-descriptor.
9496 (tar-get-descriptor): Use it.
9497 (tar-get-file-descriptor): New function.
9498 (tar--extract): New function, extracted from tar-extract.
9499 (tar--extract): Use it.
9500 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9501 case the summary uses non-ascii. Adjust to new calling convention of
9502 package-tar-file-info.
9503
b7deae5e
LL
95042013-06-21 Leo Liu <sdl.web@gmail.com>
9505
fd846ab4
SM
9506 * comint.el (comint-redirect-results-list-from-process):
9507 Fix random delay. (Bug#14681)
b7deae5e 9508
7a65a0b2
JB
95092013-06-21 Juanma Barranquero <lekktu@gmail.com>
9510
9511 * profiler.el (profiler-format-number): Use log, not log10.
9512
1493c2af
JB
95132013-06-20 Juanma Barranquero <lekktu@gmail.com>
9514
9515 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9516
aff6371e
SM
95172013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9520 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9521 yet available.
9522 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9523 (AUTOGENEL): ... here.
9524 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9525 (cl--defsubst-expand): Use it.
9526
89561f72
PE
95272013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9528
9529 * subr.el (log10): Move here from C code, and declare as obsolete.
9530 All uses of (log10 X) replaced with (log X 10).
9531
47199123
JB
95322013-06-20 Juanma Barranquero <lekktu@gmail.com>
9533
9534 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9535 Declare with `defvar-local'.
9536 (tabulated-list-use-header-line, tabulated-list-entries)
9537 (tabulated-list-padding, tabulated-list-printer)
9538 (tabulated-list-sort-key): Declare with `defvar-local'.
9539 (tabulated-list-init-header, tabulated-list-print-fake-header):
9540 Use `setq-local'.
9541
4a172eab
MA
95422013-06-20 Michael Albinus <michael.albinus@gmx.de>
9543
47199123
JB
9544 * arc-mode.el (archive-mode): Add `archive-write-file' to
9545 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9546
5fc0acc0
JB
95472013-06-20 Juanma Barranquero <lekktu@gmail.com>
9548
d5b27848
JB
9549 * cus-edit.el (custom-commands): Fix typos.
9550 (custom-display): Fix tooltip text.
9551 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9552 Fix typos in docstrings.
9553 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9554 (custom-unlispify-menu-entry, custom-magic-value-create)
9555 (custom-add-see-also, custom-group-value-create): Use ?\s.
9556 (custom-guess-type, customize-apropos, editable-field)
9557 (custom-face-value-create): Use `string-match-p'.
9558 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9559
9560 * custom.el (custom-load-symbol): Use `string-match-p'.
9561
a5c581d8
JB
9562 * ansi-color.el: Convert to lexical binding.
9563 (ansi-colors): Fix URL.
9564 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9565 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9566 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9567
970ad972
G
95682013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9569
9570 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9571
9572 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9573
95742013-06-19 Tom Tromey <tromey@redhat.com>
9575
9576 * net/eww.el (eww-top-url): Remove.
9577 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9578 (eww-render): Set new variables. Don't set eww-top-url.
9579 (eww-handle-link): Handle "prev", "home", and "contents".
9580 Downcase the rel text.
9581 (eww-top-url): Choose best top URL.
9582
95832013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9584
9585 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9586 relying in widget.el. Using widget.el leads to too many
9587 user interface inconsistencies.
9588 (eww-self-insert): Implement entering commands in text fields.
9589 (eww-process-text-input): New function to make text input field editing
9590 work.
9591 (eww-submit): Rewrite to use the new-style form methods.
9592 (eww-select-display): Display the correct selected item.
9593 (eww-change-select): Implement changing the select value.
9594 (eww-toggle-checkbox): Implement radio/checkboxes.
9595 (eww-update-field): Fix compilation error.
9596 (eww-tag-textarea): Implement <textarea>.
9597
9598 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9599 we don't shadow mode-specific bindings.
9600
9601 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9602 nothing to push.
9603
9604 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9605
4582a01c 96062013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9607
9608 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9609
15b263dc
MA
96102013-06-19 Michael Albinus <michael.albinus@gmx.de>
9611
9612 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9613 not needed.
9614
9615 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9616
8f5297f7
LMI
96172013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9618
9619 * net/browse-url.el (browse-url-browser-function):
9620 `eww-browse-url' has the right calling signature, `eww' does not.
9621
011c4552
GM
96222013-06-19 Glenn Morris <rgm@gnu.org>
9623
2285bd27
GM
9624 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9625 Only eval autoloaded macros.
9626 (byte-compile-autoload): Only give the macro warning for macros.
9627
1d653303
GM
9628 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9629 (ps-underlined-faces): Declare.
9630
bdd779ec
GM
9631 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9632 (speedbar-add-supported-extension): Declare.
9633
011c4552
GM
9634 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9635 Don't include a date stamp in the header of the generated file;
9636 it leads to needless differences between output files.
9637
e59dfb0e
MA
96382013-06-19 Michael Albinus <michael.albinus@gmx.de>
9639
c763842b
SM
9640 * net/secrets.el (secrets-struct-secret-content-type):
9641 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9642 Some servers do not offer introspection.
e59dfb0e 9643
102626e2
SM
96442013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9645
9646 * electric.el (electric-pair-mode): Improve interaction with
9647 electric-layout-mode.
9648 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9649 (electric-pair-syntax): Use text-mode-syntax-table in comments
9650 and strings.
9651 (electric-pair--insert): New function.
9652 (electric-pair-post-self-insert-function): Use it and
9653 electric--after-char-pos.
9654
ad528125
LL
96552013-06-19 Leo Liu <sdl.web@gmail.com>
9656
9657 * progmodes/octave.el (octave-help): Fix regexp.
9658
924d6997
G
96592013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9660
9661 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9662 (shr-table-horizontal-line): Allow nil as a value, and change the
9663 default.
9664 (shr-insert-table-ruler): Respect the nil value.
9665
96662013-06-18 Tom Tromey <tromey@barimba>
9667
9668 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9669 New defvars.
9670 (eww-open-file): New defun.
9671 (eww-render): Initialize new variables.
9672 (eww-display-html): Handle "link" and "a".
9673 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9674 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9675 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9676 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9677 New defuns.
924d6997 9678
d1bbba4f
DG
96792013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9680
9681 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9682 Distinguish ternary operator tokens from slash symbol and slash
9683 char literal.
9684
14dd22d2
JB
96852013-06-18 Juanma Barranquero <lekktu@gmail.com>
9686
9687 Convert symbol prettification into minor mode and global minor mode.
9688
9689 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9690 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9691 (prettify-symbols--keywords): Rename from
9692 `prog-prettify-symbols-alist' and make a local defvar.
9693 (prettify-symbols--compose-symbol): Rename from
9694 `prog--prettify-font-lock-compose-symbol'.
9695 (prettify-symbols--make-keywords): Rename from
9696 `prog-prettify-font-lock-symbols-keywords' and simplify.
9697 (prog-prettify-install): Remove.
9698 (prettify-symbols-mode): New minor mode, based on
9699 `prog-prettify-install'.
9700 (turn-on-prettify-symbols-mode): New function.
9701 (global-prettify-symbols-mode): New globalized minor mode.
9702
9703 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9704 * progmodes/cfengine.el (cfengine3-mode):
9705 * progmodes/perl-mode.el (perl-mode): Don't call
9706 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9707
292c880c
JL
97082013-06-18 Juri Linkov <juri@jurta.org>
9709
9710 * files-x.el (modify-file-local-variable-message): New function.
9711 (modify-file-local-variable)
9712 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9713 and call `modify-file-local-variable-message' when it's non-nil.
9714 (add-file-local-variable, delete-file-local-variable)
9715 (add-file-local-variable-prop-line)
9716 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9717 and use it. (Bug#9820)
9718
0950aa27
JL
97192013-06-18 Juri Linkov <juri@jurta.org>
9720
9721 * emulation/vi.el (vi-shell-op):
9722 * emulation/vip.el (vip-execute-com, ex-command):
9723 * emulation/viper-cmd.el (viper-exec-bang):
9724 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9725 the call of `shell-command-on-region'. (Bug#14637)
9726
9727 * simple.el (shell-command-on-region): Doc fix.
9728
8fbcca16
SM
97292013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9730
9731 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9732 (bug#14633).
9733
dd7426ea
GM
97342013-06-18 Glenn Morris <rgm@gnu.org>
9735
4ba54f7d
GM
9736 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9737
dd7426ea
GM
9738 * newcomment.el (comment-search-forward, comment-search-backward):
9739 Doc fix. (Bug#14376)
9740
58aa805b
JB
97412013-06-18 Juanma Barranquero <lekktu@gmail.com>
9742
9743 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9744 (buffer-face-mode-invoke): Doc fix.
9745
9a08a617
MM
97462013-06-18 Matthias Meulien <orontee@gmail.com>
9747
9748 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9749 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9750
f2f426ca
GM
97512013-06-18 Glenn Morris <rgm@gnu.org>
9752
9445f99b
GM
9753 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9754 Replace obsolete function generic-make-keywords with its expansion.
9755
e0df2d14
GM
9756 * progmodes/python.el (ffap-alist): Declare.
9757
f2f426ca
GM
9758 * textmodes/reftex.el (bibtex-mode-map): Declare.
9759
f7f9a720
SM
97602013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9761
9762 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9763 (package-unpack, package-unpack-single): Return the pkg-dir.
9764 (package-download-transaction): Use it to update package-alist.
9765
57ff04e0
LMI
97662013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9767
9768 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9769 possible choice.
9770
c048c022
JL
97712013-06-17 Juri Linkov <juri@jurta.org>
9772
9773 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9774
b5bcaee5
DG
97752013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9776
a020afb9
JB
9777 * emacs-lisp/package.el (package-load-descriptor):
9778 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9779 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9780
551e07e5
JB
97812013-06-17 Juanma Barranquero <lekktu@gmail.com>
9782
9783 * startup.el (command-line): Expand package name returned by
9784 `package--description-file' (bug#14639).
9785
d363bffb
DG
97862013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9787
9788 * emacs-lisp/package.el (package-load-descriptor): Do not call
9789 `emacs-lisp-mode', just use its syntax table.
9790
f612933b
JB
97912013-06-17 Juanma Barranquero <lekktu@gmail.com>
9792
9793 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9794 `font-lock-extra-managed-props' if any prettifying keyword is added.
9795 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9796 (prog-mode): Use `setq-local'.
9797
db3b7db5
SM
97982013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * international/characters.el (standard-case-table): Set syntax of ?»
9801 and ?« to punctuation.
9802
f3d674df
JB
98032013-06-16 Juanma Barranquero <lekktu@gmail.com>
9804
9805 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9806 Save relevant match data before calling `syntax-ppss' (bug#14595).
9807
31489a32
JL
98082013-06-15 Juri Linkov <juri@jurta.org>
9809
9810 * files-x.el (modify-file-local-variable-prop-line): Add local
9811 variables to the end of the existing comment on the first line.
9812 Use `file-auto-mode-skip' to skip interpreter magic line,
9813 and also skip XML declaration.
9814
66bd25ab
SM
98152013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9816
9817 * startup.el (package--builtin-versions): New var.
9818 (package-subdirectory-regexp): Remove.
9819 (package--description-file): Hard code its value instead.
9820
9821 * emacs-lisp/package.el: Don't activate packages older than builtin.
9822 (package-obsolete-list): Rename from package-obsolete-alist, and make
9823 it into a simple list of package-desc.
9824 (package-strip-version): Remove.
9825 (package-built-in-p): Use package--builtin-versions.
9826 (package-mark-obsolete): Simplify.
9827 (package-process-define-package): Mark it obsolete if older than the
9828 builtin version.
9829 (package-handle-response): Use line-end-position.
9830 (package-read-archive-contents, package--download-one-archive):
9831 Simplify.
9832 (package--add-to-archive-contents): Skip if older than the builtin or
9833 installed version.
9834 (package-menu-describe-package): Fix last change.
9835 (package-list-unversioned): New var.
9836 (package-menu--generate): Use it.
9837
9838 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9839 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9840 (autoload-builtin-package-versions): New variable.
9841 (autoload-generate-file-autoloads): Use them.
9842 Remove the list of autoloaded functions/macros from the
9843 (autoload...) comments.
9844
9845 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9846
9583ec36
EZ
98472013-06-15 Eli Zaretskii <eliz@gnu.org>
9848
9849 * simple.el (line-move-partial): Don't jump to the next screen
9850 line as soon as it becomes visible. Instead, continue enlarging
9851 the vscroll until the portion of a tall screen line that's left on
9852 display is about the height of the frame's default font.
9853 (Bug#14567)
9854
f0100d8a
GM
98552013-06-15 Glenn Morris <rgm@gnu.org>
9856
b86a85ca
GM
9857 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9858 compilation-error-regexp-alist void, or local while let-bound.
9859
f0100d8a
GM
9860 * progmodes/make-mode.el (makefile-mode-syntax-table):
9861 Treat "=" as punctuation. (Bug#14614)
9862
05e7ce90
JB
98632013-06-15 Juanma Barranquero <lekktu@gmail.com>
9864
9865 * help-fns.el (describe-variable):
9866 Add extra line for permanent-local variables.
9867
12e5e86e
SH
98682013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9869
9870 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9871 Add export, import, library. (Bug#9164)
9872 (library): Set indent function.
9873
230dcbaf
GM
98742013-06-14 Glenn Morris <rgm@gnu.org>
9875
9876 * term/xterm.el (xterm--query):
9877 Stop after first matching handler. (Bug#14615)
9878
e36b2d20 98792013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9880
9881 Add support for dired in saveplace.
9882 * dired.el (dired-initial-position-hook): New variable.
9883 (dired-initial-position): Call hook to place cursor position.
9884 * saveplace.el (save-place-to-alist): Add dired position.
9885 (save-place-dired-hook): New function.
9886
0b31660d
SM
98872013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9888
bf1e6ae8
SM
9889 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9890 through a symbol rather than letrec.
9891
1b8dff23
SM
9892 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9893 (package-desc): Add `dir' field.
9894 (package-desc-full-name): New function.
9895 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9896 (package-maybe-load-descriptor): Remove.
9897 (package-load-all-descriptors): Just call package-load-descriptor.
9898 (package--disabled-p): New function.
9899 (package-desc-vers, package-desc-doc): Remove aliases.
9900 (package--dir): Remove function.
9901 (package-activate): Check if a package is disabled.
9902 (package-process-define-package): New function, extracted from
9903 define-package.
9904 (define-package): Turn into a place holder.
9905 (package-unpack-single, package-tar-file-info):
9906 Use package--description-file.
9907 (package-compute-transaction): Use package--disabled-p.
9908 (package-download-transaction): Don't call
9909 package-maybe-load-descriptor since they're all loaded anyway.
9910 (package-install): Change argument to be a pkg-desc.
9911 (package-delete): Use a single pkg-desc argument.
9912 (describe-package-1): Use package-desc-dir instead of package--dir.
9913 Use package-desc property instead of package-symbol.
9914 (package-install-button-action): Adjust accordingly.
9915 (package--push): Rewrite.
9916 (package-menu--print-info): Adjust accordingly. Change the ID format
9917 to be a pkg-desc.
9918 (package-menu-describe-package, package-menu-get-status)
9919 (package-menu--find-upgrades, package-menu-mark-upgrades)
9920 (package-menu-execute, package-menu--name-predicate):
9921 Adjust accordingly.
9922 * startup.el (package--description-file): New function.
9923 (command-line): Use it.
9924 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9925 Use package-desc-version.
9926
0b31660d
SM
9927 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9928 (byte-compile-preprocess): Use it.
9929 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9930 can't quite recognize.
9931 (byte-compile-add-to-list): Remove.
9932 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9933 (cconv-closure-convert): Add assertion.
9934
9935 * emacs-lisp/map-ynp.el: Use lexical-binding.
9936 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9937 Factor out some repeated code.
9938
de0503df
SM
99392013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9940
9941 * subr.el (with-eval-after-load): New macro.
9942 (eval-after-load): Allow form to be a function.
9943 take advantage of lexical-binding.
9944 (do-after-load-evaluation): Use dolist and adjust to new format.
9945 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9946
bc5c8c5a
JL
99472013-06-13 Juri Linkov <juri@jurta.org>
9948
9949 * replace.el (perform-replace): Display "symbol " and other search
9950 modes from `isearch-message-prefix' in the *Help* buffer.
9951
9952 * isearch.el (isearch-query-replace): Add " symbol" and other
9953 possible search modes from `isearch-message-prefix' to the prompt.
9954 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9955 when reading a regexp to collect.
9956
a22289f7
JL
99572013-06-13 Juri Linkov <juri@jurta.org>
9958
9959 * isearch.el (word-search-regexp): Match whitespace if the search
9960 string begins or ends in whitespace. The LAX arg is applied to
9961 both ends of the search string. Use `regexp-quote' and explicit
9962 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9963 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9964 boundaries are replaced with symbol boundaries, and characters
9965 between symbols match non-word non-symbol syntax. (Bug#14602)
9966
cb89acab
JL
99672013-06-13 Juri Linkov <juri@jurta.org>
9968
9969 * isearch.el (isearch-del-char): Don't exceed the length of
9970 `isearch-string' by the prefix arg. (Bug#14563)
9971
6e8cfc81
JL
99722013-06-13 Juri Linkov <juri@jurta.org>
9973
9974 * isearch.el (isearch-yank-word, isearch-yank-line)
9975 (isearch-char-by-name, isearch-quote-char)
9976 (isearch-printing-char, isearch-process-search-char):
9977 Add optional count prefix arg. (Bug#14563)
9978
9979 * international/isearch-x.el
9980 (isearch-process-search-multibyte-characters):
9981 Add optional count prefix arg.
9982
c23d55f4
VS
99832013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9986 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9987 lexical-binding.
9988
99892013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9990
9991 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9992
ba947bc4
GM
99932013-06-13 Glenn Morris <rgm@gnu.org>
9994
8baeb37a
GM
9995 * startup.el (tty-handle-args):
9996 Don't just discard "--" and anything after. (Bug#14608)
9997
ba947bc4
GM
9998 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9999
9abefce4
MA
100002013-06-13 Michael Albinus <michael.albinus@gmx.de>
10001
10002 Implement changes in Secret Service API. Make it backward compatible.
10003 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10004 (secrets-create-item): Use it. Prefix properties with interface.
10005
5755011f
MH
100062013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10007
10008 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10009 (term-emulate-terminal): Respect term-suppress-hard-newline.
10010
1261d2da
S
100112013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10012
10013 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10014 Only remove a `thumb-file' overlay. (Bug#14548)
10015
868490bb
GJ
100162013-06-12 Grégoire Jadi <daimrod@gmail.com>
10017
10018 * mail/reporter.el (reporter-submit-bug-report):
10019 Handle missing package-name. (Bug#14600)
10020
79d7167f
TH
100212013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10022
10023 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10024 (reftex-citation-prompt, reftex-default-bibliography)
10025 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10026 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10027 (reftex-bib-sort-author, reftex-bib-sort-year)
10028 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10029 (reftex-extract-bib-entries-from-thebibliography)
10030 (reftex-get-bibkey-default, reftex-get-bib-names)
10031 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10032 (reftex-format-bib-entry, reftex-parse-bibitem)
10033 (reftex-format-bibitem, reftex-do-citation)
10034 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10035 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10036 (reftex-insert-bib-matches, reftex-format-citation)
10037 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10038 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10039 existing comments into docstrings.
10040
5f9dbd7a
XF
100412013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10042
10043 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10044
94df41ab
AS
100452013-06-12 Andreas Schwab <schwab@suse.de>
10046
10047 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10048 for auto-save files.
10049
a7f3fecc
GM
100502013-06-12 Glenn Morris <rgm@gnu.org>
10051
001809f6
GM
10052 * ido.el (ido-delete-ignored-files): Remove.
10053 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10054 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10055
834b5ded
EL
100562013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10057
08c73ed2
EL
10058 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10059
834b5ded
EL
10060 * ido.el (ido-delete-ignored-files): New function,
10061 split from ido-make-file-list-1.
10062 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10063 (ido-make-file-list-1): Use ido-delete-ignored-files.
10064
daabf15a
LL
100652013-06-12 Leo Liu <sdl.web@gmail.com>
10066
10067 * progmodes/octave.el (inferior-octave-startup)
10068 (inferior-octave-completion-table)
10069 (inferior-octave-track-window-width-change)
10070 (octave-eldoc-function-signatures, octave-help)
10071 (octave-find-definition): Use single quoted strings.
10072 (inferior-octave-startup-args): Change default value.
10073 (inferior-octave-startup): Do not hard code "-i" and
10074 "--no-line-editing".
10075 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10076 (inferior-octave-directory-tracker): Use it.
10077 (octave-goto-function-definition): Robustify.
10078 (octave-help): Support highlighting operators in 'See also'.
10079 (octave-find-definition): Find subfunctions only in Octave mode.
10080
cf4e5178
SM
100812013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * help-fns.el (help-fns--compiler-macro): If the handler function is
10084 named, then put a link to it.
10085 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10086 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10087 (cl-typep): Use it.
10088 (cl-eval-when): Simplify debug spec.
10089 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10090 compiler-macro function instead of setting `compiler-macro-file'.
10091
99c81280 100922013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10093
10094 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10095 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10096
f56be016
SM
100972013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10098 Daniel Hackney <dan@haxney.org>
10099
10100 First part of Daniel Hackney's patch to package.el.
10101 * emacs-lisp/package.el: Use defstruct.
10102 (package-desc): New, main struct.
10103 (package--bi-desc, package--ac-desc): New structs, used to describe the
10104 format in external files.
10105 (package-desc-vers): Replace with package-desc-version accessor.
10106 (package-desc-doc): Replace with package-desc-summary accessor.
10107 (package-activate-1): Remove `package' arg since the pkg-vec now
10108 includes the name.
10109 (define-package): Use package-desc-from-define.
10110 (package-unpack-single): Change file-name arg to be a symbol.
10111 (package--add-to-archive-contents): Use package-desc-create and new
10112 accessor functions to package--ac-desc.
10113 (package-buffer-info, package-tar-file-info): Return a package-desc.
10114 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10115 arg to be a package-desc.
10116 (package-install-file): Adjust accordingly. Use \' to match EOS.
10117 (package--from-builtin): New function.
10118 (describe-package-1, package-menu--generate): Use it.
10119 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10120 (package-generate-autoloads): Idem and return the name of the file.
10121 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10122 Change pkg-info arg to be a package-desc.
10123 Use package-make-ac-desc.
10124 (package-upload-file): Use \' to match EOS.
10125 * finder.el (finder-compile-keywords): Use package-make-builtin.
10126
31119d63
SM
101272013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10128
931a2762
SM
10129 * vc/vc.el (vc-deduce-fileset): Change error message.
10130 (vc-read-backend): New function.
10131 (vc-next-action): Use it.
10132
5a3eb0c6
SM
10133 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10134
e3eb1bb7
SM
10135 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10136 (prolog-font-lock-keywords): Use regexp-opt instead.
10137 Don't manually highlight strings.
10138 (prolog-mode-variables): Simplify comment-start-skip.
10139 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10140
31119d63
SM
10141 * emacs-lisp/generic.el (generic--normalise-comments)
10142 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10143 (generic-mode-set-comments): Use them.
10144 (generic-bracket-support): Use setq-local.
10145 (generic-make-keywords-list): Declare obsolete.
10146
7de135d0
GM
101472013-06-11 Glenn Morris <rgm@gnu.org>
10148
10149 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10150 Prettify after setting font-lock-defaults. (Bug#14574)
10151
fa6bc6fd
JB
101522013-06-11 Juanma Barranquero <lekktu@gmail.com>
10153
10154 * replace.el (query-replace, occur-read-regexp-defaults-function)
10155 (replace-search):
10156 * subr.el (declare-function, number-sequence, local-set-key)
10157 (substitute-key-definition, locate-user-emacs-file)
10158 (with-silent-modifications, split-string, eval-after-load):
10159 Fix typos, remove unneeded backslashes and reflow some docstrings.
10160
cf1f9b9a
SM
101612013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10162
10163 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10164 default for Elisp files.
10165
56602a4b
GM
101662013-06-11 Glenn Morris <rgm@gnu.org>
10167
10168 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10169 although define-derived-mode was doing this anyway. (Bug#14583)
10170
30ae0b2c
JB
101712013-06-10 Juanma Barranquero <lekktu@gmail.com>
10172
10173 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10174 Fix make-variable-buffer-local call to refer to the correct variable.
10175
fa472906
AG
101762013-06-10 Aidan Gauland <aidalgol@amuri.net>
10177
10178 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10179 (eshell-visual-subcommands, eshell-visual-options):
10180 Add summary line to docstrings. Add cross-references.
fa472906 10181
ff4871b9
GM
101822013-06-10 Glenn Morris <rgm@gnu.org>
10183
10184 * epa.el (epa-read-file-name): New function. (Bug#14510)
10185 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10186
04fcf1b0
AG
101872013-06-09 Aidan Gauland <aidalgol@amuri.net>
10188
10189 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10190 output redirection to be ignored with visual commands.
10191
88b00caa
AG
101922013-06-09 Aidan Gauland <aidalgol@amuri.net>
10193
10194 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10195 (eshell-term-initialize): Move long lambda to separate function
10196 eshell-visual-command-p.
e7b41c4c
JB
10197 * eshell/em-dirs.el (eshell-dirs-initialise):
10198 * eshell/em-script.el (eshell-script-initialize):
10199 Add missing #' to lambda.
88b00caa 10200
fda74125
LL
102012013-06-08 Leo Liu <sdl.web@gmail.com>
10202
10203 * progmodes/octave.el (octave-add-log-current-defun): New function.
10204 (octave-mode): Set add-log-current-defun-function.
10205 (octave-goto-function-definition): Do not move point if not found.
10206 (octave-find-definition): Enhance to try subfunctions first.
10207
467f3b33
GM
102082013-06-08 Glenn Morris <rgm@gnu.org>
10209
10210 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10211 (byte-compile-backward-char, byte-compile-backward-word):
10212 Improve previous change, to handle non-explicit nil.
10213
544badc3
SM
102142013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10217 (smie--opener/closer-at-point): New function.
10218 (smie--matching-block-data): Use it. Don't match from right after an
10219 opener or right before a closer. Obey smie-blink-matching-inners.
10220 Don't signal a mismatch for repeated inners like "switch..case..case".
10221
a175bf33
LL
102222013-06-07 Leo Liu <sdl.web@gmail.com>
10223
10224 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10225 to t. (Bug#14303)
ce8209d4
LL
10226 (octave-function-header-regexp): Fix. (Bug#14570)
10227 (octave-help-mode-finish-hook, octave-help-mode-finish):
10228 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10229
10230 * newcomment.el (comment-search-backward): Revert last change.
10231 (Bug#14434)
10232
10233 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10234
a822acff
EZ
102352013-06-07 Eli Zaretskii <eliz@gnu.org>
10236
10237 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10238 through xargs, to avoid failure due to MS-Windows limitations on
10239 command-line length.
10240
961166f5
GM
102412013-06-06 Glenn Morris <rgm@gnu.org>
10242
d0341459
GM
10243 * font-lock.el (lisp-font-lock-keywords-2):
10244 Treat user-error like error.
10245
961166f5
GM
10246 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10247 (byte-compile-backward-char, byte-compile-backward-word):
10248 Handle explicit nil arguments. (Bug#14565)
10249
80fa505f
AM
102502013-06-05 Alan Mackenzie <acm@muc.de>
10251
10252 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10253 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10254 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10255 (Bug#9706)
80fa505f 10256
fccdc796
SM
102572013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * autorevert.el (auto-revert-notify-handler): Use memq.
10260 Hide assertion failure.
10261
10262 * skeleton.el: Use cl-lib.
10263 (skeleton-further-elements): Use defvar-local.
10264 (skeleton-insert): Use cl-progv.
10265
9bfff84b
TZ
102662013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10267
10268 * progmodes/prog-mode.el (prog-prettify-symbols)
10269 (prog-prettify-install): Update docstrings.
10270
55577e7c
SM
102712013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10272
10273 * simple.el: Move all the prog-mode code to prog-mode.el.
10274 * progmodes/prog-mode.el: New file.
10275 * loadup.el: Add prog-mode.el.
10276
8fc57765
TZ
102772013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10278
10279 * simple.el (prog-prettify-symbols): Add version.
10280 (prog-prettify-install): Add convenience function to prettify symbols.
10281
10282 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10283 (perl--augmented-font-lock-keywords-1)
10284 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10285 variables and use it.
10286
10287 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10288 (cfengine3-mode): Remove unneeded variable and use it.
10289
10290 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10291 (lisp--augmented-font-lock-keywords-1)
10292 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10293 Remove unneeded variables and use it.
10294
650645d5 102952013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
10296
10297 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 10298 to point when opening the connection. (Bug#14380)
28f5da6d 10299
781b4af6
SM
103002013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 * subr.el (load-history-regexp, load-history-filename-element)
10303 (eval-after-load, after-load-functions, do-after-load-evaluation)
10304 (eval-next-after-load, display-delayed-warnings)
10305 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10306 definition of save-match-data.
10307 (overriding-local-map): Remove accidental obsolescence declaration.
10308
10309 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10310
3ca0d0b4
TZ
103112013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10312
10313 Generalize symbol prettify support to prog-mode and implement it
10314 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10315 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10316 (prog--prettify-font-lock-compose-symbol)
10317 (prog-prettify-font-lock-symbols-keywords): New variables and
10318 functions to support symbol prettification.
10319 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10320 (lisp--augmented-font-lock-keywords-1)
10321 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10322 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10323 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
10324 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10325 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
10326 * progmodes/perl-mode.el (perl-prettify-symbols)
10327 (perl--font-lock-compose-symbol)
10328 (perl--font-lock-symbols-keywords): Move to prog-mode.
10329 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10330 (perl-font-lock-keywords-1)
10331 (perl-font-lock-keywords-2): Remove explicit prettify support.
10332 (perl--augmented-font-lock-keywords)
10333 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
10334 (perl--augmented-font-lock-keywords-2, perl-mode):
10335 Implement prettify support.
3ca0d0b4 10336
976cb066
LL
103372013-06-05 Leo Liu <sdl.web@gmail.com>
10338
10339 Re-implement smie matching block highlight using
10340 show-paren-data-function. (Bug#14395)
10341 * emacs-lisp/smie.el (smie-matching-block-highlight)
10342 (smie--highlight-matching-block-overlay)
10343 (smie--highlight-matching-block-lastpos)
10344 (smie-highlight-matching-block)
10345 (smie-highlight-matching-block-mode): Remove.
10346 (smie--matching-block-data-cache): New variable.
10347 (smie--matching-block-data): New function.
10348 (smie-setup): Use smie--matching-block-data for
10349 show-paren-data-function.
10350
10351 * progmodes/octave.el (octave-mode-menu): Fix.
10352 (octave-find-definition): Skip garbage lines.
10353
208d0342
SM
103542013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 Fix compilation error with simultaneous dynamic+lexical scoping.
10357 Add warning when a defvar appears after the first let-binding.
10358 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10359 (byte-compile-close-variables): Initialize it.
10360 (byte-compile--declare-var): New function.
10361 (byte-compile-file-form-defvar)
10362 (byte-compile-file-form-define-abbrev-table)
10363 (byte-compile-file-form-custom-declare-variable): Use it.
10364 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10365 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10366 (byte-compile-bind): Handle dynamic bindings that shadow
10367 lexical bindings.
10368 (byte-compile-unbind): Make arg non-optional.
10369 (byte-compile-let): Simplify.
10370 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10371 (cconv--analyse-function, cconv-analyse-form): Populate it.
10372 Protect byte-compile-bound-variables to limit the scope of defvars.
10373 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10374 Remove unneeded rule for `declare'.
10375
10376 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10377 so as to avoid depending on cl-adjoin at run-time.
10378 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10379
10380 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10381 (macroexp--warn-and-return): Use it.
10382
1ac2891e
GM
103832013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10384
a12bf61e 10385 * subr.el: Convert to lexical binding.
1ac2891e
GM
10386 (overriding-local-map): Make obsolete.
10387 (add-to-list): Doc fix. Add compiler macro.
10388 (read-key): Swap values of local maps.
10389
2587b005
LL
103902013-06-05 Leo Liu <sdl.web@gmail.com>
10391
10392 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10393
f1da3c88
LL
103942013-06-04 Leo Liu <sdl.web@gmail.com>
10395
10396 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10397 (compilation-auto-jump): Suppress the "Mark set" message to give
10398 way to exit message.
10399
3caa391f
AM
104002013-06-04 Alan Mackenzie <acm@muc.de>
10401
10402 Remove faulty optimisation from indentation calculation.
10403 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10404 search limit based on 2000 characters back from indent-point.
10405
068922a2
TH
104062013-06-03 Tassilo Horn <tsdh@gnu.org>
10407
10408 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10409
1f8fdd53
SM
104102013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10411
bbcc4d97
SM
10412 * emacs-lisp/lisp.el: Use lexical-binding.
10413 (lisp--local-variables-1, lisp--local-variables): New functions.
10414 (lisp--local-variables-completion-table): New var.
208d0342 10415 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10416
1f8fdd53
SM
10417 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10418 eagerly (bug#14422).
10419
c9628c79
MA
104202013-06-03 Michael Albinus <michael.albinus@gmx.de>
10421
10422 * autorevert.el (auto-revert-notify-enabled)
10423 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10424 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10425 (auto-revert-notify-handler): Handle also gfilenotify.
10426
e7b41c4c 10427 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10428 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10429 Remove.
c9628c79 10430
e5e4a942
JL
104312013-06-03 Juri Linkov <juri@jurta.org>
10432
10433 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10434 `M-s h .'. (Bug#14427)
10435
10436 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10437 command `hi-lock-face-symbol-at-point'.
10438 (hi-lock-face-symbol-at-point): New command.
10439 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10440 (hi-lock-menu): Add `highlight-symbol-at-point'.
10441 (hi-lock-mode): Doc fix.
10442
10443 * isearch.el (isearch-forward-symbol-at-point): New command.
10444 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10445 (isearch-highlight-regexp): Add a regexp which matches
10446 words/symbols for word/symbol mode.
10447
10448 * subr.el (find-tag-default-bounds): New function with the body
10449 mostly moved from `find-tag-default'.
10450 (find-tag-default): Move most code to `find-tag-default-bounds',
10451 call it and apply `buffer-substring-no-properties' afterwards.
10452
26b3353a
TH
104532013-06-03 Tassilo Horn <tsdh@gnu.org>
10454
781b4af6
SM
10455 * eshell/em-term.el (eshell-term-initialize):
10456 Use `cl-intersection' rather than `intersection'.
26b3353a 10457
51b60f53
XF
104582013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10459
fe054b63 10460 * vc/log-view.el: Doc fix.
d3ffe17c 10461 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10462
a0eb10b3 104632013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10464
10465 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10466 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10467 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10468 (eieio-unbound, eieio-default-superclass)
10469 (eieio--define-field-accessors, method-static, method-before)
10470 (method-primary, method-after, method-num-lists)
10471 (method-generic-before, method-generic-primary)
10472 (method-generic-after, method-num-slots)
10473 (eieio-specialized-key-to-generic-key)
10474 (eieio--check-type, class-v, class-p)
10475 (eieio-class-name, define-obsolete-function-alias)
10476 (eieio-class-parents-fast, eieio-class-children-fast)
10477 (same-class-fast-p, class-constructor, generic-p)
10478 (generic-primary-only-p, generic-primary-only-one-p)
10479 (class-option-assoc, class-option, eieio-object-p)
10480 (class-abstract-p, class-method-invocation-order)
10481 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10482 (eieio-class-un-autoload, eieio-defclass)
10483 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10484 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10485 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10486 (eieio-defgeneric-reset-generic-form)
10487 (eieio-defgeneric-form-primary-only)
10488 (eieio-defgeneric-reset-generic-form-primary-only)
10489 (eieio-defgeneric-form-primary-only-one)
10490 (eieio-defgeneric-reset-generic-form-primary-only-one)
10491 (eieio-unbind-method-implementations)
10492 (eieio--defmethod, eieio--typep)
10493 (eieio-perform-slot-validation, eieio-validate-slot-value)
10494 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10495 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10496 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10497 (eieio-slot-name-index, eieio-class-slot-name-index)
10498 (eieio-set-defaults, eieio-initarg-to-attribute)
10499 (eieio-attribute-to-initarg, eieio-c3-candidate)
10500 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10501 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10502 (eieio-class-precedence-list, eieio-generic-call-methodname)
10503 (eieio-generic-call-arglst, eieio-generic-call-key)
10504 (eieio-generic-call-next-method-list)
10505 (eieio-pre-method-execution-functions, eieio-generic-call)
10506 (eieio-generic-call-primary-only, eieiomt-method-list)
10507 (eieiomt-optimizing-obarray, eieiomt-install)
10508 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10509 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10510 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10511 (defclass): Remove `eval-and-compile' from macro.
10512 (call-next-method, shared-initialize): Instead of using
10513 `scoped-class' variable, use new eieio--scoped-class, and
10514 eieio--with-scoped-class.
10515 (initialize-instance): Rename local variable 'scoped-class' to
10516 'this-class' to remove ambiguitity from old global.
10517
10518 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10519 eieio.el.
4f405069
JB
10520 (eieio--scoped-class-stack): New variable.
10521 (eieio--scoped-class): New fcn.
890f7890
DE
10522 (eieio--with-scoped-class): New scoping macro.
10523 (eieio-defclass): Use pushnew instead of add-to-list.
10524 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10525 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10526 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10527 `scoped-class' variable, use new eieio--scoped-class, and
10528 eieio--with-scoped-class.
10529
10530 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10531
d105b0e2
TH
105322013-06-02 Tassilo Horn <tsdh@gnu.org>
10533
10534 * eshell/esh-ext.el (eshell-external-command): Pass args to
10535 `eshell-find-interpreter'.
10536 (eshell-find-interpreter): Add new second parameter ARGS.
10537
10538 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10539 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10540
10541 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10542 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10543
10544 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10545 (eshell-visual-options): New defcustom.
10546 (eshell-escape-control-x): Adapt docstring.
10547 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10548 `eshell-visual-options' in addition to `eshell-visual-commands'.
10549 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10550
f46305c8 105512013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10552
10553 * progmodes/python.el (python-indent-block-enders): Add break,
10554 continue and raise keywords.
10555
d870df21
GM
105562013-06-01 Glenn Morris <rgm@gnu.org>
10557
9133b82e
GM
10558 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10559
02c992ec 10560 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10561 * progmodes/cc-cmds.el (delete-forward-p):
10562 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10563 * progmodes/cc-engine.el (buffer-syntactic-context):
10564 * progmodes/cc-fonts.el (face-property-instance):
10565 * progmodes/cc-mode.el (set-keymap-parents):
10566 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10567 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10568 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10569 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10570 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10571
31e7b090
GM
10572 * progmodes/cc-vars.el (other): Emacs has this widget since
10573 at least 21.1, so don't (re)define it.
10574
d870df21
GM
10575 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10576 Replace the obsolete alias pcomplete-arg-quote-list.
10577
c75c93c7
LL
105782013-06-01 Leo Liu <sdl.web@gmail.com>
10579
10580 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10581 punctuation syntax.
10582 (inferior-octave-minimal-columns)
10583 (inferior-octave-last-column-width): New variables.
10584 (inferior-octave-track-window-width-change): New function.
10585 (inferior-octave-mode): Adjust column width so that Octave output,
10586 for example from 'ls', can fit into the window nicely.
10587
973d1e12
DG
105882013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10589
10590 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10591 Highlight expansions inside regexp literals.
10592
0888c286
GM
105932013-05-31 Glenn Morris <rgm@gnu.org>
10594
e26aac1f
GM
10595 * obsolete/sym-comp.el (symbol-complete):
10596 Replace obsolete completion-annotate-function.
10597
0888c286
GM
10598 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10599
19bb8e62
DG
106002013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10601
781b4af6
SM
10602 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10603 New function, checks if point is inside a literal that allows
19bb8e62
DG
10604 expression expansion.
10605 (ruby-syntax-propertize-expansion): Use it.
10606 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10607 around the body.
10608
01dea85f
JL
106092013-05-30 Juri Linkov <juri@jurta.org>
10610
10611 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10612 to "\M-si".
10613 (isearch-invisible): New variable.
10614 (isearch-forward): Doc fix.
10615 (isearch-mode): Set `isearch-invisible'
10616 to the value of `search-invisible'.
10617 (isearch-toggle-case-fold): Doc fix.
10618 (isearch-toggle-invisible): New command.
10619 (isearch-query-replace): Let-bind `search-invisible'
10620 to the value of `isearch-invisible'.
10621 (isearch-search): Use `isearch-invisible' instead of
10622 `search-invisible'. Let-bind `search-invisible'
10623 to the value of `isearch-invisible'. (Bug#11378)
10624
ab1bdce5
JL
106252013-05-30 Juri Linkov <juri@jurta.org>
10626
10627 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10628 call when `query-flag' is nil and `search-invisible' is non-nil.
10629 (Bug#11746)
10630
d6d236e2
GM
106312013-05-30 Glenn Morris <rgm@gnu.org>
10632
8accd027
GM
10633 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10634
2a8bed1c
GM
10635 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10636 (cc-require): Suppress spurious "noruntime" warnings.
10637 (cc-require-when-compile): Use fboundp, for sake of compiler.
10638
d6d236e2
GM
10639 * progmodes/cc-mode.el: Move load of cc-vars before that of
10640 cc-langs (which in turn loads cc-vars), to quieten compiler.
10641
9190b35b
SM
106422013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10643
10644 * paren.el: Simplify the code.
10645 (show-paren-mode): Always start the timer.
10646 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10647 (show-paren--overlay, show-paren--overlay-1): Rename from
10648 show-paren-overlay and show-paren-overlay-1, and initialize to an
10649 overlay rather than to nil.
10650 (show-paren-function): Misc cleanup and simplifications.
10651
4f8d1cf6
SM
106522013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10653
10654 * paren.el (show-paren-data-function): New hook.
10655 (show-paren--default): New function, extracted from show-paren-function.
10656 (show-paren-function): Use show-paren-data-function.
10657
02d844b5
GM
106582013-05-30 Glenn Morris <rgm@gnu.org>
10659
d209d4a9
GM
10660 * ielm.el (ielm-map, ielm-complete-symbol):
10661 Use completion-at-point rather than obsolete functions.
10662 (inferior-emacs-lisp-mode): Doc fix.
10663 Set completion-at-point-functions, rather than
10664 comint-dynamic-complete-functions.
10665
2082faa6
GM
10666 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10667 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10668 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10669
dd8620de
GM
10670 * image.el (image-animated-p): Tweak definition.
10671
ceca95b1
GM
10672 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10673 (rlogin-process-connection-type): Tweak default. Add set-after.
10674 (rlogin-host): Doc fix.
10675 (rlogin): Tweak prompt.
10676 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10677
ee9f1acc
GM
10678 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10679 * progmodes/tcl.el (inferior-tcl-mode-map):
10680 Use completion-at-point rather than obsolete alias.
10681
45ce222e
GM
10682 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10683
02d844b5
GM
10684 * minibuffer.el (read-file-name-completion-ignore-case):
10685 Move before completion--in-region, for eager macro expansion.
10686
ac44d6c1
JL
106872013-05-29 Juri Linkov <juri@jurta.org>
10688
10689 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10690 for total count of matching lines. Add `global-matches' for total
10691 count of matches. Rename `matches' to `lines' for count of
10692 matching lines. Add `matches' for count of matches.
10693 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10694 to `prev-line' for line number of prev match endpt.
10695 Increment `matches' for every match. Print the number of
10696 matching lines in the header.
10697 (occur-context-lines): Rename `lines' to `curr-line'.
10698 Rename `prev-lines' to `prev-line'. (Bug#14017)
10699
3c9c9d38
JL
107002013-05-29 Juri Linkov <juri@jurta.org>
10701
10702 * replace.el (perform-replace): Add `skip-read-only-count',
10703 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10704 Increment them for corresponding conditions and report the number
10705 of skipped occurrences in the final message. (Bug#11746)
10706 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10707 (replace-string, replace-regexp): Doc fix.
10708
33e249a2
SM
107092013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10710
8e399682
SM
10711 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10712
33e249a2 10713 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10714 prog-mode-map (bug#14504).
33e249a2 10715
f236dd84
LL
107162013-05-29 Leo Liu <sdl.web@gmail.com>
10717
10718 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10719 (octave-help): Small simplification.
10720
10721 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10722 off the highlight first.
10723
3694d13f
GM
107242013-05-29 Glenn Morris <rgm@gnu.org>
10725
03983bdc
GM
10726 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10727 Handle idlwave-last-system-routine-info-cons-cell being nil.
10728
bc74a74a
GM
10729 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10730 (idlwave-write-paths): Simplify via with-temp-buffer.
10731
8b394200
GM
10732 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10733 * emulation/cua-rect.el: Also load cua-base at run time.
10734
3694d13f
GM
10735 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10736 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10737 (cperl-imenu-on-info): Require imenu.
10738
336d7284
AM
107392013-05-28 Alan Mackenzie <acm@muc.de>
10740
10741 Handle "capitalised keywords" correctly.
33e249a2 10742 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10743
cb29c582
AG
107442013-05-28 Aidan Gauland <aidalgol@amuri.net>
10745
781b4af6 10746 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10747
690e44b2
GM
107482013-05-28 Glenn Morris <rgm@gnu.org>
10749
e658d75c
GM
10750 * vc/vc-arch.el (vc-exec-after): Declare.
10751 (vc-switches): Autoload.
10752 * vc/vc-bzr.el: No need to require vc when compiling.
10753 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10754 (vc-resynch-buffer, vc-dir-refresh): Declare.
10755 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10756 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10757 (vc-resynch-buffer): Declare.
10758 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10759 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10760 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10761 (grep-read-regexp, grep-read-files, grep-expand-template)
10762 (vc-dir-refresh): Declare.
10763 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10764 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10765 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10766 * vc/vc-mtn.el (vc-exec-after): Declare.
10767 (vc-switches): Autoload.
10768 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10769 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10770 (vc-file-tree-walk): Declare.
712b9732
GM
10771 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10772 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10773 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10774 * vc/vc-svn.el (vc-exec-after): Declare.
10775 (vc-switches, vc-setup-buffer): Autoload.
10776 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10777 Autoload.
10778 (vc-resynch-buffer): Declare.
10779
98e87fb3
GM
10780 * obsolete/fast-lock.el (byte-compile-warnings):
10781 Don't warn about obsolete features in this obsolete file.
10782
f5379553
GM
10783 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10784 Move definition before use.
10785
7a20ef83
GM
10786 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10787 (dun-unix-verbs): Remove dun-zippy.
10788 (dun-zippy): Remove function.
10789
690e44b2
GM
10790 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10791
3a52ccf7
JL
107922013-05-27 Juri Linkov <juri@jurta.org>
10793
10794 * replace.el (replace-search): New function with code moved out
10795 from `perform-replace'.
10796 (replace-highlight, replace-dehighlight): Move function definitions
10797 up closer to `replace-search'. (Bug#11746)
10798
d289938a
JL
107992013-05-27 Juri Linkov <juri@jurta.org>
10800
10801 * replace.el (perform-replace): Ignore invisible matches.
10802 In addition to checking `query-replace-skip-read-only', also
10803 filter out matches by calling `run-hook-with-args-until-failure'
10804 on `isearch-filter-predicates', and also check `search-invisible'
10805 for t or call `isearch-range-invisible'.
10806 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10807
66fc57e3
JL
108082013-05-27 Juri Linkov <juri@jurta.org>
10809
10810 * isearch.el (isearch-filter-predicates): Rename from
10811 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10812 (isearch-message-prefix): Display text from the property
10813 `isearch-message-prefix' of the currently active filters.
10814 (isearch-search): Don't compare `isearch-filter-predicate' with
10815 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10816 on `isearch-filter-predicates'. Also check `search-invisible' for t
10817 or call `isearch-range-invisible'.
10818 (isearch-filter-visible): Make obsolete.
10819 (isearch-lazy-highlight-search):
10820 Call `run-hook-with-args-until-failure' on
10821 `isearch-filter-predicates' and use `isearch-range-invisible'.
10822
10823 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10824 `isearch-filter-predicates' instead of `funcall'ing
10825 `isearch-filter-predicate'.
10826 (Info-mode): Set `Info-isearch-filter' to
10827 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10828
10829 * dired-aux.el (dired-isearch-filter-predicate-orig):
10830 Remove variable.
10831 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10832 (dired-isearch-filenames-end): Add and remove
10833 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10834 instead of changing the value of `isearch-filter-predicate'.
10835 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10836 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10837 Put property `isearch-message-prefix' to "filename " on
10838 `dired-isearch-filter-filenames'.
10839
10840 * wdired.el (wdired-change-to-wdired-mode):
10841 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10842 locally instead of changing `isearch-filter-predicate'.
10843 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10844
f1a60a0f
DG
108452013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10846
10847 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10848 return the commit hash (Bug#14459). Also set the
10849 `vc-git-detached' property.
10850 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10851 (vc-git-mode-line-string): Use the same help-echo format whether
10852 in detached mode or not, because we know the actual revision now.
10853 When in detached mode, shorten the revision to 7 chars.
10854
7f17cc40
SM
108552013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10856
10857 * emacs-lisp/easy-mmode.el (define-minor-mode):
10858 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10859 mode hook and provide a docstring.
10860
25c8401c
AM
108612013-05-27 Alan Mackenzie <acm@muc.de>
10862
10863 Remove spurious syntax-table text properties inserted by C-y.
10864 * progmodes/cc-mode.el (c-after-change): Also clear hard
10865 syntax-table property with value nil.
10866
dde84790
MA
108672013-05-27 Michael Albinus <michael.albinus@gmx.de>
10868
10869 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10870 when reading the events; the buffer layout shall not be changed.
10871
837fd9af
LL
108722013-05-27 Leo Liu <sdl.web@gmail.com>
10873
10874 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10875 New variable.
10876 (inferior-octave-directory-tracker): Automatically re-sync
10877 default-directory.
10878 (octave-help): Improve handling of 'See also'.
10879
4fd996b3
SM
108802013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10881
416f1802
SM
10882 * doc-view.el: Minor naming convention tweaks.
10883 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10884
4fd996b3
SM
10885 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10886 even if there's no `display' property yet (bug#14435).
10887
a052ef3b
EZ
108882013-05-25 Eli Zaretskii <eliz@gnu.org>
10889
4fd996b3 10890 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10891
10892 * Makefile.in (custom-deps, finder-data, autoloads)
10893 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10894 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10895 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10896
c9023370
SM
108972013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10898
10899 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10900 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10901 Don't burp at EOB.
c9023370 10902
24d699fa
LL
109032013-05-25 Leo Liu <sdl.web@gmail.com>
10904
10905 * comint.el (comint-previous-matching-input): Do not flood the
10906 *Messages* buffer with trivial messages.
10907
17e5c0cc
SM
109082013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10909
10910 * progmodes/flymake.el (flymake-nop): Don't return a string.
10911 (flymake-set-at): Fix typo.
10912
10913 * simple.el (read--expression): New function, extracted from
10914 eval-expression. Set completion-at-point-functions (bug#14465).
10915 (eval-expression, eval-minibuffer): Use it.
10916
5d028165
XF
109172013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10918
10919 * progmodes/flymake.el (flymake-save-buffer-in-file)
10920 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10921 (flymake-selected-frame, flymake-log, flymake-ins-after)
10922 (flymake-set-at, flymake-get-buildfile-from-cache)
10923 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10924 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10925 Refine the doc string.
10926 (flymake-get-file-name-mode-and-masks): Reformat.
10927 (flymake-get-real-file-name-function): Fix a minor bug.
10928
7a1d7ba7
JL
109292013-05-24 Juri Linkov <juri@jurta.org>
10930
10931 * progmodes/grep.el (grep-mode-font-lock-keywords):
10932 Support =linenumber= format used by git-grep for lines with
10933 function names. (Bug#13549)
10934
650cff3d
SM
109352013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10938 0 after a semi-colon; it works better for smie-auto-fill.
10939 (octave--indent-new-comment-line): New function.
10940 (octave-indent-new-comment-line): Use it (indirectly).
10941 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10942 modify comment-line-break-function.
10943
10944 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10945 (smie-setup): Use add-function to set it.
10946
9631677d
SS
109472013-05-24 Sam Steingold <sds@gnu.org>
10948
10949 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10950 argument (before the `interactive' argument).
10951
50105835
SM
109522013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10953
10954 * image-mode.el (image-mode-winprops): Add winprops to
10955 image-mode-winprops-alist before running
10956 image-mode-new-window-functions.
10957 * doc-view.el (doc-view-new-window-function): Don't delay
10958 doc-view-goto-page via timers (bug#14435).
10959
57b9823e
TH
109602013-05-24 Tassilo Horn <tsdh@gnu.org>
10961
10962 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10963 (doc-view-desktop-save-buffer): New function.
10964 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10965 (desktop-buffer-mode-handlers):
10966 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10967 handler.
10968 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10969 `desktop-save-buffer' function.
10970
91aafa16
MA
109712013-05-24 Michael Albinus <michael.albinus@gmx.de>
10972
10973 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10974 (tramp-gvfs-file-name-handler): Raise a user error when
10975 `tramp-gvfs-enabled' is nil.
10976 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10977 Do not raise a user error when loading package. (Bug#14447)
10978
ec076379
MA
10979 * net/xesam.el: Move to obsolete/.
10980
db785726
GM
109812013-05-24 Glenn Morris <rgm@gnu.org>
10982
af5c7606
GM
10983 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10984
e5d1916a
GM
10985 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10986
ded62b08
GM
10987 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10988 (Info-find-node, Man-getpage-in-background): Declare.
10989
9e614a3f
GM
10990 * mail/unrmail.el (unrmail):
10991 Replace obsolete detect-coding-with-priority.
10992
892f8ca3
GM
10993 * net/socks.el (socks-split-string): Use this rather than split-string.
10994 (socks-nslookup-host): Update for above change.
10995 (dynamic-choice, s5-dynamic-choice-match)
10996 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10997 Comment out unused code.
10998
3c291973
GM
10999 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11000 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11001 (gud-tooltip-echo-area): Make obsolete.
11002 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11003
43cc956b
GM
11004 * progmodes/js.el (js--optimize-arglist): Declare.
11005
dab49a3b
GM
11006 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11007
36b9d085
GM
11008 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11009 (ediff-window-C): Declare.
11010
e354ae76
GM
11011 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11012 Tweak requires to silence compiler.
11013
b8e57bf4
GM
11014 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11015 (he-search-string, he-tried-table, he-expand-list)
11016 (he-init-string, he-string-member, he-substitute-string)
11017 (he-reset-string): Declare.
11018
db785726
GM
11019 * obsolete/options.el (list-options): Use custom-variable-p,
11020 rather than obsolete alias.
11021
b3531901
SS
110222013-05-23 Sam Steingold <sds@gnu.org>
11023
11024 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11025 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11026 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11027
bdda4c66
SM
110282013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11029
11030 * emacs-lisp/smie.el (smie-indent-forward-token)
11031 (smie-indent-backward-token): Handle string tokens (bug#14381).
11032
c43d45f9
TH
110332013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11034
fe1eb856
RS
11035 * ielm.el (ielm-menu): New menu.
11036 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11037
fe1eb856
RS
110382013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11039
a12bf61e 11040 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11041 Fix deactivate action.
11042
a12bf61e 11043 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11044 Add cleveref macros.
074dd971 11045
a12bf61e 11046 * textmodes/reftex-parse.el
c43d45f9
TH
11047 (reftex-locate-bibliography-files): Accept options for
11048 bibliography commands.
a12bf61e 11049 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11050 Add addbibresource. Basic Biblatex support.
11051
7764286e
MA
110522013-05-23 Michael Albinus <michael.albinus@gmx.de>
11053
11054 * net/tramp-gvfs.el (top):
11055 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11056 when loading package. (Bug#14447)
11057
d361bc10
GM
110582013-05-23 Glenn Morris <rgm@gnu.org>
11059
8fa23984
GM
11060 * progmodes/js.el: No need to load comint when compiling.
11061 (ring-insert, comint-send-string, comint-send-input)
11062 (comint-last-input-end, ido-chop): Declare.
11063
a5c7df1a
GM
11064 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11065 * vc/ediff-mult.el: Adjust requires.
11066 (ediff-directories-internal, ediff-directory-revisions-internal)
11067 (ediff-patch-file-internal): Declare.
11068 * vc/ediff-ptch.el: Adjust requires.
11069 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11070 (ediff-find-file): Autoload.
11071 * vc/ediff-util.el: No need to load ediff when compiling.
11072 (ediff-regions-internal): Declare.
11073 * vc/ediff-wind.el: Adjust requires.
11074 (ediff-compute-toolbar-width): Define when compiling.
11075 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11076 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11077 (dired-get-filename, dired-get-marked-files)
11078 (ediff-last-dir-patch, ediff-patch-default-directory)
11079 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11080 (ediff-patch-buffer-internal): Declare.
11081
e2aec513
GM
11082 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11083 (ispell-process, ispell-buffer-local-words, lm-summary)
11084 (lm-section-start, lm-section-end): Declare.
11085 (checkdoc-ispell-init): Simplify.
11086
e68bbd7c
GM
11087 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11088 (he-string-member, he-reset-string, he-substitute-string): Declare.
11089
7efe0991
GM
11090 * eshell/em-ls.el: Adjust requires.
11091 (eshell-glob-regexp): Declare.
f87b1284
GM
11092 * eshell/em-tramp.el: Adjust requires.
11093 (eshell-parse-command): Autoload.
11094 * eshell/em-xtra.el: Adjust requires.
11095 (eshell-parse-command): Autoload.
11096 * eshell/esh-ext.el: Adjust requires.
11097 (eshell-parse-command, eshell-close-handles): Autoload.
11098 * eshell/esh-io.el: Adjust requires.
11099 (eshell-output-filter): Autoload.
11100 * eshell/esh-util.el: No need to load tramp when compiling.
11101 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11102 Declare.
11103 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11104 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11105 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11106 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11107 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11108 * eshell/esh-opt.el, eshell/esh-proc.el:
11109 * eshell/esh-var.el: Adjust requires.
11110 * eshell/eshell.el: Do not require esh-util twice.
11111 (eshell-add-input-to-history): Declare.
11112 (eshell-command): Check history module is active before using it.
11113
d361bc10
GM
11114 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11115
85d090a9
LL
111162013-05-22 Leo Liu <sdl.web@gmail.com>
11117
11118 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11119
5d0acd9d
MA
111202013-05-22 Michael Albinus <michael.albinus@gmx.de>
11121
11122 * autorevert.el (auto-revert-notify-add-watch)
11123 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11124 it indicates changes in file modification time.
11125
0cdffd7d
GM
111262013-05-22 Glenn Morris <rgm@gnu.org>
11127
ca5995ec
GM
11128 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11129 Always delete the autoloaded function from the noruntime and
11130 unresolved functions lists.
11131
6450907e
GM
11132 * allout.el: No need to load epa, epg, overlay when compiling.
11133 (epg-context-set-passphrase-callback, epg-list-keys)
11134 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11135 (epg-key-user-id-list): Declare.
11136
9c6906f6
GM
11137 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11138 (viper-set-parsing-style-toggling-macro)
11139 (viper-set-emacs-state-searchstyle-macros):
11140 Use called-interactively-p on Emacs.
11141 (viper-looking-back): Make it an obsolete alias. Update callers.
11142 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11143 Use looking-back rather than viper-looking-back.
11144 (viper-tmp-insert-at-eob, viper-enlarge-region)
11145 (viper-read-string-with-history, viper-register-to-point)
11146 (viper-append-to-register, viper-change-state-to-vi)
11147 (viper-backward-char-carefully, viper-forward-char-carefully)
11148 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11149 (viper-change-state-to-emacs): Declare.
11150 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11151 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11152 * emulation/viper-mous.el: Do not load viper-cmd.
11153 (viper-backward-char-carefully, viper-forward-char-carefully)
11154 (viper-forward-word, viper-adjust-window): Declare.
11155
5f70c169
GM
11156 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11157
b1b7f300
GM
11158 * progmodes/idlw-help.el (idlwave-help-fontify):
11159 Use called-interactively-p.
11160
f6ebbb46
GM
11161 * term/w32console.el (w32-get-console-codepage)
11162 (w32-get-console-output-codepage): Declare.
11163
0cdffd7d
GM
11164 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11165 Remove unnecessary declarations.
11166 (dframe-message): Doc fix.
11167
11168 * info.el (dframe-select-attached-frame, dframe-current-frame):
11169 Declare.
11170
11171 * speedbar.el (speedbar-message): Make it an obsolete alias.
11172 Update all callers.
11173 (speedbar-with-attached-buffer)
11174 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11175 (speedbar-with-writable): Use backquote.
11176 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11177 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11178 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11179 rather than speedbar- aliases.
11180 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11181 (speedbar-make-specialized-keymap, speedbar-insert-button)
11182 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11183 (speedbar-do-function-pointer): Declare.
11184 (rmail-speedbar-button, rmail-speedbar-find-file)
11185 (rmail-speedbar-move-message):
11186 Use dframe-with-attached-buffer rather than speedbar- alias.
11187 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11188 (dframe-message, speedbar-make-specialized-keymap)
11189 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11190 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11191 (speedbar-insert-button, dframe-select-attached-frame)
11192 (dframe-maybee-jump-to-attached-frame)
11193 (speedbar-change-initial-expansion-list)
11194 (speedbar-previously-used-expansion-list-name): Declare.
11195 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11196 Use dframe-message, dframe-with-attached-buffer rather than
11197 speedbar- aliases.
11198 (gud-sentinel): Silence compiler.
11199 * progmodes/vhdl-mode.el (speedbar-refresh)
11200 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11201 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11202 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11203 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11204 (speedbar-file-lists, speedbar-make-tag-line)
11205 (speedbar-line-directory, speedbar-goto-this-file)
11206 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11207 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11208 (speedbar-make-button, speedbar-reset-scanners)
11209 (speedbar-files-item-info, speedbar-line-text)
11210 (speedbar-find-file-in-frame, speedbar-set-timer)
11211 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11212 (speedbar-with-writable): Do not (re)define it.
11213 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11214 rather than speedbar- alias.
11215
ee44b62a
LL
112162013-05-21 Leo Liu <sdl.web@gmail.com>
11217
11218 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11219 menu items.
11220 (octave-mode): Tweak fill-nobreak-predicate.
11221 (inferior-octave-startup): Check process to avoid infinite loop.
11222 (inferior-octave): Pop to buffer first to show abornmal process
11223 exit information.
11224
640f050f
GM
112252013-05-21 Glenn Morris <rgm@gnu.org>
11226
79458038
GM
11227 * printing.el (pr-menu-bar): Define when compiling.
11228
9cc3e83f
LL
112292013-05-21 Leo Liu <sdl.web@gmail.com>
11230
11231 * progmodes/octave.el (octave-auto-fill): Remove.
11232 (octave-indent-new-comment-line): Improve.
11233 (octave-mode): Use auto fill mode through
4f405069 11234 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11235 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11236 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11237 (octave-help): Show parent directory.
11238
f440830d
GM
112392013-05-21 Glenn Morris <rgm@gnu.org>
11240
11241 * files.el (dired-unmark):
11242 * progmodes/gud.el (gdb-input): Update declarations.
11243
11244 * calculator.el (electric, ehelp): No need to load when compiling.
11245 (Electric-command-loop, electric-describe-mode): Declare.
11246
11247 * doc-view.el (doc-view-current-converter-processes): Move before use.
11248
11249 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11250 Move MODE-set-explicitly definition before use.
11251
11252 * international/mule-diag.el (mule-diag):
11253 Don't use obsolete window-system-version.
11254
11255 * mail/feedmail.el (smtpmail): No need to load when compiling.
11256 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11257
11258 * mail/mail-utils.el (rfc822): No need to load when compiling.
11259 (rfc822-addresses): Autoload it.
11260 (mail-strip-quoted-names): Trivial simplification.
11261
11262 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11263 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11264
11265 * net/snmp-mode.el (tempo): Don't duplicate requires.
11266
11267 * progmodes/prolog.el (info): No need to load when compiling.
11268 (comint): Require before shell requires it.
11269 (Info-goto-node): Autoload it.
11270 (Info-follow-nearest-node): Declare.
11271 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11272
11273 * textmodes/artist.el (picture-mode-exit): Declare.
11274
11275 * textmodes/reftex-parse.el (reftex-parse-from-file):
11276 Trivial rewrite so the compiler can parse it better.
11277
b4da2cbb
LL
112782013-05-20 Leo Liu <sdl.web@gmail.com>
11279
11280 * progmodes/octave.el (octave-help-mode-map)
11281 (octave-help-mode-finish-hook): New variables.
11282 (octave-help-mode, octave-help-mode-finish): New functions.
11283 (octave-help): Use octave-help-mode.
11284
33c0f65b
GM
112852013-05-20 Glenn Morris <rgm@gnu.org>
11286
11287 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11288
1a0a0a8a
DG
112892013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11290
11291 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11292 start at point, so that expansion starting right after opening
11293 slash in a regexp is recognized.
11294 (ruby-syntax-before-regexp-re): New defvar, extracted from
11295 ruby-syntax-propertize-function. Since the value of this regexp
11296 is looked up at runtime now, we should be able to turn
11297 `ruby-syntax-methods-before-regexp' into a defcustom later.
11298 (ruby-syntax-propertize-function): Split regexp matching into two
11299 parts, for opening and closing slashes. That allows us to skip
11300 over string interpolations and support multiline regexps.
11301 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11302 for them, which calls `ruby-syntax-propertize-expansion'.
11303 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11304 call to `ruby-syntax-propertize-function'.
11305 (ruby-syntax-propertize-expansion): Extracted from
11306 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
11307 (ruby-syntax-propertize-percent-literal): Leave point right after
11308 the percent symbol, so that the expression expansion rule can
11309 propertize the contents.
462388b6
DG
11310 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11311 heredoc openers.
11312 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 11313
c1a6c0a4
JL
113142013-05-18 Juri Linkov <juri@jurta.org>
11315
11316 * man.el (Man-default-man-entry): Remove `-' from the end
11317 of the default value. (Bug#14400)
11318
8051fccd
GM
113192013-05-18 Glenn Morris <rgm@gnu.org>
11320
11321 * comint.el (comint-password-prompt-regexp):
11322 Allow "password for XXX" where XXX contains colons (eg https://...).
11323
5e80b74f
LL
113242013-05-18 Leo Liu <sdl.web@gmail.com>
11325
11326 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 11327 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
11328 (octave-source-directories): Don't check process.
11329 (octave-source-directories, octave-find-definition): Doc fix.
11330
521a54c5
GM
113312013-05-18 Glenn Morris <rgm@gnu.org>
11332
86a94b05
GM
11333 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11334 Remove backspace/delete bindings. (Bug#14392)
11335
521a54c5
GM
11336 * cus-dep.el (custom-make-dependencies): Sort the output.
11337 (custom-versions-load-alist): Convert comment to doc.
11338
42caeb89
LL
113392013-05-17 Leo Liu <sdl.web@gmail.com>
11340
11341 * newcomment.el (comment-search-backward): Stricter in finding
11342 comment start. (Bug#14303)
11343
11344 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11345 (octave-comment-start-skip): Properly anchored.
11346
e219dd97
LL
113472013-05-17 Leo Liu <sdl.web@gmail.com>
11348
fe1eb856
RS
11349 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11350 Clean up when turned off. (Bug#14395)
e219dd97
LL
11351 (smie--highlight-matching-block-overlay): No longer buffer-local.
11352 (smie-highlight-matching-block): Adjust.
11353
dc5dcb4b
PE
113542013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11355
11356 Doc string fix for "nanoseconds" (Bug#14406).
11357 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11358 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11359
1db165f0
JB
113602013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11361
11362 * calc/calc-units.el (math-extract-units): Preserve powers
11363 of units.
11364
c7a8fcac
LL
113652013-05-17 Leo Liu <sdl.web@gmail.com>
11366
11367 * subr.el (delete-consecutive-dups): New function.
11368 * ido.el (ido-set-matches-1): Use it.
11369 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11370 * ido.el (ido-remove-consecutive-dups): Remove.
11371
f678b18a
SM
113722013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11373
11374 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11375 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11376 regexp-opt's `words'.
11377
ebfe68e8
LL
113782013-05-16 Leo Liu <sdl.web@gmail.com>
11379
11380 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11381 (smie--highlight-matching-block-overlay)
11382 (smie--highlight-matching-block-lastpos)
11383 (smie--highlight-matching-block-timer): New variables.
11384 (smie-highlight-matching-block): New function.
11385 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11386 (smie-setup): Conditionally enable smie-blink-matching-open.
11387
bc8bc17d
WS
113882013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11389
11390 Sync with upstream verilog-mode r840.
11391 * progmodes/verilog-mode.el (verilog-mode-version)
11392 (verilog-mode-release-date): Update.
11393 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11394 (verilog-sig-tieoff): Fix string error on
11395 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11396 (verilog-read-decls): Fix parameters confusing
11397 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11398
df065a0b
EZ
113992013-05-16 Eli Zaretskii <eliz@gnu.org>
11400
11401 * subr.el (reveal-filename): New function.
11402
11403 * loadup.el: Compute Emacs executable versions on MS-Windows,
11404 where executables have the .exe extension. Add a hard link
11405 emacs-XX.YY.ZZ.exe on MS-Windows.
11406
11407 * Makefile.in (XARGS_LIMIT): New variable.
11408 (custom-deps, finder-data, autoloads)
11409 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11410 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11411 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11412 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11413
2d4bf34b
LL
114142013-05-16 Leo Liu <sdl.web@gmail.com>
11415
11416 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11417 (octave-mode-menu, octave-mode-map): Remove its uses.
11418
6b9c2d85
RZ
114192013-05-16 Reto Zimmermann <reto@gnu.org>
11420
11421 Sync with upstream vhdl mode v3.34.2.
11422 * progmodes/vhdl-mode.el: Use `push' throughout.
11423 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11424 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11425 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11426 (vhdl-actual-generic-name): New option to derive actual generic name.
11427 (vhdl-port-paste-signals): Replace formal by actual generics.
11428 (vhdl-beautify): New name for old group vhdl-align. Update users.
11429 (vhdl-beautify-options): New option.
11430 (vhdl-last-input-event): New compat alias. Use throughout.
11431 (vhdl-goto-line): Replace user level function `goto-line'.
11432 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11433 vhdl-fix-statement-buffer.
11434 (vhdl-create-mode-menu): Add some entries.
11435 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11436 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11437 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11438 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11439 to force statements on one line.
11440 (vhdl-remove-trailing-spaces-region):
11441 New, split from vhdl-remove-trailing-spaces.
11442 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11443 Respect vhdl-beautify-options.
11444 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11445 (vhdl-update-sensitivity-list): Not add with index if exists without.
11446 Not include array index with signal. Ignore keywords in comments.
11447 (vhdl-get-visible-signals): Regexp tweaks.
11448 (vhdl-template-component-inst): Handle empty library.
11449 (vhdl-template-type): Add template for 'enum' type.
11450 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11451 Use vhdl-replace-string.
11452 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11453 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11454 (vhdl-speedbar-initialize): Update for above name change.
11455 (vhdl-compose-wire-components): Fix in handling of constants.
11456 (vhdl-error-regexp-emacs-alist): New variable.
11457 (vhdl-error-regexp-add-emacs): New function;
11458 adds support for new compile.el (Emacs 22+)
11459 (vhdl-generate-makefile-1): Change target order for single lib. units.
11460 Allow use of absolute file names.
11461
9df4ec5e
LL
114622013-05-16 Leo Liu <sdl.web@gmail.com>
11463
11464 * simple.el (prog-indent-sexp): Indent enclosing defun.
11465
f5ba00a6
GM
114662013-05-15 Glenn Morris <rgm@gnu.org>
11467
ed8be7ff
GM
11468 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11469 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11470 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11471 (whitespace-highlight): Move to whitespace group.
11472
11473 * comint.el (comint-source):
11474 * pcmpl-linux.el (pcmpl-linux):
11475 * shell.el (shell-faces):
11476 * eshell/esh-opt.el (eshell-opt):
11477 * international/ccl.el (ccl): Remove empty custom groups.
11478
11479 * completion.el (dynamic-completion-mode):
11480 * jit-lock.el (jit-lock-debug-mode):
11481 * minibuffer.el (completion-in-region-mode):
11482 * type-break.el (type-break-mode-line-message-mode)
11483 (type-break-query-mode):
11484 * emulation/tpu-edt.el (tpu-edt-mode):
11485 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11486 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11487 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11488
11489 * term/xterm.el (xterm): Change parent group to terminals.
11490
11491 * master.el (master): Remove empty custom group.
11492 (master-mode): Remove unused :group argument.
11493 * textmodes/refill.el (refill): Remove empty custom group.
11494 (refill-mode): Remove unused :group argument.
11495
11496 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11497
82a7c41b
GM
11498 * cus-dep.el: Provide a feature.
11499 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11500 Don't mistakenly ignore files whose basenames match a basename
11501 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11502 Add a fallback method for getting :group.
f5ba00a6 11503
6d65486d
JL
115042013-05-15 Juri Linkov <juri@jurta.org>
11505
da547b32
JL
11506 * isearch.el (isearch-char-by-name): Rename from
11507 `isearch-insert-char-by-name'. Doc fix.
11508 (isearch-forward): Mention `isearch-char-by-name' in
11509 the docstring. (Bug#13348)
11510
6d65486d
JL
11511 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11512 `exit-minibuffer' instead of
11513 `isearch-nonincremental-exit-minibuffer'.
11514 (isearch-edit-string): Remove mention of
11515 `isearch-nonincremental-exit-minibuffer' from docstring.
11516 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11517 (isearch-forward-exit-minibuffer)
11518 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11519
c9990474
SM
115202013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11521
6e911150
SM
11522 * loadup.el: Just use unversioned DOC.
11523
c9990474
SM
11524 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11525 literals as extending to EOB.
11526 (nxml-last-fontify-end): Remove unused variable.
11527 (nxml-after-change1): Use with-silent-modifications.
11528 (nxml-extend-after-change-region): Simplify.
11529 (nxml-extend-after-change-region1): Remove function.
11530 (nxml-after-change1): Don't adjust for dependent regions.
11531 (nxml-fontify-matcher): Simplify.
11532 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11533 (xmltok-add-dependent): Remove function.
11534 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11535 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11536 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11537 unclosed <[[, <?, comment, and other literals as extending to EOB.
11538 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11539 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11540 Remove functions.
11541 (rng-do-some-validation-1): Don't mark dependent regions.
11542 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11543 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11544 (nxml-clear-dependent-regions): Remove functions.
11545 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11546 (nxml-ensure-scan-up-to-date):
11547 Don't clear&mark dependent regions.
11548
e3772e98
LL
115492013-05-15 Leo Liu <sdl.web@gmail.com>
11550
c9990474
SM
11551 * progmodes/octave.el (octave-goto-function-definition):
11552 Improve and fix callers.
e3772e98 11553
5ac2eb34
SM
115542013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11555
c46c57b0
SM
11556 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11557 the setter (bug#14387).
11558
5ac2eb34
SM
11559 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11560 surrounding group (bug#14402).
11561
180ed218
JL
115622013-05-14 Juri Linkov <juri@jurta.org>
11563
11564 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11565 (Bug#14390)
11566
0ac0fecb
GM
115672013-05-14 Glenn Morris <rgm@gnu.org>
11568
11569 * progmodes/f90.el (f90-imenu-generic-expression):
11570 Fix typo in 2013-05-08 change. (Bug#14402)
11571
2e78e6a7
JPG
115722013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11573
5ac2eb34
SM
11574 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11575 Remove signals for which replies are never received.
2e78e6a7 11576
53267cca
JPG
115772013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11578
11579 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11580 (gdb-handler-alist, gdb-handler-number): Remove variables.
11581 (gdb-handler-list): New variable.
11582 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11583 (gdb-pending-handler-p, gdb-handle-reply)
11584 (gdb-remove-all-pending-triggers): New functions.
11585 (gdb-discard-unordered-replies): New defcustom.
11586 (gdb-handler): New defstruct.
11587 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11588 instead of gdb-pending-triggers. Update docstring.
11589 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11590 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11591 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11592 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11593 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11594 (gdb-frame-handler): Pending triggers are now automatically managed.
11595 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11596 Remove argument.
11597 (gdb-input): Automatically handles pending triggers. Update docstring.
11598 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11599 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11600 Update comments.
11601 (gdb-done-or-error): Now use gdb-handle-reply.
11602
d04ce803
JPG
116032013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11604
11605 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11606 gdb-debug-log.
11607
0114073a
GM
116082013-05-14 Glenn Morris <rgm@gnu.org>
11609
11610 * subr.el (user-emacs-directory-warning): New option.
11611 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11612
4d25fd7e
LL
116132013-05-14 Leo Liu <sdl.web@gmail.com>
11614
11615 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11616 during redisplay.
11617 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11618 (octave-font-lock-texinfo-comment): Fix invalid search bound
11619 error: wrong side of point.
4d25fd7e 11620
27c8b6eb
GM
116212013-05-14 Glenn Morris <rgm@gnu.org>
11622
61aaeb01
GM
11623 * progmodes/flymake.el (flymake-xml-program): New option.
11624 (flymake-xml-init): Use it.
11625
5bf90bc5
GM
11626 * term/xterm.el: Provide a feature.
11627
11628 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11629
f4c7dfd2
GM
116302013-05-13 Glenn Morris <rgm@gnu.org>
11631
11632 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11633 Add compat aliases as a hack workaround. (Bug#14384)
11634
2aeb3a1d
LL
116352013-05-13 Leo Liu <sdl.web@gmail.com>
11636
b0e069c2
LL
11637 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11638 ###, and %!.
f5a9432f
LL
11639 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11640 C-M-q.
b0e069c2
LL
11641 (octave-comment-start-skip): Include %!.
11642 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11643
30ea8374
LL
116442013-05-12 Leo Liu <sdl.web@gmail.com>
11645
11646 * progmodes/octave.el (inferior-octave-startup): Store the value
11647 of __octave_srcdir__ for octave-source-directories.
11648 (inferior-octave-check-process): New function refactored out of
11649 inferior-octave-send-list-and-digest.
11650 (octave-source-directories)
11651 (octave-find-definition-filename-function): New variables.
11652 (octave-source-directories)
11653 (octave-find-definition-default-filename): New functions.
11654 (octave-find-definition): Improve to find functions implemented in C++.
11655
472a3834
GM
116562013-05-12 Glenn Morris <rgm@gnu.org>
11657
11658 * calendar/diary-lib.el (diary-outlook-format-1):
11659 Don't include dayname in the output. (Bug#14349)
11660
3191b52f
GM
116612013-05-11 Glenn Morris <rgm@gnu.org>
11662
0060ac73
GM
11663 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11664
3191b52f
GM
11665 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11666 Treat cc-provide like provide.
11667
e065ba74
KR
116682013-05-11 Kevin Ryde <user42@zip.com.au>
11669
11670 * cus-dep.el (custom-make-dependencies):
11671 Use generated-autoload-load-name for the sake of files such
11672 such cedet/semantic/bovine/c.el, where the base file name
11673 is not in load-path. (Bug#5277)
11674
36f84c37
GM
116752013-05-11 Glenn Morris <rgm@gnu.org>
11676
11677 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11678 Provide features.
11679
c8730c3a
LL
116802013-05-11 Leo Liu <sdl.web@gmail.com>
11681
11682 * progmodes/octave.el (octave-indent-comment): Improve.
11683 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11684 (octave-eldoc-function-signatures, octave-eldoc-function):
11685 New functions.
c8730c3a
LL
11686 (octave-mode, inferior-octave-mode): Add eldoc support.
11687
212e29f2
RS
116882013-05-11 Richard Stallman <rms@gnu.org>
11689
11690 * epa.el (epa-decrypt-file): Take output file name as argument
11691 and read it using `interactive'.
11692
083fe0d7
LL
116932013-05-11 Leo Liu <sdl.web@gmail.com>
11694
11695 * progmodes/octave.el (octave-beginning-of-line)
11696 (octave-end-of-line): Check before using up-list because it jumps
11697 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11698 (octave-indent-comment): New function.
11699 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11700 (octave-begin-keywords, octave-end-keywords)
11701 (octave-reserved-words, octave-smie-bnf-table)
11702 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11703
8582e4c4
GM
117042013-05-11 Glenn Morris <rgm@gnu.org>
11705
f20def1f
GM
11706 * faces.el (internal-face-x-get-resource):
11707 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11708 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11709 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11710 Fix declarations.
f20def1f 11711
445f95e2
GM
11712 * calc/calc-menu.el: Make it loadable in isolation.
11713
11714 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11715 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11716 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11717 (eudc-bbdb-query-internal): Require 'bbdb.
11718
99fb2756
GM
11719 * lpr.el (lpr-headers-switches):
11720 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11721
11722 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11723
0da7ad96
GM
11724 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11725
8582e4c4
GM
11726 * term.el (term-set-escape-char): Make it idempotent.
11727
f71c50d0
LL
117282013-05-10 Leo Liu <sdl.web@gmail.com>
11729
5ac2eb34
SM
11730 * progmodes/octave.el (inferior-octave-completion-table):
11731 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11732 completion due to bug#11906.
11733 (octave-beginning-of-defun): Re-write to be more general.
11734
d5837773
GM
117352013-05-10 Glenn Morris <rgm@gnu.org>
11736
11737 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11738
027c0f75
SM
117392013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11740
11741 * comint.el (comint-redirect-send-command-to-process): Use :around
11742 rather than :override for comint-redirect-filter.
11743 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11744 Call it instead of comint-redirect-original-filter-function (which
11745 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11746
4465bfb4
JD
117472013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11748
11749 * frame.el (display-monitor-attributes-list): Add NS case.
11750 (ns-display-monitor-attributes-list): Declare.
11751
2d809ffa 117522013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11753
11754 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11755
e54eeb9b
GM
117562013-05-09 Glenn Morris <rgm@gnu.org>
11757
56cd351d
GM
11758 * international/fontset.el (vertical-centering-font-regexp):
11759 Set standard-value.
11760
d84b6108
GM
11761 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11762
a931698a
GM
11763 * bookmark.el (bookmark-search-delay):
11764 * cus-start.el (vertical-centering-font-regexp):
11765 * ps-mule.el (ps-mule-font-info-database-default):
11766 * ps-print.el (ps-default-fg, ps-default-bg):
11767 * type-break.el (type-break-good-break-interval):
11768 * whitespace.el (whitespace-indentation-regexp)
11769 (whitespace-space-after-tab-regexp):
11770 * emacs-lisp/testcover.el (testcover-1value-functions)
11771 (testcover-noreturn-functions, testcover-progn-functions)
11772 (testcover-prog1-functions):
11773 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11774 * eshell/em-glob.el (eshell-glob-translate-alist):
11775 * play/tetris.el (tetris-tty-colors):
11776 * progmodes/cpp.el (cpp-face-default-list):
11777 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11778 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11779 (idlwave-help-browser-generic-args):
11780 * progmodes/make-mode.el (makefile-special-targets-list):
11781 * progmodes/python.el (python-shell-virtualenv-path):
11782 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11783 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11784 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11785 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11786 * textmodes/reftex-vars.el (reftex-format-label-function):
11787 * textmodes/remember.el (remember-diary-file): Fix custom types.
11788
e54eeb9b
GM
11789 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11790 Add :version.
11791
455851dd
LL
117922013-05-09 Leo Liu <sdl.web@gmail.com>
11793
11794 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11795 Restore file completion. (Bug#14300)
455851dd
LL
11796 (inferior-octave-startup): Fix incorrect highlighting for the
11797 first prompt.
11798
a9e4425b
SM
117992013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11800
11801 * progmodes/ruby-mode.el: First cut at SMIE support.
11802 (ruby-use-smie): New var.
11803 (ruby-smie-grammar): New constant.
11804 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11805 (ruby-smie--forward-token, ruby-smie--backward-token)
11806 (ruby-smie-rules): New functions.
11807 (ruby-mode-variables): Setup SMIE if applicable.
11808
060ca408
EZ
118092013-05-08 Eli Zaretskii <eliz@gnu.org>
11810
11811 * simple.el (line-move-visual): Signal beginning/end of buffer
11812 only if vertical-motion moved less than it was requested. Avoids
11813 silly incorrect error messages when there are display strings with
11814 multiple newlines at EOL.
11815
1d5963cc
SM
118162013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11817
11818 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11819 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11820 (prolog-char-quote-workaround):
11821 * progmodes/cperl-mode.el (cperl-under-as-char):
11822 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11823 Mark as obsolete.
11824 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11825 their declaration.
11826 (vhdl-mode-syntax-table-init): Remove.
11827
c9990474
SM
11828 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11829 last change.
1d5963cc
SM
11830
11831 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11832 syntax for "_".
11833 (ld-script-font-lock-keywords):
11834 Change regexps to use things like \_< and \_>.
11835
11836 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11837 Change all regexps to use things like \_< and \_>.
11838
11839 * progmodes/autoconf.el (autoconf-definition-regexp)
11840 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11841 Handle a _ with symbol syntax.
11842 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11843
c9990474
SM
11844 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11845 Consolidate declaration.
1d5963cc
SM
11846 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11847 the declaration.
11848 (ada-create-syntax-table): Remove.
11849 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11850 already has the right syntax nowadays.
11851 (ada-goto-next-word): Don't change the syntax of "_".
11852
11853 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11854 with-wrapper-hook.
11855
72d3cfca
SS
118562013-05-08 Sam Steingold <sds@gnu.org>
11857
11858 * thingatpt.el (thing-at-point): Accept optional second argument
11859 NO-PROPERTIES to strip the text properties from the return value.
11860 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11861 to `thing-at-point' instead of stripping the properties ourselves.
11862 Also, when `thing-at-point' fails to find a url, prepend "http://"
11863 to the filename at point on the assumption that the user is
11864 pointing at something like gnu.org/gnu.
11865
5cb15713
JB
118662013-05-08 Juanma Barranquero <lekktu@gmail.com>
11867
11868 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11869 * faces.el (crm-separator):
11870 Silence byte-compiler.
11871
11872 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11873 (tool-bar-map): Remove unneeded defvars.
11874
ea78b95b
LL
118752013-05-08 Leo Liu <sdl.web@gmail.com>
11876
11877 Re-work a fix for bug#10994 based on Le Wang's patch.
11878 * ido.el (ido-remove-consecutive-dups): New helper.
11879 (ido-completing-read): Use it.
11880 (ido-chop): Revert fix for bug#10994.
11881
dc7466df
AS
118822013-05-08 Adam Spiers <emacs@adamspiers.org>
11883
11884 * cus-edit.el (custom-save-variables):
11885 Pretty-print long values. (Bug#14187)
11886
9ecf672a
GM
118872013-05-08 Glenn Morris <rgm@gnu.org>
11888
11889 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11890 (m4-mode-syntax-table): Init in the defvar.
11891 (m4-mode-abbrev-table): Let define-derived-mode define it.
11892
3f555be8
TT
118932013-05-08 Tom Tromey <tromey@redhat.com>
11894
11895 * progmodes/m4-mode.el (m4-mode-syntax-table):
11896 Do not treat "_" as word constituent. (Bug#14167)
11897
7cc8ae06
GM
118982013-05-07 Glenn Morris <rgm@gnu.org>
11899
4f58bc06
GM
11900 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11901 Remove explicit eshell-isearch-cancel-map.
11902
7cc8ae06
GM
11903 * progmodes/f90.el (f90-smart-end-names): New option.
11904 (f90-smart-end): Doc fix.
11905 (f90-end-block-optional-name): New constant.
11906 (f90-block-match): Respect f90-smart-end-names.
11907
ceb57e59
SM
119082013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11909
11910 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11911 about implicit semi-colons (bug#14218).
11912
4e3f9230
YM
119132013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11914
11915 * frame.el (display-monitor-attributes-list)
11916 (frame-monitor-attributes): New functions.
11917
203a5572
LL
119182013-05-06 Leo Liu <sdl.web@gmail.com>
11919
11920 * progmodes/octave.el (octave-syntax-propertize-function): Change
11921 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11922 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11923 (octave-completion-at-point): Rename from
203a5572
LL
11924 octave-completion-at-point-function.
11925 (inferior-octave-directory-tracker): Robustify.
11926 (octave-text-functions): Remove and fix its uses. No such things
11927 any more.
11928
ee6cff99
SM
119292013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * emacs-lisp/trace.el (trace--display-buffer): New function.
11932 (trace-make-advice): Use it.
11933
32985194
JL
119342013-05-06 Juri Linkov <juri@jurta.org>
11935
11936 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11937 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11938 Doc fix.
11939 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11940 in the help string. (Bug#12985)
11941
a1c700de
KD
119422013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11943
11944 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11945
c67c0839
SM
119462013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11947
323885fd
SM
11948 * progmodes/perl-mode.el: Add support for here documents.
11949 (perl-syntax-propertize-function): Match here-doc markers.
11950 (perl-syntax-propertize-special-constructs): Find their end.
11951 (perl-imenu-generic-expression): Use [:alnum:].
11952
c67c0839
SM
11953 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11954 (advice--add-function): Refresh the advice if already present
11955 (bug#14317).
11956
d491e7a8
IA
119572013-05-06 Ivan Andrus <darthandrus@gmail.com>
11958
11959 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11960
ddf9925e
GM
119612013-05-06 Glenn Morris <rgm@gnu.org>
11962
7cc3af27
GM
11963 * w32-fns.el (w32-charset-info-alist): Declare.
11964
16e343d6
GM
11965 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11966 of its defcustom properties.
11967 (eshell-cmpl-initialize): No need to load pcomplete.
11968
7d889a47
GM
11969 * generic-x.el: No need to require comint when compiling.
11970
ddf9925e
GM
11971 * net/eudc-export.el: Make it loadable without bbdb.
11972 (top-level): Use require rather than load-library.
11973 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11974 (eudc-batch-export-records-to-bbdb)
11975 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11976 Require bbdb.
11977
1e2c18df
SM
119782013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11979
11980 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11981 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11982 some tweaks, instead.
11983
02502a5f
LL
119842013-05-05 Leo Liu <sdl.web@gmail.com>
11985
11986 * progmodes/octave.el (octave-font-lock-keywords)
11987 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11988 (inferior-octave-send-list-and-digest): Improve error message.
11989 (octave-mode, inferior-octave-mode): Use setq-local.
11990 (octave-help): Set info-lookup-mode.
11991
0dc04f42
RS
119922013-05-05 Richard Stallman <rms@gnu.org>
11993
6c54491c
RS
11994 * vc/compare-w.el (compare-windows-whitespace):
11995 Treat no-break space as whitespace.
11996
0dc04f42
RS
11997 * mail/rmailsum.el (rmail-summary-rmail-update):
11998 Detect empty summary and don't change selected message.
11999 (rmail-summary-goto-msg): Likewise.
12000
df8f35df
RS
12001 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12002 Doc fixes, rename args.
12003
5356e1a3
AM
120042013-05-05 Alan Mackenzie <acm@muc.de>
12005
12006 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12007
d44014cb
JL
120082013-05-05 Juri Linkov <juri@jurta.org>
12009
12010 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12011 to not add the length of the summary segment to the return value.
12012 (Bug#14125)
12013
c129b51f
LL
120142013-05-05 Leo Liu <sdl.web@gmail.com>
12015
12016 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12017 (inferior-octave-output-filter): Remove.
12018 (octave-send-region, inferior-octave-startup): Fix callers.
12019 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12020 (octave-binary-file-extensions): New user variable.
12021 (octave-find-definition): Confirm if opening binary files.
12022 (octave-help-file): Use octave-find-definition to get the binary
12023 confirmation.
12024 (octave-help): Adjust for octave-help-file change.
12025
aa7dab97
SM
120262013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12029 Merge the two entries that handle function definitions.
12030 (pascal--syntax-propertize): New const.
12031 (pascal-mode): Use it. Use setq-local.
12032
fd3a9a6b
GM
120332013-05-04 Glenn Morris <rgm@gnu.org>
12034
12035 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12036 (diary-from-outlook): Respect diary-from-outlook-function.
12037
30c7e542
SM
120382013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12039
12040 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12041 Move the declaration from C.
12042 (read-minibuffer, eval-minibuffer): Move from C.
12043 (completion-setup-function): Avoid minibuffer-completion-contents.
12044
b54f978b
LL
120452013-05-03 Leo Liu <sdl.web@gmail.com>
12046
12047 * progmodes/octave.el (octave-font-lock-keywords): Do not
12048 dehighlight 'end' in comments or strings.
30c7e542
SM
12049 (octave-completing-read, octave-goto-function-definition):
12050 New helpers.
d4d0f9b3
LL
12051 (octave-help-buffer): New user variable.
12052 (octave-help-file, octave-help-function): New button types.
12053 (octave-help): New command and bind it to C-h ;.
12054 (octave-find-definition): New command and bind it to M-.
d74a1581 12055 (user-error): Alias to error if not defined.
b54f978b 12056
27135018
LL
120572013-05-02 Leo Liu <sdl.web@gmail.com>
12058
12059 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12060 for \. (bug#14332)
12061 (octave-font-lock-keywords): Include [ and {.
12062
0d634d3a
LL
120632013-05-02 Leo Liu <sdl.web@gmail.com>
12064
12065 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12066 (inferior-octave): Remove calling comint-mode and return the buffer.
12067 (inferior-octave-startup): Cosmetic changes.
12068
b4c8295e
LL
120692013-05-02 Leo Liu <sdl.web@gmail.com>
12070
30c7e542
SM
12071 * progmodes/octave.el (octave-syntax-propertize-function):
12072 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12073
f12ad6ec
GM
120742013-05-02 Glenn Morris <rgm@gnu.org>
12075
12076 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12077 * desktop.el (vc-dir-mode): Just autoload it here.
12078
30cac1e0
AM
120792013-05-02 Alan Mackenzie <acm@muc.de>
12080
12081 Eliminate variable c-standard-font-lock-fontify-region-function.
12082 * progmodes/cc-mode.el
12083 (c-standard-font-lock-fontify-region-function): Remove.
12084 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12085
d8ef28b1
LL
120862013-05-01 Leo Liu <sdl.web@gmail.com>
12087
2640d52e 12088 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12089 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12090 variables were removed from Octave in 2007.
d8ef28b1
LL
12091 (inferior-octave-startup): Fix uses.
12092 (comint-line-beginning-position): Remove compatibility code for
12093 emacs 21.
12094
ac63ec89
JL
120952013-05-01 Juri Linkov <juri@jurta.org>
12096
12097 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12098
9e9be37c
JL
120992013-05-01 Juri Linkov <juri@jurta.org>
12100
12101 * comint.el (comint-previous-matching-input): Don't print message
12102 "History item: %d" when `isearch-mode' is active.
12103 (comint-history-isearch-message): Print message "History item: %d"
12104 when `comint-input-ring-index' is not empty and this function is
12105 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12106
9b92c13b
LL
121072013-05-01 Leo Liu <sdl.web@gmail.com>
12108
12109 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12110 definitions. Use completion-at-point to insert keywords.
12111 (octave-abbrev-start): Remove.
12112 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12113
b12d33d7
LL
121142013-04-30 Leo Liu <sdl.web@gmail.com>
12115
12116 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12117 change.
12118
3d1c39fa
AM
121192013-04-30 Alan Mackenzie <acm@muc.de>
12120
12121 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12122 * progmodes/cc-engine.el (c-back-over-member-initializers):
12123 new function.
3d1c39fa
AM
12124 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12125 (most) member init lists.
12126
5147fc17
RS
121272013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12128
12129 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12130 variable.
12131
5b78d7fc
LL
121322013-04-30 Leo Liu <sdl.web@gmail.com>
12133
12134 * progmodes/octave.el (octave-variables): Remove. No builtin
12135 variables any more. All converted to functions.
12136 (octave-font-lock-keywords, octave-completion-at-point-function):
12137 Fix uses.
12138 (octave-font-lock-texinfo-comment): New user variable.
12139 (octave-texinfo-font-lock-keywords): New variable for texinfo
12140 comment block.
12141 (octave-function-comment-block): New face.
12142 (octave-font-lock-texinfo-comment): New function.
12143 (octave-mode): Font lock texinfo comment block.
12144
38d8527b
LL
121452013-04-29 Leo Liu <sdl.web@gmail.com>
12146
12147 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12148 indexing expression.
12149 (octave-continuation-string): Do not use \.
12150 (inferior-octave-complete-impossible): Remove.
12151 (inferior-octave-completion-table)
12152 (inferior-octave-completion-at-point): Remove its uses.
12153 (inferior-octave-startup): completion_matches was introduced to
12154 Octave in 1996 so safe to assume it.
12155 (octave-function-file-comment): Improve to follow how Octave does it.
12156 (octave-update-function-file-comment): Tweak.
12157
2ec12cb0
LL
121582013-04-29 Leo Liu <sdl.web@gmail.com>
12159
12160 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12161 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12162 (octave-function-file-comment): Fix typo.
12163 (octave-sync-function-file-names): Use read-char-choice.
12164
6eaed048
JB
121652013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12166
12167 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12168 to t for the less important warnings.
12169
3ffa2d4f
DH
121702013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12171
12172 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12173
685c9501
GM
121742013-04-27 Glenn Morris <rgm@gnu.org>
12175
12176 * vc/log-view.el (log-view-current-entry):
12177 Treat "---" separator lines as part of the following rev. (Bug#14169)
12178
0208ede7
JL
121792013-04-27 Juri Linkov <juri@jurta.org>
12180
12181 * subr.el (read-number): Doc fix about using it by interactive
12182 code letter `n'. (Bug#14254)
12183
5db9dace
JL
121842013-04-27 Juri Linkov <juri@jurta.org>
12185
12186 * desktop.el (desktop-auto-save-timeout): New option.
12187 (desktop-file-checksum): New variable.
12188 (desktop-save): Add optional arg `auto-save' and don't auto-save
12189 if nothing changed.
12190 (desktop-auto-save-timer): New variable.
12191 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12192 (after-init-hook): Call `desktop-auto-save-set-timer'.
12193 Suggested by Reuben Thomas <rrt@sc3d.org> in
12194 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12195
b7260dd4
LL
121962013-04-27 Leo Liu <sdl.web@gmail.com>
12197
12198 * progmodes/octave.el (octave-function-file-p)
12199 (octave-skip-comment-forward, octave-function-file-comment)
12200 (octave-update-function-file-comment): New functions.
12201 (octave-mode-map): Bind C-c ; to
12202 octave-update-function-file-comment.
12203 (octave-mode-menu): Add octave-update-function-file-comment.
12204 (octave-mode, inferior-octave-mode): Fix doc-string.
12205 (octave-insert-defun): Conform to Octave's coding convention.
12206 (Bug#14285)
12207
12208 * files.el (basic-save-buffer): Don't let errors in
12209 before-save-hook prevent saving buffer.
12210
c46da669
RW
122112013-04-20 Roland Winkler <winkler@gnu.org>
12212
12213 * faces.el (read-face-name): Use completing-read if arg multiple
12214 is nil.
12215
a81ee1eb
IL
122162013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12217
12218 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12219 displayed, move point to after the totals line.
12220 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12221 for the details.
12222
4fac34ce
SM
122232013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12224
12225 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12226 Add current dir to the load-path.
12227 (package-generate-autoloads): Don't rely on
12228 autoload-ensure-default-file.
12229
f6bfc063
RT
122302013-04-26 Reuben Thomas <rrt@sc3d.org>
12231
d40ab5cf
BG
12232 * textmodes/remember.el (remember-store-in-files): Document that
12233 the file name format is passed to `format-time-string'.
f6bfc063 12234
e55d3b04
LL
122352013-04-26 Leo Liu <sdl.web@gmail.com>
12236
12237 * progmodes/octave.el (octave-sync-function-file-names): New function.
12238 (octave-mode): Use it in before-save-hook.
12239
e53052d3
SM
122402013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12241
140ef50c
SM
12242 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12243 (bug#14274).
12244
e53052d3
SM
12245 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12246 \n and comment, even if it's not an implicit ; (bug#14218).
12247
af80458d 122482013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12249
12250 * subr.el (read-number): Once more use `read' rather than
12251 `string-to-number', to trap non-numeric input. (Bug#14254)
12252
af80458d 122532013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12254
12255 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12256 Use `syntax-multiline' text property consistently instead of
8a621d53 12257 `font-lock-multiline'. (Bug#14237)
70203c2e 12258
e6ea1f6c
GM
122592013-04-26 Glenn Morris <rgm@gnu.org>
12260
12261 * emacs-lisp/shadow.el (list-load-path-shadows):
12262 No longer necessary to check for duplicate simple.el, since
12263 2012-07-07 change to init_lread to not include installation lisp
12264 directories in load-path when running uninstalled. (Bug#14270)
12265
070ccca4
LL
122662013-04-26 Leo Liu <sdl.web@gmail.com>
12267
12268 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12269 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12270 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12271 octave-in-string-or-comment-p.
12272 (octave-in-comment-p, octave-in-string-p)
12273 (octave-in-string-or-comment-p): Replace defsubst with defun.
12274
9d1c5fb6
PE
122752013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12276
12277 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12278
c034abda
BG
122792013-04-25 Bastien Guerry <bzg@gnu.org>
12280
12281 * textmodes/remember.el (remember-data-directory)
12282 (remember-directory-file-name-format): Fix custom types.
12283
584ea277
LL
122842013-04-25 Leo Liu <sdl.web@gmail.com>
12285
e53052d3
SM
12286 * progmodes/octave.el (octave-completion-at-point-function):
12287 Make use of inferior octave process.
584ea277
LL
12288 (octave-initialize-completions): Remove.
12289 (inferior-octave-completion-table): New function.
12290 (inferior-octave-completion-at-point): Use it.
12291 (octave-completion-alist): Remove.
12292
1693b06a
SM
122932013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12294
12295 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12296 (opascal-mode-syntax-table): New var.
12297 (opascal-literal-kind, opascal-is-literal-end)
12298 (opascal-literal-token-at): Rewrite.
12299 (opascal--literal-start-re, opascal-font-lock-keywords)
12300 (opascal--syntax-propertize): New constants.
12301 (opascal-font-lock-defaults): Adjust.
12302 (opascal-mode): Use them. Set comment-<foo> variables as well.
12303 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12304 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12305 (delphi-other-face, opascal-other-face): Remove face variables.
12306 (opascal-save-state): Remove macro.
12307 (opascal-fontifying-progress-step): Remove constant.
12308 (opascal--ignore-changes): Remove var.
12309 (opascal-set-token-property, opascal-parse-next-literal)
12310 (opascal-is-stable-literal, opascal-complete-literal)
12311 (opascal-is-literal-start, opascal-face-of)
12312 (opascal-parse-region, opascal-parse-region-until-stable)
12313 (opascal-fontify-region, opascal-after-change)
12314 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12315 (opascal-debug-parse-region, opascal-debug-parse-window)
12316 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12317 (opascal-debug-fontify-buffer): Remove.
12318 (opascal-debug-mode-map): Adjust accordingly.
12319
be64c05d
LL
123202013-04-25 Leo Liu <sdl.web@gmail.com>
12321
12322 Merge octave-mod.el and octave-inf.el into octave.el with some
12323 cleanups.
12324 * progmodes/octave.el: New file renamed from octave-mod.el.
12325 * progmodes/octave-inf.el: Merged into octave.el.
12326 * progmodes/octave-mod.el: Renamed to octave.el.
12327
d79d37bd
TH
123282013-04-25 Tassilo Horn <tsdh@gnu.org>
12329
12330 * textmodes/reftex-vars.el
12331 (reftex-label-ignored-macros-and-environments): New defcustom.
12332
12333 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12334
ced3fc5d
SM
123352013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12338 (smie-indent-keyword): Improve the check to ensure that the next
12339 comment is really on the same line.
12340 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12341
12342 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12343 semi-colons if the line is not otherwise empty (bug#14218).
12344
1c141dad
GM
123452013-04-25 Glenn Morris <rgm@gnu.org>
12346
12347 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12348
5058062a
SM
123492013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12350
12351 * progmodes/opascal.el (opascal-set-token-property): Rename from
12352 opascal-set-text-properties and only set `token' (bug#14134).
12353 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12354 (opascal-literal-text-properties): Remove.
12355 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12356 Adjust callers.
12357
5db9dace 123582013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12359
12360 * textmodes/remember.el (remember-handler-functions): Add an
12361 option for a new handler `remember-store-in-files'.
12362 (remember-data-directory, remember-directory-file-name-format):
12363 New options.
12364 (remember-store-in-files): New function to store remember notes
12365 as separate files within a directory.
12366
4391916c
MH
123672013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12368
12369 * progmodes/compile.el (compilation-next-error-function):
12370 Pass "formats" to compilation-find-file (bug#11777).
12371
bb7cdf58
GM
123722013-04-24 Glenn Morris <rgm@gnu.org>
12373
3b8fe752 12374 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12375 * vc/vc-hg.el (vc-hg-print-log):
12376 * vc/vc-svn.el (vc-svn-print-log):
12377 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12378
bb7cdf58
GM
12379 * vc/vc-bzr.el (vc-bzr-print-log):
12380 * vc/vc-cvs.el (vc-cvs-print-log):
12381 * vc/vc-git.el (vc-git-print-log):
12382 * vc/vc-hg.el (vc-hg-print-log):
12383 * vc/vc-mtn.el (vc-mtn-print-log):
12384 * vc/vc-rcs.el (vc-rcs-print-log):
12385 * vc/vc-sccs.el (vc-sccs-print-log):
12386 * vc/vc-svn.el (vc-svn-print-log):
12387 * vc/vc.el (vc-print-log-internal): Doc fixes.
12388
b46a056e
GM
123892013-04-23 Glenn Morris <rgm@gnu.org>
12390
12391 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12392 Remove venerable code attempting to avoid substitute-command-keys.
12393
0aecf718
TH
123942013-04-23 Tassilo Horn <tsdh@gnu.org>
12395
4391916c
MH
12396 * textmodes/reftex-vars.el (reftex-label-regexps):
12397 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12398
117f94cf
SM
123992013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12400
4391916c 12401 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12402 Use lexical-binding.
12403 (jit-lock-force-redisplay): Use markers, check buffer's continued
12404 existence and beware narrowed buffers.
12405 (jit-lock-fontify-now): Adjust call accordingly.
12406
1d829c64
SM
124072013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12408
12409 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12410 to avoid misleading the user.
12411
72d548a9
LL
124122013-04-22 Leo Liu <sdl.web@gmail.com>
12413
12414 * info-look.el: Prefer latex2e.info. (Bug#14240)
12415
d0853629
MA
124162013-04-22 Michael Albinus <michael.albinus@gmx.de>
12417
12418 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12419
12420 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12421 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12422 (tramp-set-completion-function, tramp-parse-putty):
12423 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12424 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12425 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12426 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12427 (tramp-call-local-coding-command): Use `tramp-call-process'
12428 instead of `tramp-compat-call-process'.
12429
12430 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12431 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12432 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 12433 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12434 (tramp-maybe-send-script): Check for Perl binary.
12435 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12436
38cc0210
DU
124372013-04-22 Daiki Ueno <ueno@gnu.org>
12438
12439 * epg.el (epg-context-pinentry-mode): New function.
12440 (epg-context-set-pinentry-mode): New function.
12441 (epg--start): Pass --pinentry-mode option to gpg command.
12442
cc641ee1
XF
124432013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12444
02d844b5 12445 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12446 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12447 `completion-at-point'. (Bug#13774)
5d4e5c31 12448
cc641ee1
XF
12449 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12450 default key binding for `describe-distribution' has been moved to
12451 `C-h C-o'. (Bug#13970)
12452
1b42ee43
GM
124532013-04-21 Glenn Morris <rgm@gnu.org>
12454
12455 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12456 Add doc strings.
12457 (vc-print-log): Clarify interactive prompt.
12458
a6d63d97
GM
124592013-04-20 Glenn Morris <rgm@gnu.org>
12460
12461 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12462 No longer include timestamp etc information.
12463
d7f5c16f
RW
124642013-04-20 Roland Winkler <winkler@gnu.org>
12465
12466 * faces.el (read-face-name): Bug fix, return just one face if arg
12467 multiple is nil. (Bug#14209)
12468
bcd7a0a4
SM
124692013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12470
12471 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12472 (remove-function): Autoload.
12473
12474 * comint.el (comint-redirect-original-filter-function): Remove.
12475 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12476 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12477 (vc-cvs-annotate-command):
bcd7a0a4
SM
12478 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12479 * progmodes/prolog.el (prolog-consult-compile):
12480 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12481 Use add/remove-function instead.
12482 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12483 (gud-tooltip-process-output, gud-tooltip-tips):
12484 Use add/remove-function instead.
12485 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12486 (scheme-interaction-mode, exit-scheme-interaction-mode):
12487 Use add/remove-function instead.
12488
12489 * vc/vc-dispatcher.el: Use lexical-binding.
12490 (vc--process-sentinel): Rename from vc-process-sentinel.
12491 Change last arg to be the code to run. Don't use vc-previous-sentinel
12492 and vc-sentinel-commands any more.
12493 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12494 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12495
e36b2d20 124962013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12497
bcd7a0a4 12498 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12499 Handle function names with a single character. (Bug#14111)
4d3268ba 12500
781b4af6 125012013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12502
12503 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12504 for subroutines defined in an eval (bug#14182).
12505
7d688336
TV
125062013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12507
12508 * bookmark.el (bookmark-completing-read): Improve handling of empty
12509 string (bug#14176).
12510
31dcede0
SM
125112013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12514
adc31213
FEG
125152013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12516
12517 New faster Imenu implementation (bug#14058).
12518 * progmodes/python.el:
12519 (python-imenu-prev-index-position):
12520 (python-imenu-format-item-label-function)
12521 (python-imenu-format-parent-item-label-function)
12522 (python-imenu-format-parent-item-jump-label-function):
12523 New vars.
12524 (python-imenu-format-item-label)
12525 (python-imenu-format-parent-item-label)
12526 (python-imenu-format-parent-item-jump-label)
12527 (python-imenu--put-parent, python-imenu--build-tree)
12528 (python-imenu-create-index, python-imenu-create-flat-index)
12529 (python-util-popn): New functions.
12530 (python-mode): Set imenu-create-index-function to
12531 python-imenu-create-index.
12532
cdca8255
SM
125332013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * winner.el (winner-active-region): Use region-active-p, activate-mark
12536 and deactivate-mark (bug#14225).
12537
12538 * simple.el (deactivate-mark): Don't inline it.
12539
beb42340
MA
125402013-04-18 Michael Albinus <michael.albinus@gmx.de>
12541
12542 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12543
fc7f4d7e
TH
125442013-04-18 Tassilo Horn <tsdh@gnu.org>
12545
12546 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12547 file extensions from the archive-mode entry in order to prefer
12548 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12549
29f47822
LL
125502013-04-18 Leo Liu <sdl.web@gmail.com>
12551
12552 * bindings.el (help-event-list): Add ?\?.
12553
d36ed1c8
SM
125542013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12555
12556 * subr.el (with-wrapper-hook): Declare obsolete.
12557 * simple.el (filter-buffer-substring-function): New hook.
12558 (filter-buffer-substring): Use it.
12559 (filter-buffer-substring-functions): Mark obsolete.
12560 * minibuffer.el (completion-in-region-function): New hook.
12561 (completion-in-region): Use it.
12562 (completion-in-region-functions): Mark obsolete.
12563 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12564 * abbrev.el (abbrev-expand-function): New hook.
12565 (expand-abbrev): Use it.
12566 (abbrev-expand-functions): Mark obsolete.
12567 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12568 and :filter-return.
12569
04754d36
FEG
125702013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12571
12572 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12573 and do not care about match data.
12574
dd8791e9
SM
125752013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12576
12577 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12578 completion tables when completing error conditions and
12579 `declare' arguments.
12580 (lisp-complete-symbol, field-complete): Mark as obsolete.
12581 (check-parens): Unmatched parens are user errors.
12582 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12583
ffe54a13
AM
125842013-04-17 Michal Nazarewicz <mina86@mina86.com>
12585
dd8791e9
SM
12586 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12587 command changed buffer (ie. `flyspell-pre-buffer' is not current
12588 buffer), which prevents making decisions based on invalid value of
12589 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12590 cause an error when `flyspell-pre-point' was nil after switching
12591 buffers.
12592 (flyspell-post-command-hook): No longer needs to change buffers when
12593 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12594
ec7e39f2
AM
125952013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12596
12597 * textmodes/ispell.el (ispell-add-per-file-word-list):
12598 Fix `flyspell-correct-word-before-point' error when accepting
12599 words and `coment-padding' is an integer by using
12600 `comment-normalize-vars' (Bug #14214).
12601
083850a6
FEG
126022013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12603
12604 New defun movement commands.
12605 * progmodes/python.el (python-nav--syntactically)
12606 (python-nav--forward-defun, python-nav-backward-defun)
12607 (python-nav-forward-defun): New functions.
12608
619ed6e1
FEG
126092013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12610
12611 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12612 (python-syntax-context): Use named compiler-macro for backwards
12613 compatibility with Emacs 24.x.
12614
7a1beb6c
LL
126152013-04-17 Leo Liu <sdl.web@gmail.com>
12616
12617 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12618 octave-hide-process-buffer.
12619
2d3fa3e5
SM
126202013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12621
12622 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12623 (bug#14216).
12624
7ce5be54
JPG
126252013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12626
12627 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12628 Fix adjustment of offset when receiving incomplete responses from GDB
12629 (bug#14129).
12630
351edece
SM
126312013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12632
12633 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12634 python-mode-abbrev-table.
12635 (python-skeleton-define): Adjust accordingly.
12636 (python-mode-abbrev-table): New table that inherits from it so that
12637 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12638
12639 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12640 (abbrev-symbol): Use it.
12641 (abbrev--before-point): Use it since we already handle inheritance.
12642
613f9481
LL
126432013-04-16 Leo Liu <sdl.web@gmail.com>
12644
12645 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12646 binding to info-lookup-symbol.
12647
51646b62
JB
126482013-04-16 Juanma Barranquero <lekktu@gmail.com>
12649
12650 * minibuffer.el (completion--twq-all):
12651 * term/ns-win.el (ns-initialize-window-system):
12652 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12653
efb3f01d
SM
126542013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12655
36c0a301
SM
12656 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12657 global bindings.
12658
efb3f01d
SM
12659 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12660
fb549d64
DG
126612013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12662
12663 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12664 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12665 to nil.
12666 (ruby-end-of-defun): Remove the unused arg, change the docstring
12667 to reflect that this function is only used as the value of
12668 `end-of-defun-function'.
12669 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12670 to reflect an earlier change that beginning/end-of-defun functions
12671 jump between methods in a class definition, as well as top-level
12672 functions.
12673
21e8fe2f
SM
126742013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12675
12676 * minibuffer.el (minibuffer-complete): Don't just scroll
12677 a *Completions* that's been iconified.
12678 (minibuffer-force-complete): Make sure repetitions do cycle when going
12679 through completion-in-region -> minibuffer-complete.
12680
20e527d0
AM
126812013-04-15 Alan Mackenzie <acm@muc.de>
12682
12683 Correct the placement of c-cpp-delimiters when there're #s not at
12684 col 0.
12685
12686 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12687 place a submatch around the #.
21e8fe2f
SM
12688 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12689 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12690 on the #, not BOL.
12691
dabefae5
SM
126922013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12693
12694 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12695 (advice--member-p): New arg `name'.
12696 (advice--add-function, advice-member-p): Use it (bug#14202).
12697
85c9ab64
AM
126982013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12699
12700 Reformulate java imenu-generic-expression.
12701 The old expression contained ill formed regexps.
12702
12703 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12704 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12705 (cc-imenu-java-method-arg-regexp): New defconsts.
12706 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12707 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12708 handling of spaces in the regexp.
12709
0f821d99
AM
127102013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12711
12712 * textmodes/ispell.el (ispell-command-loop): Remove
12713 flyspell highlight of a word when ispell accepts it (bug #14178).
12714
eb922adf
MA
127152013-04-15 Michael Albinus <michael.albinus@gmx.de>
12716
12717 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12718 uses code from the previous `ange-ftp-run-real-handler'.
12719 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12720 only in case that function exist. This is needed for proper
12721 unloading of Tramp.
12722
4d9a0979
TH
127232013-04-15 Tassilo Horn <tsdh@gnu.org>
12724
12725 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12726
12727 * textmodes/reftex.el (reftex-compile-variables): Use it.
12728
a829b0dc
SM
127292013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12730
91e8293c
SM
12731 * files.el (normal-mode): Only use default major-mode if no other mode
12732 was specified.
12733
830aed4d
SM
12734 * emacs-lisp/trace.el (trace-values): New function.
12735
a829b0dc
SM
12736 * files.el: Allow : in local variables (bug#14089).
12737 (hack-local-variable-regexp): New var.
12738 (hack-local-variables-prop-line, hack-local-variables): Use it.
12739
7ae9f0fb
RW
127402013-04-13 Roland Winkler <winkler@gnu.org>
12741
12742 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12743 data before it gets modified by bibtex-beginning-of-entry.
12744
6646e848
RW
127452013-04-13 Roland Winkler <winkler@gnu.org>
12746
12747 * textmodes/bibtex.el (bibtex-url): Doc fix.
12748
127492013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12750
12751 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12752 does not visit a BibTeX file, exclude it from the list of buffers
12753 returned by bibtex-initialize.
12754
0aa3616e
SB
127552013-04-13 Stephen Berman <stephen.berman@gmx.net>
12756
12757 * window.el (split-window): Remove interactive form, since as a
12758 command this function is a special case of split-window-below.
12759 Correct doc string.
12760
011cddd6
RW
127612013-04-12 Roland Winkler <winkler@gnu.org>
12762
12763 * faces.el (read-face-name): Do not override value of arg default.
12764 Allow single faces and strings as default values. Remove those
12765 elements from return value that are not faces.
12766 (describe-face): Simplify.
12767 (face-at-point): New optional args thing and multiple so that this
12768 function can provide the same functionality previously provided by
12769 read-face-name.
12770 (make-face-bold, make-face-unbold, make-face-italic)
12771 (make-face-unitalic, make-face-bold-italic, invert-face)
12772 (modify-face, read-face-and-attribute): Use face-at-point.
12773
12774 * cus-edit.el (customize-face, customize-face-other-window)
12775 * cus-theme.el (custom-theme-add-face)
12776 * face-remap.el (buffer-face-set)
12777 * facemenu.el (facemenu-set-face): Use face-at-point.
12778
f24e0036
MA
127792013-04-12 Michael Albinus <michael.albinus@gmx.de>
12780
12781 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12782
da3cda2d
TH
127832013-04-10 Tassilo Horn <tsdh@gnu.org>
12784
12785 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12786 off leading { and trailing } from field values.
12787
15e54145
SM
127882013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12789
78ce603d
SM
12790 * emacs-lisp/timer.el (timer--check): New function.
12791 (timer--time, timer-set-function, timer-event-handler): Use it.
12792 (timer-set-idle-time): Simplify.
12793 (timer--activate): CSE.
12794 (timer-event-handler): Give more info in error message.
12795 (internal-timer-start-idle): New function, moved from C.
12796
15e54145
SM
12797 * mpc.el (mpc-proc): Add `restart' argument.
12798 (mpc-proc-cmd): Use it.
12799 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12800 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12801 less often.
12802
7144c627
MY
128032013-04-10 Masatake YAMATO <yamato@redhat.com>
12804
12805 * progmodes/sh-script.el: Implement `sh-mode' own
12806 `add-log-current-defun-function' (bug#14112).
12807 (sh-current-defun-name): New function.
12808 (sh-mode): Use the function.
12809
b39792eb
BG
128102013-04-09 Bastien Guerry <bzg@gnu.org>
12811
12812 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12813
8acdeb71
SM
128142013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12815
6fcdab68
SM
12816 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12817
8acdeb71
SM
12818 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12819 timer (bug#14156).
12820
e3e7b504
NF
128212013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12822
12823 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12824 declaration.
12825
201bb296
LL
128262013-04-07 Leo Liu <sdl.web@gmail.com>
12827
12828 * pcmpl-x.el: New file.
12829
ebb19708
DA
128302013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12831
12832 Do not set x-display-name until X connection is established.
12833 This is needed to prevent from weird situation described at
12834 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12835 * frame.el (make-frame): Set x-display-name after call to
12836 window system initialization function, not before.
12837 * term/x-win.el (x-initialize-window-system): Add optional
12838 display argument and use it.
12839 * term/w32-win.el (w32-initialize-window-system):
12840 * term/ns-win.el (ns-initialize-window-system):
12841 * term/pc-win.el (msdos-initialize-window-system):
12842 Add compatible optional display argument.
12843
33bb237a
EZ
128442013-04-06 Eli Zaretskii <eliz@gnu.org>
12845
12846 * files.el (normal-backup-enable-predicate): On MS-Windows and
12847 MS-DOS compare truenames of temporary-file-directory and of the
12848 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12849 don't fail comparison by compare-strings. Also, compare file
12850 names case-insensitively on MS-Windows and MS-DOS.
12851
134abf1f
SM
128522013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12853
12854 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12855 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12856
d695cb94
DG
128572013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12858
e3e7b504
NF
12859 * whitespace.el (whitespace-color-on, whitespace-color-off):
12860 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12861
f4ad7ea1 128622013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12863
12864 * ispell.el (ispell-set-spellchecker-params):
12865 Really set `ispell-args' for all equivs.
12866
632556e4
SM
128672013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12868
12869 * ido.el (ido-completions): Use extra elements of ido-decorations
12870 (bug#14143).
12871 (ido-decorations): Update docstring.
12872
2a417372
MA
128732013-04-05 Michael Albinus <michael.albinus@gmx.de>
12874
12875 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12876 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12877 nil during initialization, in order not to miss changes since the
12878 file was opened. (Bug#14140)
12879
fc164b0c
LL
128802013-04-05 Leo Liu <sdl.web@gmail.com>
12881
12882 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12883
0ccecc08
JB
128842013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12885
12886 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12887
51af1aa2
GM
128882013-04-04 Glenn Morris <rgm@gnu.org>
12889
12890 * electric.el (electric-pair-inhibit-predicate): Add :version.
12891
b208ebc6
SM
128922013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12893
12894 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12895 when a package is required several times (bug#14082).
12896
f3d3eaf0
RW
128972013-04-04 Roland Winkler <winkler@gnu.org>
12898
12899 * faces.el (read-face-name): Behave as promised by the docstring.
12900 Assume that arg default is a list of faces.
12901 (describe-face): Call read-face-name with list of default faces.
12902
2575da50
TV
129032013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12904
12905 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12906 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12907 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12908 the header.
12909 (bookmark-exit-hook-internal): Save even if list is empty.
12910
397703b4
YH
129112013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12912
12913 * emacs-lisp/package.el (package-pinned-packages): New var.
12914 (package--add-to-archive-contents): Obey it (bug#14118).
12915
691e26ae
AM
129162013-04-03 Alan Mackenzie <acm@muc.de>
12917
8a621d53
JB
12918 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12919 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12920
12921 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12922 parameter `not-in-delimiter'. Handle being inside comment opener.
12923 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12924 character in case we're typing a '*' after a '/'.
12925 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12926 instead by passing the parameter to c-state-pp-to-literal.
12927
12928 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12929 for elt. 7 of a parse state.
12930
4b725a70
PE
129312013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12932
12933 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12934 * international/latin1-disp.el, international/mule-util.el:
12935 * language/cyril-util.el, language/european.el, language/ind-util.el:
12936 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12937 * language/tibetan.el, language/viet-util.el:
12938 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12939
15c579f0
SM
129402013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12941
12942 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12943 (electric-pair-post-self-insert-function): Use it.
12944 (electric-pair-default-inhibit): New function, extracted from
12945 electric-pair-post-self-insert-function.
12946
a77e2924
RW
129472013-03-31 Roland Winkler <winkler@gnu.org>
12948
12949 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12950
2bd8a4a8
SM
129512013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12952
12953 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12954
8d3655be 129552013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12956
12957 Un-indent after "pass" and "return" statements (Bug#13888)
12958 * progmodes/python.el (python-indent-block-enders): New var.
12959 (python-indent-calculate-indentation): Use it.
12960
8d3655be 129612013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12962
12963 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12964 defun. Defining it as defalias could introduce too eager
12965 byte-compiler optimization. (Bug#14030)
12966
8d3655be 129672013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12968
12969 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12970
0b1619da
LL
129712013-03-30 Leo Liu <sdl.web@gmail.com>
12972
12973 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12974 (kmacro-execute-from-register): Pass the keyboard macro to
12975 kmacro-call-macro or repeating won't work correctly.
12976
0b938190
TZ
129772013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12978
12979 * progmodes/subword.el: Back to using `forward-symbol'.
12980
12981 * subr.el (forward-whitespace, forward-symbol)
12982 (forward-same-syntax): Move from thingatpt.el.
12983
35710234
LL
129842013-03-29 Leo Liu <sdl.web@gmail.com>
12985
12986 * kmacro.el (kmacro-to-register): New command.
12987 (kmacro-execute-from-register): New function.
12988 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12989
efc0bb73
SM
129902013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12991
12992 * mpc.el: Use defvar-local and setq-local.
12993 (mpc--proc-connect): Connection failures are not bugs.
12994 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12995 (mpc-volume-map): Bind to the up-events.
12996
75a2f981
TZ
129972013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12998
12999 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13000 instead of `forward-symbol'.
13001
17c781d1
SM
130022013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13003
13004 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13005 (edebug--recursive-edit): Use it.
13006 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13007 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13008
f67bfbcf
LL
130092013-03-28 Leo Liu <sdl.web@gmail.com>
13010
13011 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13012
b59f639d
EZ
130132013-03-27 Eli Zaretskii <eliz@gnu.org>
13014
13015 * facemenu.el (list-colors-callback): New defvar.
13016 (list-colors-redisplay): New function.
13017 (list-colors-display): Install list-colors-redisplay as the
13018 revert-buffer-function. (Bug#14063)
13019
f557c1b1
SM
130202013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13021
b1da2957
SM
13022 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13023 and suffixes don't overlap (bug#14061).
13024
f557c1b1
SM
13025 * case-table.el: Use lexical-binding.
13026 (case-table-get-table): New function.
13027 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13028
002668e1
TZ
130292013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13030
13031 * progmodes/subword.el: Add `superword-mode' to do word motion
13032 over symbol_words (parallels and leverages `subword-mode' which
13033 does word motion inside MixedCaseWords).
13034
73572c72
AG
130352013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13036
78b8f320 13037 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13038 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13039
69b2c07e
SM
130402013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13041
13042 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13043 Change return value to be a sexp. Delay `get-buffer' to after
13044 restoring the desktop (bug#13951).
13045
08bb5ee2
LL
130462013-03-26 Leo Liu <sdl.web@gmail.com>
13047
13048 * register.el: Move semantic tag handling back to
13049 cedet/semantic/senator.el. (Bug#14052)
13050
8d4c974e
SM
130512013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13052
13053 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13054 into the prompt either (bug#13963).
13055
b234d92c
SM
130562013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13059 part of "(error-foo)".
13060
ddfa3cb4
JL
130612013-03-24 Juri Linkov <juri@jurta.org>
13062
13063 * replace.el (list-matching-lines-prefix-face): New defcustom.
13064 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13065 `occur-engine' if `face-differs-from-default-p' returns t.
13066 (occur-engine): Add `,' inside backquote construct to evaluate
13067 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13068 Pass `prefix-face' to the functions `occur-context-lines' and
13069 `occur-engine-add-prefix'.
13070 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13071 `prefix-face' and propertize the prefix with `prefix-face'.
13072 (Bug#14017)
13073
7b0e2f85
LL
130742013-03-24 Leo Liu <sdl.web@gmail.com>
13075
13076 * nxml/rng-valid.el (rng-validate-while-idle)
13077 (rng-validate-quick-while-idle): Guard against deleted buffer.
13078 (Bug#13999)
13079
13080 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13081 is the last entry in kill-buffer-hook.
13082
13083 * files.el (kill-buffer-hook): Doc fix.
13084
b3082f49
DG
130852013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13086
b234d92c
SM
13087 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13088 Make it safe-local.
bde73d27 13089
b3082f49
DG
13090 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13091
a320a2db
LL
130922013-03-23 Leo Liu <sdl.web@gmail.com>
13093
7e74b0fb
LL
13094 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13095 Remove.
13096
13097 * nxml/rng-valid.el (rng-validate-mode)
13098 (rng-after-change-function, rng-do-some-validation):
13099 * nxml/rng-maint.el (rng-validate-buffer):
13100 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13101 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13102 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13103 (nxml-extend-after-change-region): Use with-silent-modifications.
13104
a320a2db
LL
13105 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13106 timer-idle-list.
13107
13108 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13109 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13110 timer-idle-list. (Bug#13999)
13111
e38e6780
JL
131122013-03-23 Juri Linkov <juri@jurta.org>
13113
13114 * info.el (info-index-match): New face.
13115 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13116 main pattern and add text properties with the new face to matches
13117 in index entries relative to the beginning of the index entry.
13118 (Bug#14015)
13119
e8cc7880
DE
131202013-03-21 Eric Ludlam <zappo@gnu.org>
13121
39c87140 13122 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13123 Inhibit read only while inserting objects.
13124
9bb0d822
TZ
131252013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13126
13127 * progmodes/cfengine.el: Update docs to mention
13128 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13129 symbol motion. Remove "_" from the word syntax.
13130
aa703640
TZ
131312013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13132
13133 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13134 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13135
afff09d0
JL
131362013-03-20 Juri Linkov <juri@jurta.org>
13137
13138 * info.el (Info-next-reference-or-link)
13139 (Info-prev-reference-or-link): New functions.
13140 (Info-next-reference, Info-prev-reference): Use them.
13141 (Info-try-follow-nearest-node): Handle footnote navigation.
13142 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13143
9a1ff164
SM
131442013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13145
13146 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13147 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13148
2667d15d
PE
131492013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13150
13151 Suppress unnecessary non-ASCII chatter during build process.
13152 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13153 (batch-skkdic-convert): Suppress most of the chatter.
13154 It's not needed so much now that machines are faster,
13155 and its non-ASCII component was confusing; see Dmitry Gutov in
13156 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13157
438b0579
LL
131582013-03-20 Leo Liu <sdl.web@gmail.com>
13159
13160 * ido.el (ido-chop): Fix bug#10994.
13161
c128ab07
DG
131622013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13163
13164 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13165 Remove vars.
9a1ff164
SM
13166 (whitespace-color-on, whitespace-color-off):
13167 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13168
0e6008c5
SM
131692013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13170
13171 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13172 remapping in mode-line.
13173 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13174
627b52b0
DG
131752013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13176
13177 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13178 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13179 (whitespace-font-lock-keywords): Change description.
13180 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13181 the constructed keywords instead.
13182 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13183
50c3a20b
LL
131842013-03-19 Leo Liu <sdl.web@gmail.com>
13185
13186 * progmodes/compile.el (compilation-display-error): New command.
13187 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13188 C-o. (Bug#13992)
13189
2aa2157b
PE
131902013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13191
13192 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13193
e477dbfa
JD
131942013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13195
13196 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13197
64ab82d1
MA
131982013-03-18 Michael Albinus <michael.albinus@gmx.de>
13199
13200 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13201
13202 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13203 * net/tramp-gvfs.el (top):
13204 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13205 (tramp-handle-shell-command): Use it.
13206 (tramp-dissect-file-name): Raise an error when hostname is a
13207 method name, and neither method nor user is specified.
13208
13209 * net/trampver.el: Update release number.
13210
33cef733
LL
132112013-03-18 Leo Liu <sdl.web@gmail.com>
13212
13213 Make sure eldoc can be turned off properly.
13214 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13215 eldoc-mode.
13216 (eldoc-display-message-p): Revert last change.
13217 (eldoc-display-message-no-interference-p)
13218 (eldoc-print-current-symbol-info): Tweak.
13219
2167b7b2
TH
132202013-03-18 Tassilo Horn <tsdh@gnu.org>
13221
13222 * doc-view.el (doc-view-new-window-function): Check the new window
13223 overlay's display property instead the char property of the
13224 buffer's first char. Use `with-selected-window' instead of
13225 `save-window-excursion' with `select-window'.
13226 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13227 display property instead the char property of the buffer's first char.
2167b7b2 13228
982efbcd
PE
132292013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13230
13231 Automate the build of ja-dic.el (Bug#13984).
13232 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13233 from the input, rather than assume that it's been done for us by the
13234 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13235 the current date into a ja-dic.el comment, as that complicates
13236 regression testing.
13237
2fcc7665
SM
132382013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13239
13240 * whitespace.el: Fix double evaluation.
13241 (whitespace-space, whitespace-hspace, whitespace-tab)
13242 (whitespace-newline, whitespace-trailing, whitespace-line)
13243 (whitespace-space-before-tab, whitespace-indentation)
13244 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13245 obsolete defvars.
13246 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13247 (whitespace-color-on): Use a single font-lock-add-keywords call.
13248 Fix double-evaluation of face variables.
13249
67c0a6e6
MA
132502013-03-17 Michael Albinus <michael.albinus@gmx.de>
13251
2fcc7665
SM
13252 * net/tramp-adb.el (tramp-adb-parse-device-names):
13253 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13254 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13255
69489f1d
LL
132562013-03-17 Leo Liu <sdl.web@gmail.com>
13257
13258 Extend eldoc to display info in the mode-line. (Bug#13978)
13259 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13260 (eldoc-mode-line-string): New variable.
13261 (eldoc-minibuffer-message): New function.
13262 (eldoc-message-function): New variable.
13263 (eldoc-message): Use it.
13264 (eldoc-display-message-p)
2fcc7665
SM
13265 (eldoc-display-message-no-interference-p):
13266 Support eldoc-post-insert-mode.
69489f1d
LL
13267
13268 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13269 (eval-expression): Run it.
13270
9c44569e
RW
132712013-03-17 Roland Winkler <winkler@gnu.org>
13272
13273 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13274 strings in the list of return values.
13275
327f1f6f
JB
132762013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13277
13278 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13279 radix before checking for HMS forms.
13280
67ed8fcd
LL
132812013-03-16 Leo Liu <sdl.web@gmail.com>
13282
13283 * progmodes/scheme.el: Add indentation and font-locking for λ.
13284 (Bug#13975)
13285
78be8b64 132862013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
13287
13288 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13289 token before point (bug#13942).
13290
78be8b64 132912013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 13292
95b43468 13293 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 13294
98e775e6
EZ
132952013-03-16 Eli Zaretskii <eliz@gnu.org>
13296
13297 * startup.el (command-line-normalize-file-name): Fix handling of
13298 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13299 <xfq.free@gmail.com> in
13300 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13301
2edd6029
MA
133022013-03-15 Michael Albinus <michael.albinus@gmx.de>
13303
13304 Sync with Tramp 2.2.7.
13305
13306 * net/trampver.el: Update release number.
13307
d35f5864
TH
133082013-03-14 Tassilo Horn <tsdh@gnu.org>
13309
e903c210 13310 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
13311 (doc-view-insert-image): Don't modify overlay associated to
13312 non-live windows, and implement horizontal centering of image in
13313 case it's smaller than the window.
13314 (doc-view-new-window-function): Force redisplay of new windows on
13315 doc-view buffers.
d35f5864 13316
1c4a85ed
KF
133172013-03-13 Karl Fogel <kfogel@red-bean.com>
13318
13319 * saveplace.el (save-place-alist-to-file): Don't sort
13320 `save-place-alist', just pretty-print it (bug#13882).
13321
85b66a21
MA
133222013-03-13 Michael Albinus <michael.albinus@gmx.de>
13323
a020afb9
JB
13324 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13325 Check whether `default-file-name-coding-system' is bound.
13326 It isn't in XEmacs.
85b66a21 13327
175600da
SM
133282013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13329
e7f7cb1a
SM
13330 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13331 backquotes for `obsolete' (bug#13929).
13332
175600da
SM
13333 * international/mule.el (find-auto-coding): Include file name in
13334 obsolescence warning (bug#13922).
13335
ca68a22e
TZ
133362013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13337
13338 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13339 for CFEngine 3-specific indentation.
13340 (cfengine3-indent-line): Use it. Fix up category regex.
13341 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13342
940e5099
SM
133432013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13344
13345 * type-break.el (type-break-file-name):
13346 * textmodes/remember.el (remember-data-file):
13347 * strokes.el (strokes-file):
13348 * shadowfile.el (shadow-initialize):
13349 * saveplace.el (save-place-file):
13350 * ps-bdf.el (bdf-cache-file):
13351 * progmodes/idlwave.el (idlwave-config-directory):
13352 * net/quickurl.el (quickurl-url-file):
13353 * international/kkc.el (kkc-init-file-name):
13354 * ido.el (ido-save-directory-list-file):
13355 * emulation/viper.el (viper-custom-file-name):
13356 * emulation/vip.el (vip-startup-file):
13357 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13358 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13359
cc725808
PE
133602013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13361
13362 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13363 * language/thai-word.el: Switch to UTF-8.
13364
a020afb9 13365See ChangeLog.16 for earlier changes.
e3d51b27
MR
13366
13367;; Local Variables:
13368;; coding: utf-8
e3d51b27
MR
13369;; End:
13370
ba318903 13371 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13372
13373 This file is part of GNU Emacs.
13374
13375 GNU Emacs is free software: you can redistribute it and/or modify
13376 it under the terms of the GNU General Public License as published by
13377 the Free Software Foundation, either version 3 of the License, or
13378 (at your option) any later version.
13379
13380 GNU Emacs is distributed in the hope that it will be useful,
13381 but WITHOUT ANY WARRANTY; without even the implied warranty of
13382 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13383 GNU General Public License for more details.
13384
13385 You should have received a copy of the GNU General Public License
13386 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.