etc/NEWS: Fix some mangled references to U+00AB and U+00BB.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
85c01f80
MA
12014-02-23 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp-sh.el (tramp-sh-handle-file-truename):
4 Preserve trailing "/". (Bug#16851)
5
62f95022
DG
62014-02-23 Dmitry Gutov <dgutov@yandex.ru>
7
8 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
9 after `=>' (bug#16811).
dfdb365c
DG
10 (ruby-smie-rules): Handle the inconsistent second element of the
11 list returned by `smie-indent--parent'.
12 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
13 method call.
62f95022 14
025f2c81
JB
152014-02-23 Juanma Barranquero <lekktu@gmail.com>
16
17 * elec-pair.el (electric-pair-text-syntax-table)
18 (electric-pair-syntax-info, electric-pair--syntax-ppss)
19 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
20 (electric-pair--looking-at-unterminated-string-p): Doc fix.
21 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
22
123c84f9
GM
232014-02-22 Glenn Morris <rgm@gnu.org>
24
612c3e46
GM
25 * imenu.el (imenu--generic-function): Doc fix.
26
123c84f9
GM
27 * register.el (frame-configuration-to-register): Make obsolete.
28
e59fa9ad
JB
292014-02-22 Juanma Barranquero <lekktu@gmail.com>
30
31 * desktop.el (desktop-save-buffer-p): Do not fail when
32 desktop-files-not-to-save is nil. Return t for true result
33 as the doc says.
34
4e652634
DC
352014-02-22 Daniel Colascione <dancol@dancol.org>
36
37 * net/secrets.el (secrets-create-item,secrets-search-items): Check
38 that attribute values are strings, avoiding the construction of
39 invalid dbus messages.
40
f35affb6
JB
412014-02-21 Juanma Barranquero <lekktu@gmail.com>
42
43 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
44 defun-declarations-alist.
45
3d136b1b
SM
462014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
49 (bug#16829).
50
612ddfc0
JB
512014-02-21 Juanma Barranquero <lekktu@gmail.com>
52
53 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
54 (whitespace-newline, whitespace-trailing, whitespace-line)
55 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
56 (whitespace-space-after-tab): Fix typo in docstrings.
57
c8481b1b
DG
582014-02-21 Dmitry Gutov <dgutov@yandex.ru>
59
cb8f50a7
DG
60 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
61
c8481b1b
DG
62 * electric.el (electric-indent-functions-without-reindent):
63 Add `yaml-indent-line'.
64
bed5126f
JB
652014-02-21 Juanma Barranquero <lekktu@gmail.com>
66
34b71457
JB
67 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
68 It has done nothing for years; should be removed after the release.
69
bed5126f
JB
70 * simple.el (choose-completion): Fix docstring typo.
71 (read-quoted-char-radix): Remove unneeded * in docstring.
72 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
73 Don't escape parentheses unnecessarily in docstrings.
74
8dd3e94f
MR
752014-02-21 Martin Rudalics <rudalics@gmx.at>
76
77 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
78 * window.el (window--dump-window, window--dump-frame):
79 New functions.
80 (window--min-size-1): Account for window dividers.
81 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
82 sum of the window components has been calculated.
83 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
84 nil make sure at least one text line and two text columns remain
85 fully visible.
86 (window-resize): Signal an error when window-resize-apply fails.
87 (window--resize-child-windows): Fix calculation of by how many
88 pixels a window can still be shrunk via window-new-normal.
89 (adjust-window-trailing-edge): Call window--resizable with
90 correct TRAIL argument.
91
2ed94e04
MR
92 (with-temp-buffer-window): Don't evaluate BODY within
93 with-current-buffer (Bug#16816).
94
0e5324c4
MA
952014-02-21 Michael Albinus <michael.albinus@gmx.de>
96
97 * net/tramp.el (tramp-check-cached-permissions):
98 Call `file-attributes' with `suffix' being a symbol but a string.
99
48198420
DC
1002014-02-21 Daniel Colascione <dancol@dancol.org>
101
102 * net/dbus.el (dbus-init-bus-1): Declare new subr.
103 (dbus-init-bus): New function: call into dbus-init-bus-1
104 and installs a handler for the disconnect signal.
105 (dbus-call-method): Rewrite to look for result in cons.
106 (dbus-call-method-handler): Store result in cons.
107 (dbus-check-event): Recognize events with nil sender as valid.
108 (dbus-handle-bus-disconnect): New function. React to bus
109 disconnection signal by synthesizing dbus error for each
110 pending synchronous or asynchronous call.
111 (dbus-notice-synchronous-call-errors): New function.
112 (dbus-handle-event): Raise errors directly only when `dbus-debug'
113 is true, not all the time.
114
99e15133
JB
1152014-02-21 Juanma Barranquero <lekktu@gmail.com>
116
e48983a6
JB
117 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
118 Remove obsolescence declarations, these variables do not exist anymore.
119
fdcfd745
JB
120 * savehist.el (savehist-save-minibuffer-history)
121 (savehist-additional-variables, savehist-file, savehist-mode-hook)
122 (savehist-save-hook, savehist-coding-system, savehist-loaded)
123 (savehist-load, savehist-install, savehist-autosave): Fix typos;
124 mostly, refer to "Savehist mode" when talking about the mode,
125 and not the function.
126
99e15133
JB
127 * saveplace.el (save-place): Remove redundant info in docstring.
128 (save-place-forget-unreadable-files, toggle-save-place)
129 (save-place-forget-unreadable-files, save-place-dired-hook):
130 Fix typos and remove unneeded backslashes.
131
f5bee33b
MA
1322014-02-20 Michael Albinus <michael.albinus@gmx.de>
133
134 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
135 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
136
137 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 138 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
139 (tramp-gvfs-handle-insert-directory): Remove function.
140
141 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
142 Call `tramp-handle-insert-directory'.
143
ee0761ca
JB
1442014-02-20 Juanma Barranquero <lekktu@gmail.com>
145
146 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
147 before the start of buffer/region (bug#16799).
148
4d49cc65
GM
1492014-02-20 Glenn Morris <rgm@gnu.org>
150
151 * isearch.el (search-invisible): Doc fix.
152
eee0d650
TK
1532014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
154
155 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
156 (bug#16657).
157
94e5e202
JB
1582014-02-19 Juanma Barranquero <lekktu@gmail.com>
159
160 * frameset.el (frameset-restore): Delay removing an old frame's
161 duplicate id until the new frame has been correctly created.
162
50bfdd5d
MA
1632014-02-19 Michael Albinus <michael.albinus@gmx.de>
164
165 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
166 (tramp-check-cached-permissions): Call `file-attributes' if the
167 cache is empty.
168
169 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 170 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
171
172 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 173 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
174 (tramp-gvfs-maybe-open-connection): Set always connection
175 properties, even if target is mounted already.
176
177 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
178 Set tramp-autoload cookie.
179 (tramp-get-remote-touch): New defun.
180 (tramp-sh-handle-set-file-times): Use it.
181 (tramp-sh-handle-directory-files-and-attributes):
182 Use `tramp-handle-directory-files-and-attributes' if neither stat
183 nor perl are available on the remote host.
184
185 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
186 "/". Write long listing only when "l" belongs to the switches.
187
188 * net/trampver.el: Update release number.
189
f097a3d2
JB
1902014-02-19 Juanma Barranquero <lekktu@gmail.com>
191
192 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
193
8e009b78
MR
1942014-02-19 Martin Rudalics <rudalics@gmx.at>
195
196 * window.el (window-state-put): Allow WINDOW to refer to an
197 internal window (Bug#16793).
198
95160c90
GM
1992014-02-19 Glenn Morris <rgm@gnu.org>
200
201 * textmodes/remember.el: Move provide statement to end.
202 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
203 (remember-notes): Doc fixes.
204
b28df58c
SM
2052014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * delsel.el (delete-char): Restore incorrectly erased property
208 (bug#16795).
209
7108e1c0
JB
2102014-02-18 Juanma Barranquero <lekktu@gmail.com>
211
212 * frameset.el (frameset--restore-frame): When a frame is being reused
213 and its root window is not alive, delete all the frame's windows before
214 restoring the window state. This works around the issue in bug#16793.
215
c863b6ad
GM
2162014-02-18 Glenn Morris <rgm@gnu.org>
217
a73fae1f
GM
218 * textmodes/remember.el (remember-data-directory)
219 (remember-directory-file-name-format, remember-store-in-files)
220 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
221 (remember-notes-save-and-bury-buffer)
222 (remember-notes--kill-buffer-query): Doc fixes.
223
c863b6ad
GM
224 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
225
29238d28
AM
2262014-02-17 Alan Mackenzie <acm@muc.de>
227
228 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 229 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 230 to electric-indent-{,local-}-mode.
b28df58c
SM
231 (c-basic-common-init): Set electric-indent-inhibit.
232 Initialise c-electric-flag from electric-indent-mode.
29238d28 233 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 234 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
235
236 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 237 hit, toggle electric-indent-local-mode.
29238d28 238
b28df58c
SM
239 * electric.el (electric-indent-mode-has-been-called):
240 New variable.
29238d28 241
c6463340
JB
2422014-02-17 Juanma Barranquero <lekktu@gmail.com>
243
244 * frameset.el (frameset-cfg-id): New function.
245 (frameset--reuse-frame, frameset-restore): Use it.
246 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
247
94912b88
SM
2482014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * ido.el (ido-file-internal): Remove unused var `d'.
251 Use \` for to match BoS. Fit within 80n columns.
252
26ea164c
DC
2532014-02-17 Daniel Colascione <dancol@dancol.org>
254
255 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
256 dbus-call-method check for completion using a busy-wait loop with
257 gradual backoff.
258
dd7691b7
MA
2592013-10-02 Michael Albinus <michael.albinus@gmx.de>
260
261 Sync with Tramp 2.2.9.
262
263 * net/trampver.el: Update release number.
264
17d1b51b
DG
2652014-02-16 Dmitry Gutov <dgutov@yandex.ru>
266
267 * ido.el (ido-file-internal): Don't add the name of an existing
268 directory twice. (Bug#16747)
269
5bcad689
GM
2702014-02-16 Glenn Morris <rgm@gnu.org>
271
272 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
273 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
274
2752014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
276
277 * progmodes/sql.el: Version 3.4
278 (sql-oracle-options): New default value ("-L").
94912b88 279 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7
MM
280 (sql-placeholders-filter): Correct placeholder pattern.
281 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
282 (sql-login-delay): New variable.
283 (sql-product-interactive): Use it.
284
285f1858
JB
2852014-02-15 Juanma Barranquero <lekktu@gmail.com>
286
287 * frameset.el (frameset--jump-to-register): Check that buffer is live
288 (bug#16749).
289
5d645ea4
GM
2902014-02-15 Glenn Morris <rgm@gnu.org>
291
292 * info.el (info-initialize): Revert 2014-01-10 change.
293
48c4f9b1
GM
2942014-02-14 Glenn Morris <rgm@gnu.org>
295
b8630261
GM
296 * replace.el (map-query-replace-regexp)
297 (read-regexp-defaults-function, read-regexp): Doc fixes.
298
b2bf2a25
GM
299 * dired.el (dired-read-regexp):
300 * faces.el (list-faces-display):
301 * misearch.el (multi-isearch-read-matching-buffers)
302 (multi-isearch-read-matching-files):
303 * play/cookie1.el (cookie-apropos):
304 * progmodes/grep.el (grep-read-regexp): Doc fixes.
305
48c4f9b1
GM
306 * textmodes/remember.el (remember): Use frameset-to-register
307 rather than frame-configuration-to-register.
308
2804e0bd
JB
3092014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
310
311 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
312 incorrect keybinding.
313
0b87142f
DC
3142014-02-13 Daniel Colascione <dancol@dancol.org>
315
316 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
317 when adding overlays so that line numbers from compiler match line
318 numbers we use.
319
47a73eb0
GM
3202014-02-13 Glenn Morris <rgm@gnu.org>
321
8abcfd51
GM
322 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
323
47a73eb0
GM
324 * jit-lock.el (jit-lock-mode): Doc fix.
325
c9b6b262
JB
3262014-02-13 Juanma Barranquero <lekktu@gmail.com>
327
328 * apropos.el (apropos-read-pattern): When the user passes an empty
329 string, give a more helpful error message than "Wrong type
330 argument: stringp, nil".
331
eb4c6947
SM
3322014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
335
0dab5068
GM
3362014-02-13 Glenn Morris <rgm@gnu.org>
337
338 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
339
59075dcf
SM
3402014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
343 shift-select commands.
344
5af9fbad
DG
3452014-02-12 Dmitry Gutov <dgutov@yandex.ru>
346
347 * progmodes/js.el (js-indent-line): Don't widen.
348 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
349
a215930c
GM
3502014-02-12 Glenn Morris <rgm@gnu.org>
351
a8cb4247
GM
352 * icomplete.el (icomplete): Add info-link to defgroup.
353 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
354 (icomplete-minibuffer-map, icomplete-mode)
355 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
356
a215930c
GM
357 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
358 (package-menu-filter): Rename from package-menu-filter-interactive.
359 Doc fix.
360
26c5ecd9
JB
3612014-02-11 Juanma Barranquero <lekktu@gmail.com>
362
363 * frameset.el (frameset--jump-to-register): Select the required
364 window and buffer before restoring position (bug#16696).
365
fcd58a02
LI
3662014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
367
368 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
369
bacb3380
GM
3702014-02-10 Glenn Morris <rgm@gnu.org>
371
372 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
373
881329dc
EZ
3742014-02-10 Eli Zaretskii <eliz@gnu.org>
375
02328db9
EZ
376 * w32-common-fns.el (x-get-selection): Doc fix.
377 * select.el (x-get-selection): Doc fix. (Bug#15109)
378
881329dc
EZ
379 * face-remap.el (face-remap-add-relative)
380 (face-remap-remove-relative, face-remap-reset-base)
381 (face-remap-set-base): Call force-mode-line-update to redisplay
382 the current buffer due to potential change in faces. (Bug#16709)
383
c7db4c06
MA
3842014-02-10 Michael Albinus <michael.albinus@gmx.de>
385
386 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
387 script more robustly.
388
6abe4589
LI
3892014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
390
7602b5c3
LI
391 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
392
e3692ee0
LI
393 * simple.el (choose-completion): Doc fix (bug#14160).
394
41015524
LI
395 * subr.el (event-start): Say what a nil EVENT value means.
396
87c79dcb
LI
397 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
398 (bug#14197).
399
3ab49e2c
LI
400 * progmodes/grep.el (find-program): Doc fix (bug#14289).
401
f3c60241
LI
402 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
403
3bd1d8a8
LI
404 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
405
6abe4589
LI
406 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
407 predicate function (bug#15455).
408
a11463de
DG
4092014-02-10 Dmitry Gutov <dgutov@yandex.ru>
410
411 * ielm.el (inferior-emacs-lisp-mode): Instead of
412 `comment-use-global-state', set `comment-use-syntax'.
413
2ab0ad85
GM
4142014-02-10 Glenn Morris <rgm@gnu.org>
415
416 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
417
411141fb
AM
4182014-02-09 Alan Mackenzie <acm@muc.de>
419
420 Fix c-invalidate-state-cache on narrowed buffers.
421 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
422 Widen when setting and clearing the CPP delimiter properties.
423
d6d5fdf8
LI
4242014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
425
92c70367
LI
426 * help.el (describe-bindings): Doc fix (bug#9888).
427
468ef484
LI
428 * files.el (save-buffer): Use ARG as the parameter name for
429 consistency (bug#10346).
7e34193f 430 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 431
fc2b1ffa 432 * cus-edit.el (customize-apropos): Fix error string.
382fd368 433 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 434 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 435
790aceec
LI
436 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
437
a54a7552 438 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 439 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 440
dd163123
LI
441 * font-lock.el (font-lock-value-in-major-mode): Clarify the
442 meaning of the parameter (bug#12282).
443
9e108fe6
LI
444 * files.el (find-file-noselect): Clarify prompt when changing
445 readedness (bug#13261).
5a836f58
LI
446 (locate-file): Suffixes aren't returned, so don't say that they
447 are (bug#12674).
2356b316 448 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 449
20dda930
LI
450 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
451 before we actually start to delete things (bug#16331).
452
d6d5fdf8
LI
453 * subr.el (event-start): Doc fix (bug#14228).
454 (event-end): Ditto.
455
2abd71e5
GM
4562014-02-09 Glenn Morris <rgm@gnu.org>
457
458 * emacs-lisp/warnings.el (lwarn):
459 Empower help-enable-auto-load. (Bug#15940)
460
c1b5900b
AS
4612014-02-08 Andreas Schwab <schwab@linux-m68k.org>
462
463 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
464 (Bug#16690)
465
429b93bd
MA
4662014-02-08 Michael Albinus <michael.albinus@gmx.de>
467
468 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
469 Insert output at end of buffer. (Bug#16120)
470
b772a699
LI
4712014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
472
18c6aa8c
LI
473 * simple.el (choose-completion-string-functions): Document new
474 calling convention (bug#14153).
54dd147a 475 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 476
dce8463b
LI
477 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
478
b772a699 479 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 480 (find-grep-dired): Doc fix (bug#14288).
b772a699 481
2423c8d5
JL
4822014-02-08 Juri Linkov <juri@jurta.org>
483
484 * isearch.el (isearch-quote-char): Check character validity
485 like in `quoted-insert' (bug#16677).
486
518f26c2
LI
4872014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
488
893cc908
LI
489 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
490
9165ffc0
LI
491 * isearch.el (isearch-hide-immediately): Doc clarification
492 (bug#14723).
493
6ef4f3ce
LI
494 * simple.el (line-move): Document utility function used many
495 places in the Emacs sources (bug#14843).
496
be58a238 497 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 498 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 499 (dired-up-directory): Doc fix (bug#14848).
be58a238 500
dd7aafbb
LI
501 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
502
15cb9968
LI
503 * files.el (file-relative-name): Doc fix (bug#15159).
504
9788effd
LI
505 * fringe.el (fringe-styles): Doc fix (bug#15239).
506
c96411bd
LI
507 * isearch.el (isearch-filter-predicate): Documentation typo fix
508 (bug#15474).
509
ea838c36
LI
510 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
511
0d8a4ae7
LI
512 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
513
f7a17bb3
LI
514 * replace.el (replace-match-maybe-edit): Doc clarification
515 (bug#15632).
516
1bde5c3b
LI
517 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
518
518f26c2
LI
519 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
520
dd8e49fd
GM
5212014-02-08 Glenn Morris <rgm@gnu.org>
522
523 * help-fns.el (describe-variable):
524 Check {file,dir}-local-variables-alist, and buffer-file-name,
525 in the correct buffer.
526
7e088b29
IL
5272014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
528
529 * help-fns.el (describe-variable): Fix the case where
530 a value is directory-local with no dir-locals file. (Bug#16635)
531
41a4a82f
GM
5322014-02-08 Glenn Morris <rgm@gnu.org>
533
534 * abbrev.el (edit-abbrevs-mode):
535 Derive from fundamental-mode. (Bug#16682)
536
e255a703
JB
5372014-02-07 Juanma Barranquero <lekktu@gmail.com>
538
539 * simple.el (quoted-insert): Check character validity (bug#16677).
540
c99cf5ee
JL
5412014-02-07 Juri Linkov <juri@jurta.org>
542
543 * desktop.el (desktop-read): Claim the lock when the owner is not
544 the current process. (Bug#16157)
545
7d7a68d8
JL
5462014-02-07 Juri Linkov <juri@jurta.org>
547
548 * desktop.el (desktop-buffers-not-to-save): Change default from nil
549 to "\\` ". (Bug#16651)
550
2b777cd9
JL
5512014-02-07 Juri Linkov <juri@jurta.org>
552
553 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
554 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
555 (desktop-auto-save-cancel-timer): New function with some code from
556 `desktop-auto-save-set-timer'.
557 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
558 Instead of setting `desktop-save-mode' to nil, call
559 `desktop-save-mode' with arg 0. (Bug#16630)
560
60eabbb9
GM
5612014-02-07 Glenn Morris <rgm@gnu.org>
562
99cf3859
GM
563 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
564 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
565 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
566
2b568bc9
GM
567 * obsolete/iswitchb.el: Move to obsolete/.
568 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
569 since obsolete/ is not scanned for autoloads.
570 * emacs-lisp/authors.el (authors-valid-file-names):
571 Add iswitchb.el.
572
60eabbb9
GM
573 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
574 Disable now non-functional find-file-hook.
575
629de968
MA
5762014-02-06 Michael Albinus <michael.albinus@gmx.de>
577
578 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
579 instead of ";" in order to avoid additional prompts. Let heredoc
580 scripts read from tty. (Bug#16582)
581 (tramp-send-command): No special handling of heredocs, it isn't
582 necessary anymore.
583
29127376
SM
5842014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
585
586 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
587 with a space (bug#16664). Limit the symbols considered to the ones
588 that are bound or fbound (bug#16646).
589
79b6e0a9
GM
5902014-02-06 Glenn Morris <rgm@gnu.org>
591
592 * epa.el (epa-mail-aliases): Doc fix.
593
a333e4d2
DG
5942014-02-06 Dmitry Gutov <dgutov@yandex.ru>
595
29127376
SM
596 * emacs-lisp/lisp.el (lisp-completion-at-point):
597 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
598 (bug#16604).
599
600 * minibuffer.el (completion-table-merge): New function.
601
9a83b32b
MA
6022014-02-05 Michael Albinus <michael.albinus@gmx.de>
603
604 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
605 (tramp-sh-handle-set-file-acl)
606 (tramp-sh-handle-start-file-process)
607 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
608 (tramp-find-executable, tramp-send-command): Use it.
609
451ea3e6
GM
6102014-02-05 Glenn Morris <rgm@gnu.org>
611
9a83b32b 612 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 613
dd27d13b
FEG
6142014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
615
616 * progmodes/python.el (python-shell-send-string):
617 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
618
08e41897
AL
6192014-02-04 Anders Lindgren <andlind@gmail.com>
620
621 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
622 the names (bug#16620).
623
764ec9e5
MR
6242014-02-03 Martin Rudalics <rudalics@gmx.at>
625
08e41897
AL
626 * faces.el (window-divider): New default value. Rewrite doc-string.
627 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 628
6da8227c
DG
6292014-02-03 Dmitry Gutov <dgutov@yandex.ru>
630
631 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
632 `protected' and `public' can also be called without arguments.
633
6a6b8e40
GM
6342014-02-03 Glenn Morris <rgm@gnu.org>
635
7bcbca40
GM
636 * register.el (window-configuration-to-register)
637 (frame-configuration-to-register): Unadvertise unused argument.
638 * frameset.el (frameset-to-register): Remove unused argument.
639
719d965d 640 * frameset.el (frameset-to-register):
6a6b8e40
GM
641 * kmacro.el (kmacro-to-register):
642 * register.el (increment-register):
643 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
644 (calc-append-to-register, calc-prepend-to-register):
645 * play/gametree.el (gametree-layout-to-register)
646 (gametree-apply-register-layout):
647 * textmodes/picture.el (picture-clear-rectangle-to-register)
648 (picture-yank-rectangle-from-register):
649 * vc/emerge.el (emerge-combine-versions-register):
650 Use register-read-with-preview to read registers.
651
5dca7759
JT
6522014-02-03 João Távora <joaotavora@gmail.com>
653
654 * elec-pair.el (electric-pair-backward-delete-char): Don't error
655 when at beginning of (possibly narrowed) buffer.
656
709085b9
DC
6572014-02-02 Daniel Colascione <dancol@dancol.org>
658
c295fc18 659 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 660 Also try to display local help from just before point.
709085b9 661
99f7b0a6
AM
6622014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
663
664 c-parse-state. Don't "append-lower-brace-pair" in certain
665 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
666 recognised as a comment.
667
668 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
669 as well as normal comment starter.
670 (c-parse-state-get-strategy): Extra return possibility
671 'back-and-forward.
672 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
673 return value list to indicate replacement of a brace-pair cons
674 with its car.
675 (c-parse-state-1): With 'back-and-forward, only call
676 c-append-lower-brace-pair-to state-cache when cons-separated.
677
f0a10576
JD
6782014-02-02 Jan Djärv <jan.h.d@swipnet.se>
679
680 * term/ns-win.el (ns-suspend-error): New function.
681 (ns-initialize-window-system): Add ns-suspend-error to
682 suspend-hook (Bug#16612).
683
b8d552c2
DC
6842014-02-02 Daniel Colascione <dancol@dancol.org>
685
686 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
687
f2b7d123
DC
6882014-02-02 Daniel Colascione <dancol@dancol.org>
689
690 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
691
4472a196
GM
6922014-02-02 Glenn Morris <rgm@gnu.org>
693
694 * register.el (register-read-with-preview, point-to-register)
695 (window-configuration-to-register, frame-configuration-to-register)
696 (jump-to-register, number-to-register, view-register, insert-register)
697 (copy-to-register, append-to-register, prepend-to-register)
698 (copy-rectangle-to-register): Doc fixes.
699
70e5a261
SM
7002014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
701
702 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
703 * emacs-lisp/find-func.el (find-function-C-source): Idem.
704 * emacs-lisp/nadvice.el (advice--cd*r): New function.
705 * help-fns.el (describe-function-1): Use it.
706
7c324762
GM
7072014-02-02 Glenn Morris <rgm@gnu.org>
708
709 * register.el (register-preview-default): New function,
710 split from register-preview.
711 (register-preview-function): Rename from register-preview-functions,
712 make it not a hook.
713 (register-preview): Use register-preview-function.
714 (register-read-with-preview): Error on non-character event. (Bug#16595)
715
a09beb3d
DG
7162014-02-01 Dmitry Gutov <dgutov@yandex.ru>
717
718 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
719 `:' before binary operators (bug#16609). Don't check for `:'
720 before `[' and `(', or their syntax status. A percent literal
721 can't end with either.
68e004e0
DG
722 (ruby-font-lock-keywords): For built-ins that require arguments,
723 check that they're followed by something that looks like argument
724 (bug#16610).
a09beb3d 725
ed4d2875
LI
7262014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
727
728 * subr.el (butlast): Document what an omitted N means (bug#13437).
729 (nbutlast): Ditto.
730
dba6e3ec
LI
7312014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
732
733 * net/shr.el (shr-generic): Make into a defsubst to make the stack
734 depth shallower (bug#16587).
cc477daa
LI
735 (shr-tag-svg): Respect `shr-inhibit-images'.
736 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 737
e2a67bd0
DG
7382014-01-31 Dmitry Gutov <dgutov@yandex.ru>
739
740 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
741 (ruby-smie-grammar): Make "." right-associative. Make its priority
742 lower than the ternary and all binary operators.
743 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
744 parent, or the first "." parent at indentation.
745 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
746 (Bug#16593)
747
bd21bf41
JL
7482014-01-31 Juri Linkov <juri@jurta.org>
749
750 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
751 from `make-hash-table'.
752
753 * textmodes/ispell.el (ispell-init-process): Change message format
754 to be consistent with other messages.
755
b7e615b9
GM
7562014-01-31 Glenn Morris <rgm@gnu.org>
757
a69ecd19
GM
758 * delsel.el (delete-selection-mode): Doc fix.
759
9997d7e3
GM
760 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
761 (trace-function-background): Doc fixes.
762
fbb764b8
GM
763 * ido.el (ido-use-virtual-buffers): Doc fix.
764 Reset :version, since the default value has not changed.
765
da942af1
GM
766 * register.el (register-preview-delay, register-read-with-preview):
767 Doc fixes.
768
b7e615b9
GM
769 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
770 do not mess with mail-buffer position (fixes 2009-11-03 change).
771 * progmodes/cc-mode.el (c-submit-bug-report):
772 Check auto-fill-mode is bound. (Bug#16592)
773
0a25002d
DH
7742014-01-31 Darren Hoo <darren.hoo@gmail.com>
775
776 * startup.el (fancy-splash-image-file): New function,
777 split from fancy-splash-head.
778 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
779 so that we are both using the same image. (Bug#16574)
780
ad78f432
GM
7812014-01-30 Glenn Morris <rgm@gnu.org>
782
6bbc0c84
GM
783 * simple.el (eval-expression): Doc fix.
784
ad78f432
GM
785 * hexl.el (hexl-mode-hook):
786 * ielm.el (ielm-mode-hook):
787 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
788 (lisp-interaction-mode-hook):
789 * progmodes/cfengine.e (cfengine3-documentation-function):
790 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
791
7b2f049c
SM
7922014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
793
794 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
795 is a symbol (bug#16584).
796
0c633f13
GM
7972014-01-30 Glenn Morris <rgm@gnu.org>
798
799 * help.el (help-for-help-internal): Add "P" to text.
800
5e61c1ef
GM
8012014-01-29 Glenn Morris <rgm@gnu.org>
802
803 * simple.el (just-one-space, cycle-spacing): Doc fixes.
804
1dcb169c
MR
8052014-01-28 Martin Rudalics <rudalics@gmx.at>
806
807 * window.el (fit-frame-to-buffer): Fix calculations for margins and
808 height constraints.
809
a9128931
LL
8102014-01-28 Luke Lee <luke.yx.lee@gmail.com>
811
812 * progmodes/hideif.el: Extend to full CPP expression syntax.
813 (hif-token-alist): Add missing tokens.
814 (hif-token-regexp): Add support for float/octal/hex immediates.
815 (hif-string-literal-regexp): New const.
816 (hif-tokenize): Recognize strings and float/octal/hex immediates.
817 (hif-exprlist): New function.
818 (hif-parse-if-exp): Use it.
819 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
820 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
821 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
822 (hif-logxor, hif-comma): New functions.
823
a22359a7
GM
8242014-01-28 Glenn Morris <rgm@gnu.org>
825
793ffe81
GM
826 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
827
e3bd7eed
GM
828 * indent.el (tab-stop-list): Doc fix. Add :version.
829
a22359a7
GM
830 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
831 (cvs-append-to-ignore): Add compatibility alias.
832
52695556 8332014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 834
bac524e0
GM
835 * dired.el (dired-hide-details-mode): Don't autoload it,
836 since it cannot be used outside Dired buffers anyway.
837
52695556 838 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 839
52695556
GM
840 * dired.el (dired-hide-details-hide-symlink-targets)
841 (dired-hide-details-hide-information-lines)
842 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
843
844 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
845 * strokes.el (strokes-file): Doc fix. Bump :version.
846 (strokes-help): Doc fix.
847 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
848 * emulation/viper.el (viper): Doc fix for custom group.
849 (top-level): Remove oh-so-no-longer-relevant text about vip.
850 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
851
852 * ido.el (ido-save-directory-list-file):
853 * saveplace.el (save-place-file):
854 * calendar/timeclock.el (timeclock-file):
855 * net/quickurl.el (quickurl-url-file):
856 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
857 * progmodes/idlwave.el (idlwave-config-directory):
858 * textmodes/remember.el (remember-data-file):
859 Bump :version.
860
169d6004
GM
8612014-01-26 Glenn Morris <rgm@gnu.org>
862
de6a923b
GM
863 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
864 Doc fix. Make obsolete.
865 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
866
169d6004
GM
867 * sort.el (delete-duplicate-lines): Doc fix.
868
ed85dee6
RS
8692014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
870
871 * progmodes/ada-mode.el (ada):
872 * woman.el (woman): Link to info manual and Commentary section.
873
874 * progmodes/flymake.el (flymake):
875 * nxml/nxml-mode.el (nxml):
876 * net/eww.el (eww):
877 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
878 * htmlfontify.el (htmlfontify):
879 * ses.el (ses):
880 * epa.el (epa):
881 * ido.el (ido): Link to info manual.
882
e0c67e1d
LL
8832014-01-25 Leo Liu <sdl.web@gmail.com>
884
885 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
886
35408b1a
AS
8872014-01-25 Adam Sjøgren <asjo@koldfront.dk>
888
889 * net/shr.el (shr-tag-img): Prefer the title over the alt text
890 (bug#16537).
891
76c3fa95
JB
8922014-01-24 Juanma Barranquero <lekktu@gmail.com>
893
f77c7a99
JB
894 * net/eww.el (eww-download-callback):
895 Fix reference to eww-download-directory.
896
76c3fa95
JB
897 * emacs-lisp/bytecomp.el (byte-compile-file):
898 Remove unused local variable `file-name'.
899
1e548e40
GM
9002014-01-24 Glenn Morris <rgm@gnu.org>
901
03f3b318
GM
902 * woman.el (woman-default-faces, woman-monochrome-faces):
903 Fix obsolescence specification.
904
1e548e40
GM
905 * subr.el (with-demoted-errors): Doc fix.
906
d4f0427b
SM
9072014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
910 (cl--macroexp-fboundp): New function.
911 (cl--make-type-test): Use it.
912
1670e27f
GM
9132014-01-23 Glenn Morris <rgm@gnu.org>
914
915 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
916 * simple.el (eval-expression): Doc fixes.
917
80efa207
GM
9182014-01-22 Glenn Morris <rgm@gnu.org>
919
920 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
921
29afcbab
SM
9222014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
923
924 * emacs-lisp/package.el: Write files silently.
925 (package-autoload-ensure-default-file, package--write-file-no-coding)
926 (package-generate-description-file, package--download-one-archive)
927 (package-install-from-archive): Tell `write-region' to stay quiet.
928 (package-menu-mode, package-menu--print-info): Omit the Archive column
929 if there's only one archive.
930 (package-all-keywords, package--has-keyword-p): Remove dead code.
931
2a5bce4f
GM
9322014-01-22 Glenn Morris <rgm@gnu.org>
933
edace89f
GM
934 * version.el (emacs-bzr-version-bzr): Fix typo.
935
2a5bce4f
GM
936 * version.el (emacs-repository-get-version):
937 Check either .bzr or .git, but not both.
938 Make the git case actually use the DIR argument, and return nil
939 rather than the empty string.
983664c0 940 Avoid error if .git exists but the git executable is not found.
2a5bce4f 941
6cb4da45
MR
9422014-01-22 Martin Rudalics <rudalics@gmx.at>
943
944 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
945 * window.el (window-total-size, window-size): New argument ROUND.
946 (window--min-delta-1, window-min-delta, window--max-delta-1):
947 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
948 columns a window can shrink (Bug#16430).
949 (fit-window-to-buffer): Simplify code.
950 * term.el (term-window-width): Call window-body-width again.
951
cc0f2ece
GM
9522014-01-22 Glenn Morris <rgm@gnu.org>
953
7b997b14
GM
954 * image.el (image-format-suffixes): Doc fix.
955
44e76f9d
GM
956 * international/quail.el (quail-define-package): Doc fix.
957
73c1c6d7
GM
958 * emacs-lisp/authors.el (authors-valid-file-names):
959 (authors-renamed-files-alist): Additions.
7bfc1caa 960
85a5f61f
GM
961 * vc/vc-git.el (vc-git-print-log): Remove --follow;
962 reverts 2014-01-09 change. (Bug#16422)
963
cc0f2ece
GM
964 * calc/calc-embed.el (thing-at-point-looking-at):
965 * emacs-lisp/map-ynp.el (x-popup-dialog):
966 * obsolete/lmenu.el (x-popup-dialog):
967 * emacs-lisp/package.el (url-recreate-url):
968 * mail/mailclient.el (clipboard-kill-ring-save):
969 * subr.el (x-popup-dialog): Update declaration.
970 * mail/rmail.el (rmail-mime-message-p):
971 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
972
00d2a6bb
DC
9732014-01-21 Daniel Colascione <dancol@dancol.org>
974
975 * progmodes/sh-script.el (sh--inside-noncommand-expression):
976 Correctly detect when we're inside an arithmetic expansion form
977 containing nested parenthesis.
c295fc18 978 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
979 to detect cases where we shouldn't expand "<<" to a heredoc
980 skeleton.
981
dd9d2e9d
SM
9822014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
983
984 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
985 (eldoc--message-command-p): New function.
986 (eldoc-display-message-p): Use it.
987 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
988 message is not automatically erased for us.
989 (eldoc-print-current-symbol-info): Erase previous message, if any.
990
e7d807ca
TH
9912014-01-21 Tassilo Horn <tsdh@gnu.org>
992
4ff0a0e5
TH
993 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
994 specify it's an interactive function.
995
dd9d2e9d
SM
996 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
997 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
998 citations with optional arguments.
999
87503791
LL
10002014-01-21 Leo Liu <sdl.web@gmail.com>
1001
1002 * simple.el (read--expression): Don't enable eldoc-mode.
1003
6cc750ee
SM
10042014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * simple.el (move-beginning-of-line): Make sure we don't move forward
1007 (bug#16497).
1008
71f16bda
JL
10092014-01-20 Juri Linkov <juri@jurta.org>
1010
1011 * saveplace.el (toggle-save-place, save-place-to-alist)
1012 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1013 'dired-mode) before checking for dired-directory. (Bug#16477)
1014
3c5a4839
JL
10152014-01-20 Juri Linkov <juri@jurta.org>
1016
1017 * indent.el (indent-line-to): Use backward-to-indentation
1018 instead of back-to-indentation. (Bug#16461)
1019
f952002e
PE
10202014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1021
1022 Revert some of the CANNOT_DUMP fix (Bug#16494).
1023 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1024 but fixing this can wait until after the next release.
1025 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1026
93675500
MA
10272014-01-19 Michael Albinus <michael.albinus@gmx.de>
1028
1029 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1030 Use `password-word-equivalents'.
1031 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1032 to t. (Bug#5664, Bug#13124)
1033
e3af763f
AM
10342014-01-19 Alan Mackenzie <acm@muc.de>
1035
1036 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1037 points.
1038 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1039 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1040 * progmodes/cc-mode.el (c-before-change, c-after-change)
1041 (c-font-lock-fontify-region): Bind it here.
1042
4ff6d92d
MR
10432014-01-19 Martin Rudalics <rudalics@gmx.at>
1044
1045 * term.el (term-window-width): Call window-text-width instead of
1046 window-width (Bug#16470).
1047
9a685cf6
PE
10482014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1049
1050 * simple.el (password-word-equivalents): Remove duplicates.
1051 Sort, to make this easier next time.
1052 Downcase. Omit ": " after "jelszó".
1053
5aa78c2d
JD
10542014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1055
1056 * term/common-win.el (saved-region-selection): Defvar it.
1057 (x-select-text): Set saved-region-selection (Bug#16382).
1058
cabb250c
GM
10592014-01-18 Glenn Morris <rgm@gnu.org>
1060
1061 * emacs-lisp/authors.el (authors-aliases)
1062 (authors-renamed-files-alist): Add some entries.
1063
a1340440
MA
10642014-01-17 Michael Albinus <michael.albinus@gmx.de>
1065
93675500
MA
1066 * net/tramp.el (tramp-password-prompt-regexp):
1067 Use `password-word-equivalents' if available.
a1340440
MA
1068 (tramp-action-password, tramp-process-one-action)
1069 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1070
681ce5d2
CY
10712014-01-17 Chong Yidong <cyd@gnu.org>
1072
1073 * simple.el (password-word-equivalents): New defcustom.
1074 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1075 to 24.4.
1076 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1077 to t. (Bug#13124)
1078
fb3d479c
DG
10792014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1080
1081 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1082 (ruby-align-to-stmt-keywords): Change the default value.
1083 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1084 choices.
1085 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1086 keywords, check against the value of `ruby-alignable-keywords'
1087 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1088
0d613483
GM
10892014-01-17 Glenn Morris <rgm@gnu.org>
1090
fc23fe2d
GM
1091 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1092
0d613483
GM
1093 Make M-x authors return zero *Authors Errors* from current logs.
1094 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1095 (authors-ignored-files): Add some entries, remove others.
1096 (authors-ambiguous-files, authors-valid-file-names):
1097 Add some entries.
1098 (authors-renamed-files-alist): Add, remove, and adjust entries.
1099 (authors-renamed-files-regexps): Add some entries.
1100 Remove some very broad ones. Make some entries `lax'.
1101 (authors-lax-changelogs): New constant.
1102 (authors-disambiguate-file-name): Treat top-level specially.
1103 (authors-lax-changelog-p): New function.
1104 (authors-canonical-file-name): Check file as written against
1105 authors-valid-file-names. Do not special-case etc/.
1106 Handle `lax' logs and authors-renamed-files-regexps elements.
1107
2dbf4ffd
DG
11082014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1109
1110 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1111 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1112 callers.
2dbf4ffd 1113
87b2a7f2
SM
11142014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1117 Assume we're already in the proper buffer.
1118 Inspired by Anders Lindgren <andlind@gmail.com>.
1119 (follow-post-command-hook): Call it from the right buffer.
1120 (follow-comint-scroll-to-bottom): Adjust call.
1121 (follow-all-followers): Use get-buffer-window-list.
1122
93acfb0e
DC
11232014-01-15 Daniel Colascione <dancol@dancol.org>
1124
1125 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1126 `buffer-file-name' in interactive-form so that we don't leave
1127 pathless file names in `file-name-history'.
1128
ccc6b208
JL
11292014-01-15 Juri Linkov <juri@jurta.org>
1130
1131 * indent.el (indent-rigidly): Set deactivate-mark to nil
1132 in transient indentation mode. (Bug#16438)
1133
5c92e00d
DG
11342014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1135
1136 * emacs-lisp/package.el (package-desc-keywords): New function
1137 (Bug#16222).
1138 (describe-package-1, package-all-keywords)
1139 (package--has-keyword-p): Use it.
1140
dac69660
NR
11412014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1142
1143 * simple.el (define-alternatives): When creating the
1144 COMMAND-alternatives variable, assign COMMAND as its definition
1145 name so that `describe-variable' can relocate it.
1146
8b63edf8
ML
11472014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1148
1149 * font-lock.el (font-lock-keywords): Fix typo in docstring
1150 (bug#16307).
1151
c6a0b8eb
AM
11522014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1153
1154 * ispell.el (ispell-region): Reset `in-comment' for new line
1155 instead of wrongly reset `add-coment' (bug#13577).
1156
02bf443d
DU
11572014-01-14 Daiki Ueno <ueno@gnu.org>
1158
1159 * epa-file.el (epa-file-write-region): Encode the region according
1160 to `buffer-file-format'. Problem reported at:
1161 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1162
fd7fde15
SM
11632014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1164
1165 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1166 so it applies in the right buffer (bug#16410).
1167
c176054f
DC
11682014-01-13 Daniel Colascione <dancol@dancol.org>
1169
1170 * textmodes/rst.el (rst-define-key): Provide deprecated
1171 keybindings through named functions instead of anonymous ones so
1172 that "??" doesn't appear in describe-mode output.
1173
e3f33e5d
BG
11742014-01-13 Bastien Guerry <bzg@gnu.org>
1175
1176 * simple.el (define-alternatives): Call the selected command
1177 interactively. When setting `COMMAND--implementation' for the
1178 first time, tell the user how to chose another implementation.
1179 Enhance the docstring.
1180
c055d654
SM
11812014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1184 (log-edit--match-first-line): New function.
1185 (log-edit-font-lock-keywords): Use it.
1186 (log-edit-mode): Make jit-lock-defer-multiline work.
1187
d791cc3b
BG
11882014-01-13 Bastien Guerry <bzg@gnu.org>
1189
1190 * rect.el (rectangle-mark-mode): When the region is not active,
1191 display a message saying that the mark as been set and that
1192 rectangle mode is in use.
1193 (rectangle--highlight-for-redisplay): Only put an overlay with a
1194 visible vertical bar when (display-graphic-p) is non-nil.
1195 This partially fixes Bug#16403.
1196
3c0c4562
JL
11972014-01-13 Juri Linkov <juri@jurta.org>
1198
1199 * info.el (Info-find-file): Go to DIR before displaying the error
1200 about a nonexistent file if no previous Info file is visited.
1201 Use `user-error' instead of `error' for "Info file %s does not exist".
1202 (Info-find-node-2): In case of a nonexistent node in unwind forms
1203 go to the Top node if there is no previous node to revert to.
1204 (Bug#16405)
1205
25a700d0
MR
12062014-01-13 Martin Rudalics <rudalics@gmx.at>
1207
1208 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1209 * window.el (fit-frame-to-buffer): Fix doc-string.
1210 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1211 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1212 when avoiding that frame goes partially off-screen.
1213 (fit-window-to-buffer): Respect window-min-height/-width
1214 (Bug#14096).
1215
6ae948d8
SM
12162014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1217
1218 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1219 after an empty line.
1220
6137cb82
SM
12212014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * net/shr.el (shr-render-region): Autoload.
1224
e6344e17
XF
12252014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1226
1227 * net/eww.el (eww-download-directory): Rename from
1228 `eww-download-path' (Bug#16419).
1229
3b922c70
LL
12302014-01-12 Leo Liu <sdl.web@gmail.com>
1231
1232 * dired-x.el (dired-mode-map): Fix last change.
1233
1234 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1235
4fa51741
PE
12362014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1237
1238 Spelling fixes.
1239 * emacs-lisp/generic.el (generic--normalize-comments):
1240 Rename from generic--normalise-comments. All uses changed.
1241 * play/bubbles.el (bubbles--neighborhood-score):
1242 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1243 (bubbles--neighborhood-available)
1244 (bubbles--update-neighborhood-score):
1245 Rename from names with 'neighbourhood'. All uses changed.
1246
9b335362
LL
12472014-01-12 Leo Liu <sdl.web@gmail.com>
1248
1249 Re-implement the feature of showing eldoc info after editing.
1250 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1251 (eldoc-edit-message-commands): New function.
1252 (eldoc-print-after-edit): New variable.
1253 (eldoc-pre-command-refresh-echo-area): Emit message only by
1254 eldoc-message-commands.
1255 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1256 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1257 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1258 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1259
e2a095b1
GM
12602014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1261 Eric S. Raymond <esr@thyrsus.com>
9685190b 1262
841a6d0c 1263 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1264 function works correctly in either a Bazaar or Git repo.
0abf4134 1265
e2a095b1
GM
12662014-01-11 Eric S. Raymond <esr@thyrsus.com>
1267
6137cb82
SM
1268 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1269 Goes with removal of the joke manpages from /etc.
9685190b 1270
c295fc18 12712014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1272
6137cb82
SM
1273 * mail/rmail.el (rmail-get-coding-system):
1274 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1275
d2f16e93
GM
12762014-01-10 Glenn Morris <rgm@gnu.org>
1277
1278 * emacs-lisp/authors.el (authors-fixed-entries):
1279 Update for files that no longer exist.
1280
7e03bb32
ER
12812014-01-10 Eric S. Raymond <esr@thyrsus.com>
1282
1283 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1284 24.3 (Tested).
7e03bb32 1285
dd806710
BB
12862014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1287
1288 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1289 and Podfile.
1290
ed6ec139
EZ
12912014-01-10 Eli Zaretskii <eliz@gnu.org>
1292
1293 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1294
cc33cac9
CY
12952014-01-10 Chong Yidong <cyd@gnu.org>
1296
6137cb82 1297 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1298
d9d836b5
AL
12992014-01-10 Anders Lindgren <andlind@gmail.com>
1300
1301 * follow.el (follow-cache-command-list): Include right-char and
1302 left-char.
1303
06827ec8
PE
13042014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1305
1306 Spelling fixes.
1307 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1308 * woman.el (woman-mark-horizontal-position):
1309 Rename from woman-mark-horizonal-position. Use changed.
1310
458dbf5e
GM
13112014-01-10 Glenn Morris <rgm@gnu.org>
1312
dad6fae7
GM
1313 * info.el (info-initialize): If running uninstalled, ensure our
1314 own info files are always found first, even if INFOPATH is set.
1315
458dbf5e
GM
1316 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1317
05e0afce
DE
13182014-01-09 David Engster <deng@randomsample.de>
1319
1320 * emacs-lisp/eieio-custom.el:
1321 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1322 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1323 * emacs-lisp/eieio.el: Regenerate autoloads.
1324
f29778b3
ER
13252014-01-09 Eric S. Raymond <esr@thyrsus.com>
1326
1327 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 1328 following renames. (Bug#8756)
f29778b3 1329
684d44ef
SM
13302014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1333 (bug#16382).
1334 (activate-mark): Add `no-tmm' argument.
1335 (set-mark, push-mark-command): Use it instead of running
1336 activate-mark-hook by hand.
1337
9475054f
ER
13382014-01-08 Eric S. Raymond <esr@thyrsus.com>
1339
1340 In preparation for the move to git, sanitize out some
1341 Bazaar-specific names.
1342
38942b9c
GM
1343 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1344
9475054f 1345 * version.el (emacs-bzr-version): Name changed to
689c9ca5 1346 emacs-repository-version. Obsolete-variable alias made.
9475054f 1347 * loadup.el: Follow through on this name change.
a12bf61e 1348 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
1349 assumption about the version control system in use.
1350
0f918d96 13512014-01-08 David Engster <deng@randomsample.de>
abb82152 1352
684d44ef
SM
1353 * help-fns.el (help-fns-describe-function-functions):
1354 New variable to call functions for augmenting help buffers.
abb82152
DE
1355 (describe-function-1): Remove explicit calls to
1356 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
1357 `help-fns--obsolete'. Put them in above new variable instead, and
1358 call them through `run-hook-with-args'.
1359 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1360 `eieio-describe-class'. Not meant for interactive use anymore,
1361 but to augment existing help buffers. Remove optional second
684d44ef
SM
1362 argument. Create proper button for file location.
1363 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
1364 possible.
1365 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1366 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
1367 (describe-method, describe-generic, eieio-describe-method):
1368 Remove aliases.
0f918d96
DE
1369 (eieio-help-constructor, eieio-help-generic): Rename from
1370 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1371 Rewrite to use `insert' in the current buffer and use proper help
1372 buttons.
1373 (eieio-help-find-method-definition)
1374 (eieio-help-find-class-definition): Also accept symbols as
1375 arguments.
1376 (eieio-help-mode-augmentation-maybee): Remove.
1377 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
1378 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1379 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 1380
136b74c5
PE
13812014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1382
1383 Spelling fixes.
1384 * language/china-util.el (hz-ascii-designation):
1385 Rename from hz-ascii-designnation.
1386 (hz-ascii-designation): Rename from hz-ascii-designnation.
1387 All uses changed.
1388
ec6c7de2
SM
13892014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1390
1391 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1392 package-alist.
1393
d6262c7c
BG
13942014-01-08 Bastien Guerry <bzg@gnu.org>
1395
4b9e6087
GM
1396 * emacs-lisp/package.el (package-delete):
1397 Correctly delete the package from package-alist.
d6262c7c 1398
0a3eec32
DU
13992014-01-08 Daiki Ueno <ueno@gnu.org>
1400
1401 * emacs-lisp/package.el (url-recreate-url): Declare.
1402 (url-http-target-url): Declare.
4b9e6087 1403 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1404 (package--check-signature): Don't re-signal errors from
1405 package--with-work-buffer. Suggested by Stefan Monnier.
1406
68f0bb97
BG
14072014-01-07 Bastien Guerry <bzg@gnu.org>
1408
1409 * minibuffer.el (completion--try-word-completion): When both a
1410 hyphen and a space are possible candidates for the character
1411 following a word, display both candidates. (Bug#15980)
1412
7e1899d7
MR
14132014-01-07 Martin Rudalics <rudalics@gmx.at>
1414
1415 * window.el (balance-windows-2): While rounding don't give a
c295fc18 1416 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 1417
0030ec15
GM
14182014-01-07 Glenn Morris <rgm@gnu.org>
1419
1420 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1421 (menu-bar-help-menu): Use view-external-packages instead.
1422
2b6b4f20
BG
14232014-01-07 Bastien Guerry <bzg@gnu.org>
1424
1425 * emacs-lisp/package.el (package-delete): Also delete the package
1426 name from `package-alist', not its description only.
1427
e9be0a13
GM
14282014-01-07 Glenn Morris <rgm@gnu.org>
1429
1430 * help.el (view-external-packages):
1431 * menu-bar.el (menu-bar-help-extra-packages):
1432 Visit efaq.info rather than etc/MORE.STUFF.
1433
e4f74da9
JL
14342014-01-07 Juri Linkov <juri@jurta.org>
1435
1436 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1437 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1438
1439 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1440 that shadows RET. (Bug#16342)
1441
de7ce2d1
CY
14422014-01-07 Chong Yidong <cyd@gnu.org>
1443
1444 * isearch.el (isearch-yank-char, isearch-yank-word)
1445 (isearch-yank-line): Doc fix.
1446
6bdd9204
SM
14472014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1450 * emacs-lisp/elint.el (elint-find-builtins):
1451 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1452 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1453 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1454 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1455 * apropos.el (apropos-safe-documentation):
1456 * subr.el (symbol-file): Remove redundant fboundp.
1457 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1458
daccca97
BG
14592014-01-06 Bastien Guerry <bzg@gnu.org>
1460
1461 * hl-line.el (global-hl-line-overlay): Make a local variable.
1462 (global-hl-line-overlays): New variable to store all overlays.
1463 (global-hl-line-mode): Don't delete overlays from the current
1464 buffer when `global-hl-line-sticky-flag' is non-nil.
1465 (global-hl-line-highlight): Add new overlays to
1466 `global-hl-line-overlays'.
1467 (global-hl-line-unhighlight-all): New function to delete all
1468 overlays when turning off `global-hl-line-mode'.
1469 This fixes Bug#16183.
1470
ec00f20f
SM
14712014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1472
1473 * subr.el (set-transient-map): Fix nested case and docstring.
1474
a0031f97
TH
14752014-01-06 Tassilo Horn <tsdh@gnu.org>
1476
1477 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1478 `Texinfo' entry.
1479
bf6a77f3
DC
14802014-01-06 Daniel Colascione <dancol@dancol.org>
1481
1482 Fix defun navigation in vc log view.
1483
1484 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1485 like `beginning-of-defun'.
c295fc18 1486 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
1487 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1488 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1489 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1490 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1491
d5081c1e
PE
14922014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1493
1494 Spelling fixes.
1495 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1496 * emacs-lisp/debug.el (cancel-debug-on-entry):
1497 * epg.el (epg-error-to-string):
1498 * files.el (recover-file):
1499 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1500 * mail/emacsbug.el (report-emacs-bug-hook):
1501 * mail/sendmail.el (mail-recover):
1502 * ses.el (ses-yank-resize):
1503 * term/ns-win.el (ns-print-buffer):
1504 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1505 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1506 All uses changed.
1507 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1508
53f6b148
LL
15092014-01-06 Leo Liu <sdl.web@gmail.com>
1510
1511 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1512 to avoid shadowing global key. (Bug#16354)
53f6b148 1513
b82ace2f
DC
15142014-01-06 Daniel Colascione <dancol@dancol.org>
1515
1516 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1517 rst-mode.
1518
3669b636
MR
15192014-01-05 Martin Rudalics <rudalics@gmx.at>
1520
1521 * window.el (balance-windows): Add mising t to fix Bug#16351.
1522
1a29adc2
LMI
15232014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1524
1525 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1526 (bug#16285).
3d95a0f4
LMI
1527 (shr-insert): If we have a word that's longer than `shr-width',
1528 break after it anyway. Otherwise we'll do no breaking once we get
1529 such a long word.
1a29adc2 1530
f4018140
KN
15312014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1532
3fcfc4ee 1533 * net/eww.el (eww): Support single/double quote for search.
c295fc18 1534 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
1535 (eww-history-quit): Delete and use quit-window.
1536 (eww-history-kill): Delete, because it doesn't work well and
1537 not necessary.
1538 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1539
4e619754
PE
15402014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1541
73dbf960
PE
1542 Fix misspelling of 'chinese' in rx (Bug#16237).
1543 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1544 chinese-two-byte.
1545
4e619754
PE
1546 Change subword regexps back to vars (Bug#16296).
1547 * progmodes/subword.el (subword-forward-regexp)
1548 (subword-backward-regexp): Change these back to variables.
1549
e18b70fc
SM
15502014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1553 syntax-begin-function (bug#16247).
1554
0d53f628
CY
15552014-01-03 Chong Yidong <cyd@gnu.org>
1556
1557 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1558 (advice--docstring): Delete variable.
1559 (advice--make-1): Leave the docstring empty.
1560 (advice-add): Use function-documentation for advised docstring.
1561
1562 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1563 Ignore function-documentation property when getting documentation.
1564 (ad-activate-advised-definition): Use function-documentation
1565 generate the docstring.
1566 (ad-make-advised-definition): Don't call
1567 ad-make-advised-definition-docstring.
1568 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1569 Delete functions.
1570
1571 * progmodes/sql.el (sql-help): Use function-documentation instead
1572 of dynamic-docstring-function property. No need to autoload now.
1573 (sql--help-docstring): New variable.
1574 (sql--make-help-docstring): Use it.
1575
6f547583
SM
15762014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1577
6ef9aed8
SM
1578 * ielm.el (ielm-tab): Retarget.
1579 (ielm-map): Use ielm-tab for tab.
1580 (ielm-complete-filename): Use comint-filename-completion.
1581 (ielm-complete-symbol): Remove.
1582 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1583 remove ielm-tab from completion-at-point-functions (bug#16224).
1584
6f547583
SM
1585 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1586 Beware signals raised by predicates (bug#16201).
1587
a574edbe
RS
15882014-01-02 Richard Stallman <rms@gnu.org>
1589
e831604d
RS
1590 * dired-aux.el (dired-do-print): Handle printer-name.
1591
6f547583
SM
1592 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1593 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1594 (rmail-epa-decrypt): Turn off mime processing.
1595
3fcfc4ee 1596 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1597 Add parens in message-id.
1598
1599 * mail/rmail.el (rmail-get-coding-function): Variable.
1600 (rmail-get-coding-system): Use it.
1601
04311a16
KH
16022013-12-31 Eli Zaretskii <eliz@gnu.org>
1603
1604 * international/mule-conf.el: Unify the charset indian-is13194.
1605 (indian-is13194): Specify unify-map.
1606
c8d89778
LL
16072013-12-31 Leo Liu <sdl.web@gmail.com>
1608
1609 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1610
e63ace37
DC
16112013-12-30 Daniel Colascione <dancol@dancol.org>
1612
9e0bf19a
DC
1613 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1614 of printing a useless when we resume from sleep.
1615
e63ace37 1616 * progmodes/sh-script.el
c295fc18 1617 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
1618 in indentation code. (Bug#16233)
1619
e9d6c46a
JT
16202013-12-28 João Távora <joaotavora@gmail.com>
1621
6f547583
SM
1622 * elec-pair.el (electric-pair-post-self-insert-function):
1623 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1624
bf7bea5d
EZ
16252013-12-28 Eli Zaretskii <eliz@gnu.org>
1626
1627 * frame.el (window-system-for-display): Don't allow to create a
1628 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1629
8449dd1f
GM
16302013-12-28 Glenn Morris <rgm@gnu.org>
1631
9c5a5c77
GM
1632 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1633 Update callers.
1634
1635 * apropos.el (apropos-match-face):
1636 * calculator.el (calculator-displayer):
1637 * dabbrev.el (dabbrev-search-these-buffers-only):
1638 * face-remap.el (buffer-face-mode-face):
1639 * simple.el (yank-handled-properties):
1640 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1641 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1642 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1643 (hashcash-double-spend-database):
1644 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1645 (ruby-deep-indent-paren-style):
1646 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1647 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1648 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1649 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1650 Specify custom types.
1651
bb098075
GM
1652 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1653 * bookmark.el (bookmark-bmenu-use-header-line):
1654 * doc-view.el (doc-view-scale-internally):
1655 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1656 * register.el (register-preview-delay):
1657 * net/shr.el (shr-bullet):
1658 * progmodes/cfengine.el (cfengine-cf-promises)
1659 (cfengine-parameters-indent):
1660 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1661 * textmodes/reftex-vars.el (reftex-label-regexps):
1662 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1663
9c61f806
GM
1664 * net/tls.el (tls-certtool-program): Fix default value.
1665
1666 * desktop.el (desktop-restore-in-current-display):
1667 * newcomment.el (comment-empty-lines):
1668 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1669 (idlwave-pad-keyword):
1670 * progmodes/tcl.el (tcl-tab-always-indent):
1671 * textmodes/reftex-vars.el (reftex-index-default-tag):
1672 * elec-pair.el (electric-pair-skip-whitespace):
1673 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1674
8449dd1f
GM
1675 * emacs-lisp/authors.el (authors-ignored-files)
1676 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1677
fdadeb49
JC
16782013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1679
72140a0f
GM
1680 * shell.el (shell-dynamic-complete-command): Doc fix.
1681 (shell--command-completion-data): Shell completion now matches
1682 executable filenames from the current buffer's directory, on
da5ecfa9 1683 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1684
e572a7d8
LI
16852013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1686
1687 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1688
7514d3f8
SM
16892013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1690
a4151f3b
SM
1691 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1692 (bug#16251).
1693
7514d3f8
SM
1694 * electric.el: Move all electric-pair-* to elec-pair.el.
1695 * elec-pair.el: New file, split from electric.el.
1696
ac5758d1
LI
16972013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1698
1699 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1700 indentation level is larger than the width, because that will
1701 infloop.
1702 (shr-insert): Fill repeatedly long texts, so that Japanese is
1703 formatted correctly (bug#16263).
24a6b65e
LI
1704 (shr-find-fill-point): Off by one error in comparison with the
1705 indentation.
ac5758d1 1706
7514d3f8 17072013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1708
1709 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1710 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1711 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1712 if that keeps or improves their balance in buffers.
1713 (electric-pair-delete-adjacent-pairs): Delete the pair when
1714 backspacing over adjacent matched delimiters.
1715 (electric-pair-open-extra-newline): Open extra newline when
1716 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1717 (electric--sort-post-self-insertion-hook):
1718 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1719 minor-modes are activated.
1720 * simple.el (newline-and-indent): Call newline with interactive
1721 set to t.
1722 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1723 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1724 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1725 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1726 electric-pair-open-newline-between-pairs to nil.
1727
fbcc63a3
FEG
17282013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1729
1730 * progmodes/python.el: Use lexical-binding.
1731 (python-nav-beginning-of-defun): Stop searching ASAP.
1732
ed78d16c
XF
17332013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1734
1735 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1736 Fix interactive spec. Doc fix. (Bug#15754)
1737
38b2c142
KY
17382013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1739
1740 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1741 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1742 Fix edebug spec (bug#16184).
1743
3c856c14
LI
17442013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1745
83fa295c 1746 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1747 (shr-insert): Don't infloop if we can't find a good place to break
1748 the line (bug#16256).
3c856c14 1749
01379221
FEG
17502013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1751
1752 * progmodes/python.el:
1753 (python-nav--lisp-forward-sexp): New function.
1754 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1755 python-nav-lisp-forward-sexp-safe.
1756 (python-nav--forward-sexp): New argument SAFE allows switching
1757 forward sexp movement behavior for parens.
1758 (python-nav-forward-sexp): Throw errors on unterminated parens
1759 (Bug#16191).
1760 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1761 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1762 (python-shell-buffer-substring):
1763 Use `python-nav-forward-sexp-safe'.
01379221 1764
99e4926f
LI
17652013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1766
1767 * net/shr.el (shr-find-fill-point): Don't break lines before a
1768 quotation mark.
c6c20584
LI
1769 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1770 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1771 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1772
fec0e828
KN
17732013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1774
1775 * net/eww.el (eww-form-textarea): Use a different face for
1776 textareas than text input since they have different keymaps
1777 (bug#16142).
1778
89c868ad
FEG
17792013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1780
7514d3f8
SM
1781 * progmodes/python.el (python-nav-beginning-of-statement):
1782 Speed up (Bug#15295).
89c868ad 1783
eeef121a
LI
17842013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1785
1786 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1787 the window configuration.
1788
121ea65f
EZ
17892013-12-24 Eli Zaretskii <eliz@gnu.org>
1790
1791 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1792 we run on MS-Windows or MS-DOS.
1793
18cee9ec
MR
17942013-12-24 Martin Rudalics <rudalics@gmx.at>
1795
1796 * window.el (balance-windows-area): Call window-size instead of
1797 window-height and window-width. Bug#16241.
1798
58f2b9a5
LI
17992013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1800
1801 * net/eww.el (eww-bookmark-quit): Remove.
1802 (eww-bookmark-browse): Restore the window configuration when you
1803 choose a bookmark (bug#16144).
1804
d64b6308
DC
18052013-12-24 Daniel Colascione <dancol@dancol.org>
1806
1807 * icomplete.el: Remove redundant :group arguments to `defcustom'
1808 throughout.
1809 (icomplete-show-matches-on-no-input): New customizable variable.
1810 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1811 we have something to show.
7514d3f8 1812 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1813
0da54898
DC
18142013-12-23 Daniel Colascione <dancol@dancol.org>
1815
1816 * icomplete.el: Move `provide' to end of file.
1817
b90aa4f4
TZ
18182013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1819
1820 * net/gnutls.el (gnutls-verify-error): Add version tag.
1821
8cd22a08
CY
18222013-12-23 Chong Yidong <cyd@gnu.org>
1823
1824 * subr.el (set-transient-map): Rename from
1825 set-temporary-overlay-map. Doc fix.
1826
1827 * face-remap.el (text-scale-adjust):
1828 * indent.el (indent-rigidly):
1829 * kmacro.el (kmacro-call-macro):
1830 * minibuffer.el (minibuffer-force-complete):
1831 * repeat.el (repeat):
1832 * simple.el (universal-argument--mode):
1833 * calendar/todo-mode.el (todo-insert-item--next-param):
1834 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1835
7510b021
CY
1836 * indent.el (indent-rigidly): Use substitute-command-keys.
1837
72140a0f 18382013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1839
1840 * net/eww.el (eww-tag-select): Add text-property to jump to next
1841 select field.
e9dc713d 1842 (eww): Add non-supported ftp error.
56890ecd 1843
1f87a56c
DG
18442013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1845
1846 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1847 comments. Handle electric indent after typing `?' and `!'.
1848
dca38cf9
CY
18492013-12-22 Chong Yidong <cyd@gnu.org>
1850
1851 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1852 applicable to a frame, fall back on the defface spec.
1853 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1854
f2351498
DG
18552013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1856
1857 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1858 after `{'. We need it after block openers, and it doesn't seem
1859 to hurt after hash openers.
1860
6cddebc1
DG
18612013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1862
1863 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1864 extracted from `ruby-smie-rules'.
1865 (ruby--electric-indent-chars): New variable.
1866 (ruby--electric-indent-p): New function.
1867 (ruby-mode): Use `electric-indent-functions' instead of
1868 `electric-indent-chars'.
1869
65a1da00
DG
18702013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1871
1872 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1873 docstring.
1874 (ruby-smie-rules): Indent plus one level after `=>'.
1875
b51ad4cf
RS
18762013-12-21 Richard Stallman <rms@gnu.org>
1877
1878 * simple.el (newline): Doc fix.
1879
72140a0f 18802013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1881
e9dc713d 1882 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1883 (eww-history-browse, eww-history-quit, eww-history-kill)
1884 (eww-history-mode-map, eww-history-mode): New command and
1885 functions to list browser histories.
e9dc713d
JB
1886 (eww-form-text): Support text form with disabled
1887 and readonly attributes.
1888 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1889
5e1901c1
RS
18902013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1891
1892 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1893 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1894 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1895 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1896 Use `user-error'.
1897 (eww-bookmark-mode-map): Add menu.
1898 (eww-render, eww-mode): Use `setq-local'.
1899 (eww-tool-bar-map): New variable.
1900 (eww-mode): Set `tool-bar-map'.
1901 (eww-view-source): Check for `html-mode' with `fboundp'.
1902
073d5cfd
LMI
19032013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1904
1905 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1906 elements with text inside. Also remove debugging.
1907
41cf3d11
JD
19082013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1909
1910 * cus-start.el (all): Add ns-use-srgb-colorspace.
1911
aac2b673
CY
19122013-12-21 Chong Yidong <cyd@gnu.org>
1913
1914 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1915 undefined. Thus, theme settings for undefined faces do not take
1916 effect until the faces are defined with defface, the same as with
1917 theme variables.
1918
1919 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1920 (face-spec-reset-face): Don't assign extra properties in temacs.
1921 (face-spec-recalc): Apply X resources too.
1922
bacb0e77
CY
19232013-12-21 Chong Yidong <cyd@gnu.org>
1924
1925 * faces.el (face-spec-set):
1926 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1927 * custom.el (defface): Doc fixes (Bug#16203).
1928
77221051
CY
1929 * indent.el (indent-rigidly-map): Add docstring, and move commands
1930 into named functions.
1931 (indent-rigidly-left, indent-rigidly-right)
1932 (indent-rigidly-left-to-tab-stop)
1933 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1934 indentation direction based on bidi direction, and accumulate
1935 sequential commands in a single undo boundary.
1936 (indent-rigidly--pop-undo): New utility function.
1937
e0eb0550
JB
19382013-12-20 Juanma Barranquero <lekktu@gmail.com>
1939
1940 * faces.el (read-face-name): Require crm.el when using crm-separator.
1941
3282bd2e
DC
19422013-12-20 Daniel Colascione <dancol@dancol.org>
1943
1944 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1945 so that we don't reflow comments into the shebang line.
1946
1d42e5b6
JL
19472013-12-20 Juri Linkov <juri@jurta.org>
1948
1949 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1950 a position when `dired-directory' is non-nil. Check integer
1951 positions with `integerp'.
1952 (toggle-save-place, save-places-to-alist): Add check for
1953 `dired-directory'.
1954 (save-place-find-file-hook): Check integer positions with
1955 `integerp'.
1956 (save-place-dired-hook): Use `dired-goto-file' when
1957 `dired-filename' is found in the assoc list. Check integer
1958 positions with `integerp'.
1959 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1960
1961 * dired.el (dired-initial-position-hook): Rename back from
1962 `dired-initial-point-hook'.
1963 (dired-initial-position): Rename `dired-initial-point-hook' to
1964 `dired-initial-position-hook'.
1965 (dired-file-name-at-point): Doc fix. (Bug#15329)
1966
24da7273
JL
19672013-12-20 Juri Linkov <juri@jurta.org>
1968
1969 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1970 (read-regexp-suggestions): New function.
1971 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1972 Use `read-regexp-suggestions'. Add non-empty default to history
1973 for empty input.
1974 (occur-read-regexp-defaults-function): Remove function.
1975 (occur-read-primary-args): Use `regexp-history-last' instead of
1976 `occur-read-regexp-defaults-function'.
1977
1978 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1979 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1980 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1981 `hi-lock-read-regexp-defaults-function'. Doc fix.
1982 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1983 with `find-tag-default-as-symbol-regexp'. Doc fix.
1984 (hi-lock-read-regexp-defaults): Remove function.
1985 (hi-lock-regexp-okay): Add check for null.
1986
1987 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1988 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1989
1990 * subr.el (find-tag-default-as-symbol-regexp): New function.
1991 (find-tag-default-as-regexp): Move symbol regexp formatting to
1992 `find-tag-default-as-symbol-regexp'.
1993
137f57c8
S
19942013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1995
1996 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1997 (Bug#14179)
1998
f3a66082
SB
19992013-12-20 Stephen Berman <stephen.berman@gmx.net>
2000
2001 * calendar/todo-mode.el: New implementation of item insertion
2002 commands and key bindings.
2003 (todo-key-prompt): New face.
2004 (todo-insert-item): New command.
2005 (todo-insert-item--parameters): New defconst, replacing defvar
2006 todo-insertion-commands-args-genlist.
2007 (todo-insert-item--param-key-alist): New defconst, replacing
2008 defvar todo-insertion-commands-arg-key-list.
2009 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2010 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2011 (todo-insert-item--next-param): New functions.
2012 (todo-insert-item--args, todo-insert-item--argleft)
2013 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2014 New variables.
2015 (todo-key-bindings-t): Change binding of "i" from
2016 todo-insertion-map to todo-insert-item.
2017 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2018 (todo-insertion-command-name, todo-insertion-commands-names)
2019 (todo-define-insertion-command, todo-insertion-commands)
2020 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2021
2f99433b
SB
20222013-12-20 Stephen Berman <stephen.berman@gmx.net>
2023
2024 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2025 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2026 eval-when-compile.
2027 (todo-move-category): Allow choosing a non-existing todo file to
2028 move the category to, and create that file.
2029 (todo-default-priority): New user option.
2030 (todo-set-item-priority): Use it.
2031 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2032 (desktop-restore-file-buffer): Declare.
2033 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2034 (todo-modes-set-2): Locally set desktop-save-buffer to
2035 todo-desktop-save-buffer.
2036 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2037 (auto-mode-alist): Add autoload cookie.
2038
131e4695
BB
20392013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2040
2041 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2042 helpers.el was a poor choice of name.
3cbfb935
BB
2043 (string-remove-prefix): New function.
2044 (string-remove-suffix): New function.
131e4695 2045
c44de18d
MR
20462013-12-20 Martin Rudalics <rudalics@gmx.at>
2047
2048 Fix assignment for new window total sizes.
2049 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2050 (window--pixel-to-total-1, window--pixel-to-total):
2051 Fix calculation of new total sizes.
c44de18d 2052
ca65efcc
VS
20532013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2054
2055 * comint.el (comint-output-filter): Fix rear-nonsticky property
2056 placement (Bug#16010).
2057
a9574eb7
CY
20582013-12-20 Chong Yidong <cyd@gnu.org>
2059
2060 * faces.el (read-color): Minor fix for completion function.
2061
b520f210
DG
20622013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2063
e0eb0550
JB
2064 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2065 New option. (Bug#16182)
b520f210
DG
2066 (ruby-smie--indent-to-stmt-p): Use it.
2067 (ruby-smie-rules): Revert the logic in the handling of `when'.
2068 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2069 (ruby-deep-arglist, ruby-deep-indent-paren)
2070 (ruby-deep-indent-paren-style): Update docstrings to note that the
2071 vars don't have any effect with SMIE.
2072
26b75b45
JB
20732013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2074
2075 * calc/calc.el (calc-enter, calc-pop): Use the variable
2076 `calc-context-sensitive-enter'.
2077
cf91cee7
LMI
20782013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2079
2080 * net/shr.el (shr-insert): Protect against infloops in degenerate
2081 tables.
2082
51d971b4
RS
20832013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2084
2085 * progmodes/octave.el (octave): Add link to manual and octave
2086 homepage.
2087 (octave-mode-menu): Link to octave-mode manual.
2088
8c2e462a
LL
20892013-12-20 Leo Liu <sdl.web@gmail.com>
2090
2091 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2092 insertion using skeleton-end-newline. (Bug#16138)
2093
501158bc
JL
20942013-12-20 Juri Linkov <juri@jurta.org>
2095
2096 * replace.el (occur-engine): Use `add-face-text-property'
2097 to add the face property to matches and titles. (Bug#14645)
2098
2099 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2100 the palette of other hi-lock colors.
2101 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2102
50ab1da6
JL
21032013-12-19 Juri Linkov <juri@jurta.org>
2104
2105 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2106 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2107 (minibuffer-history-symbol): Move variable declaration closer to
2108 its usage.
2109
2110 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2111 (Bug#14785)
2112
3d6e95e7
JL
21132013-12-19 Juri Linkov <juri@jurta.org>
2114
2115 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2116 New function.
2117 (log-edit-hook): Add it to :options. (Bug#16170)
2118
b41594fd
JL
21192013-12-19 Juri Linkov <juri@jurta.org>
2120
2121 * simple.el (eval-expression-print-format): Don't check for
2122 command names and the last command. Always display additional
2123 formats of the integer result in the echo area, and insert them
2124 to the current buffer only with a zero prefix arg.
2125 Display character when char-displayable-p is non-nil.
2126 (eval-expression): With a zero prefix arg, set `print-length' and
2127 `print-level' to nil, and insert the integer values from
2128 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2129
2130 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2131 `eval-last-sexp-arg-internal'. Doc fix.
2132 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2133 `eval-last-sexp-print-value'. Doc fix.
2134 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2135 Set `print-length' and `print-level' to nil when arg is zero.
2136 (eval-last-sexp): Doc fix.
2137 (eval-defun-2): Print the integer values from
2138 `eval-expression-print-format' at the end.
2139
2140 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2141 values from `eval-expression-print-format' at the end.
2142
2143 * ielm.el (ielm-eval-input): Print the integer
2144 values from `eval-expression-print-format' at the end.
2145
8f2be364
TZ
21462013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2147
2148 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2149 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2150
2230a6e3
SM
21512013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2154 (hl-line-highlight, global-hl-line-highlight): Use it.
2155 (hl-line-overlay): Use defvar-local.
2156
1269a680
JD
21572013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2158
2159 * term/ns-win.el: Require dnd.
2160 (global-map): Remove drag items.
2161 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2162 (ns-set-background-at-mouse):
2163 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2164 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2165 New functions.
1269a680 2166
049638ad
GM
21672013-12-19 Glenn Morris <rgm@gnu.org>
2168
2169 * emacs-lisp/ert.el (ert-select-tests):
2170 Fix string/symbol mixup. (Bug#16121)
2171
ce41edb4
DG
21722013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2173
2174 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2175 keywords to their parent.
2176
7e1549c9
DG
21772013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2178
2179 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2180 first arg to be a string (fixed dead code), or an operator symbol.
2181 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2182 operator symbols.
2183 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2184 did nothing. Don't respond to `(:after ".")', it will be called
2185 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2186 change anything. Only return indentation for binary operators
2187 when they are hanging. De-dent opening paren when its parent is
2188 `.', otherwise it looks bad when the dot is not at bol or eol
2189 (bug#16182).
2190
3ee4cd64
JL
21912013-12-19 Juri Linkov <juri@jurta.org>
2192
2193 * replace.el (query-replace-read-args): Split a non-negative arg
2194 and a negative arg into separate elements.
2195 (query-replace, query-replace-regexp, replace-string)
2196 (replace-regexp): Add arg `backward'. Doc fix.
2197 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2198 move point to the beginning of the match.
2199 (replace-search, replace-highlight): Use new arg `backward'
2200 to set the value of `isearch-forward'.
2201 (perform-replace): Add arg `backward' and use it to perform
2202 replacement backward. (Bug#14979)
2203
2204 * isearch.el (isearch-query-replace): Use a negative prefix arg
2205 to call `perform-replace' with a non-nil arg `backward'.
2206
0cda6b7b
JL
22072013-12-18 Juri Linkov <juri@jurta.org>
2208
2209 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2210 to the default list. Move `log-edit-show-files' to the end.
2211 Add more available functions to options.
2212 (log-edit): Move default specific settings to
2213 `log-edit-insert-message-template'. Don't move point.
2214 (log-edit-insert-message-template): New function.
2215 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2216 (Bug#16170)
2217
b216f0a6
JL
22182013-12-18 Juri Linkov <juri@jurta.org>
2219
2220 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2221 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2222
1d1c55dc
LL
22232013-12-18 Leo Liu <sdl.web@gmail.com>
2224
e9dc713d
JB
2225 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2226 (Bug#16186)
1d1c55dc 2227
64e4c76e
EZ
22282013-12-18 Eli Zaretskii <eliz@gnu.org>
2229
2230 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2231 formats for displaying file sizes when the -s switch is given.
2232 Instead, compute a separate format for displaying the size in
2233 blocks, which is displayed in addition to the "regular" size.
2234 When -h is given in addition to -s, produce size in blocks in
2235 human-readable form as well. (Bug#16179)
2236
b2984e39
TH
22372013-12-18 Tassilo Horn <tsdh@gnu.org>
2238
2230a6e3
SM
2239 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2240 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2241
50ff2e06
CY
22422013-12-18 Chong Yidong <cyd@gnu.org>
2243
0081bc84
CY
2244 * cus-edit.el (custom-magic-alist): Fix "themed" description
2245 (Bug#14348).
2246
a7ee9424
CY
2247 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2248 is non-nil, do not create a new entry in the symbol's theme-value
2249 or theme-face property; update theme-settings only (Bug#14664).
18874304 2250 (custom-available-themes): Doc fix.
a7ee9424 2251
8f942537
CY
2252 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2253 (Bug#15674).
2254
50ff2e06
CY
2255 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2256
83c60f60
KI
22572013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2258
2259 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2260 (Bug#13914).
2261
e0eb0550 22622013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2263
2264 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2265
1f41ee56
GM
22662013-12-18 Glenn Morris <rgm@gnu.org>
2267
2268 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2269 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2270
e82134b1
LW
22712013-12-18 Le Wang <l26wang@gmail.com>
2272
2230a6e3
SM
2273 * comint.el (comint-previous-matching-input-from-input):
2274 Retain point (Bug#13404).
e82134b1 2275
33f5d4c1
CY
22762013-12-18 Chong Yidong <cyd@gnu.org>
2277
2278 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2279
ccc9f6dc
GM
22802013-12-18 Glenn Morris <rgm@gnu.org>
2281
2282 * mail/emacsbug.el (report-emacs-bug):
2283 Only mention enable-multibyte-characters if non-standard.
2284
33dd8e95
JL
22852013-12-17 Juri Linkov <juri@jurta.org>
2286
2287 * arc-mode.el (archive-extract-by-file): Check if directory exists
2288 before deletion to not show irrelevant errors if it doesn't exist.
2289
7a409b30
JL
22902013-12-17 Juri Linkov <juri@jurta.org>
2291
2292 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2293 (Bug#14751)
2294
2295 * net/eww.el (browse-web): Add alias to `eww'.
2296 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2297 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2298
2299 * net/browse-url.el (browse-url-browser-function): Move `eww'
2300 closer to similar functions.
2301
2302 * startup.el (fancy-startup-screen, fancy-about-screen):
2303 Set browse-url-browser-function to eww-browse-url locally.
2304 (Bug#14751)
2305
2d6b6005
SM
23062013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * window.el (window--pixel-to-total): Remove unused `mini' var.
2309 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2310 (split-window): Remove unused `new' var.
2311 (window--display-buffer): Remove unused `frame' and `delta' vars.
2312 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2313 and display-width'.
2314
cf2b7efc
MR
23152013-12-17 Martin Rudalics <rudalics@gmx.at>
2316
2317 * dired.el (dired-mark-pop-up):
2318 * register.el (register-preview): Don't bind
2319 split-height-threshold here since it's now done in
2320 display-buffer-below-selected.
2321
ed3af8a7 23222013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2323
2324 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2325 xterm-rgb-convert-to-16bit.
2326 (rxvt-register-default-colors): Standardize with
2327 xterm-register-default-colors (Bug#14078).
2328
76da3455
DK
23292013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2330
2331 * simple.el (kill-region): Pass mark first, then point, so that
2332 kill-append works right (Bug#12819).
2333 (copy-region-as-kill, kill-ring-save): Likewise.
2334
2b84d763
LL
23352013-12-17 Leo Liu <sdl.web@gmail.com>
2336
2337 * net/rcirc.el (rcirc-add-face):
2338 * eshell/em-prompt.el (eshell-emit-prompt):
2339 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2340 (Bug#16167)
2341
e2f6a0bc
CY
23422013-12-17 Chong Yidong <cyd@gnu.org>
2343
2344 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2345 Suggested by Xue Fuqiao.
2346
35b249a6
DG
23472013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2348
2349 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2350
e9145444
SM
23512013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2352
2353 * net/shr.el (shr-insert-document): Remove unused var
2354 `shr-preliminary-table-render'.
2355 (shr-rescale-image): Remove unused arg `force'.
2356 (shr-put-image): Update calls accordingly.
2357 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2358
5556c0ce
DG
23592013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2360
2361 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2362 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2363 :close-all, to see which indentation method to use (Bug#16116).
2364 (smie-rules-function): Document the method :close-all.
2365
11bade0a
LMI
23662013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2367
1c4b1e61
LMI
2368 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2369
11bade0a
LMI
2370 * net/eww.el (eww-display-html): If we can't find the anchor we're
2371 looking for, then go to point-min.
2372
8fb8c4f3
PE
23732013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2374
2375 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2376 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2377 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2378 Expand dir too, in case it's relative.
2379
6c8e0ae6
JL
23802013-12-16 Juri Linkov <juri@jurta.org>
2381
2382 * desktop.el (desktop-auto-save-timeout): Change default to
2383 `auto-save-timeout'. Doc fix.
2384 (desktop-save): Skip the timestamp in desktop-saved-frameset
2385 when checking for auto-save changes.
2386 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2387 `desktop-auto-save' is called repeatedly by the idle timer.
2388 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2389 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2390 (Bug#15331)
2391
2178e858
JL
23922013-12-16 Juri Linkov <juri@jurta.org>
2393
2394 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2395 (Bug#16035)
2396 (isearch-pre-command-hook): Check `this-command' for symbolp.
2397
39cb42c6
SM
23982013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2401
5b9b750a
TZ
24022013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2403
2404 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2405 (cfengine3--current-function): Bring in the current-function
2406 functionality from `cfengine3--current-word'.
2407 (cfengine3-completion-function): Bring in the
2408 bounds-of-current-word functionality from
2409 `cfengine3--current-word'.
2410
d144ef06
MR
24112013-12-16 Martin Rudalics <rudalics@gmx.at>
2412
39cb42c6
SM
2413 * window.el (display-buffer-below-selected):
2414 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2415
a8bbe298
LL
24162013-12-16 Leo Liu <sdl.web@gmail.com>
2417
2418 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2419 Remove NOMSG arg and all uses changed.
2420
2013a2f9
SM
24212013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2424 (cua--deactivate-rectangle): Don't deactivate the mark.
2425 (cua-set-rectangle-mark): Don't set mark-active since
2426 cua--activate-rectangle already does it for us.
2427 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2428 non-rectangular region.
2429
2430 * emulation/cua-base.el (cua-repeat-replace-region):
2431 Use with-current-buffer.
2432
2433 * net/gnutls.el: Use cl-lib.
2434 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2435
5ae811dd
TZ
24362013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2437
2438 * emacs-lisp/package.el (package-built-in-p): Support both
2439 built-in and the package.el converted package descriptions.
2440 (package-show-package-list): Allow keywords.
2441 (package-keyword-button-action): Use it instead of
2442 `finder-list-matches'.
2443 (package-menu-filter-interactive): Interactive filtering (by
2444 keyword) function.
2445 (package-menu--generate): Support keywords and change keymappings
2446 and headers when they are given.
2447 (package--has-keyword-p): Helper function.
2448 (package-menu--refresh): Use it.
2449 (package--mapc): Helper function.
2450 (package-all-keywords): Use it.
2451 (package-menu-mode-map): Set up menu items and keybindings to
2452 provide a filtering UI.
2453
31b4827e
TZ
24542013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2455
2456 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2457 the behavior when a certificate fails validation. Defaults to
2458 old behavior: never abort, just warn.
2459 (gnutls-negotiate): Use it.
2460
f93cc74f
MR
24612013-12-14 Martin Rudalics <rudalics@gmx.at>
2462
2463 * window.el (display-buffer-below-selected): Never split window
2464 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2465
f77d7d17
TW
24662013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2467
2468 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2469 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2470
7514d3f8
SM
24712013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2472
aa2bddd7 2473 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2474 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2475
276bc333
DG
24762013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2477
2478 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2479 open-paren tokens when preceded by a open-paren, too.
2480 (ruby-smie-rules): Handle virtual indentation after open-paren
2481 tokens specially. If there is code between it and eol, return the
2482 column where is starts (Bug#16118).
2483
d43957f3
TZ
24842013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2485
a5c1ac0c 2486 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2487 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2488 (cfengine3--current-word): Fix parameters.
2489 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2490 (cfengine3-completion-function, cfengine3--current-function):
2491 Use `assq' for symbols.
d43957f3
TZ
2492 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2493
06a4f110
GM
24942013-12-13 Glenn Morris <rgm@gnu.org>
2495
2496 * loadup.el (load-path): Warn if site-load or site-init changes it.
2497 No more need to reset it when bootstrapping.
2498
978a5fda
TZ
24992013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2500
2501 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2502 locations for cf-promises.
2503 (cfengine-mode-syntax-functions-regex): New caching variable.
2504 (cfengine3-fallback-syntax): Fallback syntax for cases where
2505 cf-promises doesn't run.
2506 (cfengine3--current-word): Reimplement using
2507 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2508 (cfengine3-completion-function, cfengine3--current-function):
2509 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2510 (cfengine3-clear-syntax-cache): New function.
2511 (cfengine3-make-syntax-cache): Simplify and create
2512 `cfengine-mode-syntax-functions-regex' on demand.
2513 (cfengine3-format-function-docstring): Don't call
2514 `cfengine3-make-syntax-cache' explicitly.
2515
71e6691e
MR
25162013-12-13 Martin Rudalics <rudalics@gmx.at>
2517
2518 Fix windmove-find-other-window broken after pixelwise resizing
2519 (Bug#16017).
2520 * windmove.el (windmove-other-window-loc): Revert change from
2521 2013-12-04.
2522 (windmove-find-other-window): Call window-in-direction.
2523 * window.el (window-in-direction): New arguments SIGN, WRAP and
2524 MINI to emulate original windmove-find-other-window behavior.
2525
84c73ba0
DG
25262013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2527
2528 * simple.el (blink-matching--overlay): New variable.
2529 (blink-matching-open): Instead of moving point, highlight the
2530 matching paren with an overlay
2531 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2532
2533 * faces.el (paren-showing-faces, show-paren-match)
2534 (show-paren-mismatch): Move from paren.el.
2535
b9e20952
LL
25362013-12-13 Leo Liu <sdl.web@gmail.com>
2537
2538 * indent.el (indent-region): Disable progress reporter in
2539 minibuffer. (Bug#16108)
2540
2541 * bindings.el (visual-order-cursor-movement): Fix version.
2542
ce030451
FEG
25432013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2544
2545 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2546 Also match after beginning of line.
2547 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2548 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2549
4a9c6865
JL
25502013-12-13 Juri Linkov <juri@jurta.org>
2551
2552 * simple.el <Keypad support>: Remove key bindings duplicated
2553 with bindings.el. (Bug#14397)
2554
2bc170c3
JL
25552013-12-13 Juri Linkov <juri@jurta.org>
2556
2557 * comint.el (comint-mode-map): Replace `delete-char' with
2558 `delete-forward-char'. (Bug#16109)
2559
bc9222c9
FEG
25602013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2561
aa2bddd7 2562 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2563 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2564
cb3a1380
SM
25652013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2568 (advice--make): Pay attention to `depth'.
2569 (advice--make-1): Don't autoload commands eagerly.
2570 * emacs-lisp/elp.el (elp-instrument-function):
2571 * emacs-lisp/trace.el (trace-function-internal):
2572 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2573
2574 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2575
01633a17
EZ
25762013-12-12 Eli Zaretskii <eliz@gnu.org>
2577
2578 * term/w32-win.el (w32-handle-dropped-file):
2579 * startup.el (normal-top-level):
2580 * net/browse-url.el (browse-url-file-url):
2581 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2582 decode file names using 'utf-8' rather than
2583 file-name-coding-system.
2584
09faee72
FEG
25852013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2586
2587 * progmodes/python.el (python-indent-context)
2588 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2589 behavior for comment blocks. (Bug#15916)
09faee72 2590
f4f84024 25912013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2592
cb3a1380
SM
2593 * progmodes/python.el (python-indent-calculate-indentation):
2594 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2595 operators when they are just string constituents. (Bug#15812)
2596
d5ccb7be
JL
25972013-12-12 Juri Linkov <juri@jurta.org>
2598
2599 * uniquify.el (uniquify-buffer-name-style): Change default to
2600 `post-forward-angle-brackets'.
2601
2602 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2603 `uniquify'. Change default to `post-forward-angle-brackets'.
2604
7b3f5679
GM
26052013-12-11 Glenn Morris <rgm@gnu.org>
2606
2607 * emacs-lisp/package.el (finder-list-matches):
2608 Autoload rather than falsely declaring.
2609
f4fe8fdd
TZ
26102013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2611
2612 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2613 (eww-mode-map): Use them.
2614
3c29190f
MR
26152013-12-11 Martin Rudalics <rudalics@gmx.at>
2616
2617 * window.el (display-buffer-in-side-window): Fix doc-string
2618 (Bug#16115).
2619
0cd616a2
JB
26202013-12-11 Juanma Barranquero <lekktu@gmail.com>
2621
2622 * vc/vc-git.el: Silence byte-compiler warnings.
2623 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2624 (log-edit-set-header): Declare.
2625
3ef8e0d1
EZ
26262013-12-11 Eli Zaretskii <eliz@gnu.org>
2627
2628 * Makefile.in (custom-deps, finder-data): Run output file names
2629 through unmsys--file-name. (Bug#16099)
2630
afdadaf7
SM
26312013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2632
7ae3ae39 2633 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2634 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2635
5b4f37ab
SM
2636 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2637 instead of deleting the selection "by hand" (bug#16098).
2638 Rely on insert-for-yank to yank rectangles.
2639 (cua-highlight-region-shift-only): Mark obsolete.
2640 (cua-mode): Don't enable/disable transient-mark-mode,
2641 shift-select-mode (cua-mode works both with and without them), and
2642 pc-selection-mode (obsolete).
2643 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2644 (cua--deactivate-rectangle): Deactivate it.
2645
4b72c12b
SM
2646 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2647 (delete-selection-helper): Make sure yank starts at the top of the
2648 deleted region.
2649 (minibuffer-keyboard-quit): Use region-active-p.
2650
e82af72d
SM
2651 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2652
afdadaf7
SM
2653 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2654 to `delete' (bug#16109).
2655
ed4bc201
RS
26562013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2657
2658 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2659 info manual and show keybindings and set `:group' keyword.
2660
bb8097b9
JL
26612013-12-11 Juri Linkov <juri@jurta.org>
2662
2663 * delsel.el (delete-active-region): Let-bind `this-command'
2664 to prevent `kill-region' from changing its original value.
2665 (delete-selection-helper): Handle `overwrite-mode' for the type
2666 `kill' exactly the same way as for the type `t'.
2667 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2668 Support more commands. (Bug#13312)
2669
c1916ff5
JL
26702013-12-11 Juri Linkov <juri@jurta.org>
2671
2672 * bindings.el: Map kp keys to non-kp keys systematically
2673 with basic modifiers control, meta and shift. (Bug#14397)
2674
7514d3f8 26752013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2676
2677 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2678 "Close browser" menu items. Fix wrong function of "List
2679 bookmarks".
2680
4cc51eaf
JL
26812013-12-11 Juri Linkov <juri@jurta.org>
2682
2683 * misearch.el (multi-isearch-buffers): Set the value of
2684 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2685 arg of isearch-forward to t.
2686 (multi-isearch-buffers-regexp): Set the value of
2687 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2688 arg of isearch-forward-regexp to t.
2689 (multi-isearch-files): Set the value of
2690 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2691 arg of isearch-forward to t.
2692 (multi-isearch-files-regexp): Set the value of
c295fc18 2693 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
2694 arg of isearch-forward-regexp to t. (Bug#16035)
2695
2696 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2697 arg of isearch-forward to t.
2698 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2699 arg of isearch-forward-regexp to t.
2700 (dired-isearch-filter-filenames): Remove unnecessary check for
2701 `dired-isearch-filenames'.
2702
2703 * comint.el (comint-history-isearch-backward):
2704 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2705 (comint-history-isearch-backward-regexp):
2706 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2707
ceac12b7
EZ
27082013-12-10 Eli Zaretskii <eliz@gnu.org>
2709
2710 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2711 unmsys--file-name. (Bug#16099)
2712
5a565782
TZ
27132013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2714
cb3a1380
SM
2715 * emacs-lisp/package.el (package-keyword-button-action):
2716 Remove finder.el require dependency.
5a565782 2717
a81fc7ba
TZ
27182013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2719
2720 * emacs-lisp/package.el: Require finder.el.
2721 (describe-package-1): Add keyword buttons.
2722 (package-make-button): New convenience function.
2723 (package-keyword-button-action): Keyword button action using
e0eb0550 2724 `finder-list-matches'.
a81fc7ba 2725
6aaca951
EZ
27262013-12-09 Eli Zaretskii <eliz@gnu.org>
2727
2728 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2729 last commit.
2730
a1099a91
MA
27312013-12-09 Michael Albinus <michael.albinus@gmx.de>
2732
2733 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2734 symlinked files.
2735
8212d9c0
DG
27362013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2737
2738 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2739 after the end of a percent literal.
2740
8f48d131
CD
27412013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2742
cb3a1380
SM
2743 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2744 Handle caret-delimited strings (Bug#16079).
8f48d131 2745
ff8c9764
DG
27462013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2747
cb3a1380
SM
2748 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2749 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2750 `ruby-parse-partial' (Bug#16078).
2751
d64643b4
LL
27522013-12-09 Leo Liu <sdl.web@gmail.com>
2753
2754 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2755
47e59c66
DG
27562013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2757
2758 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2759 (js-switch-indent-offset): New option.
2760 (js--proper-indentation): Use it. And handle the case when
2761 "default" is actually a key in an object literal.
2762 (js--same-line): New function.
2763 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2764 (js--indent-in-array-comp, js--array-comp-indentation):
2765 New functions.
47e59c66
DG
2766 (js--proper-indentation): Use them, to handle array comprehension
2767 continuations.
2768
974ebc9c
LL
27692013-12-08 Leo Liu <sdl.web@gmail.com>
2770
2771 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2772 (flymake-make-overlay): Remove arg MOUSE-FACE.
2773 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2774
27262e39
SM
27752013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2776
2777 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2778 New function.
2779 (redisplay-highlight-region-function): Use it.
2780
2781 * emulation/cua-base.el (cua--explicit-region-start)
2782 (cua--last-region-shifted): Remove.
2783 (cua--deactivate): Use deactivate-mark.
2784 (cua--pre-command-handler-1): Don't handle shift-selection.
2785 (cua--post-command-handler-1): Don't change transient-mark-mode.
2786 (cua--select-keymaps): Use region-active-p rather than
2787 cua--explicit-region-start or cua--last-region-shifted.
2788 (cua-mode): Enable shift-select-mode.
2789
6407822c
LL
27902013-12-08 Leo Liu <sdl.web@gmail.com>
2791
27262e39
SM
2792 * progmodes/flymake.el (flymake-popup-current-error-menu):
2793 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2794 (flymake-posn-at-point-as-event, flymake-popup-menu)
2795 (flymake-make-emacs-menu): Remove. (Bug#16077)
2796
00a2b823
SM
27972013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2798
02033d49
SM
2799 * rect.el (rectangle-mark-mode): Activate mark even if
2800 transient-mark-mode is off (bug#16066).
2801 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2802 is > mark and at bolp.
2803
6f8dfccf
SM
2804 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2805 (region-extract-function): Use it.
2806 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2807 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2808 Delete functions.
2809 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2810 kill-ring-save, kill-region, delete-char, delete-forward-char.
2811 Ignore self-insert-iso.
2812
2813 * emulation/cua-gmrk.el (cua--init-global-mark):
2814 Ignore `self-insert-iso'.
2815
2816 * emulation/cua-base.el (cua--prefix-copy-handler)
2817 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2818 checking cua--rectangle.
2819 (cua-delete-region): Use region-extract-function.
2820 (cua-replace-region): Delete function.
2821 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2822 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2823 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2824 (cua--init-keymaps): Don't remap delete-selection commands.
2825 (cua-mode): Use delete-selection-mode instead of rolling our own
2826 (bug#16085).
2827
2828 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2829 Obey region-extract-function.
2830
00a2b823
SM
2831 Make registers and delete-selection-mode work on rectangles.
2832 * register.el (describe-register-1): Don't modify the register's value.
2833 (copy-to-register): Obey region-extract-function.
2834 * delsel.el (delete-active-region): Obey region-extract-function.
2835
a92fa5f1
LL
28362013-12-08 Leo Liu <sdl.web@gmail.com>
2837
2838 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2839 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2840 (flymake-compilation-prevents-syntax-check)
2841 (flymake-start-syntax-check-on-newline)
2842 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2843 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2844 (flymake-xml-program, flymake-master-file-dirs)
2845 (flymake-master-file-count-limit)
2846 (flymake-allowed-file-name-masks): Relocate.
2847 (flymake-makehash, flymake-float-time)
2848 (flymake-replace-regexp-in-string, flymake-split-string)
2849 (flymake-get-temp-dir): Remove.
2850 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2851 (flymake-current-row, flymake-selected-frame)
2852 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2853 related functions. (Bug#16077)
2854
73c8ceea
BB
28552013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2856
2857 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2858
faec28d9
TH
28592013-12-07 Tassilo Horn <tsdh@gnu.org>
2860
2861 * help-fns.el (describe-function-1): Use new advice-* functions
2862 rather than old ad-* functions. Fix function type description and
2863 source links for advised functions and subrs.
2864
e330b646
LMI
28652013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2866
00a2b823 2867 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2868
4803595d
MA
28692013-12-06 Michael Albinus <michael.albinus@gmx.de>
2870
2871 * progmodes/compile.el (compilation-start):
2872 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2873
2874 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2875 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2876
fa834a93
DG
28772013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2878
00a2b823
SM
2879 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2880 Touch up the last change.
fa834a93 2881
b2856a6f
LL
28822013-12-06 Leo Liu <sdl.web@gmail.com>
2883
2884 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2885 (inferior-octave-startup): Always use "octave> " for prompt.
2886 (octave-goto-function-definition)
2887 (octave-sync-function-file-names)
2888 (octave-find-definition-default-filename): Remove redundant backquotes.
2889
af67e79a
DG
28902013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2891
2892 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2893 syntax for `?'.
2894 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2895 where appropriate already.
2896 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2897 end of method names (Bug#15874).
2898
bf093209
JL
28992013-12-06 Juri Linkov <juri@jurta.org>
2900
2901 * isearch.el (isearch--saved-overriding-local-map):
2902 New internal variable.
2903 (isearch-mode): Set it to the initial value of
2904 `overriding-terminal-local-map'.
2905 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2906 with `isearch--saved-overriding-local-map'. (Bug#16035)
2907
16588fad
DG
29082013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2909
00a2b823
SM
2910 * progmodes/octave.el (inferior-octave-completion-table):
2911 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2912 (Bug#11906). Update all references.
2913
2914 * minibuffer.el (completion-table-with-cache): New function.
2915
bf4906d7
CD
29162013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2917
2918 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2919
ff69c18f
TZ
29202013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2921
2922 * net/eww.el (eww-current-source): New variable to store page
2923 source.
2924 (eww-display-html, eww-mode, eww-save-history)
2925 (eww-restore-history): Use it.
2926 (eww-view-source): New command to view page source.
2927 Opportunistically uses `html-mode' to highlight the buffer.
2928 (eww-mode-map): Install it.
2929
b85eff45
MA
29302013-12-05 Michael Albinus <michael.albinus@gmx.de>
2931
2932 * net/dbus.el (dbus-unregister-service)
2933 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2934 Fix docstring.
2935 (dbus-unregister-service): Skip :serial entries in
2936 `dbus-registered-objects-table'.
2937 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2938
39eb0899
TZ
29392013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2940
2941 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2942 around keywords with extra `split-string' argument.
2943
456760a5
MR
29442013-12-04 Martin Rudalics <rudalics@gmx.at>
2945
2946 * windmove.el (windmove-other-window-loc): Handle navigation
2947 between windows (excluding the minibuffer window - Bug#16017).
2948
81961e4c
MA
29492013-12-04 Michael Albinus <michael.albinus@gmx.de>
2950
2951 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2952 in D-Bus type syntax.
2953 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2954 preserve unibyte strings. (Bug#16048)
2955
8497f938
SM
29562013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2957
2958 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2959 Call force-mode-line-update is the proper buffer (bug#16042).
2960
dda61916
DG
29612013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2962
2963 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2964 `log-edit-remember-comment', make argument optional. Adjust all
2965 callers.
2966 (log-edit-mode): Add `log-edit-remember-comment' to
2967 `kill-buffer-hook' locally.
2968 (log-edit-kill-buffer): Don't remember comment explicitly since
2969 the buffer is killed anyway.
2970
c085e5b9
JL
29712013-12-04 Juri Linkov <juri@jurta.org>
2972
2973 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2974 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2975
e0eb0550 29762013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2977
2978 * notifications.el (notifications-close-notification): Call the
81961e4c 2979 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2980
39fa32d6
KY
29812013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2982
2983 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2984
9139632a
JL
29852013-12-03 Juri Linkov <juri@jurta.org>
2986
2987 * progmodes/compile.el (compilation-start): Rename window alist
2988 entry `no-display-ok' to `allow-no-window'.
2989
2990 * simple.el (shell-command): Add window alist entry
2991 `allow-no-window' to `display-buffer'.
2992 (async-shell-command): Doc fix.
2993
2994 * window.el (display-buffer-no-window): New action function.
2995 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2996
0f457a37
DG
29972013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2998
2999 * vc/log-edit.el (log-edit-set-header): Extract from
3000 `log-edit-toggle-header'.
3001 (log-edit-extract-headers): Separate the summary, when extracted
3002 from header, from the rest of the message with an empty line.
3003
3004 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3005 line, if present, to the Summary header.
3006
0962f376
SM
30072013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3008
3009 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3010 in current-buffer (bug#16029).
3011
f345395c
HE
30122013-12-02 Helmut Eller <eller.helmut@gmail.com>
3013
3014 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3015 (debugger-mode-map): Bind it.
3016 (debugger--backtrace-base): New function.
3017 (debugger-eval-expression): Use it.
3018 (debugger-frame-number): Skip local vars when present.
3019 (debugger--locals-visible-p, debugger--insert-locals)
3020 (debugger--show-locals, debugger--hide-locals): New functions.
3021
a8a15d9d
MA
30222013-12-02 Michael Albinus <michael.albinus@gmx.de>
3023
3024 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3025 "LC_ALL".
3026 (tramp-get-remote-locale): New defun.
3027 (tramp-open-connection-setup-interactive-shell): Use it.
3028
0518b057
LL
30292013-12-02 Leo Liu <sdl.web@gmail.com>
3030
3031 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3032
3033 * progmodes/sh-script.el (sh-shell-process):
3034 * progmodes/octave.el (inferior-octave-process-live-p):
3035 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3036 (gdb-inferior-io-sentinel):
3037 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3038
3adc9c6d
DG
30392013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3040
3041 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3042 `save-selected-window' to `log-edit-hide-buf'. This makes
3043 `log-edit-show-files' idempotent.
3044 (log-edit-show-files): Mark the new window as dedicated.
3045
47e8b74e
DG
30462013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3047
3048 * vc/log-edit.el (log-edit-mode-map): Add binding for
3049 `log-edit-kill-biffer'.
3050 (log-edit-hide-buf): Add a FIXME comment.
3051 (log-edit-add-new-comment): New function, extracted from
3052 `log-edit-done'.
3053 (log-edit-done, log-edit-add-to-changelog): Use it.
3054 (log-edit-kill-buffer): New command.
3055
1f6e1bb0
LMI
30562013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3057
3058 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3059 instead of killing the buffer.
3060
fb651d15
SM
30612013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3064
8feacce0
RS
30652013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3066
fb651d15 3067 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3068 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3069 (eww-form-checkbox, eww-toggle-checkbox):
3070 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3071
e0eb0550 3072 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3073 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3074 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3075 no :src tag was specified.
3076
fb651d15 3077 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3078 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3079 Use \\` to match beginning of string instead of ^.
3080 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3081 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3082
177948a5
RS
3083 * net/shr.el (shr-tag-video): Display content for video if no
3084 poster is available.
eb2dd24d 3085 (shr-tag-audio): Add support for <audio> tag.
177948a5 3086
e0eb0550 3087 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3088 (eww-process-text-input): Treat input types in
3089 `eww-text-input-types' as text.
3090
8feacce0
RS
3091 * net/shr.el (shr-tag-table): Fix comment typo.
3092
513562a1
LMI
30932013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3094
3095 * net/eww.el (eww-follow-link): New command to avoid reloading
3096 pages when we follow #target links (bug#15243).
de8a5633 3097 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3098
9dd99753
KN
30992013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3100
3101 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3102 forms.
3103
3e9876de
LMI
31042013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3105
3106 * net/eww.el (eww-restore-history): Update the window title after
3107 moving in the history.
ab6dea82 3108 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3109
52789f7f
DG
31102013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3111
3112 * vc/log-edit.el (log-edit-mode-map): Add binding for
3113 `log-edit-beginning-of-line'.
3114 (log-edit-setup-add-author): New user option.
3115 (log-edit-beginning-of-line): New command.
3116 (log-edit): Move major mode call above the contents setup so that
3117 the local variable values are already applied.
3118 (log-edit): Only insert "Author: " when
3119 `log-edit-setup-add-author' is non-nil.
3120 (log-edit): When SETUP is non-nil, position point after ": "
3121 instead of point-min.
3122
2e6710c3
GM
31232013-12-01 Glenn Morris <rgm@gnu.org>
3124
3125 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3126
fadec31f
EZ
31272013-11-30 Eli Zaretskii <eliz@gnu.org>
3128
3129 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3130 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3131 visible. (Bug#16014)
3132
10634b40 31332013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3134
3135 Support resizing frames and windows pixelwise.
3136 * cus-start.el (frame-resize-pixelwise)
3137 (window-resize-pixelwise): New entries.
3138 * emacs-lisp/debug.el (debug): Use window-total-height instead
3139 of window-total-size.
3140 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3141 * help.el (describe-bindings-internal): Call help-buffer
3142 (temp-buffer-max-width): New option.
3143 (resize-temp-buffer-window, help-window-setup)
3144 (with-help-window): Rewrite.
3145 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3146 dragging dividers.
3147 * window.el (frame-char-size, window-min-pixel-height)
3148 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3149 (window-min-pixel-width, window-safe-min-pixel-size)
3150 (window-combination-p, window-safe-min-size)
3151 (window-resizable-p, window--size-to-pixel)
3152 (window--pixel-to-size, window--resize-apply-p): New functions.
3153 (window-safe-min-height): Fix doc-string.
3154 (window-size, window-min-size, window--min-size-1)
3155 (window-sizable, window-sizable-p, window--min-delta-1)
3156 (window-min-delta, window--max-delta-1, window-max-delta)
3157 (window--resizable, window--resizable-p, window-resizable)
3158 (window-full-height-p, window-full-width-p, window-at-side-p)
3159 (window--in-direction-2, window-in-direction)
3160 (window--resize-reset-1, window--resize-mini-window)
3161 (window-resize, window-resize-no-error)
3162 (window--resize-child-windows-normal)
3163 (window--resize-child-windows, window--resize-siblings)
3164 (window--resize-this-window, window--resize-root-window)
3165 (window--resize-root-window-vertically)
3166 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3167 (maximize-window, minimize-window, delete-window)
3168 (quit-restore-window, window-split-min-size, split-window)
3169 (balance-windows-2, balance-windows)
3170 (balance-windows-area-adjust, balance-windows-area)
3171 (window--state-get-1, window-state-get, window--state-put-1)
3172 (window--state-put-2, window-state-put)
fb651d15
SM
3173 (display-buffer-record-window, window--display-buffer):
3174 Make functions handle pixelwise sizing of windows.
880e6158 3175 (display-buffer--action-function-custom-type)
fb651d15
SM
3176 (display-buffer-fallback-action):
3177 Add display-buffer-in-previous-window.
880e6158
MR
3178 (display-buffer-use-some-window): Resize window to height it had
3179 before.
3180 (fit-window-to-buffer-horizontally): New option.
3181 (fit-frame-to-buffer): Describe new values.
3182 (fit-frame-to-buffer-bottom-margin): Replace with
3183 fit-frame-to-buffer-margins.
3184 (window--sanitize-margin): New function.
3185 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3186 using window-text-pixel-size.
3187
f9b697dd
GM
31882013-11-30 Glenn Morris <rgm@gnu.org>
3189
3e2fb4db
GM
3190 * emacs-lisp/bytecomp.el (byte-compile-form):
3191 Make the `interactive-only' warning like the `obsolete' one.
3192 * comint.el (comint-run):
3193 * files.el (insert-file-literally, insert-file):
3194 * replace.el (replace-string, replace-regexp):
3195 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3196 (goto-line, insert-buffer, next-line, previous-line):
3197 Tweak `interactive-only' spec.
3198
f9b697dd
GM
3199 Stop keeping (most) generated cedet grammar files in the repository.
3200 * Makefile.in (semantic): New.
3201 (compile-main): Depend on semantic.
3202
da048127
SM
32032013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3204
7784b779
SM
3205 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3206 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3207
4e36a6a6
SM
3208 * uniquify.el (uniquify-buffer-name-style): Change default.
3209
3210 * loadup.el: Preload "uniquify".
3211
e0ba1308
SM
3212 * time.el (display-time-update): Update all mode lines (bug#15999).
3213
da048127
SM
3214 * electric.el (electric-indent-mode): Enable by default.
3215 * loadup.el: Preload "electric".
3216
015b3b3e
BB
32172013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3218
3219 * emacs-lisp/helpers.el (string-empty-p): New function.
3220 (string-blank-p): New function.
3221
7efb806d
AP
32222013-11-29 Andreas Politz <politza@hochschule-trier.de>
3223
3224 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3225 (Bug#14029).
3226
c8f0efc2
AP
32272013-11-29 Andreas Politz <politza@fh-trier.de>
3228 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3229 allow non-lambda lists as functions.
3230 (imenu--in-alist): Don't recurse into non-subalists.
3231 (imenu): Don't pass function itself as an argument (Bug#14029).
3232
bd15d9d1
SM
32332013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * progmodes/python.el (python-mode-map): Remove binding for ":".
3236 (python-indent-electric-colon): Remove command.
3237 (python-indent-post-self-insert-function): Integrate the previous code
3238 of python-indent-electric-colon. Make it conditional on
3239 electric-indent-mode.
3240 (python-mode): Add ?: to electric-indent-chars.
3241 Move python-indent-post-self-insert-function to the end of
3242 post-self-insert-hook.
3243
1b10adb6
SM
32442013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3245
655ab9a3
SM
3246 * doc-view.el (doc-view-goto-page): Update mode-line.
3247
1b10adb6
SM
3248 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3249
7e3bf78c
GM
32502013-11-27 Glenn Morris <rgm@gnu.org>
3251
3252 * international/charprop.el, international/uni-bidi.el:
3253 * international/uni-category.el, international/uni-combining.el:
3254 * international/uni-comment.el, international/uni-decimal.el:
3255 * international/uni-decomposition.el, international/uni-digit.el:
3256 * international/uni-lowercase.el, international/uni-mirrored.el:
3257 * international/uni-name.el, international/uni-numeric.el:
3258 * international/uni-old-name.el, international/uni-titlecase.el:
3259 * international/uni-uppercase.el:
3260 Remove generated files from VCS repository.
3261
fb6a5d68
EZ
32622013-11-27 Eli Zaretskii <eliz@gnu.org>
3263
3264 * filenotify.el (file-notify-add-watch): Don't special-case
3265 w32notify when computing the directory to watch.
3266
cb6c95a3
GM
32672013-11-27 Glenn Morris <rgm@gnu.org>
3268
20372d0c
GM
3269 Make bootstrap without generated uni-*.el files possible again.
3270 * loadup.el: Update command-line-args checking for unidata-gen.
3271 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3272 * composite.el, international/characters.el:
3273 Handle unicode tables being undefined.
3274
52d6635f 3275 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3276 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3277 (compile-main): Depend on leim rule.
3278 (leim): New rule.
3279 * loadup.el: Move leim-list.el to leim/ subdirectory.
3280 * startup.el (normal-top-level): No more leim directory.
3281 * international/ja-dic-cnv.el (skkdic-convert):
3282 Disable version-control and autoloads in output files.
3283 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3284 Disable version-control and autoloads in output files.
3285 * leim/quail: Move here from ../leim.
3286 * leim/quail/hangul.el (hangul-input-method-activate):
3287 Add autoload cookie.
3288 (generated-autoload-load-name): Set file-local value.
3289 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3290 (generated-autoload-load-name): Set file-local value.
3291
7514d3f8 32922013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3293
e0eb0550 3294 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3295 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3296 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3297
0e2c793f
EZ
32982013-11-26 Eli Zaretskii <eliz@gnu.org>
3299
3300 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3301 reading output from Diff on MS-Windows and MS-DOS.
3302
447bdcb8
BB
33032013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3304
3305 * emacs-lisp/helpers.el (string-reverse): New function.
3306
5fbf6856
MA
33072013-11-26 Michael Albinus <michael.albinus@gmx.de>
3308
3309 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3310 names on MS Windows, like "/[::1]:".
3311
3312 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3313 SWITCHES.
3314
624780f0
GM
33152013-11-26 Glenn Morris <rgm@gnu.org>
3316
0bf3f0fa
GM
3317 * progmodes/python.el (python-indent-guess-indent-offset):
3318 Avoid corner-case error. (Bug#15975)
3319
624780f0
GM
3320 Preload leim-list.el. (Bug#4789)
3321 * loadup.el: Load leim-list.el when found.
3322 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3323
4301875e 33242013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
3325
3326 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3327
4301875e
BB
3328 * emacs-lisp/helpers.el (string-join): New function.
3329
1633a815 33302013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
3331
3332 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3333 Mark as obsolete and replace it with a symbol property.
3334 (byte-compile-form): Use new 'interactive-only property.
3335 * comint.el, files.el, replace.el, simple.el:
3336 Apply new 'interactive-only properly.
3337
00139435
MR
33382013-11-25 Martin Rudalics <rudalics@gmx.at>
3339
3340 * window.el (display-buffer-at-bottom): Make sure that
3341 split-window-sensibly creates the new window on bottom
3342 (Bug#15961).
3343
5f5b128d
DK
33442013-11-23 David Kastrup <dak@gnu.org>
3345
3346 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3347 on the conflict markers when available.
3348 (smerge--get-marker): New function.
3349 (smerge-end-re, smerge-base-re): Add subgroup.
3350
623891e5
SM
33512013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3352
3353 * frame.el (handle-focus-in, handle-focus-out): Add missing
3354 interactive spec.
3355
05ca27d8
MA
33562013-11-25 Michael Albinus <michael.albinus@gmx.de>
3357
3358 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3359 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3360
511fa0d3
SM
33612013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3362
e82ad66c
SM
3363 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3364 (gomoku--last-pos): New var.
3365 (gomoku--intangible-chars): New const.
3366 (gomoku--intangible): New function.
3367 (gomoku-mode): Use it. Derive from special-mode.
3368 (gomoku-move-up): Adjust line count.
3369 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3370 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3371 Simplify accordingly.
3372
511fa0d3
SM
3373 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3374 Remove blink-cursor code.
3375 (blink-cursor-timer-function, blink-cursor-suspend):
3376 Don't special-case GUIs.
3377 (blink-cursor-mode): Use focus-in/out-hook.
3378
6f20dd03
DG
33792013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3380
3381 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3382 work when annotation is invisible (Bug#13886).
3383
431dec31 33842013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
3385
3386 * json.el (json-alist-p): Only return non-nil if the alist has
3387 simple keys (Bug#13518).
3388
431dec31 33892013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
3390
3391 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3392 when control-statement is the first statement in a buffer (Bug#15956).
3393
ee4f0261
DG
33942013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3395
3396 * imenu.el (imenu-generic-skip-comments-and-strings):
3397 New option (Bug#15560).
3398 (imenu--generic-function): Use it.
3399
c484f866
JS
34002013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3401
e9dc713d
JB
3402 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3403 (Bug#13898)
c484f866 3404
41ce6f70
BB
34052013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3406
b55aea38
BB
3407 * emacs-lisp/helpers.el: Add some string helpers.
3408 (string-trim-left): Removes leading whitespace.
3409 (string-trim-right): Removes trailing whitespace.
3410 (string-trim): Removes leading and trailing whitespace.
3411
41ce6f70
BB
3412 * subr.el (string-suffix-p): New function.
3413
3cfb6af3
GM
34142013-11-23 Glenn Morris <rgm@gnu.org>
3415
3416 * progmodes/python.el (python-shell-send-file):
3417 Add option to delete file when done. (Bug#15647)
3418 (python-shell-send-string, python-shell-send-region): Use it.
3419
c27924b7
IS
34202013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3421
e1b01c7f
IS
3422 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3423 to set buffer-read-only to t, never to nil. (Bug#15938)
3424
c27924b7
IS
3425 * textmodes/tex-mode.el (latex-noindent-environments):
3426 Add safe-local-variable property. (Bug#15936)
3427
17e0445b
GM
34282013-11-23 Glenn Morris <rgm@gnu.org>
3429
92f78ea3
GM
3430 * textmodes/enriched.el (enriched-mode): Doc fix.
3431 * emacs-lisp/authors.el (authors-renamed-files-alist):
3432 Add enriched.doc -> enriched.txt.
3433
17e0445b
GM
3434 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3435
965bb23a
LL
34362013-11-22 Leo Liu <sdl.web@gmail.com>
3437
3438 * progmodes/octave.el (inferior-octave-startup): Spit out error
3439 message.
3440
d19ffd64
BB
34412013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3442
3443 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3444 Improve docstring.
15ba2182
BB
3445 Add :version.
3446 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3447
7a7567d2
LL
34482013-11-22 Leo Liu <sdl.web@gmail.com>
3449
3450 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3451 (Bug#15076)
8c09f64b
LL
3452 (octave-help-mode): Adapt to change to help-mode-finish to use
3453 derived-mode-p on 2013-09-17.
3454 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3455 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3456
724bc265
LL
34572013-11-22 Leo Liu <sdl.web@gmail.com>
3458
3459 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3460 (inferior-octave-startup, inferior-octave-check-process)
3461 (inferior-octave-track-window-width-change)
3462 (octave-completion-at-point, octave-eldoc-function): Use it.
3463 (octave-kill-process): Provide confirmation. (Bug#10564)
3464
38637cca
LL
34652013-11-21 Leo Liu <sdl.web@gmail.com>
3466
511fa0d3
SM
3467 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3468 Fix obsolete variable comment-use-global-state.
38637cca 3469
06e752b4
RS
34702013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3471
511fa0d3
SM
3472 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3473 Add `octave-source-file'.
06e752b4
RS
3474 (octave-source-file): New function. (Bug#15935)
3475
7514d3f8 34762013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3477
3478 * net/eww.el (eww-local-regex): New variable.
3479 (eww): Use it to detect localhost and similar.
3480
b6ffa04a
LL
34812013-11-21 Leo Liu <sdl.web@gmail.com>
3482
3483 Add completion for command `ag'.
2021a200
LL
3484 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3485 (pcomplete/ag): New function.
e9dc713d 3486 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3487
d1a6bccc
SM
34882013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3489
3490 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3491 (bug#14646).
3492 (make-obsolete): Remove interactive spec.
3493
2df10228
GM
34942013-11-21 Glenn Morris <rgm@gnu.org>
3495
3496 * startup.el (command-line-1): Use path-separator with -L.
3497
86fd16b6
TZ
34982013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3499
3500 * emacs-lisp/package.el (describe-package-1): Add package archive
3501 to shown fields.
3502
0449d6cd 35032013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3504
3505 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3506 Change default to "# encoding: %s" to differentiate it from the
3507 default Ruby encoding comment template.
3508
dc7e8c17 35092013-11-20 era eriksson <era+emacsbugs@iki.fi>
3510
3511 * ses.el (ses-mode): Doc fix. (Bug#14748)
3512
f0cfa5fe
LL
35132013-11-20 Leo Liu <sdl.web@gmail.com>
3514
3515 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3516
826dc7b6
DN
35172013-11-19 Dan Nicolaescu <dann@gnu.org>
3518
3519 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3520 when rebase or bisect are in progress.
3521
a6e3a5d5
XF
35222013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3523
3524 * filenotify.el (file-notify-add-watch): Doc fix.
3525
f130cb76
LL
35262013-11-19 Leo Liu <sdl.web@gmail.com>
3527
e0855d7d
LL
3528 * obsolete/rcompile.el: Mark obsolete.
3529
f130cb76 3530 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3531 (compilation-goto-locus, compilation-find-file):
3532 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3533 (Bug#13594)
3534
3535 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3536 new parameter no-display-ok. Return either a window or nil
3537 but never a non-window value.
f130cb76 3538
1f35d401
SM
35392013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3540
25158c76
SM
3541 * electric.el (electric-indent-mode-map): Remove.
3542 (electric-indent-mode): Change the global-map instead (bug#15915).
3543
3544 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3545 Use add-function.
1f35d401 3546
9bc67baa
SM
35472013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3548
986545b5
SM
3549 * emacs-lisp/nadvice.el (remove-function): Align with
3550 add-function's behavior.
3551
9bc67baa
SM
3552 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3553 (gdb--string-regexp): New constant.
3554 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3555 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3556 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3557 submatch 1.
3558 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3559 Adjust use accordingly.
3560 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3561
56cd894e
AS
35622013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3563
3564 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3565 interpolation curlies (Bug#15914).
3566
014690de
JB
35672013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3568
3569 * calc/calc.el (calc-context-sensitive-enter): New variable.
3570 (calc-enter): Use `calc-context-sensitive-enter'.
3571
7e26a6c3
TZ
35722013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3573
3574 * progmodes/cfengine.el: Version bump.
3575 (cfengine-cf-promises): New defcustom to locate cf-promises.
3576 (cfengine3-vartypes): Add new "data" type.
3577 (cfengine3--current-word): New function to get current name-like
3578 word or its bounds.
3579 (cfengine3--current-function): New function to look up a CFEngine
3580 function's definition.
3581 (cfengine3-format-function-docstring): New function.
3582 (cfengine3-make-syntax-cache): New function.
3583 (cfengine3-documentation-function): New function: ElDoc glue.
3584 (cfengine3-completion-function): New function: completion glue.
3585 (cfengine3-mode): Set `compile-command',
3586 `eldoc-documentation-function', and add to
3587 `completion-at-point-functions'.
3588
355204dd
MA
35892013-11-16 Michael Albinus <michael.albinus@gmx.de>
3590
3591 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3592 `tramp-current-connection'.
3593
43cebc23
DG
35942013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3595
3596 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3597 nil/self/true/false with "end of symbol".
3598
a3fed6ff
BB
35992013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3600
3601 * subr.el (version-regexp-alist): Fix a typo.
3602
e675b3e4
MA
36032013-11-15 Michael Albinus <michael.albinus@gmx.de>
3604
3605 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3606 "en_US.utf8" and "LC_CTYPE" to "".
3607 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3608 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3609
a1f03e89
LL
36102013-11-15 Leo Liu <sdl.web@gmail.com>
3611
3612 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3613
5d9d9451
SM
36142013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3615
58362662
CS
3616 * progmodes/gud.el (ctl-x-map):
3617 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3618 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3619
6c1bf086
BB
36202013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3621
0d5363c4
BB
3622 * subr.el (version-regexp-alist):
3623 Recognize hg, svn and darcs versions as snapshot versions.
3624
4e9fc48c
BB
3625 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3626 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3627 (ruby--encoding-comment-required-p): Extract from
3628 `ruby-mode-set-encoding'.
3629 (ruby-mode-set-encoding): Add the ability to always insert an
3630 utf-8 encoding comment. Fix and simplify coding comment update
3631 logic.
6c1bf086 3632
2f7e72f8
MA
36332013-11-14 Michael Albinus <michael.albinus@gmx.de>
3634
3635 * net/tramp-gvfs.el (top): Run init code only when
3636 `tramp-gvfs-enabled' is not nil.
3637 (tramp-gvfs-enabled): Check also :system bus.
3638
0f137a73
SM
36392013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3640
3641 Sync with upstream verilog-mode revision 78e66ba.
3642 * progmodes/verilog-mode.el (verilog-end-of-defun)
3643 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3644 (verilog-get-end-of-defun): Remove unused argument.
3645 (verilog-comment-depth): Remove unused local `e'.
3646 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3647 Don't pass arg to verilog-get-end-of-defun.
3648
1c276bdd
GM
36492013-11-14 Glenn Morris <rgm@gnu.org>
3650
3651 * obsolete/assoc.el (aget): Prefix dynamic variable.
3652
3653 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3654
ff6ec81d
SM
36552013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3656
3657 * widget.el, hfy-cmap.el: Remove bogus package version number.
3658
75f777b6
GM
36592013-11-13 Glenn Morris <rgm@gnu.org>
3660
1d43dba1
GM
3661 * replace.el (replace-eval-replacement):
3662 Try to give more helpful error message. (Bug#15836)
3663
ff4b7bd5
GM
3664 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3665 (archive-7z-update): Avoid custom type mismatches.
3666
75f777b6
GM
3667 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3668
11151a06
MA
36692013-11-13 Michael Albinus <michael.albinus@gmx.de>
3670
e675b3e4 3671 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3672 address can be empty.
3673
3674 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3675 Accept nil SWITCHES.
3676 (tramp-gvfs-handle-write-region): Implement APPEND.
3677
7b08f97e
DG
36782013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3679
3680 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3681 binary "|" operator and closing block args delimiter.
3682 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3683 (ruby-smie--implicit-semi-p): Not after "|" operator.
3684 (ruby-smie--closing-pipe-p): New function.
3685 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3686 (ruby-smie-rules): Indent after "|".
3687
f201cf3a
GM
36882013-11-12 Glenn Morris <rgm@gnu.org>
3689
3690 * ps-print.el (ps-face-attribute-list):
3691 Handle anonymous faces. (Bug#15827)
3692
e6f759f9
MR
36932013-11-12 Martin Rudalics <rudalics@gmx.at>
3694
3695 * window.el (display-buffer-other-frame): Fix doc-string.
3696 (Bug#15868)
3697
ecda65d4
SM
36982013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3701
7ce8fcc3
MA
37022013-11-11 Michael Albinus <michael.albinus@gmx.de>
3703
3704 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3705 (tramp-sh-handle-file-local-copy): Don't write a message when
3706 saving temporary files.
3707
3708 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3709 both directories are remote.
3710 (tramp-smb-handle-directory-files): Do not return double entries.
3711 Do not expand full file names.
3712 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3713 (tramp-smb-handle-write-region): Implement APPEND.
3714 (tramp-smb-get-stat-capability): Fix a stupid bug.
3715
7818df11
SM
37162013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3717
3718 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3719
608c2085
NT
37202013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3721
3722 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3723 throwing error over malformed let/let* (bug#15814).
3724
122a7e46
SM
37252013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * iswitchb.el (iswitchb-mode): Mark obsolete.
3728
766284d9
GM
37292013-11-11 Glenn Morris <rgm@gnu.org>
3730
3731 * international/uni-bidi.el, international/uni-category.el:
3732 * international/uni-name.el, international/uni-numeric.el:
3733 Regenerate for Unicode 6.3.0.
3734
7072a4e9
MA
37352013-11-10 Michael Albinus <michael.albinus@gmx.de>
3736
3737 * net/tramp.el (tramp-methods):
3738 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3739 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3740
c9df215b
AS
37412013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3742
608c2085
NT
3743 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3744 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3745
fa47d796
DG
37462013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3747
3748 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3749 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3750 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3751 (ispell-complete-word): Call `ispell-lookup-words' with the value
3752 independent of `ispell-look-p'.
3753
1629a329
DG
37542013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3755
3756 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3757 Not after "||".
3758 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3759 their parent.
3760
ad16897c
SM
37612013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3762
3763 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3764 (ruby-font-lock-keywords): Use backquote.
3765
ffa2df72
DG
37662013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3767
3768 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3769 (ruby-smie--backward-token): Only consider full-string matches.
3770
5b97b4c0
JD
37712013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3772
3773 * faces.el (describe-face): Add distant-foreground.
3774
71731c03
BB
37752013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3776
4e9fc48c
BB
3777 * progmodes/ruby-mode.el: Improve encoding comment handling.
3778 (ruby-encoding-magic-comment-style): New option.
3779 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3780 (ruby--insert-coding-comment, ruby--detect-encoding):
3781 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3782 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3783 to control the style of the auto-inserted encoding comment.
71731c03 3784
da3b328d
DG
37852013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3786
ad16897c
SM
3787 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3788 Use `smie-backward-sexp' with token argument.
da3b328d 3789
1606c2d3
MA
37902013-11-08 Michael Albinus <michael.albinus@gmx.de>
3791
3792 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3793 Remove instrumentation code.
3794
b0f4c320
GM
37952013-11-08 Glenn Morris <rgm@gnu.org>
3796
3797 * progmodes/autoconf.el (autoconf-mode):
3798 Tweak comment-start-skip. (Bug#15822)
3799
43668fb1
SM
38002013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3801
3802 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3803 at bobp (bug#15826).
3804 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3805
daddb3fd
DH
38062013-11-08 Darren Hoo <darren.hoo@gmail.com>
3807
3808 * man.el (Man-start-calling): New macro, extracted from
3809 Man-getpage-in-background.
3810 (Man-getpage-in-background): Use it.
3811 (Man-update-manpage): New command.
3812 (Man-mode-map): Bind it.
3813
1f923923
DG
38142013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3815
3816 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3817 of "and", "or", "&&" and "||".
3818 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3819 argument. Prohibit opening curly brace because it could only be a
3820 block opener in that position.
daddb3fd
DH
3821 (ruby-smie--forward-token, ruby-smie--backward-token):
3822 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3823 arguments.
3824 (ruby-smie--indent-to-stmt): New function, seeks the end of
3825 previous statement or beginning of buffer.
3826 (ruby-smie-rules): Use it.
3827 (ruby-smie-rules): Check if there's a ":" before a curly block
3828 opener candidate; if there is, it's a hash.
3829
3220d527
SM
38302013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3833 (cl--block-wrapper): Fix last accidental change.
3834
1eb1f9e0
MA
38352013-11-07 Michael Albinus <michael.albinus@gmx.de>
3836
3837 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3838 Instrument, in order to hunt failure on hydra.
3839
e6e4db3c
NT
38402013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3841
3842 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3843 malformed bindings form (bug#15814).
3844
b420ccfc
DG
38452013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3846
3847 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3848 "." compared to " @ ". This incidentally fixes some indentation
3849 examples with "do".
e6e4db3c 3850 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3851 (ruby-smie-grammar): New tokens: "and" and "or".
3852 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3853 Exclude "and" and "or". Remove "do" in order to work around token
3854 priorities.
3855 (ruby-smie-rules): Add all infix tokens. Handle the case of
3856 beginning-of-buffer.
b420ccfc 3857
6b4ac03e
GM
38582013-11-06 Glenn Morris <rgm@gnu.org>
3859
3860 * Makefile.in (setwins_almost, setwins_for_subdirs):
3861 Avoid accidental matches.
3862
5ca114d1
SM
38632013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * menu-bar.el (popup-menu): Use key-binding.
3866
f72552bd
EZ
38672013-11-06 Eli Zaretskii <eliz@gnu.org>
3868
3869 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3870 menus, support also the menus produced by minor modes.
3871 (Bug#15817)
3872
5d5c701e
LL
38732013-11-06 Leo Liu <sdl.web@gmail.com>
3874
3875 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3876 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3877
0a8b75e2
GM
38782013-11-06 Glenn Morris <rgm@gnu.org>
3879
3880 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3881 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3882 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3883
a35287ea
SM
38842013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3885
feca4e2d
SM
3886 * electric.el (electric-indent-just-newline): New command.
3887 (electric-indent-mode-map): New keymap.
3888 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3889 Re-add :group which weren't redundant.
3890
a35287ea
SM
3891 * electric.el (electric-indent-local-mode): New minor mode.
3892 (electric-indent-functions-without-reindent): New var.
3893 (electric-indent-post-self-insert-function): Use it.
3894 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3895
375761b2
EZ
38962013-11-05 Eli Zaretskii <eliz@gnu.org>
3897
9a6ad735
EZ
3898 * international/quail.el (quail-help): Be more explicit about the
3899 meaning of the labels shown on the keys. (Bug#15800)
3900
375761b2
EZ
3901 * startup.el (normal-top-level): Load the subdirs.el files before
3902 setting the locale environment. (Bug#15805)
3903
520a6e4a
SM
39042013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3905
0acfafef
SM
3906 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3907 via arguments so as to get the right ones (bug#15418).
3908
520a6e4a
SM
3909 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3910
15826261
MA
39112013-11-05 Michael Albinus <michael.albinus@gmx.de>
3912
3913 Fix problems found while writing a test suite.
3914
3915 * net/tramp-compat.el (tramp-compat-load): New defun.
3916 * net/tramp.el (tramp-handle-load): Use it.
3917
3918 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3919 "(numberp ok-if-already-exists)" correctly.
3920
d35f31a4
XF
39212013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3922
3923 * international/characters.el (glyphless-char-display-control):
3924 Add usage note.
3925
ae93bc74
BB
39262013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3927
520a6e4a
SM
3928 * progmodes/python.el (python-mode):
3929 * progmodes/scheme.el (scheme-mode):
3930 * progmodes/prolog.el (prolog-mode):
3931 * progmodes/ruby-mode.el (ruby-mode):
3932 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3933 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3934
0ade65b5
SM
39352013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3936
a0d5f7a4
SM
3937 * rect.el (rectangle--highlight-for-redisplay):
3938 * emacs-lisp/smie.el (smie--next-indent-change):
3939 Use buffer-chars-modified-tick.
3940
c93f3f5c
SM
3941 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3942
0ade65b5
SM
3943 * electric.el (electric-indent-post-self-insert-function):
3944 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3945
ef9dd188
HE
39462013-11-04 Helmut Eller <eller.helmut@gmail.com>
3947
3948 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3949
306e7308
NT
39502013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3951
3952 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3953 (bug#15786).
3954
e5afbcac
SM
39552013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3956
1d01ad41
SM
3957 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3958
e5afbcac
SM
3959 * progmodes/python.el: Fix up last change.
3960 (python-shell--save-temp-file): New function.
3961 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3962 `string' comes from the current buffer.
3963 (python-shell-send-string-no-output): Remove `msg' arg.
3964 (python--use-fake-loc): New var.
3965 (python-shell-buffer-substring): Obey it. Try to compensate for the
3966 extra coding line added by python-shell--save-temp-file.
3967 (python-shell-send-region): Use python-shell--save-temp-file and
3968 python-shell-send-file directly. Add `nomain' argument.
3969 (python-shell-send-buffer): Use python-shell-send-region.
3970 (python-electric-pair-string-delimiter): New function.
3971 (python-mode): Use it.
3972
d0065ff1
EZ
39732013-11-04 Eli Zaretskii <eliz@gnu.org>
3974
3975 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3976 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3977 environment and decoding all of the default-directory's to here
3978 from command-line.
3979 (command-line): Decode also argv[0].
3980
3981 * loadup.el: Error out if default-directory is a multibyte string
3982 when we are dumping.
3983
3984 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3985
7397c587
TZ
39862013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3987
3988 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3989 (package-menu--print-info, package-menu--archive-predicate):
3990 Add Archive column to package list.
7397c587 3991
b27cc9fc
MA
39922013-11-04 Michael Albinus <michael.albinus@gmx.de>
3993
3994 Fix problems found while writing a test suite.
3995
3996 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3997 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3998 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3999 to nil when running original file name handler. Otherwise,
4000 there are problems with constructs like "$$FOO".
4001
4002 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4003 for `localname'.
4004
d8c4f18a
BB
40052013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4006
7b530552
BB
4007 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4008
4009 * subr.el (version<, version<=, version=):
4010 Update docstrings with information for snapshot versions.
4011
d8c4f18a
BB
4012 * helpers.el: New library for misc helper functions.
4013 (hash-table-keys): New function returning a list of hash keys.
4014 (hash-table-values): New function returning a list of hash values.
4015
dca01b09
DG
40162013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4017
4018 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4019 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4020
0a749fa0
MN
40212013-11-04 Michal Nazarewicz <mina86@mina86.com>
4022
4023 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4024 checking whether point is after a 1-letter word.
4025
40262013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4027
4028 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4029 Don't infloop when expanding region over `multiline' syntax-type that
4030 begins a line (bug#15778).
4031
4aca7145
SM
40322013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4033
4034 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4035 Make it into a proper minor mode.
4036 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4037 (rectangle-mark-mode-map): New keymap.
4038 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4039
a0833f62
GM
40402013-11-04 Glenn Morris <rgm@gnu.org>
4041
4042 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4043
e61845c1
SM
40442013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4047 (ruby-smie-rules): Use smie-rule-parent instead.
4048
4049 * emacs-lisp/smie.el (smie-rule-parent): Always call
4050 smie-indent-virtual rather than only for hanging tokens.
4051 (smie--next-indent-change): New helper command.
4052
62942f89
GM
40532013-11-03 Glenn Morris <rgm@gnu.org>
4054
4055 * Makefile.in (abs_srcdir): Remove.
4056 (emacs): Unset EMACSLOADPATH.
4057
b0b9e592
GM
40582013-11-02 Glenn Morris <rgm@gnu.org>
4059
18ba6a33 4060 * Makefile.in (EMACS): Use a relative filename.
8061810d 4061 (abs_top_builddir): Remove.
18ba6a33
GM
4062 (custom-deps, finder-data, autoloads): Use --chdir.
4063
6a8b929e
GM
4064 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4065
c617f3d0
GM
4066 Use relative filenames in TAGS files.
4067 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4068 (lisptagsfiles4, TAGS): Use relative file names.
4069 (TAGS-LISP): Remove.
4070 (maintainer-clean): No more TAGS-LISP file.
4071
b0b9e592
GM
4072 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4073 (lisptagsfiles4): Use absolute filenames again.
4074 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4075 Remove all *loaddefs files, not just the first. Remove esh-groups.
4076 (maintainer-clean): Delete TAGS, TAGS-LISP.
4077
d1c0ea6a
BB
40782013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4079
e61845c1
SM
4080 * emacs-lisp/package.el (package-version-join):
4081 Recognize snapshot versions.
d1c0ea6a 4082
684d71c6
BB
40832013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4084
4085 * subr.el (version-regexp-alist): Add support for snapshot versions.
4086
3d42b968
DG
40872013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4088
e61845c1
SM
4089 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4090 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4091 skip over our direct parent if it's an assignment token..
4092 (ruby-smie-rules): Use it.
4093
7ffd3721
DG
40942013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4095
8449dd1f 4096 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4097 unconditionally. Remove now unnecessary forward declarations.
4098 Remove XEmacs-specific setup.
4099 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4100 (ruby-font-lock-syntactic-keywords)
4101 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4102 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4103 (ruby-here-doc-end-syntax): Remove.
4104 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4105 defined as function.
4106
a3996a2e
BB
41072013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4108
4109 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4110
6f9260e8
BB
41112013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4112
4113 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4114 table and abbrev table, `define-derived-mode' does that for us
4115 anyway.
4116
6014de84
GM
41172013-11-01 Glenn Morris <rgm@gnu.org>
4118
4119 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4120 files is atomic for some time, so no parallel compilation issues).
4121
3c334c14
JD
41222013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4123
4124 * faces.el (face-x-resources): Add :distant-foreground.
4125 (region): Use :distant-foreground for gtk and ns.
4126
9bc236c8
TH
41272013-11-01 Tassilo Horn <tsdh@gnu.org>
4128
5246583b 4129 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4130 BibTeX.
4131 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4132 (reftex-locate-bibliography-files): Us it.
4133
d14c81ee
CB
41342013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4135
0e7690de
CB
4136 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4137 allow comments in pbm files.
4138
d14c81ee
CB
4139 * term/w32-win.el (dynamic-library-alist): Support newer versions
4140 of libjpeg starting with v7: look only for the DLL from the
4141 version against which Emacs was built.
ac1bf374 4142 Support versions of libpng beyond 1.4.x.
019c8218 4143 Support libtiff v4.x.
d14c81ee 4144
983d0df5
BB
41452013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4146
4147 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4148 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4149 Add property :safe.
4150 (ruby-deep-arglist): Add property :type.
4151
47f58d85
GM
41522013-10-31 Glenn Morris <rgm@gnu.org>
4153
4154 * Makefile.in (custom-deps, finder-data): No need to setq the target
4155 variables, we are in the right directory and the defaults work fine.
4156
4f85b479
GM
41572013-10-30 Glenn Morris <rgm@gnu.org>
4158
ca7dd4cd
GM
4159 * Makefile.in (autoloads): Do not use abs_lisp.
4160
4f85b479
GM
4161 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4162 `newline' does not respect `standard-output', so use `princ'.
4163
cf59e41c
AA
41642013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4165
4166 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4167 * buff-menu.el (Buffer-menu--unmark): New function.
4168 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4169
74cf04fb
GM
41702013-10-30 Glenn Morris <rgm@gnu.org>
4171
b040b60e
GM
4172 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4173
f53d3815
GM
4174 * emacs-lisp/package.el (lm-homepage): Declare.
4175
5413d873
GM
4176 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4177 Fix doc typos.
4178
cecedb36
GM
4179 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4180
74cf04fb
GM
4181 * Makefile.in (finder-data, autoloads, update-subdirs)
4182 (compile-main, compile-clean, compile-always, bootstrap-clean):
4183 Check return value of cd.
4184 (compile-calc): Remove.
4185
195ee2f0
SM
41862013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4187
ae4002ce
SM
4188 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4189
4190 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4191 (byte-compile-and-folded): New function.
4192 (=, <, >, <=, >=): Use it.
4193
4194 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4195 (path-separator, null-device, buffer-file-coding-system)
4196 (lpr-headers-switches): Check system-type before modifying them.
4197 (find-buffer-file-type-coding-system): Mark obsolete.
4198 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4199 find-file-not-found-set-buffer-file-coding-system.
4200 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4201 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4202 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4203 (w32-direct-print-region-helper, w32-direct-print-region-function)
4204 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4205 * startup.el (normal-top-level-add-subdirs-to-load-path):
4206 * ps-print.el (ps-print-region-function):
4207 * lpr.el (print-region-function): Use new name.
4208
53b39e89
SM
4209 * subr.el (custom-declare-variable-early): Remove function.
4210 (custom-declare-variable-list): Remove var.
4211 (error, user-error): Remove `while' loop.
4212 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4213 (user-emacs-directory-warning, locate-user-emacs-file):
4214 Move to files.el.
4215 * simple.el (read-quoted-char-radix, read-quoted-char):
4216 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4217 Move from subr.el.
4218 * custom.el (custom-declare-variable-list): Don't process
4219 custom-declare-variable-list.
4220
195ee2f0
SM
4221 * progmodes/python.el (python-shell-get-buffer): New function.
4222 (python-shell-get-process): Use it.
4223 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4224 Python which encoding was used. Don't split-string since we only care
4225 about the first line. Return the temp-file, if applicable.
4226 (python-shell-send-region): Tell compile.el how to turn locations in
4227 the temp-file into locations in the source buffer.
4228
7e3561ee
SM
42292013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4c9797cb
SM
4231 * subr.el (undefined): Add missing behavior from the C code for
4232 unbound keys.
4233
3472b6c6
SM
4234 * rect.el: Use lexical-binding. Add new rectangular region support.
4235 (rectangle-mark): New command.
4236 (rectangle--region): New var.
4237 (deactivate-mark-hook): Reset rectangle--region.
4238 (rectangle--extract-region, rectangle--insert-for-yank)
4239 (rectangle--highlight-for-redisplay)
4240 (rectangle--unhighlight-for-redisplay): New functions.
4241 (region-extract-function, redisplay-unhighlight-region-function)
4242 (redisplay-highlight-region-function): Use them to handle
4243 rectangular region.
4244 * simple.el (region-extract-function): New var.
4245 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4246 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4247 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4248 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4249 (redisplay-unhighlight-region-function)
4250 (redisplay-highlight-region-function): New vars.
4251 (redisplay--update-region-highlight): New function.
4252 (pre-redisplay-function): Use it.
4253 (exchange-point-and-mark): Don't deactivate the mark before
4254 reactivate-it anyway.
4255 * comint.el (comint-kill-region): Remove yank-handler argument.
4256 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4257 (delete-char): Remove property, since it's now part of their
4258 default behavior.
4259 (self-insert-iso): Remove property since this command doesn't exist.
4260
7e3561ee
SM
4261 * emacs-lisp/package.el (package--download-one-archive)
4262 (describe-package-1): Don't query the user about final newline.
4263
b9bef71f
DC
42642013-10-29 Daniel Colascione <dancol@dancol.org>
4265
4266 * net/tramp.el (tramp-methods): Document new functionality.
4267 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4268 tramp-hostname-checker if method provides one instead of scanning
4269 argument list for "%h" to decide hostname acceptability.
4270
4efc33f0
MA
42712013-10-28 Michael Albinus <michael.albinus@gmx.de>
4272
4273 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4274 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4275 Handle COPY-CONTENTS. (Bug#15737)
4276
ed42a877
DU
42772013-10-28 Daiki Ueno <ueno@gnu.org>
4278
4279 * epa-file.el
7e3561ee
SM
4280 (epa-file-cache-passphrase-for-symmetric-encryption):
4281 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4282
18c9f8a2
XF
42832013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4284
7a4bc7be
XF
4285 * image.el (defimage):
4286 (image-load-path): Doc fixes.
18c9f8a2 4287
b1e8e010
AM
42882013-10-27 Alan Mackenzie <acm@muc.de>
4289
4290 Indent statements in macros following "##" correctly.
7e3561ee
SM
4291 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4292 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4293
73d40d1e 42942013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4295
4296 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4297
c8c605ac
DG
42982013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4299
4300 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4301 after `=' is probably a new expression.
4302
ca7e59d4
RS
43032013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4304
4305 * man.el (man-imenu-title): New option.
4306 (Man-mode-map): Add menu. (Bug#15722)
4307 (Man-mode): Add imenu to menu.
4308
bae91342
DG
43092013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4310
4311 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4312 specific in what the first arg can be: a non-keyword word,
4313 string/regexp/percent literal opener, opening paren, or unary
4314 operator followed directly by word.
4315
eb89dc14
SM
43162013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4319 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4320 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4321 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4322 Remove vars, they do not apply any more.
4323 (prolog-mode-abbrev-table): Remove redundant declaration.
4324 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4325 (prolog-use-smie): Remove.
4326 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4327 supported by prolog-electric-if-then-else-flag.
4328 (prolog-mode-variables, prolog-menu): Use setq-local.
4329 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4330 Remove binding to `Backspace' since this key doesn't exist anyway.
4331 Remove bindings for electric self-inserting keys.
4332 (prog-mode): Assume it's defined.
4333 (prolog-post-self-insert): New function.
4334 (prolog-mode): Use it.
4335 (prolog-indent-line, prolog-indent-level)
4336 (prolog-find-indent-of-matching-paren)
4337 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4338 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4339 (prolog-goto-next-paren, prolog-in-string-or-comment)
4340 (prolog-tokenize, prolog-inside-mline-comment)
4341 (prolog-find-start-of-mline-comment): Remove functions.
4342 (prolog-find-unmatched-paren, prolog-clause-end)
4343 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4344 (prolog-electric--if-then-else): Rename from
4345 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4346 (prolog-tokenize-searchkey): Remove const.
4347 (prolog-clause-info): Use forward-sexp.
4348 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4349 (prolog-electric-if-then-else): Remove commands.
4350 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4351 for use in post-self-insert-hook.
4352 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4353 for use in post-self-insert-hook.
4354 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4355 for use in post-self-insert-hook.
4356 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4357 adapt it for use in post-self-insert-hook.
4358
3dab0a83
MA
43592013-10-25 Michael Albinus <michael.albinus@gmx.de>
4360
4361 * emacs-lisp/ert.el (ert-run-tests-interactively):
4362 Use `completing-read'. (Bug#9756)
4363
fbfd0e1d
EZ
43642013-10-25 Eli Zaretskii <eliz@gnu.org>
4365
4366 * simple.el (line-move): Call line-move-1 instead of
4367 line-move-visual when the current window hscroll is zero, but
4368 temporary-goal-column indicates we will need to hscroll as result
4369 of the movement. (Bug#15712)
4370
963ce636
DG
43712013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4372
4373 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
4374 capitalization. Use :visible instead of :active.
4375 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
4376 commands that are used with SMIE.
4377 (ruby-do-end-to-brace): Insert space after `{'.
4378
a0be396a
JA
43792013-10-25 John Anthony <john@jo.hnanthony.com>
4380
f73754c9
JA
4381 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4382
4383 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 4384
f5bf77df
GM
43852013-10-25 Glenn Morris <rgm@gnu.org>
4386
4387 * vc/vc.el (vc-print-log): Don't use a working revision unless
4388 one was explicitly specified. (Bug#15322)
4389
37241f62
SM
43902013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4391
4392 * subr.el (add-to-list): Preserve return value in compiler-macro
4393 (bug#15692).
4394
6408a65d
RS
43952013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4396
4397 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4398 result. Ask user to retry using '-all' flag. (Bug#15701)
4399
71e3276b
SM
44002013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * emacs-lisp/smie.el: New smie-config system.
4403 (smie-config): New defcustom.
4404 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4405 (smie-config-guess, smie-config-save): New commands.
4406 (smie-config--mode-local, smie-config--buffer-local)
4407 (smie-config--trace, smie-config--modefuns): New vars.
4408 (smie-config--advice, smie-config--mode-hook)
4409 (smie-config--setter, smie-config-local, smie-config--get-trace)
4410 (smie-config--guess-value, smie-config--guess): New functions.
4411 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4412 text properties. Treat "string fence" syntax like string syntax.
4413
4414 * progmodes/sh-script.el (sh-use-smie): Change default.
4415 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4416 (sh-var-value): Simplify by CSE.
4417 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4418 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4419 is used.
4420 (sh-guess-basic-offset): Use cl-incf.
4421 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4422
60db713e
HE
44232013-10-24 Helmut Eller <eller.helmut@gmail.com>
4424
4425 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4426 (bug#15699).
4427
8b251df6
GM
44282013-10-24 Glenn Morris <rgm@gnu.org>
4429
4430 * Makefile.in (abs_top_srcdir): Remove.
4431 (update-subdirs): Use relative path to update-subdirs.
4432
6be0e22b
EZ
44332013-10-24 Eli Zaretskii <eliz@gnu.org>
4434
4435 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4436 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4437 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4438 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4439
50b5b857
MA
44402013-10-24 Michael Albinus <michael.albinus@gmx.de>
4441
4442 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4443 (ert-test-skipped): New error.
4444 (ert-skip, ert-stats-skipped): New defuns.
4445 (ert--skip-unless): New macro.
4446 (ert-test-skipped): New struct.
4447 (ert--run-test-debugger, ert-test-result-type-p)
4448 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4449 (ert--stats-set-test-and-result, ert-char-for-test-result)
4450 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4451 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4452 Handle skipped tests. (Bug#9803)
50b5b857 4453
6f317c2f
GM
44542013-10-24 Glenn Morris <rgm@gnu.org>
4455
e43817c1
GM
4456 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4457
6f317c2f
GM
4458 * Makefile.in (abs_top_srcdir): New, set by configure.
4459 (update-subdirs): Correct build-aux location.
4460
369bbf71
DG
44612013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4462
8297b2cf
DG
4463 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4464 value, whether we could auto-deduce `backend', or not.
4465
369bbf71
DG
4466 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4467 with parameters" example. Simplify the "is it block or is it
4468 hash" check, but also make it more thorough.
4469
d5f1282f
MF
44702013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4471
4472 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4473
bc4aaa31
SM
44742013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4475
03d44565
SM
4476 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4477 { if it is hanging.
4478
bc4aaa31
SM
4479 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4480 :before ";".
4481
f493ff19
JB
44822013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4483
4484 * progmodes/compile.el (compilation-directory-matcher)
4485 (compilation-page-delimiter):
4486 Support GNU Make-4.0 directory quoting. (Bug#15678)
4487
c744a3b9
LL
44882013-10-23 Leo Liu <sdl.web@gmail.com>
4489
4490 * ido.el (ido-tidy): Handle read-only text.
4491
b8e3b0a9
GM
44922013-10-23 Glenn Morris <rgm@gnu.org>
4493
4494 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4495 (emacs, compile, compile-always):
4496 Quote entities that might contain whitespace.
4497 (custom-deps, finder-data, autoloads): Use abs_lisp.
4498 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4499 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4500 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4501
ee4282cd
DG
45022013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4503
bc4aaa31
SM
4504 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4505 Use `following-char'.
7790a270 4506
ee4282cd 45072013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4508
4509 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4510 * progmodes/ruby-mode.el (ruby-smie-rules):
4511 Remove corresponding workaround. Fix indentation rule of ";" so it
4512 also applies when ";" is the parent.
4513
d40a46d7
XF
45142013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4515
4516 * frame.el (display-screens, display-pixel-height)
4517 (display-pixel-width, display-mm-width, display-backing-store)
4518 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4519 (display-visual-class, display-monitor-attributes-list):
4520 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4521
a0f143c9
MG
45222013-10-22 Michael Gauland <mikelygee@amuri.net>
4523
4524 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4525 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4526
18cacc39
DG
45272013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4528
4529 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4530 TODO. Add "." after " @ ".
4531 (ruby-smie--at-dot-call): New function. Checks if point at method
4532 call with explicit target.
4533 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4534 to the method name tokens when it precedes them.
4535 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4536 (ruby-smie-rules): Add rule for indentation before and after "."
4537 token.
4538
df74c4be
SM
45392013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4540
c6dab55f
SM
4541 * textmodes/remember.el (remember-diary-extract-entries):
4542 Avoid add-to-list.
4543
df74c4be
SM
4544 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4545 an instruction.
4546
8c1ae481
DG
45472013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4548
e9dc713d
JB
4549 * progmodes/ruby-mode.el (ruby-smie-grammar):
4550 Add (almost) all infix operators.
cfef16c0
DG
4551 (ruby-smie--implicit-semi-p): Add new operator chars.
4552
8c1ae481
DG
4553 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4554 `smie-down-list'.
4555 (ruby-smie--args-separator-p): Check that there's no newline
4556 between method call and its arguments.
4557
87756ca9
AM
45582013-10-20 Alan Mackenzie <acm@muc.de>
4559
4560 Allow comma separated lists after Java "implements".
4561
df74c4be
SM
4562 * progmodes/cc-engine.el (c-backward-over-enum-header):
4563 Parse commas.
87756ca9
AM
4564 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4565 from a "disallowed" list in enum fontification.
4566
c25f8957
JB
45672013-10-20 Johan Bockgård <bojohan@gnu.org>
4568
df74c4be 4569 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4570
c25f8957
JB
4571 * progmodes/verilog-mode.el (verilog-mode): Don't set
4572 comment-indent-function globally.
4573
aca5fcdc
JD
45742013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4575
5f161884
JD
4576 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4577 Move Info menu item creation to ns-win.el.
4578
4579 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4580 in menu bar.
4581
a6c4680a 4582 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4583
4584 * term/ns-win.el (ns-initialize-window-system): ... to here.
4585
914b7f98
SM
45862013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4587
4588 * simple.el (newline): Only run post-self-insert-hook when
4589 called interactively.
4590
846ffe77
JB
45912013-10-19 Johan Bockgård <bojohan@gnu.org>
4592
4593 * icomplete.el (icomplete-with-completion-tables): Add :version.
4594
033f22dd
AM
45952013-10-19 Alan Mackenzie <acm@muc.de>
4596
4597 Fix fontification bugs with constructors and const.
4598
4599 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4600 CASE 2) Remove the check for the absence of a suffix construct
4601 after a function declaration with only types (no identifiers) in
4602 the parentheses. Also, accept a function declaration with just a
4603 type inside the parentheses, if this type can be positively
4604 recognised as such, or if a prefix keyword like "explicit" nails
4605 down the construct as a declaration.
4606
58ce0cfc
EZ
46072013-10-19 Eli Zaretskii <eliz@gnu.org>
4608
4609 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4610 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4611 the problem whereby selecting a menu item that leads to a
4612 minibuffer prompt moves the cursor out of the minibuffer window,
4613 making it hard to type at the prompt. Suggested by Stefan Monnier
4614 <monnier@iro.umontreal.ca>.
4615
50e28e7d
JD
46162013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4617
4618 * menu-bar.el: Don't make Services menu.
4619
7deed4bf
RS
46202013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4621
4622 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4623 (ffap-alist): Use ffap-c++-mode for c++-mode.
4624 (ffap-c++-path): New variable.
4625 (ffap-c++-mode): New function.
4626
7bcb455b
JVJ
46272013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4628
4629 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4630
f0ff1cd5
MA
46312013-10-18 Michael Albinus <michael.albinus@gmx.de>
4632
4633 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4634 introduced on 2013-09-08, which results in an infinite loop
4635 requesting a password.
4636
d64da4b7
GM
46372013-10-18 Glenn Morris <rgm@gnu.org>
4638
4639 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4640
ea89ff08
WS
46412013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4642
4643 Sync with upstream verilog-mode revision 1a6ecec7.
4644 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4645 (verilog-mode-release-date): Remove.
4646 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4647 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4648 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4649 (verilog-auto-tieoff-ignore-regexp)
4650 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4651 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4652 (verilog-signals-with, verilog-dir-cache-preserving)
4653 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4654 Doc fixes.
4655 (verilog-case-fold): New option, to control case folding in
4656 regexp searches, bug597.
4657 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4658 (verilog-string-match-fold, verilog-in-paren-count)
4659 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4660 (verilog-at-close-struct-p): New functions.
4661 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4662 (verilog-forward-sexp, verilog-set-auto-endcomments):
4663 (verilog-leap-to-case-head): Handle "unique0" case.
4664 (verilog-in-constraint-re): New constant.
4665 (verilog-keywords, verilog-type-font-keywords):
4666 Add some SystemVerilog 1800-2012 keywords.
4667 (verilog-label-be): Remove unimplemented argument, bug669.
4668 (verilog-batch-execute-func): When batch expanding clear
4669 create-lockfiles to prevent spurious user locks when a file ends
4670 up not changing.
4671 (verilog-calculate-indent, verilog-calc-1)
4672 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4673 (verilog-do-indent): Fix indentation of nested constraints
4674 and structures.
4675 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4676 (verilog-auto-inst-param): Use verilog-string-match-fold.
4677 (verilog-read-inst-module-matcher):
4678 Fix AUTOINST on gate primitives with #1.
4679 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4680 Reads all user-defined typed variables.
4681 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4682 (verilog-signals-matching-regexp)
4683 (verilog-signals-not-matching-regexp, verilog-auto):
4684 Respect verilog-case-fold.
4685 (verilog-diff-report): Fix line count.
4686 (verilog-auto-assign-modport): Remove unused local `modi'.
4687 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4688 better handle multidimensional arrays.
4689 Fix packed array ports misadding bit index in AUTOINST, bug637.
4690 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4691 to not double-declare existing outputs and inputs, respectively.
4692 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4693 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4694 (verilog-sk-uvm-component): New skeleton.
4695 (verilog-submit-bug-report): Add verilog-case-fold,
4696 remove verilog-mode-release-date.
4697
ef566920
BR
46982013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4699
a12bf61e 4700 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4701 as before.
4702
29df8a0b
RT
47032013-10-18 Reuben Thomas <rrt@sc3d.org>
4704
e0eb0550 4705 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4706 remember buffers (bug#13566).
4707
04a19a79
DC
47082013-10-18 Daniel Colascione <dancol@dancol.org>
4709
4710 When evaluating forms in ielm, direct standard output to ielm
4711 buffer. Add new ielm-return-for-effect command. Remove trailing
4712 whitespace throughout.
4713
4714 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4715 (ielm-return-for-effect): New command.
4716 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4717 (ielm-eval-input): Accept optional `for-effect' parameter.
4718 Bind `standard-output' to stream we create using
04a19a79
DC
4719 `ielm-standard-output-impl'. Suppress printing result when
4720 `for-effect'.
4721 (ielm-standard-output-impl): New function.
4722 (inferior-emacs-lisp-mode): Explain new features in documentation.
4723
4c1f03ef
MA
47242013-10-17 Michael Albinus <michael.albinus@gmx.de>
4725
4726 Code cleanup.
4727
4728 * net/tramp.el (tramp-debug-message): Do not check for connection
4729 buffer.
4730 (tramp-message): Use "vector" connection property.
4731
4732 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4733 (tramp-equal-remote, tramp-eshell-directory-change)
4734 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4735 (tramp-adb-handle-rename-file)
4736 * net/tramp-cmds.el (tramp-list-remote-buffers)
4737 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4738 * net/tramp-compat.el (tramp-compat-process-running-p)
4739 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4740 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4741 (tramp-gvfs-handle-rename-file)
4742 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4743 (tramp-set-file-uid-gid)
4744 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4745 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4746 of `file-remote-p'.
4747
4748 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4749 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4750 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4751 (tramp-gw-open-network-stream): Suppress unrelated traces.
4752
4753 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4754 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4755 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4756 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4757 connection property.
4758
4759 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4760 persistency file.
4c1f03ef
MA
4761
4762 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4763 Refactor common code. Improve debug message.
4764 (tramp-maybe-open-connection)
4765 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4766 connection buffer too early.
4767
4768 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4769 from `tramp-smb-actions-with-acl'.
4770 (tramp-smb-actions-set-acl): New defconst.
4771 (tramp-smb-handle-copy-directory)
4772 (tramp-smb-action-get-acl): New defun, renamed from
4773 `tramp-smb-action-with-acl'.
4774 (tramp-smb-action-set-acl): New defun.
4775 (tramp-smb-handle-set-file-acl): Rewrite.
4776
642eb8b6
GM
47772013-10-17 Glenn Morris <rgm@gnu.org>
4778
4779 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4780
85527ff3
SM
47812013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4782
921c1d62
SM
4783 * skeleton.el (skeleton-newline): Remove.
4784 (skeleton-internal-1): Use (insert "\n") instead.
4785
e333fb10
SM
4786 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4787 let-bindings.
4788
85527ff3
SM
4789 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4790 forward-sexp-function while we redo its job (bug#15613).
4791
c8722a97
JB
47922013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4793
4794 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4795 represented by lists.
4796
7a550bbb
GM
47972013-10-16 Glenn Morris <rgm@gnu.org>
4798
4799 * tmm.el (tmm--history): New dynamic variable.
4800 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4801
f19da8ad
MA
48022013-10-16 Michael Albinus <michael.albinus@gmx.de>
4803
4804 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4805 (tramp-smb-errors): Add error messages.
4806 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 4807 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
4808 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4809 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4810 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4811 (tramp-smb-get-stat-capability): Fix tests.
4812
a24b9961
DK
48132013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4814
4815 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4816 (bug#15580).
4817
62ad85e6
GM
48182013-10-16 Glenn Morris <rgm@gnu.org>
4819
0283d6b0
GM
4820 * ansi-color.el (ansi-color-drop-regexp):
4821 Add 1J, 1K, 2K. (Bug#15617)
4822
012e2f9f
GM
4823 * files.el (hack-local-variables--warned-lexical): New.
4824 (hack-local-variables):
4825 Warn about misplaced lexical-binding. (Bug#15616)
4826
62ad85e6
GM
4827 * net/eww.el (eww-render): Always set eww-current-url,
4828 and update header line. (Bug#15622)
4829 (eww-display-html): ... Rather than just doing it here.
4830
6456c0ea
EZ
48312013-10-15 Eli Zaretskii <eliz@gnu.org>
4832
4833 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4834 menu navigations commands.
4835
c2de5588
DK
48362013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4837
4838 * progmodes/subword.el (subword-capitalize): Be careful when
4839 the search for [[:alpha:]] fails (bug#15580).
4840
ccd4a783
EZ
48412013-10-14 Eli Zaretskii <eliz@gnu.org>
4842
4843 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4844 to commands that scroll the menu.
4845
1eda1d8d
DG
48462013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4847
c2de5588
DK
4848 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4849 Handle methods ending with `?' and `!'.
1eda1d8d 4850
e70181b8
AM
48512013-10-14 Akinori MUSHA <knu@iDaemons.org>
4852
4853 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4854 `japanese-cp932' to `cp932' to fix the problem where saving a
4855 source file written in Shift_JIS twice would end up having
4856 `coding: japanese-cp932' which Ruby could not recognize.
4857 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4858 in `ruby-encoding-map'.
4859 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4860 doesn't need to be explicitly declared in magic comment.
4861 (ruby-encoding-map): Add type declaration for better customize UI.
4862
9148ee92
GM
48632013-10-13 Glenn Morris <rgm@gnu.org>
4864
a5d38e34
GM
4865 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4866 Occur buffers are read-only. http://bugs.debian.org/720775
4867
9148ee92
GM
4868 * emacs-lisp/authors.el (authors-fixed-entries):
4869 Comment out old alpha stuff.
4870
a9ba094b
DG
48712013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4872
4873 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4874 to `after-save-hook' instead of `before-save-hook'.
4875 (ruby-mode-set-encoding): Use the value of coding system used to
4876 write the file. Call `basic-save-buffer-1' after modifying the
4877 buffer.
4878
7a068717
AM
48792013-10-13 Alan Mackenzie <acm@muc.de>
4880
4881 Fix indentation/fontification of Java enum with
4882 "implements"/generic.
4883
c2de5588
DK
4884 * progmodes/cc-engine.el (c-backward-over-enum-header):
4885 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4886 (c-inside-bracelist-p): Uses new function above.
4887 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4888 function above.
4889 (c-font-lock-enum-tail): Uses new function above.
4890
85b64f02
KH
48912013-10-13 Kenichi Handa <handa@gnu.org>
4892
4893 * international/mule-cmds.el (select-safe-coding-system): Remove a
4894 superfluous condition in chekcing whether a coding system is safe
4895 or not.
4896
fc7f501b
OK
48972013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4898
4899 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4900
fdcb2049
AP
49012013-10-13 Andreas Politz <politza@hochschule-trier.de>
4902
4903 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4904
8c106d17
GM
49052013-10-13 Glenn Morris <rgm@gnu.org>
4906
feab892d
GM
4907 * menu-bar.el (menu-bar-update-buffers):
4908 Unify Buffers menu prompt string. (Bug#15576)
4909
b22d0686
GM
4910 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4911
8c106d17
GM
4912 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4913 Add some entries.
4914 (authors-fixed-entries): Use accented form of name.
4915
1b12c797
SM
49162013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4917
650fa7bf 4918 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4919 method calls (bug#15594).
650fa7bf
SM
4920 (ruby-smie--args-separator-p): New function.
4921 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4922 recognize paren-free method calls.
4923
1b12c797
SM
4924 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4925 internals of universal-argument.
4926
029619c8
EZ
49272013-10-11 Eli Zaretskii <eliz@gnu.org>
4928
4929 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4930 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4931 dropped menu on second mouse click on the menu bar.
029619c8 4932
dd070019
SM
49332013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4936 (explicit-shell-file-name): Declare.
4937 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4938 (sh-completion-at-point-function): New function.
4939 (sh-mode): Use it.
4940 (sh-smie--keyword-p): Remove unused argument.
4941 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4942 vars.
4943 (sh-set-shell): Always setup SMIE, even if we use the
4944 old indentation code.
4945
0922b826
DG
49462013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4947
b68e2926
DG
4948 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4949 cases of ? and =.
4950 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4951 predicate would return nil are almost non-existent.
4952 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4953
0922b826
DG
4954 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4955 cache also after commands that modify the buffer but don't move
4956 point.
4957
ee041f2d
SM
49582013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * env.el (substitute-env-in-file-name): New function.
4961 (substitute-env-vars): Extend the meaning of the optional arg.
4962
a5dab159
EZ
49632013-10-10 Eli Zaretskii <eliz@gnu.org>
4964
4965 * term/w32-win.el (dynamic-library-alist): Define separate lists
4966 of GIF DLLs for versions before and after 5.0.0 of giflib.
4967 (Bug#15531)
4968
0449d6cd 49692013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4970
4971 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4972 not locked, use last revision and current source as
4973 defaults. (Bug#15569)
4974
2f6e161e
MY
49752013-10-10 Masatake YAMATO <yamato@redhat.com>
4976
4977 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4978 menu-bar is hidden.
4979
6c8413fc
MR
49802013-10-10 Martin Rudalics <rudalics@gmx.at>
4981
4982 * window.el (pop-to-buffer-same-window): Fix doc-string.
4983 (Bug#15492)
4984
20832de0
SM
49852013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4988
c6e8ae77
AC
49892013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4990
4991 * calendar/icalendar.el (icalendar-import-file):
4992 Fix interactive spec. (Bug#15482)
4993
9db13baf
GM
49942013-10-10 Glenn Morris <rgm@gnu.org>
4995
9271e90e
GM
4996 * desktop.el (desktop-save): Default to saving in .emacs.d,
4997 since PWD is no longer in desktop-path by default. (Bug#15319)
4998
9db13baf
GM
4999 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5000 now that text mode has a menu with the same entry.
5001 (menu-bar-text-mode-auto-fill): Remove now unused func.
5002 * textmodes/text-mode.el (text-mode-map):
5003 Use auto-fill help text from menu-bar.el.
5004
a0be396a 50052013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5006
5007 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5008
2edcd3c7
JL
50092013-10-09 Juri Linkov <juri@jurta.org>
5010
5011 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5012 instead of this-command-keys. Add universal-argument-more and
5013 universal-argument-minus to the list of prefix commands. (Bug#15568)
5014
574411d0
GM
50152013-10-09 Glenn Morris <rgm@gnu.org>
5016
14afa541
GM
5017 * vc/vc-svn.el (vc-svn-create-repo):
5018 Expand paths in file://... url. (Bug#15446)
5019
574411d0
GM
5020 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5021 Add some entries.
5022 (authors): Remove unused local variables.
5023
79804536
SM
50242013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * profiler.el: Create a more coherent calltree from partial backtraces.
5027 (profiler-format): Hide the tail with `invisible' so that C-s can still
5028 find the hidden elements.
5029 (profiler-calltree-depth): Don't recurse so enthusiastically.
5030 (profiler-function-equal): New hash-table-test.
5031 (profiler-calltree-build-unified): New function.
5032 (profiler-calltree-build): Use it.
5033 (profiler-report-make-name-part): Indent the calltree less.
5034 (profiler-report-mode): Add visibility specs for profiler-format.
5035 (profiler-report-expand-entry, profiler-report-toggle-entry):
5036 Expand the whole subtree when provided with a prefix arg.
5037
238150c8
DG
50382013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5039
5040 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5041 iuwu-mod token.
5042 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5043 hanging iuwu-mod token.
5044 (ruby-smie--forward-token): Do not include a dot after a token in
5045 that token.
5046 (ruby-smie--backward-token): Likewise.
5047
b0949cc4
JL
50482013-10-08 Juri Linkov <juri@jurta.org>
5049
5050 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5051 to isearch-other-control-char.
5052 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5053 and isearch-post-command-hook to post-command-hook.
5054 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5055 and isearch-post-command-hook from post-command-hook.
5056 (isearch-unread-key-sequence)
5057 (isearch-reread-key-sequence-naturally)
5058 (isearch-lookup-scroll-key, isearch-other-control-char)
5059 (isearch-other-meta-char): Remove functions.
5060 (isearch-pre-command-hook, isearch-post-command-hook):
5061 New functions based on isearch-other-meta-char rewritten
5062 relying on the new behavior of overriding-terminal-local-map
5063 that does not replace the local keymaps any more. (Bug#15200)
5064
4ed77415
EZ
50652013-10-08 Eli Zaretskii <eliz@gnu.org>
5066
5067 Support menus on text-mode terminals.
5068 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5069 functionality.
5070
5071 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5072
c2de5588
DK
5073 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5074 Move here from mouse.el.
4ed77415
EZ
5075 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5076 and arrow keys.
5077 (tty-menu-navigation-map): New map for TTY menu navigation.
5078
5079 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5080
5081 * frame.el (display-mouse-p): Report text-mode mouse as available
5082 on w32.
5083 (display-popup-menus-p): Report availability if mouse is
5084 available; don't condition on window-system.
5085
5086 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5087 (tty-menu-selected-face): New faces.
5088
b7d5bd82
TL
50892013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5090
06286513
SM
5091 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5092 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5093 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5094 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5095 New constants.
5096 (lisp-mode-variables): New `elisp' argument.
5097 (emacs-lisp-mode): Use it.
5098 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5099 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5100
b7d5bd82
TL
5101 * indent.el: Use lexical-binding.
5102 (indent-region): Add progress reporter.
5103 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5104 last step.
5105 (indent--next-tab-stop): New function to implement this behavior.
5106 (tab-to-tab-stop, move-to-tab-stop): Use it.
5107
51082013-10-08 Teemu Likonen <tlikonen@iki.fi>
5109
5110 * indent.el (indent-rigidly--current-indentation): New function.
5111 (indent-rigidly-map): New var.
5112 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5113
5ea75d23
BG
51142013-10-08 Bastien Guerry <bzg@gnu.org>
5115
f2726fa2 5116 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5117
cc5da1ec
SM
51182013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5119
8ffa1a0b
SM
5120 * progmodes/perl-mode.el: Use lexical-binding.
5121 Remove redundant :group args.
5122 (perl-nochange): Change default to be closer to other major modes's
5123 standard behavior.
5124 (perl-indent-line): Don't consider text on current line as a
5125 valid beginning of function from which to indent.
5126
f2223371
SM
5127 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5128 with more than one argument (bug#15538).
5129
44256060
SM
5130 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5131
cc5da1ec
SM
5132 * vc/pcvs.el: Use lexical-binding.
5133 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5134 environment of `eval'.
5135 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5136 than a list of expressions. Adjust callers.
5137 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5138
0ea1599d
DG
51392013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5140
5141 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5142 case of the dot in a chained method call being on the following line.
0ea1599d 5143
da3e5ebb
SM
51442013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5145
2abb4e65
SM
5146 * electric.el (electric-indent-inhibit): New var.
5147 (electric-indent-post-self-insert-function): Use it.
5148 * progmodes/python.el (python-mode): Set it.
5149
d2e0e795
SM
5150 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5151 open braces.
5152
5153 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5154
bdc6b4c8
SM
5155 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5156 (css-mode): Use electric-indent-chars.
5157
da3e5ebb
SM
5158 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5159 (font-lock-beg, font-lock-end): Move before first use.
5160 (nxml-mode): Use syntax-propertize-function.
5161 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5162 (nxml-extend-after-change-region): Remove.
5163 * nxml/xmltok.el: Use lexical-binding.
5164 (xmltok-save): Use `declare'.
5165 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5166 * nxml/nxml-util.el: Use lexical-binding.
5167 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5168 Use `declare'.
5169 * nxml/nxml-ns.el: Use lexical-binding.
5170 (nxml-ns-save): Use `declare'.
5171 (nxml-ns-prefixes-for): Avoid add-to-list.
5172 * nxml/rng-match.el: Use lexical-binding.
5173 (rng--ipattern): Use cl-defstruct.
5174 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5175 (rng-cons-group-after, rng-subst-group-after)
5176 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5177 Use closures instead of `(lambda...).
5178
f8f91d5d
MA
51792013-10-07 Michael Albinus <michael.albinus@gmx.de>
5180
5181 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5182 of BEG and END.
5183
da3e5ebb
SM
5184 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5185 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5186 (tramp-gvfs-handle-insert-file-contents): Remove function.
5187
da3e5ebb
SM
5188 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5189 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5190
5191 * net/trampver.el: Update release number.
5192
7ccae3b1
SM
51932013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5194
55ca2c0d
SM
5195 * progmodes/compile.el (compilation-parse-errors):
5196 Use compilation--put-prop.
5197 (compilation--ensure-parse): Check compilation-multiline.
5198
731fc3ae
SM
5199 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5200
da3e5ebb
SM
5201 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5202 lexical-binding.
a5833280 5203
2e7ba2c2
SM
5204 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5205
7ccae3b1
SM
5206 * progmodes/ruby-mode.el: Fix recently added tests.
5207 (ruby-smie-grammar): Add - and +.
5208 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5209 (ruby-smie--backward-id): New functions.
5210 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5211 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5212 any more.
5213
85698d63
LL
52142013-10-07 Leo Liu <sdl.web@gmail.com>
5215
5216 * register.el (register-preview-delay)
5217 (register-preview-functions): New variables.
5218 (register-read-with-preview, register-preview)
5219 (register-describe-oneline): New functions.
5220 (point-to-register, window-configuration-to-register)
5221 (frame-configuration-to-register, jump-to-register)
5222 (number-to-register, view-register, insert-register)
5223 (copy-to-register, append-to-register, prepend-to-register)
5224 (copy-rectangle-to-register): Use register-read-with-preview to
5225 read register. (Bug#15525)
5226
3986af6c
DS
52272013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5228
5229 * net/network-stream.el (network-stream-open-starttls): Don't add
5230 --insecure if it's already present, because that gnutls-cli
5231 rejects getting that parameter twice.
5232
5cd9cda9
DG
52332013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5234
5235 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5236 keyword, too.
5237
da9ea6d9
DG
52382013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5239
5240 * newcomment.el (comment-use-global-state): Change default value
5241 to t, mark obsolete (Bug#15251).
5242 (comment-beginning): In addition to `comment-to-syntax', check the
5243 value of `comment-use-global-state'.
5244
34d1a133
SM
52452013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5246
5247 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5248 (ruby-comment-column): Follow the global default, by default.
5249 (ruby-smie-grammar): Add assignment syntax.
5250 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5251 open-paren, a comma, or a \.
5252 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5253 and line continuations.
5254 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5255 followed by implicit semi-colons. Add rule for string concatenation
5256 and for indentation at BOB.
5257 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5258
5259 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5260 calling next-sexp, since next-token may have skipped chars which
5261 next-sexp doesn't know should be skipped!
5262
6f6ab820
LL
52632013-10-05 Leo Liu <sdl.web@gmail.com>
5264
34d1a133
SM
5265 * progmodes/octave.el (octave-send-region):
5266 Call compilation-forget-errors.
6f6ab820 5267
34ca0f4c
XF
52682013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5269
5270 * vc/vc-svn.el (vc-svn-find-admin-dir):
5271 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5272 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5273 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5274 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5275
a27c1b72
SM
52762013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5277
5278 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5279
258ab3bc
SM
52802013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * subr.el (read-passwd): Hide chars even when called within a context
5283 where after-change-functions is disabled (bug#15501).
5284 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5285 until we removed ourself from overriding-terminal-local-map.
5286
939fb29c
LL
52872013-10-04 Leo Liu <sdl.web@gmail.com>
5288
258ab3bc
SM
5289 * progmodes/octave.el (inferior-octave-mode):
5290 Call compilation-forget-errors.
939fb29c 5291
63bd7f35
XF
52922013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5293
5294 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5295
9e6229fa
MA
52962013-10-04 Michael Albinus <michael.albinus@gmx.de>
5297
5298 * net/secrets.el (secrets-create-collection): Add optional
5299 argument ALIAS. Use proper Label keyword. Append ALIAS as
5300 dbus-call-method argument. (Bug#15516)
5301
1dab32a3
LL
53022013-10-04 Leo Liu <sdl.web@gmail.com>
5303
5304 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5305 (inferior-octave-compilation-font-lock-keywords): New variables.
5306 (compilation-error-regexp-alist)
5307 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5308 (inferior-octave-mode): Use compilation-shell-minor-mode.
5309
6cad7ba3
JS
53102013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5311
5312 * minibuffer.el (completion--replace): Be careful that `end' might be
5313 a marker.
5314
acbadd00
DU
53152013-10-03 Daiki Ueno <ueno@gnu.org>
5316
5317 Add support for package signature checking.
5318 * emacs-lisp/package.el (url-http-file-exists-p)
5319 (epg-make-context, epg-context-set-home-directory)
5320 (epg-verify-string, epg-context-result-for)
5321 (epg-signature-status, epg-signature-to-string)
5322 (epg-check-configuration, epg-configuration)
5323 (epg-import-keys-from-file): Declare.
5324 (package-check-signature): New user option.
5325 (package-unsigned-archives): New user option.
5326 (package-desc): Add `signed' field.
5327 (package-load-descriptor): Set `signed' field if .signed file exists.
5328 (package--archive-file-exists-p): New function.
5329 (package--check-signature): New function.
5330 (package-install-from-archive): Check package signature.
5331 (package--download-one-archive): Check archive signature.
5332 (package-delete): Remove .signed file.
5333 (package-import-keyring): New command.
5334 (package-refresh-contents): Import default keyring.
5335 (package-desc-status): Add "unsigned" status.
5336 (describe-package-1, package-menu--print-info)
5337 (package-menu-mark-delete, package-menu--find-upgrades)
5338 (package-menu--status-predicate): Support "unsigned" status.
5339
adf2aa61
SM
53402013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5343 the new compilation scheme using the new byte-codes.
5344
5345 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5346 (byte-pophandler): New byte codes.
5347 (byte-goto-ops): Adjust accordingly.
5348 (byte-compile--use-old-handlers): New var.
5349 (byte-compile-catch): Use new byte codes depending on
5350 byte-compile--use-old-handlers.
5351 (byte-compile-condition-case--old): Rename from
5352 byte-compile-condition-case.
5353 (byte-compile-condition-case--new): New function.
5354 (byte-compile-condition-case): New function that dispatches depending
5355 on byte-compile--use-old-handlers.
5356 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5357 when we can.
5358
5359 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5360 Optimize under `condition-case' and `catch' if
5361 byte-compile--use-old-handlers is nil.
5362 (disassemble-offset): Handle new bytecodes.
5363
328a8179
SM
53642013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * subr.el (error): Use `declare'.
5367 (decode-char, encode-char): Use advertised-calling-convention instead
5368 of the docstring to discourage use of the `restriction' arg.
5369
15a1e936
DU
53702013-10-03 Daiki Ueno <ueno@gnu.org>
5371
5372 * epg.el (epg-verify-file): Add a comment saying that it does not
5373 notify verification error as a return value nor a signal.
5374 (epg-verify-string): Ditto.
5375
376f862a
KR
53762013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5377
5378 * progmodes/compile.el (compilation-start): Try globbing the arg to
5379 `cd' (bug#15417).
5380
a2f93a5f
MA
53812013-10-02 Michael Albinus <michael.albinus@gmx.de>
5382
5383 Sync with Tramp 2.2.8.
5384
5385 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5386 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5387 * net/trampver.el: Update release number.
5388
0daa0804
JD
53892013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5390
5391 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5392 and default-process-coding-system for darwin only.
5393
abd1ae34
SM
53942013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5397
be4e325d
MH
53982013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5399
5400 * vc/vc-git.el (vc-git-grep): Disable pager.
5401
e9155c4a
DG
54022013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5403
494e898b
DG
5404 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5405 Use :url instead of :homepage, as per
5406 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5407
e9155c4a
DG
5408 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5409 non-nil, use `syntax-ppss' (Bug#15251).
5410
481a8e0f
RS
54112013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5412
be4e325d
MH
5413 * progmodes/octave.el (inferior-octave-startup-file):
5414 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5415
056453c6
DG
54162013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5417
be4e325d
MH
5418 * emacs-lisp/package.el (package-desc-from-define):
5419 Accept additional arguments as plist, convert them to an alist and store
5420 them in the `extras' slot.
056453c6
DG
5421 (package-generate-description-file): Convert extras alist back to
5422 plist and append to the `define-package' form arguments.
5423 (package--alist-to-plist): New function.
5424 (package--ac-desc): Add `extras' slot.
5425 (package--add-to-archive-contents): Check if the archive-contents
5426 vector is long enough, and if it is, pass its `extras' slot value
5427 to `package-desc-create'.
5428 (package-buffer-info): Call `lm-homepage', pass the returned value
5429 to `package-desc-from-define'.
5430 (describe-package-1): Render the homepage button (Bug#13291).
5431
be4e325d
MH
5432 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5433 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5434
832966e5
JD
54352013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5436
5437 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5438 and default-process-coding-system to utf-8-unix (Bug#15402).
5439
6cfe977d
XF
54402013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5441
5442 * subr.el (looking-back): Do not recommend using looking-back.
5443
38de11bd
AM
54442013-09-28 Alan Mackenzie <acm@muc.de>
5445
5446 Fix indentation/fontification of Java enum with "implements".
5447
5448 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5449 regexp which matches "implements", etc., in Java.
5450 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5451 specifier clauses coming after "enum".
5452 * progmodes/cc-fonts.el (c-font-lock-declarations)
5453 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5454 after "enum".
5455
1610938f
JD
54562013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5457
5458 * faces.el (region): Change ns_selection_color to
5459 ns_selection_fg_color, add ns_selection_bg_color.
5460
e090f499
LL
54612013-09-28 Leo Liu <sdl.web@gmail.com>
5462
4d2e94d1
LL
5463 * progmodes/octave.el (inferior-octave-completion-table)
5464 (inferior-octave-completion-at-point): Minor tweaks.
5465
e090f499
LL
5466 * textmodes/ispell.el (ispell-lookup-words): Rename from
5467 lookup-words. (Bug#15460)
5468 (lookup-words): Obsolete.
5469 (ispell-complete-word, ispell-command-loop): All uses changed.
5470
7e138a62
RS
54712013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5472
a12bf61e 5473 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5474 (octave-mode-menu): Add octave-send-buffer.
5475 (octave-send-buffer): New function.
5476
5af5ed08
RS
54772013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5478
a12bf61e 5479 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5480 octave-lookfor.
5481 (octave-mode-menu): Add octave-lookfor.
5482 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5483 octave-lookfor.
5484 (octave-lookfor): New function.
5485
3b7b2692
SM
54862013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * emacs-lisp/cl-macs.el:
5489 (cl--loop-destr-temps): Remove.
5490 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5491 its convention.
5492 (cl--loop-set-iterator-function): New function.
5493 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5494 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5495 Bind `it' with `let' instead of substituting it with `cl-subst'.
5496 (cl--unused-var-p): New function.
5497 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5498 Eliminate some unused variable warnings (bug#15326).
5499
529fb53f
TH
55002013-09-27 Tassilo Horn <tsdh@gnu.org>
5501
5502 * doc-view.el (doc-view-scale-reset): Rename from
5503 `doc-view-reset-zoom-level'.
5504 (doc-view-scale-adjust): New command.
5505 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5506 `doc-view-scale-adjust'.
5507
0550c95a
TH
55082013-09-26 Tassilo Horn <tsdh@gnu.org>
5509
5510 * doc-view.el (doc-view-reset-zoom-level): New command.
5511 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5512 zoom commands (bug#15466).
5513
6950f152
KH
55142013-09-26 Kenichi Handa <handa@gnu.org>
5515
5516 * international/quail.el (quail-help): Make it not a command.
5517
39587580
LL
55182013-09-26 Leo Liu <sdl.web@gmail.com>
5519
5520 * minibuffer.el (completion-all-sorted-completions): Make args
5521 optional as they are.
5522
00578659
DC
55232013-09-25 Daniel Colascione <dancol@dancol.org>
5524
5525 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5526 specs are and that they're not evaluated.
5527
0c173878
SS
55282013-09-24 Sam Steingold <sds@gnu.org>
5529
5530 * midnight.el (clean-buffer-list-kill-regexps)
5531 (clean-buffer-list-kill-buffer-names): Update for the new Man
5532 buffer naming which includes the object name.
5533
84998447
SM
55342013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5535
5536 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5537 (eshell-parse-command, eshell-parse-pipeline): Use it since
5538 eshell-separate-commands requires a dynamic scoped var.
5539 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5540
33215353
LL
55412013-09-23 Leo Liu <sdl.web@gmail.com>
5542
5543 * autoinsert.el (auto-insert-alist): Make the value of
5544 lexical-binding match its file setting.
5545
57b16162
JB
55462013-09-23 Juanma Barranquero <lekktu@gmail.com>
5547
c8af4e67
JB
5548 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5549
57b16162
JB
5550 * autoarg.el (autoarg-kp-digit-argument):
5551 * electric.el (Electric-command-loop):
5552 * kmacro.el (kmacro-step-edit-insert):
5553 Do not set universal-argument-num-events.
5554
7186ba60
LL
55552013-09-22 Leo Liu <sdl.web@gmail.com>
5556
5557 * files.el (interpreter-mode-alist): Add octave.
5558
ece15004
AM
55592013-09-21 Alan Mackenzie <acm@muc.de>
5560
5561 C++: fontify identifier in declaration following "public:" correctly.
5562 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5563 to match "public", etc.
5564 (c-decl-prefix-re): Add ":" into the C++ value.
5565 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5566 bit. Add a check for a ":" preceded by "public", etc.
5567
75d83e22
EZ
55682013-09-21 Eli Zaretskii <eliz@gnu.org>
5569
5570 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5571 recognized by GDB 7.5 and later.
5572
d052d3bd
XF
55732013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5574
5575 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5576
31dca772
R
55772013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5578
5579 * subr.el (internal--call-interactively): New const.
5580 (called-interactively-p): Use it (bug#3984).
5581
98ccf24e
XF
55822013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5583
5584 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5585 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5586 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5587
c39cc7d1
SM
55882013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5589
5590 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5591 (eshell-ls-orig-insert-directory): Remove.
5592 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5593 (eshell-ls-use-in-dired): Use advice-add/remove.
5594 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5595 Add `orig-fun' arg for use in :around advice.
5596 Make it check (redundantly) eshell-ls-use-in-dired.
5597
9a0289a2
GM
55982013-09-19 Glenn Morris <rgm@gnu.org>
5599
a2c501b8
GM
5600 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5601
c440407a
GM
5602 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5603
9a0289a2
GM
5604 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5605
85e05915
MA
56062013-09-19 Michael Albinus <michael.albinus@gmx.de>
5607
5608 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5609 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5610 (tramp-get-remote-python): New defuns.
5611 (tramp-get-remote-uid-with-perl)
5612 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5613 contributed by yary <not.com@gmail.com> (tiny change).
5614 (tramp-get-remote-uid-with-python)
5615 (tramp-get-remote-gid-with-python): New defuns. Python code
5616 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5617 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5618
ce503312
GM
56192013-09-19 Glenn Morris <rgm@gnu.org>
5620
f7544773
GM
5621 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5622
72fd2877
GM
5623 * eshell/em-unix.el (eshell-remove-entries):
5624 Rename argument to avoid name-clash with global `top-level'.
5625
336b5a56
GM
5626 * eshell/esh-proc.el (eshell-kill-process-function):
5627 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5628 (eshell-reset-after-proc): Remove unused arg `proc'.
5629
57a3a53d
GM
5630 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5631 (directory-files-and-attributes): Mark unused arg.
5632
3261d4af
GM
5633 * eshell/em-unix.el (eshell-remove-entries):
5634 Remove unused arg `path'. Update callers.
5635
8e51b5d0
GM
5636 * eshell/em-hist.el (eshell-hist-parse-arguments):
5637 Remove unused arg `silent'. Update callers.
5638
ce503312
GM
5639 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5640 Fix (f)boundp mix-up.
5641
5642 * eshell/em-smart.el (eshell-smart-scroll-window)
5643 (eshell-disable-after-change):
336b5a56 5644 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5645
ee3ce8a7
AM
56462013-09-18 Alan Mackenzie <acm@muc.de>
5647
5648 Fix fontification of type when followed by "const".
5649 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5650 "known" types from fontification.
5651
ec9177ba
GM
56522013-09-18 Glenn Morris <rgm@gnu.org>
5653
7bb3e768
GM
5654 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5655 (chart-face-list): Drop Emacsen without display-color-p.
5656
5148da15
GM
5657 * net/eww.el (libxml-parse-html-region): Declare.
5658 (eww-display-html): Explicit error if no libxml2 support.
5659
2f68e157
GM
5660 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5661
9019d095
GM
5662 * image.el (image-type-from-buffer, image-multi-frame-p):
5663 Remove --without-x warning/error.
67645389 5664
5f30349b 5665 * mouse.el (mouse-yank-primary):
45069b2e 5666 * term.el (term-mouse-paste):
5f30349b
GM
5667 Reorder to silence --without-x compilation.
5668
cd8edbbe
GM
5669 * mpc.el (doc-view-mode): Silence --without-x compilation.
5670
8a78544e
GM
5671 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5672 Silence --without-x compilation.
5673
12679bfd
GM
5674 * progmodes/gud.el (gud-find-file, gud-mode):
5675 Silence --without-x compilation.
5676 (tooltip-mode): Declare.
30810a05 5677
f0047cb9
GM
5678 * wdired.el (dired-backup-overwrite): Remove declaration.
5679 (wdired-mode-map): Add doc string.
5680
e740f9d2
GM
5681 * custom.el (x-get-resource): Declare.
5682
92d77c89
GM
5683 * eshell/em-glob.el (ange-cache):
5684 * eshell/em-unix.el (ange-cache): Declare.
5685
76e69577
GM
5686 * faces.el (x-display-list, x-open-connection, x-get-resource):
5687 Declare.
7e58af4b
GM
5688
5689 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5690 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5691 Declare.
76e69577 5692
4bd4c0af 5693 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5694
ffb82dbd
GM
5695 * net/gnutls.el (gnutls-log-level): Declare.
5696
986ed135
GM
5697 * net/shr.el (image-size, image-animate): Declare.
5698
e740f9d2
GM
5699 * simple.el (font-info): Declare.
5700
d2f3e9f8
GM
5701 * subr.el (x-popup-dialog): Declare.
5702
047a1a4c
GM
5703 * term/common-win.el (x-select-enable-primary)
5704 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5705 Declare.
5706
f4a1d572
GM
5707 * term/ns-win.el (x-handle-args): Declare.
5708
e843de77
GM
5709 * term/x-win.el (x-select-enable-clipboard): Declare.
5710
5fa89513
GM
5711 * term/w32-win.el (create-default-fontset): Declare.
5712
38702b5b
GM
5713 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5714 Declare.
5715
e740f9d2
GM
5716 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5717 (fit-frame-to-buffer): Explicit error if --without-x.
5718 (mouse-autoselect-window-select): Silence compiler.
5719
49a053fc
GM
5720 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5721
5722 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5723 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5724 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5725 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5726 Remove unused local variables.
5727
5728 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5729
ec9177ba
GM
5730 * textmodes/two-column.el: Make 2C-split work for --without-x.
5731 (scroll-bar-columns): Autoload.
5732 (top-level): Require fringe when compiling.
5733
9f25cb77
LL
57342013-09-18 Leo Liu <sdl.web@gmail.com>
5735
5736 * subr.el (add-hook): Robustify to handle closure as well.
5737
2b42da98
GM
57382013-09-17 Glenn Morris <rgm@gnu.org>
5739
5740 * simple.el (messages-buffer-mode-map): Unbind "g".
5741
e8b66a6a
SM
57422013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5743
9c0ad4f7
SM
5744 * help-mode.el (help-mode-finish): Use derived-mode-p.
5745 Remove obsolete highlighting.
5746
7a806dfb
SM
5747 * play/life.el (life-mode): Use define-derived-mode. Derive from
5748 special-mode.
5749 (life): Let-bind inhibit-read-only.
5750 (life-setup): Avoid `setq'. Use `life-mode'.
5751
96dbf5a8
SM
5752 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5753 which should not be needed any more.
5754 (package-menu-refresh, package-menu-describe-package): Use user-error.
5755
e8b66a6a
SM
5756 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5757 (eshell-post-rewrite-command-hook): Make obsolete.
5758 (eshell-parse-command): Simplify.
5759 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5760 (eshell--cmd): Declare.
5761 (eshell-parse-pipeline): Remove unused var `final-p'.
5762 Pass a dynvar to eshell-post-rewrite-command-hook.
5763 Implement the new eshell-post-rewrite-command-function.
5764 (eshell-invoke-directly): Remove unused arg `input'.
5765 * eshell/esh-io.el (eshell-io-initialize):
5766 Use eshell-post-rewrite-command-function (bug#15399).
5767 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5768 adjust to new calling convention.
5769 (eshell-create-handles): Rename args to avoid clashing with dynvar
5770 `standard-output'.
5771
90582f05
GM
57722013-09-17 Glenn Morris <rgm@gnu.org>
5773
5774 * simple.el (messages-buffer-mode): New major mode.
5775 (messages-buffer): New function.
5776 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5777 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5778 (ert-run-test): Use `messages-buffer' function.
90582f05 5779 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5780 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5781 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5782
39eb0cb5 57832013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5784
5785 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5786
1d42e5b6 5787 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5788
70568a90
SM
57892013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5790
504a0381
SM
5791 * icomplete.el (icomplete-in-buffer): New var.
5792 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5793 vars and replace them with functions.
5794 (icomplete-minibuffer-setup): Adjust accordingly.
5795 (icomplete--completion-table, icomplete--completion-predicate)
5796 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5797 New functions.
5798 (icomplete-forward-completions, icomplete-backward-completions)
5799 (icomplete-simple-completing-p, icomplete-exhibit)
5800 (icomplete-completions): Use them.
5801 (icomplete--in-region-buffer): New var.
5802 (icomplete--in-region-setup): New function.
5803 (icomplete-mode): Use it.
5804
70568a90
SM
5805 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5806 (bug#15379).
5807 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5808 return args and options.
5809 (eshell-eval-using-options): Use the new return value of
5810 eshell--do-opts to set the options's vars in their scope.
5811 (eshell--set-option): Rename from eshell-set-option.
5812 Add arg `opt-vals'.
5813 (eshell--process-option): Rename from eshell-process-option.
5814 Add arg `opt-vals'.
5815 (eshell--process-args): Use an `opt-vals' alist to store the options's
5816 values during their processing and return them additionally to the
5817 remaining args.
5818
578c21bc
DG
58192013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5820
5821 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5822 continuation character an operator, as far as indentation is
5823 concerned (Bug#15369).
5824
c089653d
MR
58252013-09-15 Martin Rudalics <rudalics@gmx.at>
5826
5827 * window.el (window--state-put-2): Don't process buffer state
5828 when buffer doesn't exist any more (Bug#15382).
5829
1e53bb4b
GM
58302013-09-15 Glenn Morris <rgm@gnu.org>
5831
30753242
GM
5832 * eshell/em-unix.el (eshell/rm):
5833 Make -f ignore missing files. (Bug#15373)
5834
1e53bb4b
GM
5835 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5836 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5837 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5838
0d8863b3
GM
58392013-09-14 Glenn Morris <rgm@gnu.org>
5840
5841 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5842
d3fc6549
GM
58432013-09-13 Glenn Morris <rgm@gnu.org>
5844
5845 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5846 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5847
fcd42c11
DA
58482013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5849
5850 * frame.el (x-focus-frame): Mark as declared in frame.c.
5851
7830899f
SM
58522013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5853
5854 * ls-lisp.el: Use advice-add.
5855 (original-insert-directory): Remove.
5856 (ls-lisp--insert-directory): Rename from insert-directory; add
5857 `orig-fun' argument.
5858 (insert-directory): Advise.
5859
84387cd2
EZ
58602013-09-13 Eli Zaretskii <eliz@gnu.org>
5861
5862 * term.el (term-emulate-terminal): Decode the command string
5863 before passing it to term-command-hook. (Bug#15337)
5864
35ffc6ba
GM
58652013-09-13 Glenn Morris <rgm@gnu.org>
5866
5c3f9bcc
GM
5867 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5868
2ada368a
GM
5869 * eshell/esh-ext.el (eshell-search-path): Declare.
5870
fcef2e13
GM
5871 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5872 Otherwise an error occurs if eshell-dirs module not loaded.
5873
35ffc6ba
GM
5874 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5875
35c3d36e
MA
58762013-09-13 Michael Albinus <michael.albinus@gmx.de>
5877
5878 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5879 `tramp-check-proper-host'. Check for a valid method name.
5880
5881 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5882 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5883 * net/tramp-sh.el (tramp-maybe-open-connection):
5884 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5885
5886 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5887 also for hash values.
5888
ae5e4c48
SM
58892013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5890
379add74
SM
5891 * term/ns-win.el (parameters): Don't declare as dynamic.
5892 (before-make-frame-hook): Don't add ineffective function.
5893
ae5e4c48
SM
5894 * eshell/*.el: Use lexical-binding (bug#15231).
5895
b5623270
KH
58962013-09-12 Kenichi Handa <handa@gnu.org>
5897
ae5e4c48 5898 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5899
30213927
GM
59002013-09-12 Glenn Morris <rgm@gnu.org>
5901
be94d713 5902 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5903 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5904
44915370
GM
5905 * subr.el (do-after-load-evaluation): Also give compiler warnings
5906 when obsolete files are used (except by obsolete files).
5907
a6ae021f
GM
5908 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5909 in the status output, assume `filename' is the first. (Bug#15322)
5910
40e64f0c
GM
5911 * vc/vc.el (vc-deduce-fileset): Doc fix.
5912
16d9f896
GM
5913 * calc/calc-help.el (Info-goto-node):
5914 * progmodes/cperl-mode.el (Info-find-node):
5915 * vc/ediff.el (Info-goto-node): Update declarations.
5916
dea01c6e
GM
5917 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5918
759880bf 5919 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5920 (vc-bzr-pull): Require vc-dispatcher.
5921 * vc/vc-git.el (vc-compilation-mode): Declare.
5922 (vc-git-pull): Require vc-dispatcher.
5923
08d66420
GM
5924 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5925
30b626e9
GM
5926 * progmodes/octave.el (help-button-action): Declare.
5927
8c05cb10
GM
5928 * shell.el (shell-directory-tracker): Output error as a message
5929 rather than just returning it as a string.
5930 (shell-process-pushd): Remove useless use of message.
5931
30213927
GM
5932 * dframe.el (dframe-timer-fn):
5933 * files.el (dir-locals-read-from-file):
5934 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5935 (mpc-format):
5936 * reveal.el (reveal-post-command):
5937 * saveplace.el (load-save-place-alist-from-file):
5938 * shell.el (shell-resync-dirs):
5939 * w32-common-fns.el (x-get-selection-value):
5940 * emacs-lisp/copyright.el (copyright-find-copyright):
5941 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5942 * emulation/tpu-edt.el (tpu-copy-keyfile):
5943 * play/bubbles.el (bubbles--mark-neighbourhood):
5944 * progmodes/executable.el
5945 (executable-make-buffer-file-executable-if-script-p):
5946 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5947
d3b049e6
SM
59482013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5949
170266d0
SM
5950 Cleanup Eshell to rely less on dynamic scoping.
5951 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5952 last-value, and ext-command here. Bind `args' closer to `body'.
5953 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5954 (eshell--args): Declare new dynamic var.
5955 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5956 last-value, and ext-command. Pass `args' to `body'.
5957 (eshell-process-args): Bind eshell--args.
5958 (eshell-set-option): Use eshell--args.
5959 * eshell/eshell.el (eshell): Use derived-mode-p.
5960 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5961 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5962 (eshell-glob-function): Declare.
5963 * eshell/esh-util.el: Require cl-lib.
5964 (eshell-read-hosts-file): Avoid add-to-list.
5965 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5966 `err'.
5967 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5968 Declare.
5969 (eshell/diff): Remove unused var `err'.
5970 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5971 `killflag'.
5972 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5973 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5974 first use.
5975 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5976 Move declaration before first use.
5977 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5978 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5979 rely on cl-return.
5980
56834f3b
GM
59812013-09-12 Glenn Morris <rgm@gnu.org>
5982
5983 * term/ns-win.el (global-map): Remove binding for ispell-next,
5984 deleted 1999-05-29. (Bug#15357)
5985
5c91a2b8
GM
59862013-09-11 Glenn Morris <rgm@gnu.org>
5987
da712f22
GM
5988 * echistory.el (electric-command-history): Remove call to deleted func.
5989
512e4cdc
GM
5990 * play/landmark.el (landmark-mode): Fix typos.
5991
d3506ca5
GM
5992 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5993 Check cvs-sort-ignore-file is bound.
5994
5c91a2b8
GM
5995 * savehist.el: No need for cl when compiling on Emacs.
5996
feeff482
SM
59972013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5998
656bd483
SM
5999 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6000 (bug#15338).
d3b049e6
SM
6001 (eshell-self-insert-command, eshell-send-invisible):
6002 Remove unused argument.
656bd483
SM
6003 (eshell-handle-control-codes): Remove unused var `orig'.
6004 Avoid delete-backward-char.
6005
feeff482
SM
6006 * files.el (set-auto-mode): Simplify a bit further.
6007
2a08047a
GM
60082013-09-11 Glenn Morris <rgm@gnu.org>
6009
6010 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6011 (set-auto-mode): Don't regexp-quote elements.
6012 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6013 * progmodes/cc-mode.el (interpreter-mode-alist):
6014 * progmodes/ruby-mode.el (interpreter-mode-alist):
6015 Revert previous change.
6016
34675540
SM
60172013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6018
1b3b87df
SM
6019 * play/snake.el (snake-mode):
6020 * play/mpuz.el (mpuz-mode):
6021 * play/landmark.el (lm-mode):
6022 * play/blackbox.el (blackbox-mode):
6023 * play/5x5.el (5x5-mode):
6024 * obsolete/options.el (Edit-options-mode):
6025 * net/quickurl.el (quickurl-list-mode):
6026 * net/newst-treeview.el (newsticker-treeview-mode):
6027 * mail/rmailsum.el (rmail-summary-mode):
6028 * mail/mspools.el (mspools-mode):
6029 * locate.el (locate-mode):
6030 * ibuffer.el (ibuffer-mode):
6031 * emulation/ws-mode.el (wordstar-mode):
6032 * emacs-lisp/debug.el (debugger-mode):
6033 * array.el (array-mode):
6034 * net/eudc.el (eudc-mode): Use define-derived-mode.
6035 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6036 Move initialization into declaration.
6037 (mairix-searches-mode): Use define-derived-mode.
6038 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6039 (eudc-edit-hotlist): Use dolist.
6040 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6041 (Man-mode): Use define-derived-mode.
6042 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6043 (Info-edit-mode): Use define-derived-mode.
6044 (Info-cease-edit): Use Info-mode.
6045 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6046 into declaration.
6047 (eshell-mode): Use define-derived-mode.
6048 * chistory.el (command-history-mode-map): Rename from
6049 command-history-map.
6050 (command-history-mode): Use define-derived-mode.
da712f22 6051 (Command-history-setup): Remove function.
1b3b87df
SM
6052 * calc/calc.el (calc-trail-mode-map): New var.
6053 (calc-trail-mode): Use define-derived-mode.
6054 (calc-trail-buffer): Set calc-main-buffer manually.
6055 * bookmark.el (bookmark-insert-annotation): New function.
6056 (bookmark-edit-annotation): Use it.
6057 (bookmark-edit-annotation-mode): Make it a proper major mode.
6058 (bookmark-send-edited-annotation): Use derived-mode-p.
6059 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6060 closer to its ideal place. Use \' to match EOS.
6061
34675540
SM
6062 * profiler.el (profiler-calltree-find): Use function-equal.
6063
6a5c15d9
GM
60642013-09-10 Glenn Morris <rgm@gnu.org>
6065
1af4c220
GM
6066 * files.el (interpreter-mode-alist): Convert to regexps.
6067 (set-auto-mode): Adapt for this. (Bug#15306)
6068 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6069 Comment out unused variable.
6070 * progmodes/cc-mode.el (interpreter-mode-alist):
6071 * progmodes/python.el (interpreter-mode-alist):
6072 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6073 * progmodes/sh-script.el (sh-set-shell):
6074 No longer use interpreter-mode-alist to get list of shells.
6075
6a5c15d9
GM
6076 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6077
8c27f5ff
SM
60782013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6079
02ef6c1a 6080 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6081 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6082 Bind switch-frame explicitly. Replace universal-argument-minus with
6083 a conditional binding.
6084 (universal-argument-num-events, saved-overriding-map): Remove.
6085 (restore-overriding-map): Remove.
6086 (universal-argument--mode): Rename from save&set-overriding-map,
6087 and rewrite.
6088 (universal-argument, universal-argument-more, negative-argument)
6089 (digit-argument): Adjust accordingly.
6090 (universal-argument-minus): Remove.
6091 (universal-argument-other-key): Remove.
6092
8c27f5ff
SM
6093 * subr.el (with-demoted-errors): Add `format' argument.
6094
6480194c
MA
60952013-09-10 Michael Albinus <michael.albinus@gmx.de>
6096
6097 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6098 `tramp-cleanup-connection'.
6099
6100 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6101 parameters KEEP-DEBUG and KEEP-PASSWORD.
6102
6103 * net/tramp.el (tramp-file-name-handler):
6104 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6105 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6106 (tramp-maybe-open-connection):
8c27f5ff
SM
6107 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6108 Use `tramp-cleanup-connection'.
6480194c 6109
8c27f5ff
SM
6110 * net/tramp-sh.el (tramp-maybe-open-connection):
6111 Catch 'uname-changed inside the progress reporter.
6480194c 6112
e5e916d8
GM
61132013-09-10 Glenn Morris <rgm@gnu.org>
6114
9a2c9b47
GM
6115 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6116
e5e916d8
GM
6117 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6118 returns "alternate access method" in mode (eg "-rw-r--r--.").
6119
144e38fe
GM
61202013-09-08 Glenn Morris <rgm@gnu.org>
6121
6122 * saveplace.el (load-save-place-alist-from-file):
6123 Demote errors. (Bug#15305)
6124
af9ff9e8
MA
61252013-09-08 Michael Albinus <michael.albinus@gmx.de>
6126
6127 Improve compatibility with older Emacsen, and XEmacs.
6128
6129 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6130 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6131 (with-tramp-progress-reporter): Do not let-bind `result'.
6132 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6133 (tramp-handle-make-auto-save-file-name): New function, moved from
6134 tramp-sh.el.
6135
6136 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6137 for `make-auto-save-file-name'.
8c27f5ff
SM
6138 (tramp-adb--gnu-switches-to-ash):
6139 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6140
6141 * net/tramp-cache.el (tramp-cache-print): Call
6142 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6143
6144 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6145 bound. It isn't for XEmacs.
6146
8c27f5ff
SM
6147 * net/tramp-compat.el (tramp-compat-copy-file):
6148 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6149 (tramp-compat-replace-regexp-in-string): New defun.
6150
6151 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6152 for `make-auto-save-file-name'.
6153 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6154 `copy-file'.
6155 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6156 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6157 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6158
8c27f5ff
SM
6159 * net/tramp-gw.el (tramp-gw-open-network-stream):
6160 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6161
8c27f5ff
SM
6162 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6163 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6164 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6165 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6166 (tramp-sh-file-inotifywait-process-filter):
6167 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6168 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6169
6170 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6171 for `make-auto-save-file-name'.
8c27f5ff
SM
6172 (tramp-smb-handle-copy-directory):
6173 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6174 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6175 (tramp-smb-handle-copy-file): Improve error message.
6176 (tramp-smb-handle-rename-file): Rename directly only in case
6177 `newname' does not exist yet. This is a restriction of smbclient.
6178 (tramp-smb-maybe-open-connection): Rerun the function only when
6179 `auth-sources' is non-nil.
6180
0ca754d0
KH
61812013-09-08 Kenichi Handa <handa@gnu.org>
6182
e0eb0550 6183 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6184 more characters.
6185
e8dd0787
AM
61862013-09-07 Alan Mackenzie <acm@muc.de>
6187
6188 Correctly fontify Java class constructors.
6189 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6190 in Java Mode.
6191 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6192 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6193 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6194 "typeless" declaration there.
6195
f2f248e7
RW
61962013-09-07 Roland Winkler <winkler@gnu.org>
6197
6198 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6199 field subtitle for entry type book.
6200
67982e2b
SM
62012013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * minibuffer.el: Make minibuffer-complete call completion-in-region
6204 rather than other way around.
6205 (completion--some, completion-pcm--find-all-completions):
6206 Don't delay signals when debugging.
6207 (minibuffer-completion-contents): Beware fields within the
6208 minibuffer contents.
6209 (completion-all-sorted-completions): Use defvar-local.
6210 (completion--do-completion, completion--cache-all-sorted-completions)
6211 (completion-all-sorted-completions, minibuffer-force-complete):
6212 Add args `beg' and `end'.
6213 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6214 (minibuffer-complete): Use completion-in-region.
6215 (completion-complete-and-exit): New fun, extracted from
6216 minibuffer-complete-and-exit.
6217 (minibuffer-complete-and-exit): Use it.
6218 (completion--complete-and-exit): Rename from
6219 minibuffer--complete-and-exit.
6220 (completion-in-region--single-word): New function, extracted from
6221 minibuffer-complete-word.
6222 (minibuffer-complete-word): Use it.
6223 (display-completion-list): Make `common-substring' argument obsolete.
6224 (completion--in-region): Call completion--in-region-1 instead of
6225 minibuffer-complete.
6226 (completion-help-at-point): Pass boundaries to
6227 minibuffer-completion-help as args rather than via an overlay.
6228 (completion-pcm--string->pattern): Use `any-delim'.
6229 (completion-pcm--optimize-pattern): New function.
6230 (completion-pcm--pattern->regex): Handle `any-delim'.
6231 * icomplete.el (icomplete-forward-completions)
6232 (icomplete-backward-completions, icomplete-completions):
6233 Adjust calls to completion-all-sorted-completions and
6234 completion--cache-all-sorted-completions.
6235 (icomplete-with-completion-tables): Default to t.
6236 * emacs-lisp/crm.el (crm--current-element): Rename from
6237 crm--select-current-element. Don't put an overlay but return the
6238 boundaries instead.
6239 (crm--completion-command): Take two new args to bind to the boundaries.
6240 (crm-completion-help): Adjust accordingly.
6241 (crm-complete): Use completion-in-region.
6242 (crm-complete-word): Use completion-in-region--single-word.
6243 (crm-complete-and-exit): Use completion-complete-and-exit.
6244
e17d94a5
SM
62452013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6248 than dynamically.
6249
96727100
JL
62502013-09-06 Juri Linkov <juri@jurta.org>
6251
6252 * info.el (Info-display-images-node): When image file doesn't exist
6253 display text version of the image if it's provided in the Info file.
6254 Otherwise, display the location of missing image from SRC attribute.
6255 Add help-echo text property from ALT attribute. (Bug#15279)
6256
86cf7329
SM
62572013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6260 (edit-abbrevs-mode): Use define-derived-mode.
6261
6262 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6263 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6264 that it's defined.
6265 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6266 Use define-derived-mode.
6267
6268 * epg.el (epg-start-encrypt): Minor CSE simplification.
6269
816244a2
WX
62702013-09-06 William Xu <william.xwl@gmail.com>
6271
6272 * arc-mode.el: Add support for 7za (bug#15264).
6273 (archive-7z-program): New var.
6274 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6275 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6276 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6277
1486fa31
MA
62782013-09-06 Michael Albinus <michael.albinus@gmx.de>
6279
6280 Remove URL syntax.
6281
6282 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6283 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6284 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6285 (tramp-postfix-host-format, tramp-file-name-regexp)
6286 (tramp-completion-file-name-regexp)
6287 (tramp-completion-dissect-file-name)
6288 (tramp-handle-substitute-in-file-name): Remove 'url case.
6289 (tramp-file-name-regexp-url)
6290 (tramp-completion-file-name-regexp-url): Remove constants.
6291
39785324
GM
62922013-09-06 Glenn Morris <rgm@gnu.org>
6293
6294 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6295
1f896cb7
DG
62962013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6297
6298 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6299 keywords" below "here-doc beginnings" (Bug#15270).
6300
c0458e0b
SM
63012013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * subr.el (pop): Use `car-safe'.
6304 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6305 to detect unused `pop' return value.
6306
6307 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6308 var `block-regexp'.
6309 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6310 (python-fill-string): Remove unused var `marker'.
6311 (python-skeleton-add-menu-items): Remove unused var `items'.
6312
6313 * international/mule-cmds.el: Require CL.
6314 (find-coding-systems-for-charsets): Avoid add-to-list.
6315 (sanitize-coding-system-list): New function, extracted from
6316 select-safe-coding-system-interactively.
6317 (select-safe-coding-system-interactively): Use it.
6318 (read-input-method-name): Accept symbols for `default'.
6319
6320 * emacs-lisp/advice.el (defadvice): Add indent rule.
6321
6c42fc3e
DH
63222013-09-05 Daniel Hackney <dan@haxney.org>
6323
6324 * dired-x.el:
6325 * net/ange-ftp.el:
6326 * net/browse-url.el:
6327 * net/dbus.el:
6328 * net/eudc.el:
6329 * net/eudcb-ldap.el:
6330 * net/eww.el:
6331 * net/imap.el:
6332 * printing.el:
6333 * vc/ediff-diff.el:
6334 * vc/ediff-init.el:
6335 * vc/ediff-merg.el:
6336 * vc/ediff-mult.el:
6337 * vc/ediff-util.el:
6338 * vc/ediff-wind.el:
6339 * vc/ediff.el:
6340 * vc/emerge.el:
6341 * vc/pcvs.el:
6342 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6343 byte compiler. Remove some unused let-bound variables.
6344
4c528aab
SM
63452013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6346
6347 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6348 a "ref-cell", since it gets better optimized (bug#14883).
6349
bd15c390
GM
63502013-09-05 Glenn Morris <rgm@gnu.org>
6351
6352 * progmodes/cc-awk.el (c-forward-sws): Declare.
6353
1c3ac2e5
GM
63542013-09-04 Glenn Morris <rgm@gnu.org>
6355
6356 * generic-x.el [rul-generic-mode]: Require cc-mode.
6357 (c++-mode-syntax-table): Declare.
6358 (rul-generic-mode-syntax-table): Init in the defvar.
6359
52b1cc79
SM
63602013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6361
c828af56
SM
6362 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6363 (vc-do-command, vc-set-async-update):
6364 * vc/vc-mtn.el (vc-mtn-dir-status):
6365 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6366 (vc-hg-pull, vc-hg-merge-branch):
6367 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6368 (vc-git-merge-branch):
6369 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6370 (vc-cvs-dir-status-files):
6371 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6372 (vc-bzr-dir-status-files):
6373 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6374 * vc/vc-annotate.el: Use lexical-binding.
6375 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6376 (vc-sentinel-movepoint): Declare.
6377 (vc-annotate): Don't use `goto-line'.
6378 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6379 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6380 (vc-sentinel-movepoint): Declare.
6381 * vc/vc-svn.el: Use lexical-binding.
6382 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6383 * vc/vc-sccs.el:
6384 * vc/vc-rcs.el: Use lexical-binding.
6385
abae272c
SM
6386 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6387 `deleted'. Don't drop errors silently.
6388
52b1cc79
SM
6389 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6390
63191d9f
XF
63912013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6392
6393 * vc/vc.el (vc-ignore): Rewrite.
6394 (vc-default-ignore): New function.
6395 (vc-default-ignore-completion-table): Use find-ignore-file.
6396
6397 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6398 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6399 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6400 Remove. Most code moved to vc.el.
6401
9d3f707c
SM
64022013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6403
abae272c 6404 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6405 * net/tramp-smb.el (tramp-smb-get-file-entries):
6406 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6407 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6408
fde38d49
SM
6409 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6410 Update call to it.
6411 (eww-change-select): Remove unused var `properties'.
6412 (eww-make-unique-file-name): Remove unused var `base'.
6413
6414 * finder.el (finder-compile-keywords): Don't mess with windows.
6415
84032db7
SM
6416 * calculator.el (calculator-funcall): Fix typo in last change.
6417
724f5e41
SM
6418 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6419
14b511d4
SM
6420 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6421 <pkg>-autoloads.el file stop us.
6422
9d3f707c 6423 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6424 warnings, and factor out common code.
9d3f707c 6425
88527bc0
DG
64262013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6427
6428 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6429 two-character operators and whether the character preceding them
6430 changes their meaning (Bug#15208).
6431
96edb677
FEG
64322013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6433
6434 Format code sent to Python shell for robustness.
9d3f707c
SM
6435 * progmodes/python.el (python-shell-buffer-substring):
6436 New function.
96edb677
FEG
6437 (python-shell-send-region, python-shell-send-buffer): Use it.
6438
95beaef3
MA
64392013-09-02 Michael Albinus <michael.albinus@gmx.de>
6440
6441 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6442 * net/tramp.el (tramp-user-error): ... here.
6443 (tramp-find-method, tramp-check-proper-host)
6444 (tramp-dissect-file-name, tramp-debug-message)
6445 (tramp-handle-shell-command):
6446 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6447 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6448
6449 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6450
f167c27b
MR
64512013-09-02 Martin Rudalics <rudalics@gmx.at>
6452
6453 * avoid.el (mouse-avoidance-point-position)
6454 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6455 returns nil.
6456
cd16c5f1
FEG
64572013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6458
6459 * progmodes/python.el (python-shell-completion-get-completions):
6460 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6461 (python-nav-if-name-main): New command.
cd16c5f1 6462
e73c3a0d
GM
64632013-09-01 Glenn Morris <rgm@gnu.org>
6464
f8ccce03
GM
6465 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6466 Avoid leading space in $wins. Otherwise the sed command used by
6467 eg compile-main ends up containing "/*.el". (Bug#15170)
6468
e73c3a0d
GM
6469 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6470
415f808e
GM
64712013-08-30 Glenn Morris <rgm@gnu.org>
6472
6473 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6474 Fix is-this-a-directory logic. (Bug#15220)
6475
f069bba8
SM
64762013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6477
112798c1
SM
6478 * textmodes/css-mode.el: Use SMIE.
6479 (css-smie-grammar): New var.
6480 (css-smie--forward-token, css-smie--backward-token)
6481 (css-smie-rules): New functions.
6482 (css-mode): Use them.
6483 (css-navigation-syntax-table): Remove var.
6484 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6485 (css-indent-calculate, css-indent-line): Remove functions.
6486
6487 Misc changes to reduce use of `(lambda...); and other cleanups.
6488 * cus-edit.el: Use lexical-binding.
6489 (customize-push-and-save, customize-apropos)
6490 (custom-buffer-create-internal): Use closures.
6491 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6492 * progmodes/ada-xref.el: Use setq.
6493 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6494 * dframe.el: Use lexical-binding.
6495 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6496 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6497 * descr-text.el: Use lexical-binding.
6498 (describe-text-widget, describe-text-sexp, describe-property-list):
6499 Use closures.
6500 * comint.el (comint-history-isearch-push-state): Use a closure.
6501 * calculator.el: Use lexical-binding.
6502 (calculator-number-to-string): Make it work with lexical-binding.
6503 (calculator-funcall): Same and use cl-letf.
6504
2da4c3ab
SM
6505 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6506 (lisp--company-doc-string, lisp--company-location): New functions.
6507 (lisp-completion-at-point): Use them to improve Company support.
6508
f069bba8
SM
6509 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6510 params of lambda expressions.
6511 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6512 (ruby-smie--opening-pipe-p): New function.
6513 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6514 symbols and matched |...| for formal params.
6515 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6516 from being treated as hanging. Handle "rescue".
6517
6758b6a8
GM
65182013-08-29 Glenn Morris <rgm@gnu.org>
6519
6520 * progmodes/cc-engine.el (c-pull-open-brace):
6521 Move definition before use.
6522
e8dfd197
SM
65232013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6524
6525 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6526 are immutable. Don't use `unsafe' any more.
6527 (cl--defsubst-expand): Don't substitute at the same time as keeping
6528 a residual unused let-binding. Don't use `unsafe' any more.
6529
cc585c96
GM
65302013-08-29 Glenn Morris <rgm@gnu.org>
6531
ba579ea6
GM
6532 * calendar/cal-china.el (calendar-chinese-year-cache):
6533 Recenter on 2015.
6534
8201a87e
GM
6535 * nxml/nxml-util.el (nxml-debug-clear-inside):
6536 Use cl-loop rather than loop.
6537
6ee877c7
GM
6538 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6539
cc585c96
GM
6540 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6541
27be8d39
GM
65422013-08-28 Glenn Morris <rgm@gnu.org>
6543
397440a1
GM
6544 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6545
2bb762d4
GM
6546 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6547
27be8d39
GM
6548 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6549
2d69b99e
SM
65502013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6551
f663baa7
SM
6552 * simple.el (repeat-complex-command--called-interactively-skip):
6553 New function.
6554 (repeat-complex-command): Use it (bug#14136).
6555
dd4f8b74
SM
6556 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6557 (c-define-abbrev-table): Add `doc' argument.
6558 (c-mode-abbrev-table, c++-mode-abbrev-table)
6559 (objc-mode-abbrev-table, java-mode-abbrev-table)
6560 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6561 (awk-mode-abbrev-table): Use it.
6562 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6563 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6564 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6565 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6566 Move initialization into the declaration; and remove any
6567 autoload cookie.
6568
b58969f7
SM
6569 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6570 and dynamic let binding.
6571
4021d6a6
SM
6572 * vc/smerge-mode.el: Remove redundant :group args.
6573
2d69b99e
SM
6574 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6575 to load-path.
6576
274919fd
JL
65772013-08-28 Juri Linkov <juri@jurta.org>
6578
6579 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6580 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6581 (isearch-other-meta-char): Handle an undefined shifted printing
6582 character by downshifting it. (Bug#15200)
6583
121f8c95
JL
65842013-08-28 Juri Linkov <juri@jurta.org>
6585
6586 * isearch.el (isearch-search): Change regexp error message for
6587 non-regexp searches. (Bug#15166)
6588
50b13cde
PE
65892013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6590
6591 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6592 for portability to hosts where /bin/sh has problems.
6593
95888bca
SM
65942013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6597
bbe558f1
JL
65982013-08-27 Juri Linkov <juri@jurta.org>
6599
6600 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6601 in the keyboard macro. (Bug#15126)
6602
26f98a7d
JL
66032013-08-27 Juri Linkov <juri@jurta.org>
6604
6605 * isearch.el (isearch-quote-char): Comment out converting unibyte
6606 to multibyte, thus syncing with its `quoted-insert' counterpart.
6607 (Bug#15166)
6608
7c97d35e
MR
66092013-08-27 Martin Rudalics <rudalics@gmx.at>
6610
6611 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6612 argument in call of get-largest-window (Bug#15185).
6613 Reported by Stephen Leake.
7c97d35e 6614
a0b5606e 66152013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6616
6617 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6618
9e89d835
SM
66192013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6620
6621 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6622 from a matcher-function unless there's no more matches (bug#15161).
6623
78fc2530
MA
66242013-08-26 Michael Albinus <michael.albinus@gmx.de>
6625
6626 * minibuffer.el: Revert change from 2013-08-20.
6627
6628 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6629 with text property `tramp-default', if appropriate.
6630 (tramp-check-proper-host): New defun.
6631 (tramp-dissect-file-name): Do not check hostname. Revert change
6632 of 2013-03-18.
6633 (tramp-backtrace): Make VEC-OR-PROC optional.
6634
6635 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6636 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6637 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6638 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6639 Apply `tramp-check-proper-host'.
78fc2530 6640
edca97cd
TH
66412013-08-26 Tassilo Horn <tsdh@gnu.org>
6642
6643 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6644 lambda expression in order to have `describe-variable' display it.
6645
df54bcbd
MA
66462013-08-26 Michael Albinus <michael.albinus@gmx.de>
6647
6648 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6649 BUF can be optional. (Bug#15186)
6650
eed99101
XF
66512013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6652
6653 * progmodes/flymake.el (flymake-get-real-file-name-function):
6654 Fix broken customization. (Bug#15184)
6655
b5eb9035
AM
66562013-08-25 Alan Mackenzie <acm@muc.de>
6657
8a51e842
AM
6658 Improve indentation of bracelists defined by macros (without "=").
6659
6660 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6661 expansion begins with "{", regard it as bracelist when it doesn't
6662 contain a ";".
6663
869455d4
AM
6664 Parse C++ inher-intro when there's a template split over 2 lines.
6665
6666 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6667 rigorously the search for "class" etc. followed by ":".
6668
6669 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6670 random languages a regexp which never matches rather than nil.
6671
b5eb9035
AM
6672 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6673
6674 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6675 (c-awk-regexp-one-line-possibly-open-char-list-re)
6676 (c-awk-one-line-possibly-open-regexp-re)
6677 (c-awk-one-line-non-syn-ws*-re): Remove.
6678 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6679 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6680 (c-awk-space*-unclosed-regexp-/-re): New constants.
6681 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6682 aren't regexp delimiters.
6683
6684 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6685 handling for a rare situation in AWK Mode involving unterminated
6686 strings/regexps.
6687
61611d54
GM
66882013-08-23 Glenn Morris <rgm@gnu.org>
6689
2d85dc34
GM
6690 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6691
cb8d2612
GM
6692 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6693
bb35f42f
GM
6694 * files.el (create-file-buffer): If the result would begin with
6695 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6696
b9808e77
SM
66972013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6698
e3a66363
SM
6699 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6700 text-properties (bug#15155).
6701
b9808e77
SM
6702 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6703 exist any more.
6704 (calc-keypad-redraw): Remove unused var `pad'.
6705 (calc-keypad-press): Remove unused var `menu'.
6706
7fd5f65e
MR
67072013-08-23 Martin Rudalics <rudalics@gmx.at>
6708
b9808e77
SM
6709 * window.el (display-buffer-pop-up-frame):
6710 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6711 use it as the new frame's buffer (Bug#15133).
6712
8352b530
SM
67132013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * calendar/timeclock.el: Minor cleanups.
6716 (timeclock-ask-before-exiting, timeclock-use-display-time):
6717 Use `symbol'.
6718 (timeclock-modeline-display): Define as alias before the
6719 actual definition.
6720 (timeclock-mode-line-display): Use define-minor-mode.
6721 (timeclock-day-list-template): Make it a function, add an argument.
6722 (timeclock-day-list-required, timeclock-day-list-length)
6723 (timeclock-day-list-debt, timeclock-day-list-span)
6724 (timeclock-day-list-break): Adjust calls accordingly.
6725
9f7b1925
SM
67262013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6727
6728 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6729 Use read--expression so that completion works again.
6730
6e50e983
SS
67312013-08-21 Sam Steingold <sds@gnu.org>
6732
6733 Add rudimentary inferior shell interaction
6734 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6735 (sh-set-shell): Reset it.
9f7b1925
SM
6736 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6737 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6738
dbb0d350
SM
67392013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * align.el: Use lexical-binding.
6742 (align-region): Simplify accordingly.
6743
c88586a9
MA
67442013-08-20 Michael Albinus <michael.albinus@gmx.de>
6745
6746 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6747
6748 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6749 `non-essential' up.
6750
f95527c8
MA
67512013-08-17 Michael Albinus <michael.albinus@gmx.de>
6752
6753 * net/tramp.el:
6754 * net/tramp-adb.el:
6755 * net/tramp-cmds.el:
6756 * net/tramp-ftp.el:
6757 * net/tramp-gvfs.el:
6758 * net/tramp-gw.el:
6759 * net/tramp-sh.el: Don't wrap external variable declarations by
6760 `eval-when-compile'.
6761
4b5fe4ee
LMI
67622013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6763
6764 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6765 now that Emacs supports ImageMagick animations.
6766
13c366c9
MA
67672013-08-16 Michael Albinus <michael.albinus@gmx.de>
6768
6769 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6770 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6771
3dfc5cd6
MR
67722013-08-16 Martin Rudalics <rudalics@gmx.at>
6773
6774 * window.el (mouse-autoselect-window-select): Do autoselect when
6775 mouse pointer is on margin.
6776
4bbb4381
WP
67772013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6778
6779 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6780
3a2ddc2d
GM
67812013-08-16 Glenn Morris <rgm@gnu.org>
6782
e8bedf5a
GM
6783 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6784 Handle "Remote Directory" response of some clients. (Bug#15058)
6785
58c4682f
GM
6786 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6787 Tweak warning. (Bug#14926)
6788
57953f49
GM
6789 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6790 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6791
3a2ddc2d
GM
6792 * image-mode.el (image-mode-map): Add menu items to reverse,
6793 increase, decrease, reset animation speed.
6794 (image--set-speed, image-increase-speed, image-decrease-speed)
6795 (image-reverse-speed, image-reset-speed): New functions.
6796 (image-mode-map): Add bindings for speed commands.
6797
6798 * image.el (image-animate-get-speed, image-animate-set-speed):
6799 New functions.
6800 (image-animate-timeout): Respect image :speed property.
6801
10fa0ed3
SM
68022013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6803
6804 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6805 previous line (bug#15101).
6806 (debugger-eval-expression, debugger-record-expression):
6807 Use read--expression (bug#15102).
6808
5d89d9d2
MA
68092013-08-15 Michael Albinus <michael.albinus@gmx.de>
6810
6811 Remove byte compiler warnings, visible when compiling with
6812 `byte-compile-force-lexical-warnings' set to t.
6813
6814 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6815 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6816 (tramp-handle-unhandled-file-name-directory)
6817 (tramp-handle-file-notify-add-watch, tramp-action-login)
6818 (tramp-action-succeed, tramp-action-permission-denied)
6819 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6820 arguments with "_".
6821
6822 * net/tramp-adb.el (tramp-adb-parse-device-names)
6823 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6824 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6825 (tramp-adb-handle-file-truename): Remove unused arguments.
6826
6827 * net/tramp-cache.el (tramp-flush-directory-property)
6828 (tramp-flush-connection-property, tramp-list-connections)
6829 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6830
10fa0ed3
SM
6831 * net/tramp-compat.el (tramp-compat-make-temp-file):
6832 Rename FILENAME to F.
5d89d9d2
MA
6833
6834 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6835 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6836 (tramp-zeroconf-parse-workstation-device-names)
6837 (tramp-zeroconf-parse-webdav-device-names)
6838 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6839
6840 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6841 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6842
6843 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6844 arguments.
6845 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6846 (tramp-sh-handle-insert-file-contents-literally)
6847 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6848 with "_".
6849 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6850 Remove unused variables.
6851
6852 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6853 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6854 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6855
6856 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6857 Make them a defconst.
6858 (tramp-uuencode-region): Remove unused variable.
6859
62f33bae
JB
68602013-08-14 Juanma Barranquero <lekktu@gmail.com>
6861
6862 * frameset.el (frameset--prop-setter): New function.
6863 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6864 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6865 parameter was already set in FILTERED. Doc fix.
6866 (frameset--record-minibuffer-relationships): Allow saving a
6867 minibufferless frame without its corresponding minibuffer frame.
6868 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6869 frame, if the frame id matches.
6870 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6871 frames before orphaned ones.
6872 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6873
c660a885
MR
68742013-08-14 Martin Rudalics <rudalics@gmx.at>
6875
6876 * window.el (window-make-atom): Don't overwrite parameter
6877 already present.
6878 (display-buffer-in-atom-window): Handle special case where we
6879 split an already atomic window.
6880 (window--major-non-side-window, display-buffer-in-side-window)
6881 (window--side-check): Ignore minibuffer window when walking
6882 window tree.
6883 (window-deletable-p): Return 'frame only if no other frame uses
6884 our minibuffer window.
6885 (record-window-buffer): Run buffer-list-update-hook.
6886 (split-window): Make sure window--check-frame won't destroy an
6887 existing atomic window in case the new window gets nested
6888 inside.
6889 (display-buffer-at-bottom): Ignore minibuffer window when
6890 walking window tree. Don't split a side window.
6891 (pop-to-buffer): Don't set-buffer here, the select-window call
6892 should do that.
6893 (mouse-autoselect-window-select): Autoselect only if we are in the
6894 text portion of the window.
6895
8259030d
LMI
68962013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6897
21c58ae2
LMI
6898 * net/shr.el (shr-parse-image-data): New function to grab both the
6899 data itself and the Content-Type.
6900 (shr-put-image): Use it.
6901
6902 * net/eww.el (eww-display-image): Ditto.
6903
8259030d
LMI
6904 * image.el (image-content-type-suffixes): New variable.
6905
ad756449
FEG
69062013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6907
6908 * progmodes/python.el (python-imenu--build-tree)
6909 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6910
f73f4ce6
XF
69112013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6912
6913 * simple.el (backward-word): Mention the optional argument.
6914
1f585e65
SM
69152013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6916
6917 * frameset.el (frameset--make): Rename constructor from make-frameset.
6918 (frameset-p, frameset-valid-p): Don't autoload.
6919 (frameset-valid-p): Use normal accessors.
6920
af1c6c84
GM
69212013-08-13 Glenn Morris <rgm@gnu.org>
6922
55e47f95
GM
6923 * progmodes/compile.el (compile-command): Tweak example in doc.
6924 * obsolete/scribe.el (scribe-mode):
6925 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6926
f0024d8c
GM
6927 * mail/feedmail.el (feedmail-confirm-outgoing)
6928 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6929
6930 * cus-start.el (truncate-partial-width-windows): Fix type.
6931
6932 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6933
af1c6c84
GM
6934 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6935
5514cc4c
SM
69362013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * emacs-lisp/timer.el (timer--time-setter): New function.
6939 (timer--time): Use it as gv-setter.
6940
6941 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6942 setter is not a symbol.
6943
7997a2f1
GJ
69442013-08-12 Grégoire Jadi <daimrod@gmail.com>
6945
6946 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6947 if sending fails. This makes debugging easier.
6948
01f1a9ab
JB
69492013-08-12 Juanma Barranquero <lekktu@gmail.com>
6950
6951 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6952 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6953 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6954
594a4307
EZ
69552013-08-12 Eli Zaretskii <eliz@gnu.org>
6956
6957 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6958
7a22490f 69592013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6960
6961 * format.el (format-annotate-function):
6962 Handle read-only text properties in the source. (Bug#14887)
6963
3e41a054
LMI
69642013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6965
5514cc4c
SM
6966 * net/eww.el (eww-display-html): Ignore coding system errors.
6967 One web site uses "utf-8lias" as the coding system.
3e41a054 6968
7ec326db
JB
69692013-08-11 Juanma Barranquero <lekktu@gmail.com>
6970
6971 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6972
5660113b
JB
69732013-08-10 Juanma Barranquero <lekktu@gmail.com>
6974
9a4ebc74
JB
6975 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6976 (tutorial--detailed-help): Remove unused local variables.
6977 (tutorial--save-tutorial-to): Use ignore-errors.
6978 (help-with-tutorial): Use looking-at-p.
6979
6980 * view.el (view-buffer-other-window, view-buffer-other-frame):
6981 Mark unused arguments.
6982
6983 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6984 (woman-select-symbol-fonts, woman, woman-find-file)
6985 (woman-insert-file-contents, woman-non-underline-faces):
6986 Use string-match-p.
6987 (woman1-unquote): Move declaration.
6988
6989 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6990 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6991 argument. Remove unused local variable.
6992 (xml-parse-elem-type): Use string-match-p.
6993 (xml-substitute-numeric-entities): Use ignore-errors.
6994
45fdb482
JB
6995 * calculator.el (calculator): Mark unused argument.
6996 (calculator-paste, calculator-quit, calculator-integer-p):
6997 Use ignore-errors.
6998 (calculator-string-to-number, calculator-decimal, calculator-exp)
6999 (calculator-op-or-exp): Use string-match-p.
7000
7001 * dired.el (dired-buffer-more-recently-used-p): Declare.
7002 (dired-insert-set-properties, dired-insert-old-subdirs):
7003 Use ignore-errors.
7004
7005 * dired-aux.el (dired-compress): Use ignore-errors.
7006 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7007 (dired-do-async-shell-command, dired-do-shell-command)
7008 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7009 (dired-insert-subdir-validate): Use string-match-p.
7010 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7011 (dired-add-entry): Use string-match-p, looking-at-p.
7012 (dired-insert-subdir-newpos): Remove unused local variable.
7013
7014 * filenotify.el (file-notify-callback): Remove unused local variable.
7015
7016 * filesets.el (filesets-error): Mark unused argument.
7017 (filesets-which-command-p, filesets-filter-dir-names)
7018 (filesets-directory-files, filesets-get-external-viewer)
7019 (filesets-ingroup-get-data): Use string-match-p.
7020
7021 * find-file.el (ff-other-file-name, ff-other-file-name)
7022 (ff-find-the-other-file, ff-cc-hh-converter):
7023 Remove unused local variables.
7024 (ff-get-file-name): Use string-match-p.
7025 (ff-all-dirs-under): Use ignore-errors.
7026
7027 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7028 (follow-select-if-visible): Remove unused local variable.
7029
7030 * forms.el (read-file-filter): Move declaration.
7031 (forms--make-format, forms--make-parser, forms-insert-record):
7032 Quote function with #'.
7033 (forms--update): Use string-match-p. Quote function with #'.
7034
7035 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7036 (help-make-xrefs): Use looking-at-p.
7037 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7038
7039 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7040 (ibuffer-confirm-operation-on): Use string-match-p.
7041
7042 * msb.el (msb-item-handler, msb-dired-item-handler):
7043 Mark unused arguments.
7044
7045 * ses.el (ses-decode-cell-symbol)
7046 (ses-kill-override): Remove unused local variable.
7047 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7048 (ses-load): Use ignore-errors, looking-at-p.
7049 (ses-jump-safe): Use ignore-errors.
7050 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7051
7052 * tabify.el (untabify, tabify): Mark unused arguments.
7053
7054 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7055 Mark unused argument.
7056 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7057 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7058
c880af52
JB
7059 * emacs-lisp/timer.el (timer--time): Define setter with
7060 gv-define-setter to avoid deprecation warning.
7061
5660113b 7062 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7063 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7064 (cmpl-statistics-block): Remove (body was commented out).
7065 All callers changed.
7066 (add-completions-from-buffer, load-completions-from-file):
7067 Remove unused variables.
7068
156aab80
JB
70692013-08-09 Juanma Barranquero <lekktu@gmail.com>
7070
5c5dee78
JB
7071 * filecache.el (file-cache-delete-file-list):
7072 Print message only when told so.
7073 (file-cache-files-matching): Use #' in mapconcat argument.
7074
156aab80
JB
7075 * ffap.el (ffap-url-at-point): Fix reference to variable
7076 thing-at-point-default-mail-uri-scheme.
7077
ad9dcd70
SM
70782013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7079
54bd972f
SM
7080 * subr.el (define-error): New function.
7081 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7082 error-file-not-found and define with define-error.
7083 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7084 and define with define-error.
7085 * userlock.el (file-locked, file-supersession):
7086 * simple.el (mark-inactive):
7087 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7088 * progmodes/ada-mode.el (ada-mode-errors):
7089 * play/life.el (life-extinct):
7090 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7091 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7092 * nxml/rng-util.el (rng-error):
7093 * nxml/rng-uri.el (rng-uri-error):
7094 * nxml/rng-match.el (rng-compile-error):
7095 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7096 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7097 * nxml/nxml-rap.el (nxml-scan-error):
7098 * nxml/nxml-outln.el (nxml-outline-error):
7099 * net/soap-client.el (soap-error):
7100 * net/gnutls.el (gnutls-error):
7101 * net/ange-ftp.el (ftp-error):
7102 * mpc.el (mpc-proc-error):
7103 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7104 (json-number-format, json-string-escape, json-string-format)
7105 (json-key-format, json-object-format):
7106 * jka-compr.el (compression-error):
7107 * international/quail.el (quail-error):
7108 * international/kkc.el (kkc-error):
7109 * emacs-lisp/ert.el (ert-test-failed):
7110 * calc/calc.el (calc-error, inexact-result, math-overflow)
7111 (math-underflow):
7112 * bookmark.el (bookmark-error-no-filename):
7113 * epg.el (epg-error): Define with define-error.
7114
0ea9e53a
SM
7115 * time.el (display-time-event-handler)
7116 (display-time-next-load-average): Don't call sit-for since it seems
7117 unnecessary (bug#15045).
7118
b0429158
SM
7119 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7120 Use #' instead of ' to quote functions.
7121 (checkdoc-output-mode): Use setq-local.
7122 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7123 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7124 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7125 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7126 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7127 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7128 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7129 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7130
ad9dcd70
SM
7131 * ido.el (ido-completion-help): Fix up compiler warning.
7132
77187e6f
JB
71332013-08-09 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * frameset.el (frameset-p): Add autoload cookie.
7136 (frameset--jump-to-register): New function, based on code moved from
7137 register.el.
7138 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7139
7140 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7141 (frameset-restore, frameset-save, frameset-session-filter-alist):
7142 Remove declarations.
7143 (register-alist): Doc fix.
7144 (frameset-to-register): Move to frameset.el.
7145 (jump-to-register, describe-register-1): Remove frameset-specific code.
7146
9d3aa82c
JB
71472013-08-08 Juanma Barranquero <lekktu@gmail.com>
7148
7149 * allout-widgets.el (allout-widgets-pre-command-business)
7150 (allout-widgets-post-command-business)
7151 (allout-widgets-after-change-handler)
7152 (allout-decorate-item-and-context, allout-set-boundary-marker)
7153 (allout-body-modification-handler)
7154 (allout-graphics-modification-handler): Mark ignored arguments.
7155 (allout-widgets-post-command-business)
7156 (allout-widgets-exposure-change-processor)
7157 (allout-widgets-exposure-undo-processor)
7158 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7159 (allout-parse-item-at-point, allout-decorate-item-guides)
7160 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7161 * allout.el (epa-passphrase-callback-function): Declare.
7162 (allout-overlay-insert-in-front-handler)
7163 (allout-overlay-interior-modification-handler)
7164 (allout-isearch-end-handler, allout-chart-siblings)
7165 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7166 (allout-yank-processing, allout-process-exposed)
7167 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7168 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7169 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7170 (lisp-indent-defform): Mark ignored arguments.
7171 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7172 (calculate-lisp-indent): Remove unused variables.
7173 * international/characters.el (indian-2-column, arabic-2-column)
7174 (tibetan): Mark ignored arguments.
7175 (use-cjk-char-width-table): Mark ignored arguments.
7176 Remove unused variables.
7177 * international/fontset.el (build-default-fontset-data)
7178 (x-compose-font-name, create-fontset-from-fontset-spec):
7179 Mark ignored arguments.
7180 (fontset-plain-name): Remove unused variables.
7181 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7182 (keyboard-coding-system): Mark ignored arguments.
7183 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7184 * help.el (resize-temp-buffer-window):
7185 * window.el (display-buffer-in-major-side-window)
7186 (display-buffer-in-side-window, display-buffer-in-previous-window):
7187 Remove unused variables.
7188 * isearch.el (isearch-forward-symbol):
7189 * version.el (emacs-bzr-version-bzr):
7190 * international/mule-cmds.el (current-language-environment):
7191 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7192 (x-handle-display):
7193 * term/pc-win.el (x-list-fonts, x-display-planes)
7194 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7195 (x-server-version, x-display-screens, x-display-mm-height)
7196 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7197 (x-selection-owner-p, x-own-selection-internal)
7198 (x-disown-selection-internal, x-get-selection-internal)
7199 (msdos-initialize-window-system):
7200 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7201 * term/x-win.el (x-handle-no-bitmap-icon):
7202 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7203 (vc-default-find-file-hook, vc-default-extra-menu):
7204 Mark ignored arguments.
7205
0ca3f70e
SM
72062013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7207
7208 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7209 break-condition in the context of the debugged code (bug#12685).
7210
74c5d24c
CS
72112013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7212
7213 * comint.el:
7214 Do not use an overlay to highlight the last prompt. (Bug#14744)
7215 (comint-mode): Make comint-last-prompt buffer local.
7216 (comint-last-prompt): New variable.
7217 (comint-last-prompt-overlay): Remove. Superseded by
7218 comint-last-prompt.
0ca3f70e
SM
7219 (comint-snapshot-last-prompt, comint-output-filter):
7220 Use comint-last-prompt.
74c5d24c 7221
c03c02ee
JB
72222013-08-08 Juanma Barranquero <lekktu@gmail.com>
7223
a3738d20 7224 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7225 (frameset-save): Check validity of the resulting frameset.
7226
04263d23
XF
72272013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7228
7229 * ido.el (ido-record-command): Add doc string.
7230
76c5e5ab
JB
72312013-08-08 Juanma Barranquero <lekktu@gmail.com>
7232
7233 * frameset.el (frameset): Do not disable creation of the default
7234 frameset-p predicate. Doc fix.
7235 (frameset-valid-p): New function, copied from the old predicate-p.
7236 Add additional checks.
7237 (frameset-restore): Check with frameset-valid-p.
7238 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7239 (frameset-name, frameset-description, frameset-properties)
7240 (frameset-states): Add docstring.
f9dbf1cb
JB
7241 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7242 (frameset-filter-alist): Doc fixes.
76c5e5ab 7243
bd0c3c0b
JB
72442013-08-08 Juanma Barranquero <lekktu@gmail.com>
7245
7246 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7247
c735544c
SM
72482013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7249
7250 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7251 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7252 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7253 (byte-compile-normal-call): Remove obsolescence check.
7254
2805a651
JB
72552013-08-08 Juanma Barranquero <lekktu@gmail.com>
7256
3677ffeb
JB
7257 * frameset.el (frameset-restore): Doc fix.
7258
2805a651
JB
7259 * register.el (frameset-frame-id, frameset-frame-with-id)
7260 (frameset-p, frameset-restore, frameset-save): Declare.
7261 (register-alist): Document framesets.
7262 (frameset-session-filter-alist): Declare.
7263 (frameset-to-register): New function.
7264 (jump-to-register): Implement jumping to framesets. Doc fix.
7265 (describe-register-1): Describe framesets.
7266
7267 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7268
a912c016
JB
72692013-08-07 Juanma Barranquero <lekktu@gmail.com>
7270
7271 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7272 Use lexical-binding.
7273
7274 * frameset.el (frameset): Use type vector, not list (incompatible
7275 change). Do not declare a new constructor, use the default one.
7276 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7277 `name' and `description', respectively, and add read-only slot
7278 `timestamp'. Doc fixes.
7279 (frameset-copy, frameset-persistent-filter-alist)
7280 (frameset-filter-alist, frameset-switch-to-gui-p)
7281 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7282 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7283 (frameset-filter-iconified, frameset-keep-original-display-p):
7284 Doc fixes.
7285 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7286 Rename from frameset-filter-(save|restore)-param. All callers changed.
7287 Doc fix.
7288 (frameset-p): Adapt to change to vector and be more thorough.
7289 Change arg name to OBJECT. Doc fix.
7290 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7291 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7292 All callers changed.
7293 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7294 All callers changed.
7295 (frameset--record-minibuffer-relationships): Rename from
7296 frameset--process-minibuffer-frames. All callers changed.
7297 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7298 Use new default constructor (again). Doc fix.
c295fc18 7299 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7300 All callers changed.
7301 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7302 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7303 Doc fix.
7304 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7305 PARAMETERS and WINDOW-STATE, respectively.
7306 (frameset-restore): Add new keyword argument PREDICATE.
7307 Reset frameset--target-display to nil. Doc fix.
7308
bb41480a
SM
73092013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7310
f001e98e
SM
7311 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7312 (bat-mode): Use it.
7313 (bat-mode-syntax-table): Mark \n as end-of-comment.
7314 (bat-font-lock-keywords): Remove comment rule.
7315
7679edb1
SM
7316 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7317 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7318
bb41480a
SM
7319 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7320 (byte-compile-callargs-warn): Use `push'.
7321 (byte-compile-arglist-warn): Ignore higher-order "calls".
7322 (byte-compile-file-form-autoload): Use `pcase'.
7323 (byte-compile-function-form): If quoting a symbol, check that it exists.
7324
cdc1ebb9
EZ
73252013-08-07 Eli Zaretskii <eliz@gnu.org>
7326
7327 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7328 and add a few popular commands found in batch files.
7329 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7330 (dos-mode): Doc fixes.
7331
312b1740
SM
73322013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7335 (dos-mode): Use setq-local. Add space after "rem".
7336 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7337 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7338
400a3178
AM
73392013-08-07 Arni Magnusson <arnima@hafro.is>
7340
7341 * progmodes/dos.el: New file.
7342 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7343 dos-mode.
7344
3b5c03d3
GM
73452013-08-06 Glenn Morris <rgm@gnu.org>
7346
7347 * calendar/calendar.el: Add new faces, and day-header-array.
7348 (calendar-weekday-header, calendar-weekend-header)
7349 (calendar-month-header): New faces.
7350 (calendar-day-header-construct): New function.
7351 (calendar-day-header-width): Also :set calendar-day-header-array.
7352 (calendar-american-month-header, calendar-european-month-header)
7353 (calendar-iso-month-header): Use calendar- faces.
7354 (calendar-generate-month):
7355 Use calendar-day-header-array for day headers; apply faces to them.
7356 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7357 (calendar-abbrev-construct): Add optional maxlen argument.
7358 (calendar-day-name-array): Doc fix.
7359 (calendar-day-name-array, calendar-abbrev-length)
7360 (calendar-day-abbrev-array):
7361 Also :set calendar-day-header-array, and maybe redraw.
7362 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 7363 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
7364 (calendar-day-name): Add option to use header array.
7365
ec6a2d7a
LMI
73662013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7367
7368 * net/shr.el (shr-render-td): Remove debugging.
7369 (shr-render-td): Make width computation consistent by defaulting
7370 all zero-width columns to 10 characters. This may not be optimal,
7371 but it's at least consistent.
2122cb6d
LMI
7372 (shr-make-table-1): Redo last change to fix the real problem in
7373 colspan handling.
ec6a2d7a 7374
ed4fd9c5
DA
73752013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7376
0ca3f70e
SM
7377 * files.el (cache-long-line-scans):
7378 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 7379
64e22afe
JB
73802013-08-06 Juanma Barranquero <lekktu@gmail.com>
7381
024b38fc
JB
7382 * frameset.el (frameset, frameset-filter-alist)
7383 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7384 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7385 (frameset-compute-pos): Rename from frameset--compute-pos,
7386 and add docstring.
7387 (frameset-move-onscreen): Use frameset-compute-pos.
7388 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7389
64e22afe
JB
7390 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7391 Fix typos in docstrings.
7392
c8c2aca8
DA
73932013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7394
7395 * frame.el (get-other-frame): Tiny cleanup.
7396
1d237bba
JB
73972013-08-06 Juanma Barranquero <lekktu@gmail.com>
7398
8951efef
JB
7399 * vc/vc.el (vc-default-ignore-completion-table):
7400 Silence byte-compiler warning.
7401
307764cc 7402 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7403 slot, which can indeed be nil.
307764cc
JB
7404 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7405 Move entry for `left' from persistent to live filter alist.
7406 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7407 Doc fixes.
7408 (frameset-filter-params): When restoring a frame, copy items added to
7409 `filtered', to avoid unwittingly modifying the original parameters.
7410 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7411 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7412
1d237bba
JB
7413 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7414 to use looking-at-p instead of looking-at. (Bug#15028)
7415
dc6c0eda
SM
74162013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7417
7418 Revert introduction of isearch-filter-predicates (bug#14714).
7419 Rely on add-function instead.
7420 * isearch.el (isearch-filter-predicates): Rename it back to
7421 isearch-filter-predicate.
7422 (isearch-message-prefix): Use advice-function-mapc and advice
7423 properties to get the isearch-message-prefix.
7424 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7425 instead of run-hook-with-args-until-failure.
7426 (isearch-filter-visible): Not obsolete any more.
7427 * loadup.el: Preload nadvice.
7428 * replace.el (perform-replace): Revert to funcall
7429 instead of run-hook-with-args-until-failure.
7430 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7431 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7432 dired-isearch-filenames-toggle; make it into a proper minor mode.
7433 Use add/remove-function.
7434 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7435 Call the minor-mode rather than add/remove-hook.
7436 (dired-isearch-filter-filenames):
7437 Remove isearch-message-prefix property.
7438 * info.el (Info--search-loop): New function, extracted from Info-search.
7439 Funcall isearch-filter-predicate instead of
7440 run-hook-with-args-until-failure isearch-filter-predicates.
7441 (Info-search): Use it.
7442 (Info-mode): Use isearch-filter-predicate instead of
7443 isearch-filter-predicates.
7444
290d5b58
DA
74452013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7446
7447 Do not call to `selected-window' where it is assumed by default.
7448 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7449 `window-hscroll', `window-width', `window-height', `window-buffer',
7450 `window-frame', `window-start', `window-point', `next-window'
7451 and `window-display-table'.
7452 * abbrev.el (abbrev--default-expand):
7453 * bs.el (bs--show-with-configuration):
7454 * buff-menu.el (Buffer-menu-mouse-select):
7455 * calc/calc.el (calc):
7456 * calendar/calendar.el (calendar-generate-window):
7457 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7458 (diary-make-entry):
7459 * comint.el (send-invisible, comint-dynamic-complete-filename)
7460 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7461 * completion.el (complete):
7462 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7463 * disp-table.el (describe-current-display-table):
7464 * doc-view.el (doc-view-insert-image):
7465 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7466 * ehelp.el (with-electric-help):
7467 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7468 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7469 * emacs-lisp/helper.el (Helper-help-scroller):
7470 * emulation/cua-base.el (cua--post-command-handler-1):
7471 * eshell/esh-mode.el (eshell-output-filter):
7472 * ffap.el (ffap-gnus-wrapper):
7473 * help-macro.el (make-help-screen):
7474 * hilit-chg.el (highlight-compare-buffers):
7475 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7476 * hl-line.el (global-hl-line-highlight):
7477 * icomplete.el (icomplete-simple-completing-p):
7478 * isearch.el (isearch-done):
7479 * jit-lock.el (jit-lock-stealth-fontify):
7480 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7481 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7482 * mpc.el (mpc-tagbrowser, mpc):
7483 * net/rcirc.el (rcirc-any-buffer):
7484 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7485 * play/landmark.el (landmark-max-width, landmark-max-height):
7486 * play/zone.el (zone):
7487 * progmodes/compile.el (compilation-goto-locus):
7488 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7489 * progmodes/etags.el (find-tag-other-window):
7490 * progmodes/fortran.el (fortran-column-ruler):
7491 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7492 * progmodes/verilog-mode.el (verilog-point-text):
7493 * reposition.el (reposition-window):
7494 * rot13.el (toggle-rot13-mode):
7495 * server.el (server-switch-buffer):
7496 * shell.el (shell-dynamic-complete-command)
7497 (shell-dynamic-complete-environment-variable):
7498 * simple.el (insert-buffer, set-selective-display)
7499 (delete-completion-window):
7500 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7501 (speedbar-recenter):
7502 * startup.el (fancy-splash-head):
7503 * textmodes/ispell.el (ispell-command-loop):
7504 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7505 * tutorial.el (help-with-tutorial):
7506 * vc/add-log.el (add-change-log-entry):
7507 * vc/compare-w.el (compare-windows):
7508 * vc/ediff-help.el (ediff-indent-help-message):
7509 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7510 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7511 (ediff-setup-control-frame):
7512 * vc/emerge.el (emerge-position-region):
7513 * vc/pcvs-util.el (cvs-bury-buffer):
7514 * window.el (walk-windows, mouse-autoselect-window-select):
7515 * winner.el (winner-set-conf, winner-undo): Related users changed.
7516
38276e01
JB
75172013-08-05 Juanma Barranquero <lekktu@gmail.com>
7518
7519 * frameset.el (frameset--set-id): Doc fix.
7520 (frameset-frame-id, frameset-frame-id-equal-p)
7521 (frameset-locate-frame-id): New functions.
7522 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7523 (frameset-restore): Use them.
7524
12b4c0ea
DA
75252013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7526
7527 Do not call to `selected-frame' where it is assumed by default.
7528 Affected functions are `raise-frame', `redraw-frame',
7529 `frame-first-window', `frame-terminal' and `delete-frame'.
7530 * calendar/appt.el (appt-disp-window):
7531 * epg.el (epg-wait-for-completion):
7532 * follow.el (follow-delete-other-windows-and-split)
7533 (follow-avoid-tail-recenter):
7534 * international/mule.el (set-terminal-coding-system):
7535 * mail/rmail.el (rmail-mail-return):
7536 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7537 * progmodes/f90.el (f90-add-imenu-menu):
7538 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7539 * server.el (server-switch-buffer):
7540 * simple.el (delete-completion-window):
7541 * talk.el (talk):
7542 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7543 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7544 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7545 * vc/ediff.el (ediff-documentation): Related users changed.
7546 * frame.el (selected-terminal): Remove the leftover.
7547
17f25e76
GM
75482013-08-05 Glenn Morris <rgm@gnu.org>
7549
7550 * calendar/calendar.el (calendar-generate-month):
7551 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7552 (calendar-generate-month, calendar-font-lock-keywords):
7553 Fix for calendar-day-header-width > length of any day name.
17f25e76 7554
063233c3
JB
75552013-08-05 Juanma Barranquero <lekktu@gmail.com>
7556
7557 * desktop.el (desktop-clear): Use new name of sort predicate.
7558
7559 * frameset.el (frameset): Add docstring. Move :version property to its
7560 own `version' slot.
7561 (frameset-copy): Rename from copy-frameset.
7562 (frameset-p): Check more thoroughly.
7563 (frameset-prop): Do not check for :version, which is no longer a prop.
7564 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7565 Use new :never value instead of t.
7566 (frameset-filter-alist): Expand and clarify docstring.
7567 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7568 (frameset-filter-minibuffer, frameset-filter-save-param)
7569 (frameset-filter-restore-param, frameset-filter-iconified):
7570 Add pointer to docstring of frameset-filter-alist.
7571 (frameset-filter-params): Rename filter values to be more meaningful:
7572 :never instead of t, and reverse the meanings of :save and :restore.
7573 (frameset--process-minibuffer-frames): Clarify error message.
7574 (frameset-save): Avoid unnecessary and confusing call to framep.
7575 Use new BOA constructor for framesets.
7576 (frameset--reuse-list): Doc fix.
7577 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7578 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7579 (frameset-minibufferless-first-p): Doc fix.
7580 Rename from frameset-sort-frames-for-deletion.
7581 (frameset-restore): Doc fixes. Use new function names.
7582 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7583
d5671a82
JB
75842013-08-04 Juanma Barranquero <lekktu@gmail.com>
7585
7586 * desktop.el (desktop-restore-forces-onscreen)
7587 (desktop-restore-reuses-frames): Document :keyword constant values.
7588 (desktop-filter-parameters-alist): Remove, now identical to
7589 frameset-filter-alist.
7590 (desktop--filter-tty*): Remove, moved to frameset.el.
7591 (desktop-save-frameset, desktop-restore-frameset):
7592 Do not pass :filters argument.
7593
7594 * frameset.el (frameset-live-filter-alist)
7595 (frameset-persistent-filter-alist): New variables.
7596 (frameset-filter-alist): Use them. Add autoload cookie.
7597 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7598 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7599 `frameset--id' (it's supposed to be internal to frameset.el).
7600 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7601 (frameset--initial-params): New function.
7602 (frameset--get-frame): Use it. Doc fix.
7603 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7604 Accept :all, not 'all.
7605 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7606 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7607 with fbound symbols. Fix frame id matching, and remove matching ids if
7608 the frame being restored is deleted. Obey :delete.
7609
671d5c16
SM
76102013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * subr.el (macrop): New function.
7613 (text-clone--maintaining): New var.
7614 (text-clone--maintain): Rename from text-clone-maintain. Use it
7615 instead of inhibit-modification-hooks.
7616
7617 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7618 a proxy, so as handle autoloads and redefinitions of the target.
7619 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7620
7621 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7622 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7623 (pcase--mutually-exclusive-p): New function.
7624 (pcase--split-consp): Use it.
7625 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7626 mutually exclusive with the current predicate.
7627
7628 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7629 (edebug-macrop): Remove. Use `macrop' instead.
7630 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7631 (ad-macro-p):
7632 * eshell/esh-cmd.el (eshell-macrop):
7633 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7634
1d44e9dc
SM
76352013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7636
7637 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7638 (advice-mapc): New function, using it.
7639 (advice-function-member-p): New function.
7640 (advice--normalize): Store the cdr in advice--saved-rewrite since
7641 that's the part that will be changed.
7642 (advice--symbol-function): New function.
7643 (advice-remove): Handle removal before the function is defined.
7644 Adjust to new advice--saved-rewrite.
7645 (advice-member-p): Use advice-function-member-p and
7646 advice--symbol-function.
7647
5414a283
JB
76482013-08-04 Juanma Barranquero <lekktu@gmail.com>
7649
51d30f2c
JB
7650 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7651 (frameset-filter-minibuffer): Doc fix.
7652 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7653 (frameset--set-id, frameset--process-minibuffer-frames)
7654 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7655 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7656
5414a283
JB
7657 * desktop.el (desktop-clear): Only delete frames when called
7658 interactively and desktop-restore-frames is non-nil. Doc fix.
7659 (desktop-read): Set desktop-saved-frameset to nil.
7660
ab419665
XF
76612013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7662
7663 * vc/vc.el (vc-ignore): Rewrite.
7664 (vc-default-ignore-completion-table):
7665 (vc--read-lines):
7666 (vc--add-line, vc--remove-regexp): New functions.
7667
7668 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7669 (vc-svn-ignore-completion-table): New function.
7670
7671 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7672 (vc-hg-ignore-completion-table):
7673 (vc-hg-find-ignore-file): New functions.
7674
7675 * vc/vc-git.el (vc-git-ignore): Rewrite.
7676 (vc-git-ignore-completion-table):
7677 (vc-git-find-ignore-file): New functions.
7678
7679 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7680
7681 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7682 (vc-bzr-ignore-completion-table):
7683 (vc-bzr-find-ignore-file): New functions.
7684
2613dea2
JB
76852013-08-03 Juanma Barranquero <lekktu@gmail.com>
7686
7687 * frameset.el (frameset-prop): New function and setter.
7688 (frameset-save): Do not modify frame list passed by the caller.
7689
9c959872
SM
76902013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7693
a104f656
SM
76942013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7695
70122acf
SM
7696 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7697 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7698
a104f656
SM
7699 * custom.el (custom-initialize-default, custom-initialize-set)
7700 (custom-initialize-reset, custom-initialize-changed): Affect the
7701 toplevel-default-value (bug#6275, bug#14586).
7702 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7703 for bug#6275.
7704
f078d570
JB
77052013-08-02 Juanma Barranquero <lekktu@gmail.com>
7706
185e3b5a
JB
7707 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7708 Add cl-def* expressions.
7709
f078d570
JB
7710 * frameset.el (frameset-filter-params): Fix order of arguments.
7711
9421876d
JB
77122013-08-02 Juanma Barranquero <lekktu@gmail.com>
7713
7714 Move code related to saving frames to frameset.el.
7715 * desktop.el: Require frameset.
7716 (desktop-restore-frames): Doc fix.
7717 (desktop-restore-reuses-frames): Rename from
7718 desktop-restoring-reuses-frames.
7719 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7720 (desktop-clear): Clear frames too.
7721 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7722 (desktop--filter-tty*, desktop-save, desktop-read):
7723 Use frameset functions.
7724 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7725 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7726 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7727 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7728 (desktop--process-minibuffer-frames, desktop-save-frames)
7729 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7730 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7731 (desktop--sort-states, desktop-restoring-frames-p)
7732 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7733 (desktop-restoring-frameset-p, desktop-restore-frameset)
7734 (desktop--check-dont-save, desktop-save-frameset): New functions.
7735 (desktop--app-id): New constant.
7736 (desktop-first-buffer, desktop-buffer-ok-count)
7737 (desktop-buffer-fail-count): Move before first use.
7738 * frameset.el: New file.
7739
76dc5996
SM
77402013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * files.el: Use lexical-binding.
7743 (dir-locals-read-from-file): Remove unused `err' variable.
7744 (hack-dir-local-variables--warned-coding): New var.
7745 (hack-dir-local-variables): Use it to avoid repeated warnings.
7746 (make-backup-file-name--default-function): New function.
7747 (make-backup-file-name-function): Use it as default.
7748 (buffer-stale--default-function): New function.
7749 (buffer-stale-function): Use it as default.
7750 (revert-buffer-insert-file-contents--default-function): New function.
7751 (revert-buffer-insert-file-contents-function): Use it as default.
7752 (insert-directory): Avoid add-to-list.
7753
7754 * autorevert.el (auto-revert-handler): Simplify.
7755 Use buffer-stale--default-function.
7756
06d36e2b
TH
77572013-08-01 Tassilo Horn <tsdh@gnu.org>
7758
5f648ab4
TH
7759 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7760
06d36e2b
TH
7761 * whitespace.el (whitespace-ensure-local-variables): New function.
7762 (whitespace-cleanup-region): Call it.
7763 (whitespace-turn-on): Call it.
7764
a43dc424
MA
77652013-08-01 Michael Albinus <michael.albinus@gmx.de>
7766
7767 Complete file name handlers.
7768
7769 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7770 (tramp-handle-verify-visited-file-modtime)
7771 (tramp-handle-file-notify-rm-watch): New functions.
7772 (tramp-call-process): Do not bind `default-directory'.
7773
44e18199
JB
7774 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7775 Order alphabetically.
afe1e4c8
GM
7776 <access-file, add-name-to-file, dired-call-process>:
7777 <dired-compress-file, file-acl, file-notify-rm-watch>:
7778 <file-ownership-preserved-p, file-selinux-context>:
7779 <make-directory-internal, make-symbolic-link, set-file-acl>:
7780 <set-file-selinux-context, set-visited-file-modtime>:
7781 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7782 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7783
7784 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
7785 <file-notify-add-watch, file-notify-rm-watch>:
7786 <set-file-times, set-visited-file-modtime>:
7787 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7788 (with-tramp-gvfs-error-message)
7789 (tramp-gvfs-handle-set-visited-file-modtime)
7790 (tramp-gvfs-fuse-file-name): Remove.
7791 (tramp-gvfs-handle-file-notify-add-watch)
7792 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7793 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7794
44e18199
JB
7795 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7796 Order alphabetically.
afe1e4c8
GM
7797 <file-notify-rm-watch>: Use default Tramp handler.
7798 <executable-find>: Remove private handler.
a43dc424
MA
7799 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7800 `default-directory'.
7801 (tramp-sh-handle-executable-find)
7802 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7803 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7804 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7805 Do not use `format' in `tramp-message'.
7806
7807 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
7808 <file-notify-rm-watch, set-visited-file-modtime>:
7809 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7810 (tramp-smb-call-winexe): Do not bind `default-directory'.
7811
7188b515
XF
78122013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7813
7814 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7815
2412ee1a
DG
78162013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7817
7818 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7819 use it.
7820 (log-view-diff-changeset): Same.
7821 (log-view-diff-common): Call backend command `previous-revision'
7822 to find out the previous revision, in both cases. Swap the
7823 variables `to' and `fr', so that `fr' usually refers to the
7824 earlier revision (Bug#14989).
7825
5002a754
KRC
78262013-07-31 Kan-Ru Chen <kanru@kanru.info>
7827
7828 * ibuf-ext.el (ibuffer-filter-by-filename):
7829 Make it work with dired buffers too.
7830
44e18199 78312013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7832
7833 * emacs-lisp/re-builder.el (reb-color-display-p):
7834 * files.el (save-buffers-kill-terminal):
7835 * net/browse-url.el (browse-url):
7836 * server.el (server-save-buffers-kill-terminal):
7837 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7838 Prefer nil to selected-frame for the first arg of frame-parameter.
7839
aeca3fbb
XF
78402013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7841
7842 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7843
158bc55c
SB
78442013-07-30 Stephen Berman <stephen.berman@gmx.net>
7845
7846 * minibuffer.el (completion--twq-all): Try and preserve each
7847 completion's case choice (bug#14907).
7848
d50fceab
LMI
78492013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7850
ac38e731
LMI
7851 * net/network-stream.el (open-network-stream): Mention the new
7852 :nogreeting parameter.
7853 (network-stream-open-starttls): Use the :nogreeting parameter
7854 (bug#14938).
7855
1211de50
LMI
7856 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7857
997798bf
LMI
7858 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7859 more natural than popping.
7860
d50fceab 7861 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7862 (shr-urlify): Highlight under mouse.
d50fceab 7863
5c09de04
XF
78642013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7865
207d1d04
XF
7866 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7867
7868 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7869
5c09de04
XF
7870 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7871 buffer for output.
7872
3cd51eaa
XF
7873 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7874 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7875
44e18199 7876 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7877 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7878
7879 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7880
7881 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7882 buffer for output.
7883
35a89bdd
EZ
78842013-07-29 Eli Zaretskii <eliz@gnu.org>
7885
7886 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7887 initial frame is minibuffer-less. (Bug#14841)
7888
78822e94
MA
78892013-07-29 Michael Albinus <michael.albinus@gmx.de>
7890
7891 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7892 option.
7893
7894 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7895 (tramp-maybe-open-connection): Use it.
7896
9503c190
JB
78972013-07-28 Juanma Barranquero <lekktu@gmail.com>
7898
7899 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7900 minimal set of parameters passed when creating a frame, because
7901 the minibuffer status of a frame cannot be changed later.
7902
d5a845b4
SB
79032013-07-28 Stephen Berman <stephen.berman@gmx.net>
7904
7905 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7906 replace-regexp-in-string and inadvertent omissions in previous change.
7907 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7908 name of filtered items buffer.
d5a845b4 7909
ddeffb17
JB
79102013-07-28 Juanma Barranquero <lekktu@gmail.com>
7911
7912 * desktop.el: Optionally force offscreen frames back onscreen.
7913 (desktop-restoring-reuses-frames): New option.
7914 (desktop--compute-pos, desktop--move-onscreen): New functions.
7915 (desktop--make-frame): Use desktop--move-onscreen.
7916
f5950f7a
AM
79172013-07-27 Alan Mackenzie <acm@muc.de>
7918
7919 Fontify a Java generic method as a function.
7920 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7921 value to t.
7922
ae43b66a
SB
79232013-07-27 Stephen Berman <stephen.berman@gmx.net>
7924
7925 * calendar/todo-mode.el: Add command to rename todo files.
7926 (todo-rename-file): New command.
7927 (todo-key-bindings-t): Add key binding for it. Change the
7928 bindings of todo-filter-regexp-items(-multifile) to use `x'
7929 instead of `r', since the latter is better suited to the new
7930 renaming command.
7931
5ab78d3d
AM
79322013-07-27 Alan Mackenzie <acm@muc.de>
7933
7934 Make Java try-with-resources statement parse properly.
7935 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7936 (c-block-stmt-1-2-key): New language constants/variables.
7937 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7938 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7939 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7940 with c-block-stmt-1-2-key.
5ab78d3d 7941
d85c4d50
JB
79422013-07-27 Juanma Barranquero <lekktu@gmail.com>
7943
7944 * desktop.el (desktop--make-frame): Apply most frame parameters after
7945 creating the frame to force (partially or totally) offscreen frames to
7946 be restored as such.
7947
e4c467f9
XF
79482013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7949
7950 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7951 (Bug#14948)
e4c467f9 7952
7ced0d04
SM
79532013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7956 `base' arg of backtrace-frame.
7957
fec92060
EZ
79582013-07-26 Eli Zaretskii <eliz@gnu.org>
7959
7960 * simple.el (list-processes): Doc fix.
7961
d58d31fb
JB
79622013-07-26 Juanma Barranquero <lekktu@gmail.com>
7963
7964 * desktop.el (desktop--select-frame):
d85c4d50 7965 Try harder to reuse existing frames.
d58d31fb 7966
53ff3e77
SM
79672013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7970 (edebug-eval): Use backtrace-eval.
7971 (edebug--display, edebug--recursive-edit): Don't let-bind the
7972 edebug-outer-* vars that keep track of variables we locally let-bind.
7973 (edebug-outside-excursion): Don't restore outside values of locally
7974 let-bound vars.
7975 (edebug--display): Use user-error.
7976 (cl-lexical-debug, cl-debug-env): Remove.
7977
045f7a53
JB
79782013-07-26 Juanma Barranquero <lekktu@gmail.com>
7979
7980 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7981 are restored to be sure that they are visible before deleting any
7982 remaining ones.
7983
59070b32
MM
79842013-07-26 Matthias Meulien <orontee@gmail.com>
7985
742a3501
XF
7986 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7987 vc-print-root-log. (Bug#14948)
59070b32 7988
b1fb3596
RS
79892013-07-26 Richard Stallman <rms@gnu.org>
7990
7991 Add aliases for encrypting mail.
7992 * epa.el (epa-mail-aliases): New option.
7993 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7994 Bind inhibit-read-only so read-only text doesn't ruin everything.
7995 (epa-mail-default-recipients): New subroutine broken out.
7996 Handle epa-mail-aliases.
7997
56ea7291
SM
79982013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 Add support for lexical variables to the debugger's `e' command.
8001 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8002 vars, except for debugger-outer-match-data.
8003 (debugger-frame-number): Move check for "on a function call" from
8004 callers into it. Add `skip-base' argument.
8005 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8006 (debugger-env-macro): Only reset the state stored in non-variables,
8007 i.e. current-buffer and match-data.
8008 (debugger-eval-expression): Rewrite using backtrace-eval.
8009 * subr.el (internal--called-interactively-p--get-frame): Remove.
8010 (called-interactively-p):
8011 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8012 `base' arg of backtrace-frame instead.
8013
15ac32d5
GM
80142013-07-26 Glenn Morris <rgm@gnu.org>
8015
8358a09d
GM
8016 * align.el (align-regexp): Doc fix. (Bug#14857)
8017 (align-region): Explicit error if subexpression missing/does not match.
8018
15ac32d5
GM
8019 * simple.el (global-visual-line-mode):
8020 Do not duplicate the mode lighter. (Bug#14858)
8021
f47ad11b
MR
80222013-07-25 Martin Rudalics <rudalics@gmx.at>
8023
8024 * window.el (display-buffer): In display-buffer bind
8025 split-window-keep-point to t, bug#14829.
8026
02530987
JB
80272013-07-25 Juanma Barranquero <lekktu@gmail.com>
8028
8029 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8030 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8031 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8032 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8033 Change accordingly.
f63ebeb5
JB
8034 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8035 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8036
6ccb9cab 80372013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8038
6ccb9cab 8039 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8040
cb3a56d2
JB
80412013-07-25 Juanma Barranquero <lekktu@gmail.com>
8042
8043 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8044 parameter to modify-frame-parameters if the value has not changed;
8045 this is a workaround for bug#14949.
8046 (desktop--make-frame): On cl-delete-if call, check parameter name,
8047 not full parameter.
8048
7aa7fff0
XF
80492013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8050
8051 * vc/vc.el (vc-ignore): New function.
8052
8053 * vc/vc-svn.el (vc-svn-ignore): New function.
8054
8055 * vc/vc-hg.el (vc-hg-ignore): New function.
8056
8057 * vc/vc-git.el (vc-git-ignore): New function.
8058
8059 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8060 (vc-dir-ignore): New function.
8061
8062 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8063 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8064
8065 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8066
8067 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8068
889acc5c
JB
80692013-07-24 Juanma Barranquero <lekktu@gmail.com>
8070
8071 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8072 (desktop-restore-frames): Warn when deleting an existing frame failed.
8073
86c40970
GM
80742013-07-24 Glenn Morris <rgm@gnu.org>
8075
8076 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8077
d5d3c58a
MA
80782013-07-24 Michael Albinus <michael.albinus@gmx.de>
8079
8080 * filenotify.el (file-notify-supported-p):
8081 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8082 Remove functions.
8083
8084 * autorevert.el (auto-revert-use-notify):
8085 (auto-revert-notify-add-watch):
8086 * net/tramp.el (tramp-file-name-for-operation):
8087 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8088 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8089 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8090 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8091 Remove `file-notify-supported-p' entry.
8092
d100084b
GM
80932013-07-24 Glenn Morris <rgm@gnu.org>
8094
8095 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8096 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8097
ac93e56b
SM
80982013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8099
249eea30
SM
8100 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8101 checked with memq (bug#14935).
8102
ac93e56b
SM
8103 * files.el (revert-buffer-function): Use a non-nil default.
8104 (revert-buffer-preserve-modes): Declare var to
8105 provide access to the `preserve-modes' argument.
8106 (revert-buffer): Let-bind it.
8107 (revert-buffer--default): New function, extracted from revert-buffer.
8108
2cdeb903
SM
81092013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8110
8111 * lpr.el: Signal print errors more prominently.
8112 (print-region-function): Don't default to nil.
8113 (lpr-print-region): New function, extracted from print-region-1.
8114 Check lpr's return value and signal an error in case of problem.
8115 (print-region-1): Use it.
8116 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8117 versions instead.
8118 (ps-printer-name): Default to nil.
8119 (ps-printer-name-option): Default to lpr-printer-switch.
8120 (ps-print-region-function): Don't default to nil.
8121 (ps-postscript-code-directory): Simplify default.
8122 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8123 (ps-string-list, ps-eval-switch, ps-flatten-list)
8124 (ps-flatten-list-1): Remove.
8125 (ps-multibyte-buffer): Avoid setq.
8126 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8127 (print-region-function, ps-print-region-function): Don't set them here.
8128
73600831
XF
81292013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8130
0e55c076
XF
8131 * ido.el (ido-fractionp):
8132 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8133 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8134 (ido-max-directory-size, ido-max-dir-file-cache)
8135 (ido-decorations): Doc fix.
8136
73600831
XF
8137 * ansi-color.el: Fix old URL.
8138
3d012865
MM
81392013-07-23 Michael R. Mauger <michael@mauger.com>
8140
e903c210 8141 * progmodes/sql.el: Version 3.3
3d012865
MM
8142 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8143 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8144 (sql-interactive-remove-continuation-prompt): Rewrite, use
8145 functions above. Fix continuation prompt and complete output line
8146 handling.
8147 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8148 redirected output buffer.
8149 (sql-mode): Restore deleted code (Bug#13591).
8150
da77a2e2
JB
81512013-07-23 Juanma Barranquero <lekktu@gmail.com>
8152
8153 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8154
80ff0c71
MA
81552013-07-23 Michael Albinus <michael.albinus@gmx.de>
8156
8157 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8158
8159 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8160 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8161 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8162
b61d71e4
JB
81632013-07-23 Juanma Barranquero <lekktu@gmail.com>
8164
8165 * desktop.el (desktop-clear): Simplify; remove useless checks
8166 against invalid buffer names.
8167 (desktop-list*): Use cl-list*.
8168 (desktop-buffer-info, desktop-create-buffer): Simplify.
8169
c3512092
LL
81702013-07-23 Leo Liu <sdl.web@gmail.com>
8171
8172 * bookmark.el (bookmark-make-record): Restore NAME as a default
8173 value. (Bug#14933)
8174
0ac26976
SM
81752013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8176
7d22ce18
SM
8177 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8178 extracted from autoload--insert-text.
8179 (autoload--insert-text): Remove.
8180 (autoload--print-cookie-text): New function, extracted from
8181 autoload--insert-cookie-text.
8182 (autoload--insert-cookie-text): Remove.
8183 (autoload-generate-file-autoloads): Adjust calls accordingly.
8184
9b2607e8
SM
8185 * winner.el (winner-hook-installed-p): Remove.
8186 (winner-mode): Simplify accordingly.
8187
c43a8618
SM
8188 * subr.el (add-to-list): Fix compiler-macro when `append' is
8189 not constant. Don't use `cl-member' for the base case.
8190
0ac26976
SM
8191 * progmodes/subword.el: Fix boundary case (bug#13758).
8192 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8193 own group.
8194 (subword-backward-regexp): Make it a constant.
8195 (subword-forward-internal): Don't treat a trailing capital as the
8196 beginning of a word.
8197
6874724a
AR
81982013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8199
8200 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8201 global value of tabulated-list-revert-hook (bug#14930).
8202
70f1b5e8
JB
82032013-07-22 Juanma Barranquero <lekktu@gmail.com>
8204
a1c80d9d
JB
8205 * desktop.el: Require 'cl-lib.
8206 (desktop-before-saving-frames-functions): New hook.
8207 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8208 for frames being saved. Rename from desktop--save-minibuffer-frames.
8209 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8210 Do not save frames with non-nil `desktop-dont-save' parameter.
8211 Filter out deleted frames.
a1c80d9d
JB
8212 (desktop--find-frame): Use cl-find-if.
8213 (desktop--select-frame): Use cl-(first|second|third) to access values
8214 of desktop-mini.
8215 (desktop--make-frame): Use cl-delete-if.
8216 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8217 (desktop-restore-frames): Use cl-(first|second|third) to access values
8218 of desktop-mini. Look for visible frame at the end, not while
8219 restoring frames.
8220
70f1b5e8
JB
8221 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8222 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8223 Use string-match-p, looking-at-p (bug#14927).
8224
728dc3cc
JB
82252013-07-21 Juanma Barranquero <lekktu@gmail.com>
8226
56bc453c
JB
8227 * desktop.el (desktop-saved-frame-states):
8228 Rename from desktop--saved-states; all users changed.
8229 (desktop-save-frames): Rename from desktop--save-frames.
8230 Do not save state to desktop file.
8231 (desktop-save): Save desktop-saved-frame-states to desktop file
8232 and reset to nil.
8233 (desktop-restoring-frames-p): New function.
8234 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8235 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8236 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8237
728dc3cc
JB
8238 * desktop.el: Correctly restore iconified frames.
8239 (desktop--filter-iconified-position): New function.
8240 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8241
862f1c9c
GM
82422013-07-20 Glenn Morris <rgm@gnu.org>
8243
c4074c9f
GM
8244 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8245 Let `message' do the formatting.
8246 (def-gdb-preempt-display-buffer): Add explicit format.
8247
d828e5f9
GM
8248 * image-dired.el (image-dired-track-original-file):
8249 Use with-current-buffer.
8250 (image-dired-track-thumbnail): Use with-current-buffer.
8251 Avoid changing point of wrong window.
8252
862f1c9c
GM
8253 * image-dired.el (image-dired-track-original-file):
8254 Avoid changing point of wrong window. (Bug#14909)
8255
f0398ec1 82562013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8257
8258 * progmodes/gdb-mi.el (gdb-done-or-error):
8259 Guard against "%" in gdb output. (Bug#14127)
8260
1451928f
AS
82612013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8262
763a086d
JB
8263 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8264 (Bug#14826)
f7a03897 8265
1451928f
AS
8266 * international/mule.el (coding-system-iso-2022-flags): Fix last
8267 change.
8268
99107004
KH
82692013-07-20 Kenichi Handa <handa@gnu.org>
8270
763a086d
JB
8271 * international/mule.el (coding-system-iso-2022-flags):
8272 Add `8-bit-level-4'. (Bug#8522)
99107004 8273
48494e06
LMI
82742013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8275
8ba8eec5
LMI
8276 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8277 (bug#14815).
8278
dfbc66e3
LMI
8279 * net/eww.el (eww-process-text-input): Allow inputting when the
8280 point is at the start of the line, as the properties aren't
8281 front-sticky.
8282
48494e06
LMI
8283 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8284 degenerate widths.
8285
77c92cb9
RS
82862013-07-19 Richard Stallman <rms@gnu.org>
8287
aec7da77
RS
8288 * epa.el (epa-popup-info-window): Doc fix.
8289
77c92cb9
RS
8290 * subr.el (split-string): New arg TRIM.
8291
945c5bb1
JB
82922013-07-18 Juanma Barranquero <lekktu@gmail.com>
8293
8294 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8295 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8296
e06ec67f
MA
82972013-07-18 Michael Albinus <michael.albinus@gmx.de>
8298
c7064f05 8299 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8300 `file-notify-support'. Do not autoload. Adapt all uses.
8301 (file-notify-supported-p): New defun.
8302
c7064f05
JB
8303 * autorevert.el (auto-revert-use-notify):
8304 Use `file-notify-supported-p' instead of `file-notify-support'.
8305 Adapt docstring.
e06ec67f
MA
8306 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8307
8308 * net/tramp.el (tramp-file-name-for-operation):
8309 Add `file-notify-supported-p'.
8310
8311 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8312 New defun.
8313 (tramp-sh-file-name-handler-alist): Add it as handler for
8314 `file-notify-supported-p '.
8315
8316 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8317 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8318 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8319 Add `ignore' as handler for `file-notify-*' functions.
8320
5dc8a629
EZ
83212013-07-17 Eli Zaretskii <eliz@gnu.org>
8322
8323 * simple.el (line-move-partial, line-move): Don't start vscroll or
8324 scroll-up if the current line is not taller than the window.
8325 (Bug#14881)
8326
77aea2fb
DG
83272013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8328
8329 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8330 highlight question marks in the method names as strings.
ac72c08d
DG
8331 (ruby-block-beg-keywords): Inline.
8332 (ruby-font-lock-keyword-beg-re): Extract from
8333 `ruby-font-lock-keywords'.
77aea2fb 8334
18c26d81
JD
83352013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8336
8337 * frame.el (blink-cursor-blinks): New defcustom.
8338 (blink-cursor-blinks-done): New defvar.
8339 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8340 (blink-cursor-timer-function): Check if number of blinks has been
8341 done on X and NS.
8342 (blink-cursor-suspend, blink-cursor-check): New defuns.
8343
da48522e
GM
83442013-07-15 Glenn Morris <rgm@gnu.org>
8345
8346 * edmacro.el (edmacro-format-keys): Fix previous change.
8347
0463c1ef
PE
83482013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8349
8350 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8351 The hack didn't work outside English locales anyway.
8352
b43f6451
JB
83532013-07-15 Juanma Barranquero <lekktu@gmail.com>
8354
8355 * simple.el (define-alternatives): Rename from alternatives-define,
8356 per RMS' suggestion.
8357
b958c0ad
JB
83582013-07-14 Juanma Barranquero <lekktu@gmail.com>
8359
8360 * desktop.el (desktop-restore-frames): Change default to t.
8361 (desktop-restore-in-current-display): Now offer more options.
8362 (desktop-restoring-reuses-frames): New customization option.
8363 (desktop--saved-states): Doc fix.
8364 (desktop-filter-parameters-alist): New variable, renamed and expanded
8365 from desktop--excluded-frame-parameters.
8366 (desktop--target-display): New variable.
8367 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8368 (desktop--filter-tty*, desktop--filter-*-color)
8369 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8370 (desktop--filter-save-desktop-parm)
8371 (desktop-restore-in-original-display-p): New functions.
8372 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8373 (desktop--save-minibuffer-frames): New function, inspired by a similar
8374 function from Martin Rudalics.
8375 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8376 (desktop--restore-in-this-display-p): Remove.
8377 (desktop--find-frame): Rename from desktop--find-frame-in-display
8378 and add predicate argument.
8379 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8380 (desktop--reuse-list): New variable.
8381 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8382 New functions.
8383 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8384
f6dd8b36
MA
83852013-07-14 Michael Albinus <michael.albinus@gmx.de>
8386
8387 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8388
2ce3c565
DG
83892013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8390
763a086d
JB
8391 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8392 Highlight conversion methods on Kernel.
2ce3c565 8393
2cdb7698
AM
83942013-07-13 Alan Mackenzie <acm@muc.de>
8395
8396 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8397 and comment it out. This out-commenting enables certain C++
8398 declarations to be parsed correctly.
8399
1a67b811
EZ
84002013-07-13 Eli Zaretskii <eliz@gnu.org>
8401
1b796d6b
EZ
8402 * international/mule.el (define-coding-system): Doc fix.
8403
1a67b811
EZ
8404 * simple.el (default-font-height): Don't call font-info if the
8405 frame's default font didn't change since the frame was created.
8406 (Bug#14838)
8407
58fbe886
LL
84082013-07-13 Leo Liu <sdl.web@gmail.com>
8409
8410 * ido.el (ido-read-file-name): Guard against non-symbol value.
8411
1f0480d4
FEG
84122013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8413
8414 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8415 in nested defuns.
8416
97ead0e5
LL
84172013-07-13 Leo Liu <sdl.web@gmail.com>
8418
8419 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8420 ido-set-matches call. (Bug#6852)
8421
0880a952
DG
84222013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8423
8424 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8425 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8426 Ruby 2.0.
8427 (ruby-font-lock-keywords): Distinguish calls to functions with
8428 module-like names from module references. Highlight character
8429 literals.
8430
a7d8babb
SDJ
84312013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8432
8433 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8434 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8435
acfcc8c5
JB
84362013-07-12 Juanma Barranquero <lekktu@gmail.com>
8437
8438 * desktop.el (desktop--v2s): Remove unused local variable.
8439 (desktop-save-buffer): Make defvar-local; adjust docstring.
8440 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8441 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8442
051f2775
AS
84432013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8444
8445 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8446
f24e7572
GM
84472013-07-12 Eli Zaretskii <eliz@gnu.org>
8448
8449 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8450 (Bug#14842)
8451
539a920c
GM
84522013-07-12 Glenn Morris <rgm@gnu.org>
8453
8454 * doc-view.el: Require cl-lib at runtime too.
8455 (doc-view-remove-if): Remove.
8456 (doc-view-search-next-match, doc-view-search-previous-match):
8457 Use cl-remove-if.
8458
8459 * edmacro.el: Require cl-lib at runtime too.
8460 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8461 (edmacro-mismatch, edmacro-subseq): Remove.
8462
8463 * shadowfile.el: Require cl-lib.
8464 (shadow-remove-if): Remove.
8465 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8466 Use cl-remove-if.
8467
8468 * wid-edit.el: Require cl-lib.
8469 (widget-choose): Use cl-remove-if.
8470 (widget-remove-if): Remove.
8471
8472 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8473 (ebrowse-delete-if-not): Remove.
8474 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8475 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8476 Use cl-delete-if-not.
8477
1048af7c
JB
84782013-07-12 Juanma Barranquero <lekktu@gmail.com>
8479
8480 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8481 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8482
6c0674ee
LL
84832013-07-12 Leo Liu <sdl.web@gmail.com>
8484
8485 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8486
a19b3c2d
GM
84872013-07-11 Glenn Morris <rgm@gnu.org>
8488
4582a01c
GM
8489 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8490 (edebug-gensym-index, edebug-gensym):
8491 Remove reimplementation of cl-gensym.
8492 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8493
8494 * thumbs.el: Require cl-lib at run-time too.
8495 (thumbs-gensym-counter, thumbs-gensym):
8496 Remove reimplementation of cl-gensym.
8497 (thumbs-temp-file): Use cl-gensym.
8498
a19b3c2d
GM
8499 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8500 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8501 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8502 (ert--union, ert--gensym-counter, ert--gensym-counter)
8503 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8504 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8505 (ert-make-test-unbound, ert--expand-should-1)
8506 (ert--expand-should, ert--should-error-handle-error)
8507 (should-error, ert--explain-equal-rec)
8508 (ert--plist-difference-explanation, ert-select-tests)
8509 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8510 Use cl-lib functions rather than reimplementations.
8511
88f6a933
MA
85122013-07-11 Michael Albinus <michael.albinus@gmx.de>
8513
8514 * net/tramp.el (tramp-methods): Extend docstring.
8515 (tramp-connection-timeout): New defcustom.
8516 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8517 (with-tramp-progress-reporter): Simplify.
8518 (tramp-process-actions): Improve messages.
8519
8520 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8521 * net/tramp-sh.el (tramp-maybe-open-connection):
8522 Use `tramp-connection-timeout'.
afe1e4c8 8523 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
8524 (Bug#14808)
8525
a43d577e
LL
85262013-07-11 Leo Liu <sdl.web@gmail.com>
8527
8528 * ido.el (ido-read-file-name): Conform to the requirements of
8529 read-file-name. (Bug#11861)
8530 (ido-read-directory-name): Conform to the requirements of
8531 read-directory-name.
8532
d77974bf
JB
85332013-07-11 Juanma Barranquero <lekktu@gmail.com>
8534
8535 * subr.el (delay-warning): New function.
8536
35cb8a3e
EZ
85372013-07-10 Eli Zaretskii <eliz@gnu.org>
8538
8539 * simple.el (default-line-height): New function.
8540 (line-move-partial, line-move): Use it instead of computing the
8541 line height inline.
8542 (line-move-partial): Always compute ROWH. If the last line is
8543 partially-visible, but its text is completely visible, allow
8544 cursor to enter such a partially-visible line.
8545
525c5c77
MA
85462013-07-10 Michael Albinus <michael.albinus@gmx.de>
8547
8548 Improve error messages. (Bug#14808)
8549
8550 * net/tramp.el (tramp-current-connection): New defvar, moved from
8551 tramp-sh.el.
0ac26976 8552 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8553 needed anymore.
0ac26976
SM
8554 (tramp-error-with-buffer): Show message in minibuffer.
8555 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8556 (with-tramp-progress-reporter): Improve messages.
8557 (tramp-process-actions): Use progress reporter. Delete process in
8558 case of error. Improve messages.
8559
763a086d
JB
8560 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8561 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8562 (tramp-current-connection): Remove.
525c5c77
MA
8563 (tramp-maybe-open-connection): The car of
8564 `tramp-current-connection' are the first 3 slots of the vector.
8565
c7a4d368
TZ
85662013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8567
8568 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8569 inside continued strings.
8570
954b166e
PE
85712013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8572
8573 Timestamp fixes for undo (Bug#14824).
8574 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8575
56973319
LL
85762013-07-10 Leo Liu <sdl.web@gmail.com>
8577
8578 * files.el (require-final-newline): Allow safe local value.
8579 (Bug#14834)
8580
5550a72c
LL
85812013-07-09 Leo Liu <sdl.web@gmail.com>
8582
8583 * ido.el (ido-read-directory-name): Handle fallback.
8584 (ido-read-file-name): Update DIR to ido-current-directory.
8585 (Bug#1516)
c28b9050 8586 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8587
70c46b28
DG
85882013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8589
8590 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8591 "autoload". Remove "warn lower camel case" section, previously
8592 commented out. Highlight negation char. Do not highlight the
8593 target in singleton method definitions.
8594
0b64b838
SM
85952013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8596
7fd72e2c
SM
8597 * faces.el (tty-setup-hook): Declare the hook.
8598
0b64b838
SM
8599 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8600 and detect when a guard/pred depends on local vars (bug#14773).
8601 (pcase--u1): Adjust caller.
8602
ab49d60b
EZ
86032013-07-08 Eli Zaretskii <eliz@gnu.org>
8604
8605 * simple.el (line-move-partial, line-move): Account for
8606 line-spacing.
701d79aa
EZ
8607 (line-move-partial): Avoid setting vscroll when the last
8608 partially-visible line in window is of default height.
ab49d60b 8609
2d756ae0
LMI
86102013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8611
8612 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8613 been used a while.
8614
ed095bd7
JB
86152013-07-07 Juanma Barranquero <lekktu@gmail.com>
8616
8617 * subr.el (read-quoted-char): Remove unused local variable `char'.
8618
f1e6674b
MK
86192013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8620
584ee3fc
GM
8621 * ediff.el (ediff-version): Version update.
8622 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8623 (ediff-merge-with-ancestor-command, ediff-directories-command)
8624 (ediff-directories3-command, ediff-merge-directories-command)
8625 (ediff-merge-directories-with-ancestor-command): New functions.
8626 All are command-line interfaces to ediff: to facilitate calling
8627 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8628
8629 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8630 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8631
584ee3fc
GM
8632 * viper.el (viper-version): Version update.
8633 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8634
584ee3fc
GM
86352013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8636
8637 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8638 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8639 (viper-intercept-ESC-key): Simplify.
8640 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8641 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8642 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8643 (viper-setup-ESC-to-escape): New functions.
8644 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8645 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8646
9aff9b38
EZ
86472013-07-07 Eli Zaretskii <eliz@gnu.org>
8648
5165d44a
JB
8649 * simple.el (default-font-height, window-screen-lines):
8650 New functions.
9aff9b38
EZ
8651 (line-move, line-move-partial): Use them instead of
8652 frame-char-height and window-text-height. This makes scrolling
8653 text smoother when the buffer's default face uses a font that is
8654 different from the frame's default font.
8655
1afb1d07
JD
86562013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8657
8658 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8659 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8660
23de972a
EZ
86612013-07-06 Eli Zaretskii <eliz@gnu.org>
8662
8663 * simple.el (line-move-partial): Adjust the row returned by
8664 posn-at-point for the current window-vscroll. (Bug#14567)
8665
54a42486
MA
86662013-07-06 Michael Albinus <michael.albinus@gmx.de>
8667
8668 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8669 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8670 spaces.
8671
34ada5f4
MR
86722013-07-06 Martin Rudalics <rudalics@gmx.at>
8673
8674 * window.el (window-state-put-stale-windows): New variable.
8675 (window--state-put-2): Save list of windows without matching buffer.
8676 (window-state-put): Remove "bufferless" windows if possible.
8677
11e03d89
JB
86782013-07-06 Juanma Barranquero <lekktu@gmail.com>
8679
8680 * simple.el (alternatives-define): Remove leftover :group keyword.
8681 Tweak docstring.
8682
3504a4be
LL
86832013-07-06 Leo Liu <sdl.web@gmail.com>
8684
8685 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8686 (ido-enable-virtual-buffers): New variable.
8687 (ido-buffer-internal, ido-toggle-virtual-buffers)
8688 (ido-make-buffer-list): Use it.
8689 (ido-exhibit): Support turning on and off virtual buffers
8690 automatically.
8691
61e56e2c
JB
86922013-07-06 Juanma Barranquero <lekktu@gmail.com>
8693
8694 * simple.el (alternatives-define): New macro.
8695
321e1a9c
SM
86962013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * subr.el (read-quoted-char): Use read-key.
8699 (sit-for): Let read-event decode tty input (bug#14782).
8700
d610f6dd
SB
87012013-07-05 Stephen Berman <stephen.berman@gmx.net>
8702
8703 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8704 mode command and externally. Fix various related bugs.
8705 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8706 (todo-delete-file): New command.
8707 (todo-check-file): New function.
8708 (todo-show): Handle external deletion of the file we're trying to
8709 show (bug#14688). Replace called-interactively-p by an optional
8710 prefix argument to avoid problematic interaction with catch form
8711 when byte compiled (bug#14702).
8712 (todo-quit): Handle external deletion of the archive's todo file.
8713 Make sure the buffer that was visiting the archive file is still
8714 live before trying to bury it.
8715 (todo-category-completions): Handle external deletion of any
8716 category completion files.
8717 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8718 of todo files, in case of external deletion.
8719 (todo-add-file): Replace unnecessary setq by let-binding.
8720 (todo-find-archive): Check whether there are any archives.
8721 Replace unnecessary setq by let-binding.
8722 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8723 archive buffer whether or not the archive already exists.
8724 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8725 check if the archive is new; if it is, update list of archives.
8726 (todo-default-todo-file): Allow nil to be a valid value for when
8727 there are no todo files.
8728 (todo-reevaluate-default-file-defcustom): Use corrected definition
8729 of todo-default-todo-file.
8730 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8731 (todo-delete-category, todo-show-categories-table)
8732 (todo-category-number): Clarify comment.
8733 (todo-filter-items): Clarify documentation string.
8734 (todo-show-current-file, todo-display-as-todo-file)
8735 (todo-reset-and-enable-done-separator): Tweak documentation string.
8736 (todo-done-separator): Make separator length window-width, since
8737 bug#2749 is now fixed.
8738
ddbdfd6f
MA
87392013-07-05 Michael Albinus <michael.albinus@gmx.de>
8740
321e1a9c
SM
8741 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8742 Support both "gvfs-monitor-dir" and "inotifywait".
8743 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8744 `tramp-sh-file-notify-process-filter'.
8745 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8746 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8747
96eb829a
LL
87482013-07-05 Leo Liu <sdl.web@gmail.com>
8749
8750 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8751
cf13177e
YM
87522013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8753
8754 * frame.el (display-pixel-height, display-pixel-width)
8755 (display-mm-height, display-mm-width): Mention behavior on
8756 multi-monitor setups in docstrings.
8757 (w32-display-monitor-attributes-list): Declare function.
8758 (display-monitor-attributes-list): Use it.
8759
864c58ca
MA
87602013-07-04 Michael Albinus <michael.albinus@gmx.de>
8761
8762 * filenotify.el: New package.
8763
8764 * autorevert.el (top): Require filenotify.el.
8765 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8766 instead.
8767 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8768 (auto-revert-notify-handler): Use `file-notify-*' functions.
8769
8770 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8771
321e1a9c
SM
8772 * net/tramp.el (tramp-file-name-for-operation):
8773 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8774
8775 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8776 for `file-notify-add-watch' and `file-notify-rm-watch'.
8777 (tramp-process-sentinel): Improve trace.
8778 (tramp-sh-handle-file-notify-add-watch)
8779 (tramp-sh-file-notify-process-filter)
8780 (tramp-sh-handle-file-notify-rm-watch)
8781 (tramp-get-remote-inotifywait): New defuns.
8782
96673afe
JL
87832013-07-03 Juri Linkov <juri@jurta.org>
8784
8785 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8786 call of `occur-read-primary-args' to interactive spec.
8787
8788 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8789 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8790
924494f4
MM
87912013-07-03 Matthias Meulien <orontee@gmail.com>
8792
8793 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8794 `Buffer-menu-multi-occur'. Add it to the menu.
8795 (Buffer-menu-mode): Document it in docstring.
8796 (Buffer-menu-multi-occur): New command. (Bug#14673)
8797
56f75efc
DG
87982013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8799
8800 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8801 keywords and built-ins.
8802
9b057d61
GM
88032013-07-03 Glenn Morris <rgm@gnu.org>
8804
208dee4d
GM
8805 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8806
9b057d61
GM
8807 Make info-xref checks case-sensitive by default
8808 * info.el (Info-find-node, Info-find-in-tag-table)
8809 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8810 Add option for exact case matching of nodes.
8811 * info-xref.el (info-xref): New custom group.
8812 (info-xref-case-fold): New option.
8813 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8814
e01aa29c
LL
88152013-07-03 Leo Liu <sdl.web@gmail.com>
8816
8817 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8818
3086ca2e
DG
88192013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8820
8821 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8822 middle of block statement initially, lower the depth. Remove
8823 FIXME comment, not longer valid. Remove middle of block statement
8824 detection, no need to do that anymore since we've been using
8825 `ruby-parse-region' here.
8826
a3b49114
JD
88272013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8828
8829 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8830
08e5c823 88312013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8832
8833 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8834
2addf922
JB
88352013-07-01 Juanma Barranquero <lekktu@gmail.com>
8836
8837 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8838 (desktop-restore-in-current-display): New customization option.
8839 (desktop--excluded-frame-parameters): Add `font'.
8840 (desktop--save-frames): Rename from desktop--save-windows.
8841 (desktop--restore-in-this-display-p): New function.
8842 (desktop--make-full-frame): Remove unwanted width/height from
8843 full(width|height) frames.
8844 (desktop--restore-frames): Rename from desktop--restore-windows.
8845 Obey desktop-restore-current-display. Do not delete old frames or
8846 select a new frame unless we were able to restore at least one frame.
8847
ef099a94
MN
88482013-06-30 Michal Nazarewicz <mina86@mina86.com>
8849
8850 * files.el (find-file-noselect): Simplify conditional expression.
8851
a12bf61e 8852 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8853 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8854
8855 Add `remember-notes' function to store random notes across Emacs
8856 restarts.
3fcfc4ee
JB
8857 * textmodes/remember.el (remember-data-file): Add :set callback to
8858 affect notes buffer (if any).
ef099a94
MN
8859 (remember-notes): New command.
8860 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8861 New defcustoms for the `remember-notes' function.
8862 (remember-notes-save-and-bury-buffer): New command.
8863 (remember-notes-mode-map): New variable.
8864 (remember-mode): New minor mode.
8865 (remember-notes--kill-buffer-query): New function.
8866 * startup.el (initial-buffer-choice): Add notes to custom type.
8867
0865d506
EZ
88682013-06-30 Eli Zaretskii <eliz@gnu.org>
8869
0ba54312
EZ
8870 * bindings.el (right-char, left-char): Don't call sit-for, this is
8871 no longer needed. Use arithmetic comparison only for numerical
8872 arguments.
8873
ef099a94
MN
8874 * international/mule-cmds.el (select-safe-coding-system):
8875 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8876
2fae38e5
LMI
88772013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8878
8879 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8880 progression on degenerate tables.
ef099a94 8881 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8882
a47cbd64
JB
88832013-06-30 Juanma Barranquero <lekktu@gmail.com>
8884
8885 Some fixes and improvements for desktop frame restoration.
8886 It is still experimental and disabled by default.
8887 * desktop.el (desktop--save-windows): Put the selected frame at
8888 the head of the list.
8889 (desktop--make-full-frame): New function.
8890 (desktop--restore-windows): Try to re-select the frame that was
8891 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8892 just show an error message and continue. Set up maximized frames
8893 so they have default non-maximized dimensions.
a47cbd64 8894
6dbafa30
DG
88952013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8896
ef099a94
MN
8897 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8898 Don't start heredoc inside a string or comment.
6dbafa30 8899
4c672a0f
EZ
89002013-06-29 Eli Zaretskii <eliz@gnu.org>
8901
8902 * bindings.el (visual-order-cursor-movement): New defcustom.
8903 (right-char, left-char): Provide visual-order cursor motion by
8904 calling move-point-visually. Update the doc strings.
8905
50960f36
KH
89062013-06-28 Kenichi Handa <handa@gnu.org>
8907
8908 * international/mule.el (define-coding-system): New coding system
8909 properties :inhibit-null-byte-detection,
8910 :inhibit-iso-escape-detection, and :prefer-utf-8.
8911 (set-buffer-file-coding-system): If :charset-list property of
8912 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8913 appropriate for setting.
8914
c1ea3abf
JB
8915 * international/mule-cmds.el (select-safe-coding-system):
8916 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8917 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8918
8919 * international/mule-conf.el (prefer-utf-8): New coding system.
8920 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8921 files.
8922
75dbaf9d
IK
89232013-06-28 Ivan Kanis <ivan@kanis.fr>
8924
eadb6068
IK
8925 * net/shr.el (shr-render-region): New function.
8926
75dbaf9d
IK
8927 * net/eww.el: Autoload `eww-browse-url'.
8928
9ea5cf9f
DG
89292013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8930
c1ea3abf
JB
8931 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8932 Adapt to `package-desc-version' being a list.
8933 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8934 archive element.
8935
39c0e36f
JB
89362013-06-27 Juanma Barranquero <lekktu@gmail.com>
8937
8938 New experimental feature to save&restore window and frame setup.
8939 * desktop.el (desktop-save-windows): New defcustom.
8940 (desktop--saved-states): New var.
8941 (desktop--excluded-frame-parameters): New defconst.
8942 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8943 (desktop--restore-windows, desktop--save-windows): New functions.
8944 (desktop-save): Call `desktop--save-windows'.
8945 (desktop-read): Call `desktop--restore-windows'.
8946
7f13406b
LMI
89472013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8948
ef099a94 8949 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8950
1e072639
SB
89512013-06-27 Stephen Berman <stephen.berman@gmx.net>
8952
8953 * info.el (Info-try-follow-nearest-node): Move search for footnote
8954 above search for node name to prevent missing a footnote (bug#14717).
8955
f3e2cbde
SB
89562013-06-27 Stephen Berman <stephen.berman@gmx.net>
8957
8958 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8959
99906aa0
LL
89602013-06-27 Leo Liu <sdl.web@gmail.com>
8961
8962 * net/eww.el (eww-read-bookmarks): Check file size.
8963
539f75f4
SM
89642013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8965
8966 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8967 advice--pending if newdef is nil or an autoload (bug#13820).
8968 (advice-mapc): New function.
8969
843571cb
LMI
89702013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8971
8972 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8973 probably.
23a75d7f 8974 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8975 (eww-add-bookmark): New command.
8976 (eww-bookmark-mode): New mode and commands.
a285ce99 8977 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8978 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8979
f2136e1e
GM
89802013-06-26 Glenn Morris <rgm@gnu.org>
8981
eab35f39
GM
8982 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8983 (hfy-size): Handle ttys. (Bug#14668)
8984
f2136e1e
GM
8985 * info-xref.el: Update for Texinfo 5 change in *note format.
8986 (info-xref-node-re, info-xref-note-re): New constants.
8987 (info-xref-check-buffer): Use info-xref-note-re.
8988
a49ff80c
SM
89892013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8990
a343d218
SM
8991 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8992
a49ff80c
SM
8993 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8994 nil terminate the loop (bug#14718).
8995
8308f184
LMI
89962013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8997
8998 * net/eww.el: Rework history traversal. When going forward/back,
8999 put these actions into the history, too, so that they can be
9000 replayed.
26bf2b82 9001 (eww-render): Move the history reset to the correct buffer.
8308f184 9002
ec64c273
JL
90032013-06-25 Juri Linkov <juri@jurta.org>
9004
9005 * files-x.el (modify-dir-local-variable): Change the header comment
9006 in the file with directory local variables. (Bug#14692)
9007
e080a9d7
JL
9008 * files-x.el (read-file-local-variable-value): Add `default'.
9009 (Bug#14710)
9010
bfbc93a1
IK
90112013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9012
9013 * net/eww.el (eww-make-unique-file-name): Create a unique file
9014 name before saving to entering `y' accidentally asynchronously.
9015
90162013-06-25 Ivan Kanis <ivan@kanis.fr>
9017
9018 * net/eww.el (eww-download): New command and keystroke.
9019
16f74f10
LMI
90202013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9021
a49ff80c 9022 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9023
9024 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9025 be more consistent with Info and dired.
9026
9027 * net/eww.el (eww-mode-map): Ditto.
9028
12059709
SM
90292013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9032 packages from archives.
9033 (package-archive-contents): Change format; include obsolete packages.
9034 (package-desc): Use `dir' to mark builtin packages.
9035 (package--from-builtin): Set the `dir' field to `builtin'.
9036 (generated-autoload-file, version-control): Declare.
9037 (package-compute-transaction): Change first arg and return value to be
9038 lists of package-descs. Adjust to new package-archive-contents format.
9039 (package--add-to-archive-contents): Adjust to new
9040 package-archive-contents format.
9041 (package-download-transaction): Arg is now a list of package-descs.
9042 (package-install): If `pkg' is a package name, pass it as
9043 a requirement, so it is subject to the usual (e.g. disabled) checks.
9044 (describe-package): Accept package-desc as well.
9045 (describe-package-1): Describe a specific package-desc. Add links to
9046 other package-descs for the same package name.
9047 (package-menu-describe-package): Pass the actual package-desc.
9048 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9049 works correctly.
9050 (package-desc-status): New function.
9051 (package-menu--refresh): New function, extracted
9052 from package-menu--generate.
9053 (package-menu--generate): Use it.
9054 (package-delete): Update package-alist.
9055 (package-menu-execute): Don't call package-initialize.
9056
9057 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9058 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9059 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9060 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9061 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9062 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9063
8bbdea0f
MR
90642013-06-25 Martin Rudalics <rudalics@gmx.at>
9065
9066 * window.el (window--state-get-1): Workaround for bug#14527.
9067 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9068
e82b0991
LMI
90692013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9070
9071 * net/eww.el (eww-back-url): Implement the history by stashing all
9072 the data into a list.
d3f0f918 9073 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9074
c763842b
SM
90752013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9078 for values and use read--expression for expressions (bug#14710).
9079 (read-file-local-variable): Avoid setq.
9080 (read-file-local-variable-mode): Use minor-mode-list.
9081
bceff189
RW
90822013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9083
864c58ca 9084 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9085 for DOI URLs.
9086
45f431c6
RW
90872013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9088
864c58ca 9089 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9090 Update imenu-support when dialect changes.
9091
f42d8237
LL
90922013-06-25 Leo Liu <sdl.web@gmail.com>
9093
9094 * ido.el (ido-read-internal): Allow forward slash on windows.
9095
be549ce6
LMI
90962013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9097
9098 * net/eww.el (eww): Start of strings is \\`, not ^.
9099
71d4c19d
IK
91002013-06-24 Ivan Kanis <ivan@kanis.fr>
9101
5196f88a
IK
9102 * net/shr.el (shr-browse-url): Fix interactive spec.
9103
71d4c19d
IK
9104 * net/eww.el (eww): Add a trailing slash to domain names.
9105
ae36ca55
JB
91062013-06-24 Juanma Barranquero <lekktu@gmail.com>
9107
9108 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9109
0ebd92a3
LMI
91102013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9111
bdaa086b
LMI
9112 * net/shr.el (shr-browse-url): Use an external browser if given a
9113 prefix.
9114
c763842b 9115 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9116
b89fc156
IK
91172013-06-24 Ivan Kanis <ivan@kanis.fr>
9118
9119 * net/eww.el (eww): Work more correctly for file: URLs.
9120 (eww-detect-charset): Allow quoted charsets.
9121 (eww-yank-page-url): New command and keystroke.
9122
18eb4bca
DU
91232013-06-24 Daiki Ueno <ueno@gnu.org>
9124
9125 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9126 file name of gpg executable.
9127 (epg-context-program): New function.
9128 (epg-context-home-directory): New function.
9129 (epg-context-set-program): New function.
9130 (epg-context-set-home-directory): New function.
9131 (epg--start): Use `epg-context-program' instead of
9132 'epg-gpg-program'.
9133 (epg--list-keys-1): Likewise.
9134
6c6268c8
LL
91352013-06-24 Leo Liu <sdl.web@gmail.com>
9136
9137 * ido.el (ido-read-internal): Fix bug#14620.
9138
5e400cb3
JB
91392013-06-23 Juanma Barranquero <lekktu@gmail.com>
9140
9141 * faces.el (face-documentation): Simplify.
9142 (read-face-attribute, tty-find-type, x-resolve-font-name):
9143 Use `string-match-p'.
9144 (list-faces-display): Use `string-match-p'. Simplify.
9145 (face-spec-recalc): Check face to avoid face alias loops.
9146 (read-color): Use `string-match-p' and non-capturing parenthesis.
9147
f3f9606c
LMI
91482013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9149
9150 * net/shr.el (shr-rescale-image): Use the new
9151 :max-width/:max-height functionality.
9152
a3ca09b9
IK
91532013-06-23 Ivan Kanis <ivan@kanis.fr>
9154
9155 * net/eww.el (eww-search-prefix): New variable.
9156 (eww): Use it.
f865b474
IK
9157 (eww-external-browser): New variable.
9158 (eww-mode-map): New keystroke.
9159 (eww-browse-with-external-browser): New command.
a3ca09b9 9160
e854cfc7
IK
9161 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9162
18bb9e21
JB
91632013-06-23 Juanma Barranquero <lekktu@gmail.com>
9164
9165 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9166 Don't skip aligning the next header field when padding is 0;
9167 otherwise, field width is not respected unless the title is as
9168 wide as the field.
9169
5b165ade
SM
91702013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * emacs-lisp/package.el (package-el-version): Remove.
9173 (package-process-define-package): Fix inf-loop.
9174 (package-install): Allow symbols as arguments again.
9175
12adebe9
DG
91762013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9177
9178 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9179 add some more keyword-like methods.
9180 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9181
388573ee
JB
91822013-06-22 Juanma Barranquero <lekktu@gmail.com>
9183
9184 * bs.el (bs-buffer-show-mark): Make defvar-local.
9185 (bs-mode): Use setq-local.
9186
9187 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9188 (emacs-lock--try-unlocking): Make defvar-local.
9189
4582a01c 91902013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9191
2663dd23
GM
9192 * play/cookie1.el (cookie-apropos): Minor simplification.
9193
3d94f3ad
GM
9194 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9195
f72e2fdb
DG
91962013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9197
9198 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9199 `regexp-opt', it breaks the build during dumping.
9200
73eab938
DG
92012013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9202
c763842b
SM
9203 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9204 Highlight keyword-like methods on Kernel and Module with
73eab938 9205 font-lock-builtin-face.
5cf8176d
DG
9206 (auto-mode-alist): Consolidate different entries into one regexp
9207 and add more *file-s.
73eab938 9208
d26255f6
SB
92092013-06-21 Stephen Berman <stephen.berman@gmx.net>
9210
9211 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9212
9213 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9214 (diary-entry): Use it in the action of this button type instead of
9215 diary-goto-entry.
9216
9217 * calendar/todo-mode.el: New version.
9218 (todo-add-category): Append new category to end of file and give
9219 it the highest number, instead of putting it at the beginning and
9220 giving it 0. Incorporate noninteractive functionality.
9221 (todo-forward-category): Adapt to 1-based category numbering.
9222 Allow skipping over archived categories.
9223 (todo-backward-category): Derive from todo-forward-category.
9224 (todo-backward-item, todo-forward-item): Make noninteractive and
9225 delegate interactive part to new commands. Make sensitive to done items.
9226 (todo-categories): Make value an alist of category names and
9227 vectors of item counts.
9228 (todo-category-beg): Make a defconst.
9229 (todo-category-number): Use 1 instead of 0 as initial value.
9230 (todo-category-select): Make sensitive to overlays, optional item
9231 highlighting and done items.
9232 (todo-delete-item): Make sensitive to overlays and marked and done items.
9233 (todo-edit-item): Make sensitive to overlays and editing of
9234 date/time header optional. Add format checks.
9235 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9236 no-op if point is not on an item. Advertise using todo-edit-quit.
9237 (todo-edit-mode): Make sensitive to new format, font-locking, and
9238 multiple todo files.
9239 (todo-insert-item, todo-insert-item-here): Derive from
9240 todo-basic-insert-item and extend functionality.
9241 (todo-item-end, todo-item-start): Make sensitive to done items.
9242 (todo-item-string): Don't return text properties. Restore point.
9243 (todo-jump-to-category): Make sensitive to multiple todo files and
9244 todo archives. Use extended category completion.
9245 (todo-lower-item, todo-raise-item): Rename to *-priority and
9246 derive from todo-set-item-priority.
9247 (todo-mode): Derive from special-mode. Make sensitive to new
9248 format, font-locking and multiple todo files. Make read-only.
9249 (todo-mode-map): Don't suppress digit keys, so they can supply
9250 prefix arguments. Add many new key bindings.
9251 (todo-prefix): Insert as an overlay instead of file text.
9252 Change semantics from diary date expression to purely visual mark.
9253 (todo-print): Rename to todo-print-buffer. Make buffer display
9254 features printable. Remove option to restrict number of items
9255 printed. Add option to print to file.
9256 (todo-print-function): Rename to todo-print-buffer-function.
9257 (todo-quit): Extend to handle exiting new todo modes.
9258 (todo-remove-item): Make sensitive to overlays.
9259 (todo-save): Extend to buffers of filtered items.
9260 (todo-show): Make sensitive to done items, multiple todo files and
9261 new todo modes. Offer to convert legacy todo file before creating
9262 first new todo file.
9263 (todo-show-priorities): Rename to todo-top-priorities.
9264 Change semantics of value 0.
9265 (todo-top-priorities): Rename to todo-filter-top-priorities,
9266 derive from todo-filter-items and extend functionality.
9267 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9268 and extend functionality to other types of filtered items.
9269 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9270 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9271 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9272 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9273 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9274 (todo-edit-mode-hook, todo-entry-prefix-function)
9275 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9276 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9277 (todo-initials, todo-insert-threshold, todo-item-string-start)
9278 (todo-line-string, todo-menu, todo-mode-hook)
9279 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9280 (todo-print-priorities, todo-remove-separator)
9281 (todo-save-top-priorities-too, todo-string-count-lines)
9282 (todo-string-multiline-p, todo-time-string-format)
9283 (todo-tmp-buffer-name): Remove.
9284 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9285 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9286 (todo-edit-category-diary-inclusion)
9287 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9288 (todo-edit-file, todo-edit-item-date-day)
9289 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9290 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9291 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9292 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9293 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9294 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9295 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9296 (todo-filter-top-priorities-multifile, todo-find-archive)
9297 (todo-find-filtered-items-file, todo-go-to-source-item)
9298 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9299 (todo-jump-to-archive-category, todo-lower-category)
9300 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9301 (todo-move-category, todo-move-item, todo-next-button)
9302 (todo-next-item, todo-padded-string, todo-powerset)
9303 (todo-previous-button, todo-previous-item)
9304 (todo-print-buffer-to-file, todo-raise-category)
9305 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9306 (todo-set-category-number, todo-set-item-priority)
9307 (todo-set-top-priorities-in-category)
9308 (todo-set-top-priorities-in-file, todo-show-categories-table)
9309 (todo-sort-categories-alphabetically-or-numerically)
9310 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9311 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9312 (todo-toggle-item-header, todo-toggle-item-highlighting)
9313 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9314 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9315 (todo-unarchive-items, todo-unmark-category): New commands.
9316 (todo-absolute-file-name, todo-add-to-buffer-list)
9317 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9318 (todo-basic-insert-item, todo-category-completions)
9319 (todo-category-number, todo-category-string-matcher-1)
9320 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9321 (todo-check-format, todo-clear-matches)
9322 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9323 (todo-current-category, todo-date-string-matcher)
9324 (todo-define-insertion-command, todo-diary-expired-matcher)
9325 (todo-diary-goto-entry, todo-diary-item-p)
9326 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9327 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9328 (todo-done-item-section-p, todo-done-separator)
9329 (todo-done-string-matcher, todo-files, todo-filter-items)
9330 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9331 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9332 (todo-insert-category-line, todo-insert-item-from-calendar)
9333 (todo-insert-sort-button, todo-insert-with-overlays)
9334 (todo-insertion-command-name, todo-insertion-key-bindings)
9335 (todo-label-to-key, todo-longest-category-name-length)
9336 (todo-make-categories-list, todo-mode-external-set)
9337 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9338 (todo-modes-set-3, todo-multiple-filter-files)
9339 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9340 (todo-read-category, todo-read-date, todo-read-dayname)
9341 (todo-read-file-name, todo-read-time)
9342 (todo-reevaluate-category-completions-files-defcustom)
9343 (todo-reevaluate-default-file-defcustom)
9344 (todo-reevaluate-filelist-defcustoms)
9345 (todo-reevaluate-filter-files-defcustom)
9346 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9347 (todo-reset-done-separator, todo-reset-done-separator-string)
9348 (todo-reset-done-string, todo-reset-global-current-todo-file)
9349 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9350 (todo-reset-prefix, todo-set-categories)
9351 (todo-set-date-from-calendar, todo-set-show-current-file)
9352 (todo-set-top-priorities, todo-short-file-name)
9353 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9354 (todo-total-item-counts, todo-update-buffer-list)
9355 (todo-update-categories-display, todo-update-categories-sexp)
9356 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9357 New functions.
9358 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9359 New major modes.
9360 (todo-categories, todo-display, todo-edit, todo-faces)
9361 (todo-filtered): New defgroups.
9362 (todo-archived-only, todo-button, todo-category-string, todo-date)
9363 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9364 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9365 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9366 (todo-add-item-if-new-category, todo-always-add-time-string)
9367 (todo-categories-align, todo-categories-archived-label)
9368 (todo-categories-category-label, todo-categories-diary-label)
9369 (todo-categories-done-label, todo-categories-number-separator)
9370 (todo-categories-todo-label, todo-categories-totals-label)
9371 (todo-category-completions-files, todo-completion-ignore-case)
9372 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9373 (todo-done-separator-string, todo-done-string)
9374 (todo-files-function, todo-filter-done-items, todo-filter-files)
9375 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9376 (todo-initial-category, todo-initial-file, todo-item-mark)
9377 (todo-legacy-date-time-regexp, todo-mode-line-function)
9378 (todo-nondiary-marker, todo-number-prefix)
9379 (todo-print-buffer-function, todo-show-current-file)
9380 (todo-show-done-only, todo-show-first, todo-show-with-done)
9381 (todo-skip-archived-categories, todo-top-priorities-overrides)
9382 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9383 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9384 New defcustoms.
9385 (todo-category-done, todo-date-pattern, todo-date-string-start)
9386 (todo-diary-items-buffer, todo-done-string-start)
9387 (todo-filtered-items-buffer, todo-item-start)
9388 (todo-month-abbrev-array, todo-month-name-array)
9389 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9390 (todo-top-priorities-buffer): New defconsts.
9391 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9392 (todo-categories-with-marks, todo-category-string-face)
9393 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9394 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9395 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9396 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9397 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9398 (todo-font-lock-keywords, todo-global-current-todo-file)
9399 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9400 (todo-insertion-commands-args)
9401 (todo-insertion-commands-args-genlist)
9402 (todo-insertion-commands-names, todo-insertion-map)
9403 (todo-key-bindings-t, todo-key-bindings-t+a)
9404 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9405 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9406 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9407 (todo-visited): New variables.
9408
cad5d1cb
GM
94092013-06-21 Glenn Morris <rgm@gnu.org>
9410
9411 * play/cookie1.el (cookie-apropos): Add optional display argument.
9412 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9413 (psychoanalyze-pinhead): Use cookie-doctor.
9414
9e277302
JB
94152013-06-21 Juanma Barranquero <lekktu@gmail.com>
9416
9417 * emacs-lisp/package.el (tar-get-file-descriptor)
9418 (tar--extract): Declare.
9419
c5b0993e
EW
94202013-06-21 Eduard Wiebe <usenet@pusto.de>
9421
9422 Extend flymake's warning predicate to be a function (bug#14217).
9423 * progmodes/flymake.el (flymake-warning-predicate): New.
9424 (flymake-parse-line): Use it.
9425 (flymake-warning-re): Make obsolete alias to
9426 `flymake-warning-predicate'.
9427
a7d2d465
SM
94282013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9429
9430 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9431 (package-obsolete-list): Remove.
9432 (package-activate): Remove min-version argument. Add `force' argument.
9433 Adjust to new package-alist format.
9434 (package-mark-obsolete): Remove.
9435 (package-unpack): Force reload of the package's autoloads.
9436 (package-installed-p): Check builtins if the installed package is not
9437 recent enough.
9438 (package-initialize): Don't reset package-obsolete-list.
9439 Don't specify which package version to activate.
9440 (package-process-define-package, describe-package-1)
9441 (package-menu--generate): Adjust to new package-alist format.
9442
cedf5c9d
JB
94432013-06-21 Juanma Barranquero <lekktu@gmail.com>
9444
9445 * allout-widgets.el (allout-widgets-mode-off)
9446 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9447 (allout-widgets-post-command-business)
9448 (allout-widgets-after-copy-or-kill-function)
9449 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9450 (allout-decorate-item-and-context)
9451 (allout-graphics-modification-handler): Fix typos in docstrings.
9452 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9453
9454 * cmuscheme.el (scheme-start-file): Doc fix.
9455 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9456 (scheme-input-filter): Use `string-match-p'.
9457
9458 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9459
9460 * dired-x.el: Use Dired consistently in docstrings.
9461
9462 * dired.el: Use Dired consistently in docstrings.
9463 (dired-readin, dired-mode): Use `setq-local'.
9464 (dired-switches-alist): Make defvar-local.
9465 (dired-buffers-for-dir): Use `zerop'.
9466 (dired-safe-switches-p, dired-switches-escape-p)
9467 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9468 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9469 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9470 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9471 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9472 (dired-toggle-marks, dired-mark-files-containing-regexp)
9473 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9474 (dired-flag-auto-save-files, dired-flag-backup-files):
9475 Use `looking-at-p'.
9476 (dired-mark-files-regexp, dired-build-subdir-alist):
9477 Use `string-match-p', `looking-at-p'.
9478
9479 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9480 (direct-print-region-helper): Use `string-match-p'.
9481
aed838b5
LL
94822013-06-21 Leo Liu <sdl.web@gmail.com>
9483
cedf5c9d
JB
9484 * comint.el (comint-redirect-results-list-from-process):
9485 Fix infinite loop.
aed838b5 9486
d80a808f
LMI
94872013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9488
9489 * net/eww.el (eww-update-header-line-format): Quote % characters.
9490
e7a526e3
GM
94912013-06-21 Glenn Morris <rgm@gnu.org>
9492
9493 * play/cookie1.el (cookie): New custom group.
9494 (cookie-file): New option.
9495 (cookie-check-file): New function.
9496 (cookie): Make it interactive. Make start and end messages optional.
9497 Interactively, display the result. Default to cookie-file.
9498 (cookie-insert): Default to cookie-file.
9499 (cookie-snarf): Make start and end messages optional.
9500 Default to cookie-file. Use with-temp-buffer.
9501 (cookie-read): Rename from read-cookie.
9502 Make start and end messages optional. Default to cookie-file.
9503 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9504 Do not autoload it.
e7a526e3
GM
9505 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9506 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9507
62efb35e
LL
95082013-06-21 Leo Liu <sdl.web@gmail.com>
9509
9510 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9511
21e3f963
GM
95122013-06-21 Glenn Morris <rgm@gnu.org>
9513
9514 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9515
fd846ab4
SM
95162013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9517 Daniel Hackney <dan@haxney.org>
9518
9519 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9520 Consolidate the single-file vs tarball code.
9521 (package-desc-suffix): New function.
9522 (package-desc-full-name): Don't bother inlining it.
9523 (package-load-descriptor): Return the new package-desc.
9524 (package-mark-obsolete): Remove unused arg `package'.
9525 (package-unpack): Make it work for single files as well.
9526 Make it update package-alist.
9527 (package--make-autoloads-and-stuff): Rename from
9528 package--make-autoloads-and-compile. Don't compile any more.
9529 (package--compile): New function.
9530 (package-generate-description-file): New function, extracted from
9531 package-unpack-single.
9532 (package-unpack-single): Remove.
9533 (package--with-work-buffer): Add indentation and debugging info.
9534 (package-download-single): Remove.
9535 (package-install-from-archive): Rename from package-download-tar, make
9536 it take a pkg-desc, and make it work for single files as well.
9537 (package-download-transaction): Simplify.
9538 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9539 external tar program.
9540 (package-install-from-buffer): Remove `pkg-desc' argument.
9541 Use package-tar-file-info for tar-mode buffers.
9542 (package-install-file): Simplify accordingly.
9543 (package-archive-base): Change to take a pkg-desc.
9544 * tar-mode.el (tar--check-descriptor): New function, extracted from
9545 tar-get-descriptor.
9546 (tar-get-descriptor): Use it.
9547 (tar-get-file-descriptor): New function.
9548 (tar--extract): New function, extracted from tar-extract.
9549 (tar--extract): Use it.
9550 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9551 case the summary uses non-ascii. Adjust to new calling convention of
9552 package-tar-file-info.
9553
b7deae5e
LL
95542013-06-21 Leo Liu <sdl.web@gmail.com>
9555
fd846ab4
SM
9556 * comint.el (comint-redirect-results-list-from-process):
9557 Fix random delay. (Bug#14681)
b7deae5e 9558
7a65a0b2
JB
95592013-06-21 Juanma Barranquero <lekktu@gmail.com>
9560
9561 * profiler.el (profiler-format-number): Use log, not log10.
9562
1493c2af
JB
95632013-06-20 Juanma Barranquero <lekktu@gmail.com>
9564
9565 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9566
aff6371e
SM
95672013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9568
9569 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9570 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9571 yet available.
9572 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9573 (AUTOGENEL): ... here.
9574 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9575 (cl--defsubst-expand): Use it.
9576
89561f72
PE
95772013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9578
9579 * subr.el (log10): Move here from C code, and declare as obsolete.
9580 All uses of (log10 X) replaced with (log X 10).
9581
47199123
JB
95822013-06-20 Juanma Barranquero <lekktu@gmail.com>
9583
9584 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9585 Declare with `defvar-local'.
9586 (tabulated-list-use-header-line, tabulated-list-entries)
9587 (tabulated-list-padding, tabulated-list-printer)
9588 (tabulated-list-sort-key): Declare with `defvar-local'.
9589 (tabulated-list-init-header, tabulated-list-print-fake-header):
9590 Use `setq-local'.
9591
4a172eab
MA
95922013-06-20 Michael Albinus <michael.albinus@gmx.de>
9593
47199123
JB
9594 * arc-mode.el (archive-mode): Add `archive-write-file' to
9595 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9596
5fc0acc0
JB
95972013-06-20 Juanma Barranquero <lekktu@gmail.com>
9598
d5b27848
JB
9599 * cus-edit.el (custom-commands): Fix typos.
9600 (custom-display): Fix tooltip text.
9601 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9602 Fix typos in docstrings.
9603 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9604 (custom-unlispify-menu-entry, custom-magic-value-create)
9605 (custom-add-see-also, custom-group-value-create): Use ?\s.
9606 (custom-guess-type, customize-apropos, editable-field)
9607 (custom-face-value-create): Use `string-match-p'.
9608 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9609
9610 * custom.el (custom-load-symbol): Use `string-match-p'.
9611
a5c581d8
JB
9612 * ansi-color.el: Convert to lexical binding.
9613 (ansi-colors): Fix URL.
9614 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9615 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9616 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9617
970ad972
G
96182013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9619
9620 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9621
9622 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9623
96242013-06-19 Tom Tromey <tromey@redhat.com>
9625
9626 * net/eww.el (eww-top-url): Remove.
9627 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9628 (eww-render): Set new variables. Don't set eww-top-url.
9629 (eww-handle-link): Handle "prev", "home", and "contents".
9630 Downcase the rel text.
9631 (eww-top-url): Choose best top URL.
9632
96332013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9634
9635 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9636 relying in widget.el. Using widget.el leads to too many
9637 user interface inconsistencies.
9638 (eww-self-insert): Implement entering commands in text fields.
9639 (eww-process-text-input): New function to make text input field editing
9640 work.
9641 (eww-submit): Rewrite to use the new-style form methods.
9642 (eww-select-display): Display the correct selected item.
9643 (eww-change-select): Implement changing the select value.
9644 (eww-toggle-checkbox): Implement radio/checkboxes.
9645 (eww-update-field): Fix compilation error.
9646 (eww-tag-textarea): Implement <textarea>.
9647
9648 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9649 we don't shadow mode-specific bindings.
9650
9651 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9652 nothing to push.
9653
9654 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9655
4582a01c 96562013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9657
9658 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9659
15b263dc
MA
96602013-06-19 Michael Albinus <michael.albinus@gmx.de>
9661
9662 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9663 not needed.
9664
9665 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9666
8f5297f7
LMI
96672013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9668
9669 * net/browse-url.el (browse-url-browser-function):
9670 `eww-browse-url' has the right calling signature, `eww' does not.
9671
011c4552
GM
96722013-06-19 Glenn Morris <rgm@gnu.org>
9673
2285bd27
GM
9674 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9675 Only eval autoloaded macros.
9676 (byte-compile-autoload): Only give the macro warning for macros.
9677
1d653303
GM
9678 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9679 (ps-underlined-faces): Declare.
9680
bdd779ec
GM
9681 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9682 (speedbar-add-supported-extension): Declare.
9683
011c4552
GM
9684 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9685 Don't include a date stamp in the header of the generated file;
9686 it leads to needless differences between output files.
9687
e59dfb0e
MA
96882013-06-19 Michael Albinus <michael.albinus@gmx.de>
9689
c763842b
SM
9690 * net/secrets.el (secrets-struct-secret-content-type):
9691 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9692 Some servers do not offer introspection.
e59dfb0e 9693
102626e2
SM
96942013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * electric.el (electric-pair-mode): Improve interaction with
9697 electric-layout-mode.
9698 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9699 (electric-pair-syntax): Use text-mode-syntax-table in comments
9700 and strings.
9701 (electric-pair--insert): New function.
9702 (electric-pair-post-self-insert-function): Use it and
9703 electric--after-char-pos.
9704
ad528125
LL
97052013-06-19 Leo Liu <sdl.web@gmail.com>
9706
9707 * progmodes/octave.el (octave-help): Fix regexp.
9708
924d6997
G
97092013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9710
9711 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9712 (shr-table-horizontal-line): Allow nil as a value, and change the
9713 default.
9714 (shr-insert-table-ruler): Respect the nil value.
9715
97162013-06-18 Tom Tromey <tromey@barimba>
9717
9718 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9719 New defvars.
9720 (eww-open-file): New defun.
9721 (eww-render): Initialize new variables.
9722 (eww-display-html): Handle "link" and "a".
9723 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9724 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9725 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9726 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9727 New defuns.
924d6997 9728
d1bbba4f
DG
97292013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9730
9731 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9732 Distinguish ternary operator tokens from slash symbol and slash
9733 char literal.
9734
14dd22d2
JB
97352013-06-18 Juanma Barranquero <lekktu@gmail.com>
9736
9737 Convert symbol prettification into minor mode and global minor mode.
9738
9739 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9740 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9741 (prettify-symbols--keywords): Rename from
9742 `prog-prettify-symbols-alist' and make a local defvar.
9743 (prettify-symbols--compose-symbol): Rename from
9744 `prog--prettify-font-lock-compose-symbol'.
9745 (prettify-symbols--make-keywords): Rename from
9746 `prog-prettify-font-lock-symbols-keywords' and simplify.
9747 (prog-prettify-install): Remove.
9748 (prettify-symbols-mode): New minor mode, based on
9749 `prog-prettify-install'.
9750 (turn-on-prettify-symbols-mode): New function.
9751 (global-prettify-symbols-mode): New globalized minor mode.
9752
9753 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9754 * progmodes/cfengine.el (cfengine3-mode):
9755 * progmodes/perl-mode.el (perl-mode): Don't call
9756 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9757
292c880c
JL
97582013-06-18 Juri Linkov <juri@jurta.org>
9759
9760 * files-x.el (modify-file-local-variable-message): New function.
9761 (modify-file-local-variable)
9762 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9763 and call `modify-file-local-variable-message' when it's non-nil.
9764 (add-file-local-variable, delete-file-local-variable)
9765 (add-file-local-variable-prop-line)
9766 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9767 and use it. (Bug#9820)
9768
0950aa27
JL
97692013-06-18 Juri Linkov <juri@jurta.org>
9770
9771 * emulation/vi.el (vi-shell-op):
9772 * emulation/vip.el (vip-execute-com, ex-command):
9773 * emulation/viper-cmd.el (viper-exec-bang):
9774 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9775 the call of `shell-command-on-region'. (Bug#14637)
9776
9777 * simple.el (shell-command-on-region): Doc fix.
9778
8fbcca16
SM
97792013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9780
9781 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9782 (bug#14633).
9783
dd7426ea
GM
97842013-06-18 Glenn Morris <rgm@gnu.org>
9785
4ba54f7d
GM
9786 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9787
dd7426ea
GM
9788 * newcomment.el (comment-search-forward, comment-search-backward):
9789 Doc fix. (Bug#14376)
9790
58aa805b
JB
97912013-06-18 Juanma Barranquero <lekktu@gmail.com>
9792
9793 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9794 (buffer-face-mode-invoke): Doc fix.
9795
9a08a617
MM
97962013-06-18 Matthias Meulien <orontee@gmail.com>
9797
9798 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9799 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9800
f2f426ca
GM
98012013-06-18 Glenn Morris <rgm@gnu.org>
9802
9445f99b
GM
9803 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9804 Replace obsolete function generic-make-keywords with its expansion.
9805
e0df2d14
GM
9806 * progmodes/python.el (ffap-alist): Declare.
9807
f2f426ca
GM
9808 * textmodes/reftex.el (bibtex-mode-map): Declare.
9809
f7f9a720
SM
98102013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9811
9812 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9813 (package-unpack, package-unpack-single): Return the pkg-dir.
9814 (package-download-transaction): Use it to update package-alist.
9815
57ff04e0
LMI
98162013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9817
9818 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9819 possible choice.
9820
c048c022
JL
98212013-06-17 Juri Linkov <juri@jurta.org>
9822
9823 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9824
b5bcaee5
DG
98252013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9826
a020afb9
JB
9827 * emacs-lisp/package.el (package-load-descriptor):
9828 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9829 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9830
551e07e5
JB
98312013-06-17 Juanma Barranquero <lekktu@gmail.com>
9832
9833 * startup.el (command-line): Expand package name returned by
9834 `package--description-file' (bug#14639).
9835
d363bffb
DG
98362013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9837
9838 * emacs-lisp/package.el (package-load-descriptor): Do not call
9839 `emacs-lisp-mode', just use its syntax table.
9840
f612933b
JB
98412013-06-17 Juanma Barranquero <lekktu@gmail.com>
9842
9843 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9844 `font-lock-extra-managed-props' if any prettifying keyword is added.
9845 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9846 (prog-mode): Use `setq-local'.
9847
db3b7db5
SM
98482013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9849
9850 * international/characters.el (standard-case-table): Set syntax of ?»
9851 and ?« to punctuation.
9852
f3d674df
JB
98532013-06-16 Juanma Barranquero <lekktu@gmail.com>
9854
9855 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9856 Save relevant match data before calling `syntax-ppss' (bug#14595).
9857
31489a32
JL
98582013-06-15 Juri Linkov <juri@jurta.org>
9859
9860 * files-x.el (modify-file-local-variable-prop-line): Add local
9861 variables to the end of the existing comment on the first line.
9862 Use `file-auto-mode-skip' to skip interpreter magic line,
9863 and also skip XML declaration.
9864
66bd25ab
SM
98652013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * startup.el (package--builtin-versions): New var.
9868 (package-subdirectory-regexp): Remove.
9869 (package--description-file): Hard code its value instead.
9870
9871 * emacs-lisp/package.el: Don't activate packages older than builtin.
9872 (package-obsolete-list): Rename from package-obsolete-alist, and make
9873 it into a simple list of package-desc.
9874 (package-strip-version): Remove.
9875 (package-built-in-p): Use package--builtin-versions.
9876 (package-mark-obsolete): Simplify.
9877 (package-process-define-package): Mark it obsolete if older than the
9878 builtin version.
9879 (package-handle-response): Use line-end-position.
9880 (package-read-archive-contents, package--download-one-archive):
9881 Simplify.
9882 (package--add-to-archive-contents): Skip if older than the builtin or
9883 installed version.
9884 (package-menu-describe-package): Fix last change.
9885 (package-list-unversioned): New var.
9886 (package-menu--generate): Use it.
9887
9888 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9889 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9890 (autoload-builtin-package-versions): New variable.
9891 (autoload-generate-file-autoloads): Use them.
9892 Remove the list of autoloaded functions/macros from the
9893 (autoload...) comments.
9894
9895 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9896
9583ec36
EZ
98972013-06-15 Eli Zaretskii <eliz@gnu.org>
9898
9899 * simple.el (line-move-partial): Don't jump to the next screen
9900 line as soon as it becomes visible. Instead, continue enlarging
9901 the vscroll until the portion of a tall screen line that's left on
9902 display is about the height of the frame's default font.
9903 (Bug#14567)
9904
f0100d8a
GM
99052013-06-15 Glenn Morris <rgm@gnu.org>
9906
b86a85ca
GM
9907 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9908 compilation-error-regexp-alist void, or local while let-bound.
9909
f0100d8a
GM
9910 * progmodes/make-mode.el (makefile-mode-syntax-table):
9911 Treat "=" as punctuation. (Bug#14614)
9912
05e7ce90
JB
99132013-06-15 Juanma Barranquero <lekktu@gmail.com>
9914
9915 * help-fns.el (describe-variable):
9916 Add extra line for permanent-local variables.
9917
12e5e86e
SH
99182013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9919
9920 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9921 Add export, import, library. (Bug#9164)
9922 (library): Set indent function.
9923
230dcbaf
GM
99242013-06-14 Glenn Morris <rgm@gnu.org>
9925
9926 * term/xterm.el (xterm--query):
9927 Stop after first matching handler. (Bug#14615)
9928
e36b2d20 99292013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9930
9931 Add support for dired in saveplace.
9932 * dired.el (dired-initial-position-hook): New variable.
9933 (dired-initial-position): Call hook to place cursor position.
9934 * saveplace.el (save-place-to-alist): Add dired position.
9935 (save-place-dired-hook): New function.
9936
0b31660d
SM
99372013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9938
bf1e6ae8
SM
9939 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9940 through a symbol rather than letrec.
9941
1b8dff23
SM
9942 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9943 (package-desc): Add `dir' field.
9944 (package-desc-full-name): New function.
9945 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9946 (package-maybe-load-descriptor): Remove.
9947 (package-load-all-descriptors): Just call package-load-descriptor.
9948 (package--disabled-p): New function.
9949 (package-desc-vers, package-desc-doc): Remove aliases.
9950 (package--dir): Remove function.
9951 (package-activate): Check if a package is disabled.
9952 (package-process-define-package): New function, extracted from
9953 define-package.
9954 (define-package): Turn into a place holder.
9955 (package-unpack-single, package-tar-file-info):
9956 Use package--description-file.
9957 (package-compute-transaction): Use package--disabled-p.
9958 (package-download-transaction): Don't call
9959 package-maybe-load-descriptor since they're all loaded anyway.
9960 (package-install): Change argument to be a pkg-desc.
9961 (package-delete): Use a single pkg-desc argument.
9962 (describe-package-1): Use package-desc-dir instead of package--dir.
9963 Use package-desc property instead of package-symbol.
9964 (package-install-button-action): Adjust accordingly.
9965 (package--push): Rewrite.
9966 (package-menu--print-info): Adjust accordingly. Change the ID format
9967 to be a pkg-desc.
9968 (package-menu-describe-package, package-menu-get-status)
9969 (package-menu--find-upgrades, package-menu-mark-upgrades)
9970 (package-menu-execute, package-menu--name-predicate):
9971 Adjust accordingly.
9972 * startup.el (package--description-file): New function.
9973 (command-line): Use it.
9974 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9975 Use package-desc-version.
9976
0b31660d
SM
9977 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9978 (byte-compile-preprocess): Use it.
9979 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9980 can't quite recognize.
9981 (byte-compile-add-to-list): Remove.
9982 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9983 (cconv-closure-convert): Add assertion.
9984
9985 * emacs-lisp/map-ynp.el: Use lexical-binding.
9986 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9987 Factor out some repeated code.
9988
de0503df
SM
99892013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9990
9991 * subr.el (with-eval-after-load): New macro.
9992 (eval-after-load): Allow form to be a function.
9993 take advantage of lexical-binding.
9994 (do-after-load-evaluation): Use dolist and adjust to new format.
9995 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9996
bc5c8c5a
JL
99972013-06-13 Juri Linkov <juri@jurta.org>
9998
9999 * replace.el (perform-replace): Display "symbol " and other search
10000 modes from `isearch-message-prefix' in the *Help* buffer.
10001
10002 * isearch.el (isearch-query-replace): Add " symbol" and other
10003 possible search modes from `isearch-message-prefix' to the prompt.
10004 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10005 when reading a regexp to collect.
10006
a22289f7
JL
100072013-06-13 Juri Linkov <juri@jurta.org>
10008
10009 * isearch.el (word-search-regexp): Match whitespace if the search
10010 string begins or ends in whitespace. The LAX arg is applied to
10011 both ends of the search string. Use `regexp-quote' and explicit
10012 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10013 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10014 boundaries are replaced with symbol boundaries, and characters
10015 between symbols match non-word non-symbol syntax. (Bug#14602)
10016
cb89acab
JL
100172013-06-13 Juri Linkov <juri@jurta.org>
10018
10019 * isearch.el (isearch-del-char): Don't exceed the length of
10020 `isearch-string' by the prefix arg. (Bug#14563)
10021
6e8cfc81
JL
100222013-06-13 Juri Linkov <juri@jurta.org>
10023
10024 * isearch.el (isearch-yank-word, isearch-yank-line)
10025 (isearch-char-by-name, isearch-quote-char)
10026 (isearch-printing-char, isearch-process-search-char):
10027 Add optional count prefix arg. (Bug#14563)
10028
10029 * international/isearch-x.el
10030 (isearch-process-search-multibyte-characters):
10031 Add optional count prefix arg.
10032
c23d55f4
VS
100332013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10034
10035 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10036 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10037 lexical-binding.
10038
100392013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10040
10041 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10042
ba947bc4
GM
100432013-06-13 Glenn Morris <rgm@gnu.org>
10044
8baeb37a
GM
10045 * startup.el (tty-handle-args):
10046 Don't just discard "--" and anything after. (Bug#14608)
10047
ba947bc4
GM
10048 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10049
9abefce4
MA
100502013-06-13 Michael Albinus <michael.albinus@gmx.de>
10051
10052 Implement changes in Secret Service API. Make it backward compatible.
10053 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10054 (secrets-create-item): Use it. Prefix properties with interface.
10055
5755011f
MH
100562013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10057
10058 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10059 (term-emulate-terminal): Respect term-suppress-hard-newline.
10060
1261d2da
S
100612013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10062
10063 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10064 Only remove a `thumb-file' overlay. (Bug#14548)
10065
868490bb
GJ
100662013-06-12 Grégoire Jadi <daimrod@gmail.com>
10067
10068 * mail/reporter.el (reporter-submit-bug-report):
10069 Handle missing package-name. (Bug#14600)
10070
79d7167f
TH
100712013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10072
10073 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10074 (reftex-citation-prompt, reftex-default-bibliography)
10075 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10076 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10077 (reftex-bib-sort-author, reftex-bib-sort-year)
10078 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10079 (reftex-extract-bib-entries-from-thebibliography)
10080 (reftex-get-bibkey-default, reftex-get-bib-names)
10081 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10082 (reftex-format-bib-entry, reftex-parse-bibitem)
10083 (reftex-format-bibitem, reftex-do-citation)
10084 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10085 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10086 (reftex-insert-bib-matches, reftex-format-citation)
10087 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10088 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10089 existing comments into docstrings.
10090
5f9dbd7a
XF
100912013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10092
10093 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10094
94df41ab
AS
100952013-06-12 Andreas Schwab <schwab@suse.de>
10096
10097 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10098 for auto-save files.
10099
a7f3fecc
GM
101002013-06-12 Glenn Morris <rgm@gnu.org>
10101
001809f6
GM
10102 * ido.el (ido-delete-ignored-files): Remove.
10103 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10104 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10105
834b5ded
EL
101062013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10107
08c73ed2
EL
10108 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10109
834b5ded
EL
10110 * ido.el (ido-delete-ignored-files): New function,
10111 split from ido-make-file-list-1.
10112 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10113 (ido-make-file-list-1): Use ido-delete-ignored-files.
10114
daabf15a
LL
101152013-06-12 Leo Liu <sdl.web@gmail.com>
10116
10117 * progmodes/octave.el (inferior-octave-startup)
10118 (inferior-octave-completion-table)
10119 (inferior-octave-track-window-width-change)
10120 (octave-eldoc-function-signatures, octave-help)
10121 (octave-find-definition): Use single quoted strings.
10122 (inferior-octave-startup-args): Change default value.
10123 (inferior-octave-startup): Do not hard code "-i" and
10124 "--no-line-editing".
10125 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10126 (inferior-octave-directory-tracker): Use it.
10127 (octave-goto-function-definition): Robustify.
10128 (octave-help): Support highlighting operators in 'See also'.
10129 (octave-find-definition): Find subfunctions only in Octave mode.
10130
cf4e5178
SM
101312013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10132
10133 * help-fns.el (help-fns--compiler-macro): If the handler function is
10134 named, then put a link to it.
10135 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10136 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10137 (cl-typep): Use it.
10138 (cl-eval-when): Simplify debug spec.
10139 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10140 compiler-macro function instead of setting `compiler-macro-file'.
10141
99c81280 101422013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10143
10144 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10145 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10146
f56be016
SM
101472013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10148 Daniel Hackney <dan@haxney.org>
10149
10150 First part of Daniel Hackney's patch to package.el.
10151 * emacs-lisp/package.el: Use defstruct.
10152 (package-desc): New, main struct.
10153 (package--bi-desc, package--ac-desc): New structs, used to describe the
10154 format in external files.
10155 (package-desc-vers): Replace with package-desc-version accessor.
10156 (package-desc-doc): Replace with package-desc-summary accessor.
10157 (package-activate-1): Remove `package' arg since the pkg-vec now
10158 includes the name.
10159 (define-package): Use package-desc-from-define.
10160 (package-unpack-single): Change file-name arg to be a symbol.
10161 (package--add-to-archive-contents): Use package-desc-create and new
10162 accessor functions to package--ac-desc.
10163 (package-buffer-info, package-tar-file-info): Return a package-desc.
10164 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10165 arg to be a package-desc.
10166 (package-install-file): Adjust accordingly. Use \' to match EOS.
10167 (package--from-builtin): New function.
10168 (describe-package-1, package-menu--generate): Use it.
10169 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10170 (package-generate-autoloads): Idem and return the name of the file.
10171 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10172 Change pkg-info arg to be a package-desc.
10173 Use package-make-ac-desc.
10174 (package-upload-file): Use \' to match EOS.
10175 * finder.el (finder-compile-keywords): Use package-make-builtin.
10176
31119d63
SM
101772013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10178
931a2762
SM
10179 * vc/vc.el (vc-deduce-fileset): Change error message.
10180 (vc-read-backend): New function.
10181 (vc-next-action): Use it.
10182
5a3eb0c6
SM
10183 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10184
e3eb1bb7
SM
10185 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10186 (prolog-font-lock-keywords): Use regexp-opt instead.
10187 Don't manually highlight strings.
10188 (prolog-mode-variables): Simplify comment-start-skip.
10189 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10190
31119d63
SM
10191 * emacs-lisp/generic.el (generic--normalise-comments)
10192 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10193 (generic-mode-set-comments): Use them.
10194 (generic-bracket-support): Use setq-local.
10195 (generic-make-keywords-list): Declare obsolete.
10196
7de135d0
GM
101972013-06-11 Glenn Morris <rgm@gnu.org>
10198
10199 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10200 Prettify after setting font-lock-defaults. (Bug#14574)
10201
fa6bc6fd
JB
102022013-06-11 Juanma Barranquero <lekktu@gmail.com>
10203
10204 * replace.el (query-replace, occur-read-regexp-defaults-function)
10205 (replace-search):
10206 * subr.el (declare-function, number-sequence, local-set-key)
10207 (substitute-key-definition, locate-user-emacs-file)
10208 (with-silent-modifications, split-string, eval-after-load):
10209 Fix typos, remove unneeded backslashes and reflow some docstrings.
10210
cf1f9b9a
SM
102112013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10212
10213 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10214 default for Elisp files.
10215
56602a4b
GM
102162013-06-11 Glenn Morris <rgm@gnu.org>
10217
10218 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10219 although define-derived-mode was doing this anyway. (Bug#14583)
10220
30ae0b2c
JB
102212013-06-10 Juanma Barranquero <lekktu@gmail.com>
10222
10223 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10224 Fix make-variable-buffer-local call to refer to the correct variable.
10225
fa472906
AG
102262013-06-10 Aidan Gauland <aidalgol@amuri.net>
10227
10228 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10229 (eshell-visual-subcommands, eshell-visual-options):
10230 Add summary line to docstrings. Add cross-references.
fa472906 10231
ff4871b9
GM
102322013-06-10 Glenn Morris <rgm@gnu.org>
10233
10234 * epa.el (epa-read-file-name): New function. (Bug#14510)
10235 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10236
04fcf1b0
AG
102372013-06-09 Aidan Gauland <aidalgol@amuri.net>
10238
10239 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10240 output redirection to be ignored with visual commands.
10241
88b00caa
AG
102422013-06-09 Aidan Gauland <aidalgol@amuri.net>
10243
10244 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10245 (eshell-term-initialize): Move long lambda to separate function
10246 eshell-visual-command-p.
e7b41c4c
JB
10247 * eshell/em-dirs.el (eshell-dirs-initialise):
10248 * eshell/em-script.el (eshell-script-initialize):
10249 Add missing #' to lambda.
88b00caa 10250
fda74125
LL
102512013-06-08 Leo Liu <sdl.web@gmail.com>
10252
10253 * progmodes/octave.el (octave-add-log-current-defun): New function.
10254 (octave-mode): Set add-log-current-defun-function.
10255 (octave-goto-function-definition): Do not move point if not found.
10256 (octave-find-definition): Enhance to try subfunctions first.
10257
467f3b33
GM
102582013-06-08 Glenn Morris <rgm@gnu.org>
10259
10260 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10261 (byte-compile-backward-char, byte-compile-backward-word):
10262 Improve previous change, to handle non-explicit nil.
10263
544badc3
SM
102642013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10265
10266 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10267 (smie--opener/closer-at-point): New function.
10268 (smie--matching-block-data): Use it. Don't match from right after an
10269 opener or right before a closer. Obey smie-blink-matching-inners.
10270 Don't signal a mismatch for repeated inners like "switch..case..case".
10271
a175bf33
LL
102722013-06-07 Leo Liu <sdl.web@gmail.com>
10273
10274 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10275 to t. (Bug#14303)
ce8209d4
LL
10276 (octave-function-header-regexp): Fix. (Bug#14570)
10277 (octave-help-mode-finish-hook, octave-help-mode-finish):
10278 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10279
10280 * newcomment.el (comment-search-backward): Revert last change.
10281 (Bug#14434)
10282
10283 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10284
a822acff
EZ
102852013-06-07 Eli Zaretskii <eliz@gnu.org>
10286
10287 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10288 through xargs, to avoid failure due to MS-Windows limitations on
10289 command-line length.
10290
961166f5
GM
102912013-06-06 Glenn Morris <rgm@gnu.org>
10292
d0341459
GM
10293 * font-lock.el (lisp-font-lock-keywords-2):
10294 Treat user-error like error.
10295
961166f5
GM
10296 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10297 (byte-compile-backward-char, byte-compile-backward-word):
10298 Handle explicit nil arguments. (Bug#14565)
10299
80fa505f
AM
103002013-06-05 Alan Mackenzie <acm@muc.de>
10301
10302 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10303 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10304 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10305 (Bug#9706)
80fa505f 10306
fccdc796
SM
103072013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * autorevert.el (auto-revert-notify-handler): Use memq.
10310 Hide assertion failure.
10311
10312 * skeleton.el: Use cl-lib.
10313 (skeleton-further-elements): Use defvar-local.
10314 (skeleton-insert): Use cl-progv.
10315
9bfff84b
TZ
103162013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10317
10318 * progmodes/prog-mode.el (prog-prettify-symbols)
10319 (prog-prettify-install): Update docstrings.
10320
55577e7c
SM
103212013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10322
10323 * simple.el: Move all the prog-mode code to prog-mode.el.
10324 * progmodes/prog-mode.el: New file.
10325 * loadup.el: Add prog-mode.el.
10326
8fc57765
TZ
103272013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10328
10329 * simple.el (prog-prettify-symbols): Add version.
10330 (prog-prettify-install): Add convenience function to prettify symbols.
10331
10332 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10333 (perl--augmented-font-lock-keywords-1)
10334 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10335 variables and use it.
10336
10337 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10338 (cfengine3-mode): Remove unneeded variable and use it.
10339
10340 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10341 (lisp--augmented-font-lock-keywords-1)
10342 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10343 Remove unneeded variables and use it.
10344
650645d5 103452013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
10346
10347 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 10348 to point when opening the connection. (Bug#14380)
28f5da6d 10349
781b4af6
SM
103502013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10351
10352 * subr.el (load-history-regexp, load-history-filename-element)
10353 (eval-after-load, after-load-functions, do-after-load-evaluation)
10354 (eval-next-after-load, display-delayed-warnings)
10355 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10356 definition of save-match-data.
10357 (overriding-local-map): Remove accidental obsolescence declaration.
10358
10359 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10360
3ca0d0b4
TZ
103612013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10362
10363 Generalize symbol prettify support to prog-mode and implement it
10364 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10365 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10366 (prog--prettify-font-lock-compose-symbol)
10367 (prog-prettify-font-lock-symbols-keywords): New variables and
10368 functions to support symbol prettification.
10369 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10370 (lisp--augmented-font-lock-keywords-1)
10371 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10372 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10373 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
10374 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10375 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
10376 * progmodes/perl-mode.el (perl-prettify-symbols)
10377 (perl--font-lock-compose-symbol)
10378 (perl--font-lock-symbols-keywords): Move to prog-mode.
10379 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10380 (perl-font-lock-keywords-1)
10381 (perl-font-lock-keywords-2): Remove explicit prettify support.
10382 (perl--augmented-font-lock-keywords)
10383 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
10384 (perl--augmented-font-lock-keywords-2, perl-mode):
10385 Implement prettify support.
3ca0d0b4 10386
976cb066
LL
103872013-06-05 Leo Liu <sdl.web@gmail.com>
10388
10389 Re-implement smie matching block highlight using
10390 show-paren-data-function. (Bug#14395)
10391 * emacs-lisp/smie.el (smie-matching-block-highlight)
10392 (smie--highlight-matching-block-overlay)
10393 (smie--highlight-matching-block-lastpos)
10394 (smie-highlight-matching-block)
10395 (smie-highlight-matching-block-mode): Remove.
10396 (smie--matching-block-data-cache): New variable.
10397 (smie--matching-block-data): New function.
10398 (smie-setup): Use smie--matching-block-data for
10399 show-paren-data-function.
10400
10401 * progmodes/octave.el (octave-mode-menu): Fix.
10402 (octave-find-definition): Skip garbage lines.
10403
208d0342
SM
104042013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 Fix compilation error with simultaneous dynamic+lexical scoping.
10407 Add warning when a defvar appears after the first let-binding.
10408 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10409 (byte-compile-close-variables): Initialize it.
10410 (byte-compile--declare-var): New function.
10411 (byte-compile-file-form-defvar)
10412 (byte-compile-file-form-define-abbrev-table)
10413 (byte-compile-file-form-custom-declare-variable): Use it.
10414 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10415 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10416 (byte-compile-bind): Handle dynamic bindings that shadow
10417 lexical bindings.
10418 (byte-compile-unbind): Make arg non-optional.
10419 (byte-compile-let): Simplify.
10420 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10421 (cconv--analyse-function, cconv-analyse-form): Populate it.
10422 Protect byte-compile-bound-variables to limit the scope of defvars.
10423 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10424 Remove unneeded rule for `declare'.
10425
10426 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10427 so as to avoid depending on cl-adjoin at run-time.
10428 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10429
10430 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10431 (macroexp--warn-and-return): Use it.
10432
1ac2891e
GM
104332013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10434
a12bf61e 10435 * subr.el: Convert to lexical binding.
1ac2891e
GM
10436 (overriding-local-map): Make obsolete.
10437 (add-to-list): Doc fix. Add compiler macro.
10438 (read-key): Swap values of local maps.
10439
2587b005
LL
104402013-06-05 Leo Liu <sdl.web@gmail.com>
10441
10442 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10443
f1da3c88
LL
104442013-06-04 Leo Liu <sdl.web@gmail.com>
10445
10446 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10447 (compilation-auto-jump): Suppress the "Mark set" message to give
10448 way to exit message.
10449
3caa391f
AM
104502013-06-04 Alan Mackenzie <acm@muc.de>
10451
10452 Remove faulty optimisation from indentation calculation.
10453 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10454 search limit based on 2000 characters back from indent-point.
10455
068922a2
TH
104562013-06-03 Tassilo Horn <tsdh@gnu.org>
10457
10458 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10459
1f8fdd53
SM
104602013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10461
bbcc4d97
SM
10462 * emacs-lisp/lisp.el: Use lexical-binding.
10463 (lisp--local-variables-1, lisp--local-variables): New functions.
10464 (lisp--local-variables-completion-table): New var.
208d0342 10465 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10466
1f8fdd53
SM
10467 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10468 eagerly (bug#14422).
10469
c9628c79
MA
104702013-06-03 Michael Albinus <michael.albinus@gmx.de>
10471
10472 * autorevert.el (auto-revert-notify-enabled)
10473 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10474 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10475 (auto-revert-notify-handler): Handle also gfilenotify.
10476
e7b41c4c 10477 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10478 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10479 Remove.
c9628c79 10480
e5e4a942
JL
104812013-06-03 Juri Linkov <juri@jurta.org>
10482
10483 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10484 `M-s h .'. (Bug#14427)
10485
10486 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10487 command `hi-lock-face-symbol-at-point'.
10488 (hi-lock-face-symbol-at-point): New command.
10489 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10490 (hi-lock-menu): Add `highlight-symbol-at-point'.
10491 (hi-lock-mode): Doc fix.
10492
10493 * isearch.el (isearch-forward-symbol-at-point): New command.
10494 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10495 (isearch-highlight-regexp): Add a regexp which matches
10496 words/symbols for word/symbol mode.
10497
10498 * subr.el (find-tag-default-bounds): New function with the body
10499 mostly moved from `find-tag-default'.
10500 (find-tag-default): Move most code to `find-tag-default-bounds',
10501 call it and apply `buffer-substring-no-properties' afterwards.
10502
26b3353a
TH
105032013-06-03 Tassilo Horn <tsdh@gnu.org>
10504
781b4af6
SM
10505 * eshell/em-term.el (eshell-term-initialize):
10506 Use `cl-intersection' rather than `intersection'.
26b3353a 10507
51b60f53
XF
105082013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10509
fe054b63 10510 * vc/log-view.el: Doc fix.
d3ffe17c 10511 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10512
a0eb10b3 105132013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10514
10515 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10516 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10517 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10518 (eieio-unbound, eieio-default-superclass)
10519 (eieio--define-field-accessors, method-static, method-before)
10520 (method-primary, method-after, method-num-lists)
10521 (method-generic-before, method-generic-primary)
10522 (method-generic-after, method-num-slots)
10523 (eieio-specialized-key-to-generic-key)
10524 (eieio--check-type, class-v, class-p)
10525 (eieio-class-name, define-obsolete-function-alias)
10526 (eieio-class-parents-fast, eieio-class-children-fast)
10527 (same-class-fast-p, class-constructor, generic-p)
10528 (generic-primary-only-p, generic-primary-only-one-p)
10529 (class-option-assoc, class-option, eieio-object-p)
10530 (class-abstract-p, class-method-invocation-order)
10531 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10532 (eieio-class-un-autoload, eieio-defclass)
10533 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10534 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10535 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10536 (eieio-defgeneric-reset-generic-form)
10537 (eieio-defgeneric-form-primary-only)
10538 (eieio-defgeneric-reset-generic-form-primary-only)
10539 (eieio-defgeneric-form-primary-only-one)
10540 (eieio-defgeneric-reset-generic-form-primary-only-one)
10541 (eieio-unbind-method-implementations)
10542 (eieio--defmethod, eieio--typep)
10543 (eieio-perform-slot-validation, eieio-validate-slot-value)
10544 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10545 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10546 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10547 (eieio-slot-name-index, eieio-class-slot-name-index)
10548 (eieio-set-defaults, eieio-initarg-to-attribute)
10549 (eieio-attribute-to-initarg, eieio-c3-candidate)
10550 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10551 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10552 (eieio-class-precedence-list, eieio-generic-call-methodname)
10553 (eieio-generic-call-arglst, eieio-generic-call-key)
10554 (eieio-generic-call-next-method-list)
10555 (eieio-pre-method-execution-functions, eieio-generic-call)
10556 (eieio-generic-call-primary-only, eieiomt-method-list)
10557 (eieiomt-optimizing-obarray, eieiomt-install)
10558 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10559 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10560 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10561 (defclass): Remove `eval-and-compile' from macro.
10562 (call-next-method, shared-initialize): Instead of using
10563 `scoped-class' variable, use new eieio--scoped-class, and
10564 eieio--with-scoped-class.
10565 (initialize-instance): Rename local variable 'scoped-class' to
10566 'this-class' to remove ambiguitity from old global.
10567
10568 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10569 eieio.el.
4f405069
JB
10570 (eieio--scoped-class-stack): New variable.
10571 (eieio--scoped-class): New fcn.
890f7890
DE
10572 (eieio--with-scoped-class): New scoping macro.
10573 (eieio-defclass): Use pushnew instead of add-to-list.
10574 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10575 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10576 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10577 `scoped-class' variable, use new eieio--scoped-class, and
10578 eieio--with-scoped-class.
10579
10580 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10581
d105b0e2
TH
105822013-06-02 Tassilo Horn <tsdh@gnu.org>
10583
10584 * eshell/esh-ext.el (eshell-external-command): Pass args to
10585 `eshell-find-interpreter'.
10586 (eshell-find-interpreter): Add new second parameter ARGS.
10587
10588 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10589 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10590
10591 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10592 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10593
10594 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10595 (eshell-visual-options): New defcustom.
10596 (eshell-escape-control-x): Adapt docstring.
10597 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10598 `eshell-visual-options' in addition to `eshell-visual-commands'.
10599 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10600
f46305c8 106012013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10602
10603 * progmodes/python.el (python-indent-block-enders): Add break,
10604 continue and raise keywords.
10605
d870df21
GM
106062013-06-01 Glenn Morris <rgm@gnu.org>
10607
9133b82e
GM
10608 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10609
02c992ec 10610 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10611 * progmodes/cc-cmds.el (delete-forward-p):
10612 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10613 * progmodes/cc-engine.el (buffer-syntactic-context):
10614 * progmodes/cc-fonts.el (face-property-instance):
10615 * progmodes/cc-mode.el (set-keymap-parents):
10616 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10617 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10618 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10619 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10620 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10621
31e7b090
GM
10622 * progmodes/cc-vars.el (other): Emacs has this widget since
10623 at least 21.1, so don't (re)define it.
10624
d870df21
GM
10625 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10626 Replace the obsolete alias pcomplete-arg-quote-list.
10627
c75c93c7
LL
106282013-06-01 Leo Liu <sdl.web@gmail.com>
10629
10630 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10631 punctuation syntax.
10632 (inferior-octave-minimal-columns)
10633 (inferior-octave-last-column-width): New variables.
10634 (inferior-octave-track-window-width-change): New function.
10635 (inferior-octave-mode): Adjust column width so that Octave output,
10636 for example from 'ls', can fit into the window nicely.
10637
973d1e12
DG
106382013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10639
10640 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10641 Highlight expansions inside regexp literals.
10642
0888c286
GM
106432013-05-31 Glenn Morris <rgm@gnu.org>
10644
e26aac1f
GM
10645 * obsolete/sym-comp.el (symbol-complete):
10646 Replace obsolete completion-annotate-function.
10647
0888c286
GM
10648 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10649
19bb8e62
DG
106502013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10651
781b4af6
SM
10652 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10653 New function, checks if point is inside a literal that allows
19bb8e62
DG
10654 expression expansion.
10655 (ruby-syntax-propertize-expansion): Use it.
10656 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10657 around the body.
10658
01dea85f
JL
106592013-05-30 Juri Linkov <juri@jurta.org>
10660
10661 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10662 to "\M-si".
10663 (isearch-invisible): New variable.
10664 (isearch-forward): Doc fix.
10665 (isearch-mode): Set `isearch-invisible'
10666 to the value of `search-invisible'.
10667 (isearch-toggle-case-fold): Doc fix.
10668 (isearch-toggle-invisible): New command.
10669 (isearch-query-replace): Let-bind `search-invisible'
10670 to the value of `isearch-invisible'.
10671 (isearch-search): Use `isearch-invisible' instead of
10672 `search-invisible'. Let-bind `search-invisible'
10673 to the value of `isearch-invisible'. (Bug#11378)
10674
ab1bdce5
JL
106752013-05-30 Juri Linkov <juri@jurta.org>
10676
10677 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10678 call when `query-flag' is nil and `search-invisible' is non-nil.
10679 (Bug#11746)
10680
d6d236e2
GM
106812013-05-30 Glenn Morris <rgm@gnu.org>
10682
8accd027
GM
10683 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10684
2a8bed1c
GM
10685 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10686 (cc-require): Suppress spurious "noruntime" warnings.
10687 (cc-require-when-compile): Use fboundp, for sake of compiler.
10688
d6d236e2
GM
10689 * progmodes/cc-mode.el: Move load of cc-vars before that of
10690 cc-langs (which in turn loads cc-vars), to quieten compiler.
10691
9190b35b
SM
106922013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * paren.el: Simplify the code.
10695 (show-paren-mode): Always start the timer.
10696 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10697 (show-paren--overlay, show-paren--overlay-1): Rename from
10698 show-paren-overlay and show-paren-overlay-1, and initialize to an
10699 overlay rather than to nil.
10700 (show-paren-function): Misc cleanup and simplifications.
10701
4f8d1cf6
SM
107022013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * paren.el (show-paren-data-function): New hook.
10705 (show-paren--default): New function, extracted from show-paren-function.
10706 (show-paren-function): Use show-paren-data-function.
10707
02d844b5
GM
107082013-05-30 Glenn Morris <rgm@gnu.org>
10709
d209d4a9
GM
10710 * ielm.el (ielm-map, ielm-complete-symbol):
10711 Use completion-at-point rather than obsolete functions.
10712 (inferior-emacs-lisp-mode): Doc fix.
10713 Set completion-at-point-functions, rather than
10714 comint-dynamic-complete-functions.
10715
2082faa6
GM
10716 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10717 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10718 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10719
dd8620de
GM
10720 * image.el (image-animated-p): Tweak definition.
10721
ceca95b1
GM
10722 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10723 (rlogin-process-connection-type): Tweak default. Add set-after.
10724 (rlogin-host): Doc fix.
10725 (rlogin): Tweak prompt.
10726 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10727
ee9f1acc
GM
10728 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10729 * progmodes/tcl.el (inferior-tcl-mode-map):
10730 Use completion-at-point rather than obsolete alias.
10731
45ce222e
GM
10732 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10733
02d844b5
GM
10734 * minibuffer.el (read-file-name-completion-ignore-case):
10735 Move before completion--in-region, for eager macro expansion.
10736
ac44d6c1
JL
107372013-05-29 Juri Linkov <juri@jurta.org>
10738
10739 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10740 for total count of matching lines. Add `global-matches' for total
10741 count of matches. Rename `matches' to `lines' for count of
10742 matching lines. Add `matches' for count of matches.
10743 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10744 to `prev-line' for line number of prev match endpt.
10745 Increment `matches' for every match. Print the number of
10746 matching lines in the header.
10747 (occur-context-lines): Rename `lines' to `curr-line'.
10748 Rename `prev-lines' to `prev-line'. (Bug#14017)
10749
3c9c9d38
JL
107502013-05-29 Juri Linkov <juri@jurta.org>
10751
10752 * replace.el (perform-replace): Add `skip-read-only-count',
10753 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10754 Increment them for corresponding conditions and report the number
10755 of skipped occurrences in the final message. (Bug#11746)
10756 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10757 (replace-string, replace-regexp): Doc fix.
10758
33e249a2
SM
107592013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10760
8e399682
SM
10761 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10762
33e249a2 10763 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10764 prog-mode-map (bug#14504).
33e249a2 10765
f236dd84
LL
107662013-05-29 Leo Liu <sdl.web@gmail.com>
10767
10768 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10769 (octave-help): Small simplification.
10770
10771 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10772 off the highlight first.
10773
3694d13f
GM
107742013-05-29 Glenn Morris <rgm@gnu.org>
10775
03983bdc
GM
10776 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10777 Handle idlwave-last-system-routine-info-cons-cell being nil.
10778
bc74a74a
GM
10779 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10780 (idlwave-write-paths): Simplify via with-temp-buffer.
10781
8b394200
GM
10782 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10783 * emulation/cua-rect.el: Also load cua-base at run time.
10784
3694d13f
GM
10785 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10786 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10787 (cperl-imenu-on-info): Require imenu.
10788
336d7284
AM
107892013-05-28 Alan Mackenzie <acm@muc.de>
10790
10791 Handle "capitalised keywords" correctly.
33e249a2 10792 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10793
cb29c582
AG
107942013-05-28 Aidan Gauland <aidalgol@amuri.net>
10795
781b4af6 10796 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10797
690e44b2
GM
107982013-05-28 Glenn Morris <rgm@gnu.org>
10799
e658d75c
GM
10800 * vc/vc-arch.el (vc-exec-after): Declare.
10801 (vc-switches): Autoload.
10802 * vc/vc-bzr.el: No need to require vc when compiling.
10803 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10804 (vc-resynch-buffer, vc-dir-refresh): Declare.
10805 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10806 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10807 (vc-resynch-buffer): Declare.
10808 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10809 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10810 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10811 (grep-read-regexp, grep-read-files, grep-expand-template)
10812 (vc-dir-refresh): Declare.
10813 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10814 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10815 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10816 * vc/vc-mtn.el (vc-exec-after): Declare.
10817 (vc-switches): Autoload.
10818 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10819 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10820 (vc-file-tree-walk): Declare.
712b9732
GM
10821 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10822 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10823 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10824 * vc/vc-svn.el (vc-exec-after): Declare.
10825 (vc-switches, vc-setup-buffer): Autoload.
10826 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10827 Autoload.
10828 (vc-resynch-buffer): Declare.
10829
98e87fb3
GM
10830 * obsolete/fast-lock.el (byte-compile-warnings):
10831 Don't warn about obsolete features in this obsolete file.
10832
f5379553
GM
10833 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10834 Move definition before use.
10835
7a20ef83
GM
10836 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10837 (dun-unix-verbs): Remove dun-zippy.
10838 (dun-zippy): Remove function.
10839
690e44b2
GM
10840 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10841
3a52ccf7
JL
108422013-05-27 Juri Linkov <juri@jurta.org>
10843
10844 * replace.el (replace-search): New function with code moved out
10845 from `perform-replace'.
10846 (replace-highlight, replace-dehighlight): Move function definitions
10847 up closer to `replace-search'. (Bug#11746)
10848
d289938a
JL
108492013-05-27 Juri Linkov <juri@jurta.org>
10850
10851 * replace.el (perform-replace): Ignore invisible matches.
10852 In addition to checking `query-replace-skip-read-only', also
10853 filter out matches by calling `run-hook-with-args-until-failure'
10854 on `isearch-filter-predicates', and also check `search-invisible'
10855 for t or call `isearch-range-invisible'.
10856 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10857
66fc57e3
JL
108582013-05-27 Juri Linkov <juri@jurta.org>
10859
10860 * isearch.el (isearch-filter-predicates): Rename from
10861 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10862 (isearch-message-prefix): Display text from the property
10863 `isearch-message-prefix' of the currently active filters.
10864 (isearch-search): Don't compare `isearch-filter-predicate' with
10865 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10866 on `isearch-filter-predicates'. Also check `search-invisible' for t
10867 or call `isearch-range-invisible'.
10868 (isearch-filter-visible): Make obsolete.
10869 (isearch-lazy-highlight-search):
10870 Call `run-hook-with-args-until-failure' on
10871 `isearch-filter-predicates' and use `isearch-range-invisible'.
10872
10873 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10874 `isearch-filter-predicates' instead of `funcall'ing
10875 `isearch-filter-predicate'.
10876 (Info-mode): Set `Info-isearch-filter' to
10877 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10878
10879 * dired-aux.el (dired-isearch-filter-predicate-orig):
10880 Remove variable.
10881 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10882 (dired-isearch-filenames-end): Add and remove
10883 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10884 instead of changing the value of `isearch-filter-predicate'.
10885 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10886 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10887 Put property `isearch-message-prefix' to "filename " on
10888 `dired-isearch-filter-filenames'.
10889
10890 * wdired.el (wdired-change-to-wdired-mode):
10891 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10892 locally instead of changing `isearch-filter-predicate'.
10893 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10894
f1a60a0f
DG
108952013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10896
10897 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10898 return the commit hash (Bug#14459). Also set the
10899 `vc-git-detached' property.
10900 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10901 (vc-git-mode-line-string): Use the same help-echo format whether
10902 in detached mode or not, because we know the actual revision now.
10903 When in detached mode, shorten the revision to 7 chars.
10904
7f17cc40
SM
109052013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10906
10907 * emacs-lisp/easy-mmode.el (define-minor-mode):
10908 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10909 mode hook and provide a docstring.
10910
25c8401c
AM
109112013-05-27 Alan Mackenzie <acm@muc.de>
10912
10913 Remove spurious syntax-table text properties inserted by C-y.
10914 * progmodes/cc-mode.el (c-after-change): Also clear hard
10915 syntax-table property with value nil.
10916
dde84790
MA
109172013-05-27 Michael Albinus <michael.albinus@gmx.de>
10918
10919 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10920 when reading the events; the buffer layout shall not be changed.
10921
837fd9af
LL
109222013-05-27 Leo Liu <sdl.web@gmail.com>
10923
10924 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10925 New variable.
10926 (inferior-octave-directory-tracker): Automatically re-sync
10927 default-directory.
10928 (octave-help): Improve handling of 'See also'.
10929
4fd996b3
SM
109302013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10931
416f1802
SM
10932 * doc-view.el: Minor naming convention tweaks.
10933 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10934
4fd996b3
SM
10935 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10936 even if there's no `display' property yet (bug#14435).
10937
a052ef3b
EZ
109382013-05-25 Eli Zaretskii <eliz@gnu.org>
10939
4fd996b3 10940 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10941
10942 * Makefile.in (custom-deps, finder-data, autoloads)
10943 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10944 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10945 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10946
c9023370
SM
109472013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10948
10949 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10950 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10951 Don't burp at EOB.
c9023370 10952
24d699fa
LL
109532013-05-25 Leo Liu <sdl.web@gmail.com>
10954
10955 * comint.el (comint-previous-matching-input): Do not flood the
10956 *Messages* buffer with trivial messages.
10957
17e5c0cc
SM
109582013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10959
10960 * progmodes/flymake.el (flymake-nop): Don't return a string.
10961 (flymake-set-at): Fix typo.
10962
10963 * simple.el (read--expression): New function, extracted from
10964 eval-expression. Set completion-at-point-functions (bug#14465).
10965 (eval-expression, eval-minibuffer): Use it.
10966
5d028165
XF
109672013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10968
10969 * progmodes/flymake.el (flymake-save-buffer-in-file)
10970 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10971 (flymake-selected-frame, flymake-log, flymake-ins-after)
10972 (flymake-set-at, flymake-get-buildfile-from-cache)
10973 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10974 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10975 Refine the doc string.
10976 (flymake-get-file-name-mode-and-masks): Reformat.
10977 (flymake-get-real-file-name-function): Fix a minor bug.
10978
7a1d7ba7
JL
109792013-05-24 Juri Linkov <juri@jurta.org>
10980
10981 * progmodes/grep.el (grep-mode-font-lock-keywords):
10982 Support =linenumber= format used by git-grep for lines with
10983 function names. (Bug#13549)
10984
650cff3d
SM
109852013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10986
10987 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10988 0 after a semi-colon; it works better for smie-auto-fill.
10989 (octave--indent-new-comment-line): New function.
10990 (octave-indent-new-comment-line): Use it (indirectly).
10991 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10992 modify comment-line-break-function.
10993
10994 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10995 (smie-setup): Use add-function to set it.
10996
9631677d
SS
109972013-05-24 Sam Steingold <sds@gnu.org>
10998
10999 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11000 argument (before the `interactive' argument).
11001
50105835
SM
110022013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11003
11004 * image-mode.el (image-mode-winprops): Add winprops to
11005 image-mode-winprops-alist before running
11006 image-mode-new-window-functions.
11007 * doc-view.el (doc-view-new-window-function): Don't delay
11008 doc-view-goto-page via timers (bug#14435).
11009
57b9823e
TH
110102013-05-24 Tassilo Horn <tsdh@gnu.org>
11011
11012 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11013 (doc-view-desktop-save-buffer): New function.
11014 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11015 (desktop-buffer-mode-handlers):
11016 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11017 handler.
11018 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11019 `desktop-save-buffer' function.
11020
91aafa16
MA
110212013-05-24 Michael Albinus <michael.albinus@gmx.de>
11022
11023 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11024 (tramp-gvfs-file-name-handler): Raise a user error when
11025 `tramp-gvfs-enabled' is nil.
11026 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11027 Do not raise a user error when loading package. (Bug#14447)
11028
ec076379
MA
11029 * net/xesam.el: Move to obsolete/.
11030
db785726
GM
110312013-05-24 Glenn Morris <rgm@gnu.org>
11032
af5c7606
GM
11033 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11034
e5d1916a
GM
11035 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11036
ded62b08
GM
11037 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11038 (Info-find-node, Man-getpage-in-background): Declare.
11039
9e614a3f
GM
11040 * mail/unrmail.el (unrmail):
11041 Replace obsolete detect-coding-with-priority.
11042
892f8ca3
GM
11043 * net/socks.el (socks-split-string): Use this rather than split-string.
11044 (socks-nslookup-host): Update for above change.
11045 (dynamic-choice, s5-dynamic-choice-match)
11046 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11047 Comment out unused code.
11048
3c291973
GM
11049 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11050 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11051 (gud-tooltip-echo-area): Make obsolete.
11052 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11053
43cc956b
GM
11054 * progmodes/js.el (js--optimize-arglist): Declare.
11055
dab49a3b
GM
11056 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11057
36b9d085
GM
11058 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11059 (ediff-window-C): Declare.
11060
e354ae76
GM
11061 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11062 Tweak requires to silence compiler.
11063
b8e57bf4
GM
11064 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11065 (he-search-string, he-tried-table, he-expand-list)
11066 (he-init-string, he-string-member, he-substitute-string)
11067 (he-reset-string): Declare.
11068
db785726
GM
11069 * obsolete/options.el (list-options): Use custom-variable-p,
11070 rather than obsolete alias.
11071
b3531901
SS
110722013-05-23 Sam Steingold <sds@gnu.org>
11073
11074 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11075 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11076 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11077
bdda4c66
SM
110782013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 * emacs-lisp/smie.el (smie-indent-forward-token)
11081 (smie-indent-backward-token): Handle string tokens (bug#14381).
11082
c43d45f9
TH
110832013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11084
fe1eb856
RS
11085 * ielm.el (ielm-menu): New menu.
11086 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11087
fe1eb856
RS
110882013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11089
a12bf61e 11090 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11091 Fix deactivate action.
11092
a12bf61e 11093 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11094 Add cleveref macros.
074dd971 11095
a12bf61e 11096 * textmodes/reftex-parse.el
c43d45f9
TH
11097 (reftex-locate-bibliography-files): Accept options for
11098 bibliography commands.
a12bf61e 11099 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11100 Add addbibresource. Basic Biblatex support.
11101
7764286e
MA
111022013-05-23 Michael Albinus <michael.albinus@gmx.de>
11103
11104 * net/tramp-gvfs.el (top):
11105 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11106 when loading package. (Bug#14447)
11107
d361bc10
GM
111082013-05-23 Glenn Morris <rgm@gnu.org>
11109
8fa23984
GM
11110 * progmodes/js.el: No need to load comint when compiling.
11111 (ring-insert, comint-send-string, comint-send-input)
11112 (comint-last-input-end, ido-chop): Declare.
11113
a5c7df1a
GM
11114 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11115 * vc/ediff-mult.el: Adjust requires.
11116 (ediff-directories-internal, ediff-directory-revisions-internal)
11117 (ediff-patch-file-internal): Declare.
11118 * vc/ediff-ptch.el: Adjust requires.
11119 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11120 (ediff-find-file): Autoload.
11121 * vc/ediff-util.el: No need to load ediff when compiling.
11122 (ediff-regions-internal): Declare.
11123 * vc/ediff-wind.el: Adjust requires.
11124 (ediff-compute-toolbar-width): Define when compiling.
11125 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11126 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11127 (dired-get-filename, dired-get-marked-files)
11128 (ediff-last-dir-patch, ediff-patch-default-directory)
11129 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11130 (ediff-patch-buffer-internal): Declare.
11131
e2aec513
GM
11132 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11133 (ispell-process, ispell-buffer-local-words, lm-summary)
11134 (lm-section-start, lm-section-end): Declare.
11135 (checkdoc-ispell-init): Simplify.
11136
e68bbd7c
GM
11137 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11138 (he-string-member, he-reset-string, he-substitute-string): Declare.
11139
7efe0991
GM
11140 * eshell/em-ls.el: Adjust requires.
11141 (eshell-glob-regexp): Declare.
f87b1284
GM
11142 * eshell/em-tramp.el: Adjust requires.
11143 (eshell-parse-command): Autoload.
11144 * eshell/em-xtra.el: Adjust requires.
11145 (eshell-parse-command): Autoload.
11146 * eshell/esh-ext.el: Adjust requires.
11147 (eshell-parse-command, eshell-close-handles): Autoload.
11148 * eshell/esh-io.el: Adjust requires.
11149 (eshell-output-filter): Autoload.
11150 * eshell/esh-util.el: No need to load tramp when compiling.
11151 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11152 Declare.
11153 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11154 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11155 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11156 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11157 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11158 * eshell/esh-opt.el, eshell/esh-proc.el:
11159 * eshell/esh-var.el: Adjust requires.
11160 * eshell/eshell.el: Do not require esh-util twice.
11161 (eshell-add-input-to-history): Declare.
11162 (eshell-command): Check history module is active before using it.
11163
d361bc10
GM
11164 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11165
85d090a9
LL
111662013-05-22 Leo Liu <sdl.web@gmail.com>
11167
11168 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11169
5d0acd9d
MA
111702013-05-22 Michael Albinus <michael.albinus@gmx.de>
11171
11172 * autorevert.el (auto-revert-notify-add-watch)
11173 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11174 it indicates changes in file modification time.
11175
0cdffd7d
GM
111762013-05-22 Glenn Morris <rgm@gnu.org>
11177
ca5995ec
GM
11178 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11179 Always delete the autoloaded function from the noruntime and
11180 unresolved functions lists.
11181
6450907e
GM
11182 * allout.el: No need to load epa, epg, overlay when compiling.
11183 (epg-context-set-passphrase-callback, epg-list-keys)
11184 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11185 (epg-key-user-id-list): Declare.
11186
9c6906f6
GM
11187 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11188 (viper-set-parsing-style-toggling-macro)
11189 (viper-set-emacs-state-searchstyle-macros):
11190 Use called-interactively-p on Emacs.
11191 (viper-looking-back): Make it an obsolete alias. Update callers.
11192 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11193 Use looking-back rather than viper-looking-back.
11194 (viper-tmp-insert-at-eob, viper-enlarge-region)
11195 (viper-read-string-with-history, viper-register-to-point)
11196 (viper-append-to-register, viper-change-state-to-vi)
11197 (viper-backward-char-carefully, viper-forward-char-carefully)
11198 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11199 (viper-change-state-to-emacs): Declare.
11200 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11201 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11202 * emulation/viper-mous.el: Do not load viper-cmd.
11203 (viper-backward-char-carefully, viper-forward-char-carefully)
11204 (viper-forward-word, viper-adjust-window): Declare.
11205
5f70c169
GM
11206 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11207
b1b7f300
GM
11208 * progmodes/idlw-help.el (idlwave-help-fontify):
11209 Use called-interactively-p.
11210
f6ebbb46
GM
11211 * term/w32console.el (w32-get-console-codepage)
11212 (w32-get-console-output-codepage): Declare.
11213
0cdffd7d
GM
11214 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11215 Remove unnecessary declarations.
11216 (dframe-message): Doc fix.
11217
11218 * info.el (dframe-select-attached-frame, dframe-current-frame):
11219 Declare.
11220
11221 * speedbar.el (speedbar-message): Make it an obsolete alias.
11222 Update all callers.
11223 (speedbar-with-attached-buffer)
11224 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11225 (speedbar-with-writable): Use backquote.
11226 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11227 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11228 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11229 rather than speedbar- aliases.
11230 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11231 (speedbar-make-specialized-keymap, speedbar-insert-button)
11232 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11233 (speedbar-do-function-pointer): Declare.
11234 (rmail-speedbar-button, rmail-speedbar-find-file)
11235 (rmail-speedbar-move-message):
11236 Use dframe-with-attached-buffer rather than speedbar- alias.
11237 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11238 (dframe-message, speedbar-make-specialized-keymap)
11239 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11240 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11241 (speedbar-insert-button, dframe-select-attached-frame)
11242 (dframe-maybee-jump-to-attached-frame)
11243 (speedbar-change-initial-expansion-list)
11244 (speedbar-previously-used-expansion-list-name): Declare.
11245 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11246 Use dframe-message, dframe-with-attached-buffer rather than
11247 speedbar- aliases.
11248 (gud-sentinel): Silence compiler.
11249 * progmodes/vhdl-mode.el (speedbar-refresh)
11250 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11251 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11252 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11253 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11254 (speedbar-file-lists, speedbar-make-tag-line)
11255 (speedbar-line-directory, speedbar-goto-this-file)
11256 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11257 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11258 (speedbar-make-button, speedbar-reset-scanners)
11259 (speedbar-files-item-info, speedbar-line-text)
11260 (speedbar-find-file-in-frame, speedbar-set-timer)
11261 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11262 (speedbar-with-writable): Do not (re)define it.
11263 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11264 rather than speedbar- alias.
11265
ee44b62a
LL
112662013-05-21 Leo Liu <sdl.web@gmail.com>
11267
11268 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11269 menu items.
11270 (octave-mode): Tweak fill-nobreak-predicate.
11271 (inferior-octave-startup): Check process to avoid infinite loop.
11272 (inferior-octave): Pop to buffer first to show abornmal process
11273 exit information.
11274
640f050f
GM
112752013-05-21 Glenn Morris <rgm@gnu.org>
11276
79458038
GM
11277 * printing.el (pr-menu-bar): Define when compiling.
11278
9cc3e83f
LL
112792013-05-21 Leo Liu <sdl.web@gmail.com>
11280
11281 * progmodes/octave.el (octave-auto-fill): Remove.
11282 (octave-indent-new-comment-line): Improve.
11283 (octave-mode): Use auto fill mode through
4f405069 11284 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11285 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11286 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11287 (octave-help): Show parent directory.
11288
f440830d
GM
112892013-05-21 Glenn Morris <rgm@gnu.org>
11290
11291 * files.el (dired-unmark):
11292 * progmodes/gud.el (gdb-input): Update declarations.
11293
11294 * calculator.el (electric, ehelp): No need to load when compiling.
11295 (Electric-command-loop, electric-describe-mode): Declare.
11296
11297 * doc-view.el (doc-view-current-converter-processes): Move before use.
11298
11299 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11300 Move MODE-set-explicitly definition before use.
11301
11302 * international/mule-diag.el (mule-diag):
11303 Don't use obsolete window-system-version.
11304
11305 * mail/feedmail.el (smtpmail): No need to load when compiling.
11306 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11307
11308 * mail/mail-utils.el (rfc822): No need to load when compiling.
11309 (rfc822-addresses): Autoload it.
11310 (mail-strip-quoted-names): Trivial simplification.
11311
11312 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11313 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11314
11315 * net/snmp-mode.el (tempo): Don't duplicate requires.
11316
11317 * progmodes/prolog.el (info): No need to load when compiling.
11318 (comint): Require before shell requires it.
11319 (Info-goto-node): Autoload it.
11320 (Info-follow-nearest-node): Declare.
11321 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11322
11323 * textmodes/artist.el (picture-mode-exit): Declare.
11324
11325 * textmodes/reftex-parse.el (reftex-parse-from-file):
11326 Trivial rewrite so the compiler can parse it better.
11327
b4da2cbb
LL
113282013-05-20 Leo Liu <sdl.web@gmail.com>
11329
11330 * progmodes/octave.el (octave-help-mode-map)
11331 (octave-help-mode-finish-hook): New variables.
11332 (octave-help-mode, octave-help-mode-finish): New functions.
11333 (octave-help): Use octave-help-mode.
11334
33c0f65b
GM
113352013-05-20 Glenn Morris <rgm@gnu.org>
11336
11337 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11338
1a0a0a8a
DG
113392013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11340
11341 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11342 start at point, so that expansion starting right after opening
11343 slash in a regexp is recognized.
11344 (ruby-syntax-before-regexp-re): New defvar, extracted from
11345 ruby-syntax-propertize-function. Since the value of this regexp
11346 is looked up at runtime now, we should be able to turn
11347 `ruby-syntax-methods-before-regexp' into a defcustom later.
11348 (ruby-syntax-propertize-function): Split regexp matching into two
11349 parts, for opening and closing slashes. That allows us to skip
11350 over string interpolations and support multiline regexps.
11351 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11352 for them, which calls `ruby-syntax-propertize-expansion'.
11353 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11354 call to `ruby-syntax-propertize-function'.
11355 (ruby-syntax-propertize-expansion): Extracted from
11356 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
11357 (ruby-syntax-propertize-percent-literal): Leave point right after
11358 the percent symbol, so that the expression expansion rule can
11359 propertize the contents.
462388b6
DG
11360 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11361 heredoc openers.
11362 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 11363
c1a6c0a4
JL
113642013-05-18 Juri Linkov <juri@jurta.org>
11365
11366 * man.el (Man-default-man-entry): Remove `-' from the end
11367 of the default value. (Bug#14400)
11368
8051fccd
GM
113692013-05-18 Glenn Morris <rgm@gnu.org>
11370
11371 * comint.el (comint-password-prompt-regexp):
11372 Allow "password for XXX" where XXX contains colons (eg https://...).
11373
5e80b74f
LL
113742013-05-18 Leo Liu <sdl.web@gmail.com>
11375
11376 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 11377 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
11378 (octave-source-directories): Don't check process.
11379 (octave-source-directories, octave-find-definition): Doc fix.
11380
521a54c5
GM
113812013-05-18 Glenn Morris <rgm@gnu.org>
11382
86a94b05
GM
11383 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11384 Remove backspace/delete bindings. (Bug#14392)
11385
521a54c5
GM
11386 * cus-dep.el (custom-make-dependencies): Sort the output.
11387 (custom-versions-load-alist): Convert comment to doc.
11388
42caeb89
LL
113892013-05-17 Leo Liu <sdl.web@gmail.com>
11390
11391 * newcomment.el (comment-search-backward): Stricter in finding
11392 comment start. (Bug#14303)
11393
11394 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11395 (octave-comment-start-skip): Properly anchored.
11396
e219dd97
LL
113972013-05-17 Leo Liu <sdl.web@gmail.com>
11398
fe1eb856
RS
11399 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11400 Clean up when turned off. (Bug#14395)
e219dd97
LL
11401 (smie--highlight-matching-block-overlay): No longer buffer-local.
11402 (smie-highlight-matching-block): Adjust.
11403
dc5dcb4b
PE
114042013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11405
11406 Doc string fix for "nanoseconds" (Bug#14406).
11407 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11408 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11409
1db165f0
JB
114102013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11411
11412 * calc/calc-units.el (math-extract-units): Preserve powers
11413 of units.
11414
c7a8fcac
LL
114152013-05-17 Leo Liu <sdl.web@gmail.com>
11416
11417 * subr.el (delete-consecutive-dups): New function.
11418 * ido.el (ido-set-matches-1): Use it.
11419 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11420 * ido.el (ido-remove-consecutive-dups): Remove.
11421
f678b18a
SM
114222013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11423
11424 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11425 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11426 regexp-opt's `words'.
11427
ebfe68e8
LL
114282013-05-16 Leo Liu <sdl.web@gmail.com>
11429
11430 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11431 (smie--highlight-matching-block-overlay)
11432 (smie--highlight-matching-block-lastpos)
11433 (smie--highlight-matching-block-timer): New variables.
11434 (smie-highlight-matching-block): New function.
11435 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11436 (smie-setup): Conditionally enable smie-blink-matching-open.
11437
bc8bc17d
WS
114382013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11439
11440 Sync with upstream verilog-mode r840.
11441 * progmodes/verilog-mode.el (verilog-mode-version)
11442 (verilog-mode-release-date): Update.
11443 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11444 (verilog-sig-tieoff): Fix string error on
11445 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11446 (verilog-read-decls): Fix parameters confusing
11447 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11448
df065a0b
EZ
114492013-05-16 Eli Zaretskii <eliz@gnu.org>
11450
11451 * subr.el (reveal-filename): New function.
11452
11453 * loadup.el: Compute Emacs executable versions on MS-Windows,
11454 where executables have the .exe extension. Add a hard link
11455 emacs-XX.YY.ZZ.exe on MS-Windows.
11456
11457 * Makefile.in (XARGS_LIMIT): New variable.
11458 (custom-deps, finder-data, autoloads)
11459 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11460 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11461 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11462 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11463
2d4bf34b
LL
114642013-05-16 Leo Liu <sdl.web@gmail.com>
11465
11466 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11467 (octave-mode-menu, octave-mode-map): Remove its uses.
11468
6b9c2d85
RZ
114692013-05-16 Reto Zimmermann <reto@gnu.org>
11470
11471 Sync with upstream vhdl mode v3.34.2.
11472 * progmodes/vhdl-mode.el: Use `push' throughout.
11473 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11474 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11475 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11476 (vhdl-actual-generic-name): New option to derive actual generic name.
11477 (vhdl-port-paste-signals): Replace formal by actual generics.
11478 (vhdl-beautify): New name for old group vhdl-align. Update users.
11479 (vhdl-beautify-options): New option.
11480 (vhdl-last-input-event): New compat alias. Use throughout.
11481 (vhdl-goto-line): Replace user level function `goto-line'.
11482 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11483 vhdl-fix-statement-buffer.
11484 (vhdl-create-mode-menu): Add some entries.
11485 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11486 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11487 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11488 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11489 to force statements on one line.
11490 (vhdl-remove-trailing-spaces-region):
11491 New, split from vhdl-remove-trailing-spaces.
11492 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11493 Respect vhdl-beautify-options.
11494 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11495 (vhdl-update-sensitivity-list): Not add with index if exists without.
11496 Not include array index with signal. Ignore keywords in comments.
11497 (vhdl-get-visible-signals): Regexp tweaks.
11498 (vhdl-template-component-inst): Handle empty library.
11499 (vhdl-template-type): Add template for 'enum' type.
11500 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11501 Use vhdl-replace-string.
11502 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11503 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11504 (vhdl-speedbar-initialize): Update for above name change.
11505 (vhdl-compose-wire-components): Fix in handling of constants.
11506 (vhdl-error-regexp-emacs-alist): New variable.
11507 (vhdl-error-regexp-add-emacs): New function;
11508 adds support for new compile.el (Emacs 22+)
11509 (vhdl-generate-makefile-1): Change target order for single lib. units.
11510 Allow use of absolute file names.
11511
9df4ec5e
LL
115122013-05-16 Leo Liu <sdl.web@gmail.com>
11513
11514 * simple.el (prog-indent-sexp): Indent enclosing defun.
11515
f5ba00a6
GM
115162013-05-15 Glenn Morris <rgm@gnu.org>
11517
ed8be7ff
GM
11518 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11519 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11520 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11521 (whitespace-highlight): Move to whitespace group.
11522
11523 * comint.el (comint-source):
11524 * pcmpl-linux.el (pcmpl-linux):
11525 * shell.el (shell-faces):
11526 * eshell/esh-opt.el (eshell-opt):
11527 * international/ccl.el (ccl): Remove empty custom groups.
11528
11529 * completion.el (dynamic-completion-mode):
11530 * jit-lock.el (jit-lock-debug-mode):
11531 * minibuffer.el (completion-in-region-mode):
11532 * type-break.el (type-break-mode-line-message-mode)
11533 (type-break-query-mode):
11534 * emulation/tpu-edt.el (tpu-edt-mode):
11535 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11536 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11537 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11538
11539 * term/xterm.el (xterm): Change parent group to terminals.
11540
11541 * master.el (master): Remove empty custom group.
11542 (master-mode): Remove unused :group argument.
11543 * textmodes/refill.el (refill): Remove empty custom group.
11544 (refill-mode): Remove unused :group argument.
11545
11546 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11547
82a7c41b
GM
11548 * cus-dep.el: Provide a feature.
11549 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11550 Don't mistakenly ignore files whose basenames match a basename
11551 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11552 Add a fallback method for getting :group.
f5ba00a6 11553
6d65486d
JL
115542013-05-15 Juri Linkov <juri@jurta.org>
11555
da547b32
JL
11556 * isearch.el (isearch-char-by-name): Rename from
11557 `isearch-insert-char-by-name'. Doc fix.
11558 (isearch-forward): Mention `isearch-char-by-name' in
11559 the docstring. (Bug#13348)
11560
6d65486d
JL
11561 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11562 `exit-minibuffer' instead of
11563 `isearch-nonincremental-exit-minibuffer'.
11564 (isearch-edit-string): Remove mention of
11565 `isearch-nonincremental-exit-minibuffer' from docstring.
11566 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11567 (isearch-forward-exit-minibuffer)
11568 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11569
c9990474
SM
115702013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11571
6e911150
SM
11572 * loadup.el: Just use unversioned DOC.
11573
c9990474
SM
11574 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11575 literals as extending to EOB.
11576 (nxml-last-fontify-end): Remove unused variable.
11577 (nxml-after-change1): Use with-silent-modifications.
11578 (nxml-extend-after-change-region): Simplify.
11579 (nxml-extend-after-change-region1): Remove function.
11580 (nxml-after-change1): Don't adjust for dependent regions.
11581 (nxml-fontify-matcher): Simplify.
11582 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11583 (xmltok-add-dependent): Remove function.
11584 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11585 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11586 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11587 unclosed <[[, <?, comment, and other literals as extending to EOB.
11588 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11589 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11590 Remove functions.
11591 (rng-do-some-validation-1): Don't mark dependent regions.
11592 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11593 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11594 (nxml-clear-dependent-regions): Remove functions.
11595 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11596 (nxml-ensure-scan-up-to-date):
11597 Don't clear&mark dependent regions.
11598
e3772e98
LL
115992013-05-15 Leo Liu <sdl.web@gmail.com>
11600
c9990474
SM
11601 * progmodes/octave.el (octave-goto-function-definition):
11602 Improve and fix callers.
e3772e98 11603
5ac2eb34
SM
116042013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11605
c46c57b0
SM
11606 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11607 the setter (bug#14387).
11608
5ac2eb34
SM
11609 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11610 surrounding group (bug#14402).
11611
180ed218
JL
116122013-05-14 Juri Linkov <juri@jurta.org>
11613
11614 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11615 (Bug#14390)
11616
0ac0fecb
GM
116172013-05-14 Glenn Morris <rgm@gnu.org>
11618
11619 * progmodes/f90.el (f90-imenu-generic-expression):
11620 Fix typo in 2013-05-08 change. (Bug#14402)
11621
2e78e6a7
JPG
116222013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11623
5ac2eb34
SM
11624 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11625 Remove signals for which replies are never received.
2e78e6a7 11626
53267cca
JPG
116272013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11628
11629 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11630 (gdb-handler-alist, gdb-handler-number): Remove variables.
11631 (gdb-handler-list): New variable.
11632 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11633 (gdb-pending-handler-p, gdb-handle-reply)
11634 (gdb-remove-all-pending-triggers): New functions.
11635 (gdb-discard-unordered-replies): New defcustom.
11636 (gdb-handler): New defstruct.
11637 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11638 instead of gdb-pending-triggers. Update docstring.
11639 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11640 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11641 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11642 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11643 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11644 (gdb-frame-handler): Pending triggers are now automatically managed.
11645 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11646 Remove argument.
11647 (gdb-input): Automatically handles pending triggers. Update docstring.
11648 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11649 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11650 Update comments.
11651 (gdb-done-or-error): Now use gdb-handle-reply.
11652
d04ce803
JPG
116532013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11654
11655 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11656 gdb-debug-log.
11657
0114073a
GM
116582013-05-14 Glenn Morris <rgm@gnu.org>
11659
11660 * subr.el (user-emacs-directory-warning): New option.
11661 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11662
4d25fd7e
LL
116632013-05-14 Leo Liu <sdl.web@gmail.com>
11664
11665 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11666 during redisplay.
11667 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11668 (octave-font-lock-texinfo-comment): Fix invalid search bound
11669 error: wrong side of point.
4d25fd7e 11670
27c8b6eb
GM
116712013-05-14 Glenn Morris <rgm@gnu.org>
11672
61aaeb01
GM
11673 * progmodes/flymake.el (flymake-xml-program): New option.
11674 (flymake-xml-init): Use it.
11675
5bf90bc5
GM
11676 * term/xterm.el: Provide a feature.
11677
11678 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11679
f4c7dfd2
GM
116802013-05-13 Glenn Morris <rgm@gnu.org>
11681
11682 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11683 Add compat aliases as a hack workaround. (Bug#14384)
11684
2aeb3a1d
LL
116852013-05-13 Leo Liu <sdl.web@gmail.com>
11686
b0e069c2
LL
11687 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11688 ###, and %!.
f5a9432f
LL
11689 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11690 C-M-q.
b0e069c2
LL
11691 (octave-comment-start-skip): Include %!.
11692 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11693
30ea8374
LL
116942013-05-12 Leo Liu <sdl.web@gmail.com>
11695
11696 * progmodes/octave.el (inferior-octave-startup): Store the value
11697 of __octave_srcdir__ for octave-source-directories.
11698 (inferior-octave-check-process): New function refactored out of
11699 inferior-octave-send-list-and-digest.
11700 (octave-source-directories)
11701 (octave-find-definition-filename-function): New variables.
11702 (octave-source-directories)
11703 (octave-find-definition-default-filename): New functions.
11704 (octave-find-definition): Improve to find functions implemented in C++.
11705
472a3834
GM
117062013-05-12 Glenn Morris <rgm@gnu.org>
11707
11708 * calendar/diary-lib.el (diary-outlook-format-1):
11709 Don't include dayname in the output. (Bug#14349)
11710
3191b52f
GM
117112013-05-11 Glenn Morris <rgm@gnu.org>
11712
0060ac73
GM
11713 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11714
3191b52f
GM
11715 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11716 Treat cc-provide like provide.
11717
e065ba74
KR
117182013-05-11 Kevin Ryde <user42@zip.com.au>
11719
11720 * cus-dep.el (custom-make-dependencies):
11721 Use generated-autoload-load-name for the sake of files such
11722 such cedet/semantic/bovine/c.el, where the base file name
11723 is not in load-path. (Bug#5277)
11724
36f84c37
GM
117252013-05-11 Glenn Morris <rgm@gnu.org>
11726
11727 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11728 Provide features.
11729
c8730c3a
LL
117302013-05-11 Leo Liu <sdl.web@gmail.com>
11731
11732 * progmodes/octave.el (octave-indent-comment): Improve.
11733 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11734 (octave-eldoc-function-signatures, octave-eldoc-function):
11735 New functions.
c8730c3a
LL
11736 (octave-mode, inferior-octave-mode): Add eldoc support.
11737
212e29f2
RS
117382013-05-11 Richard Stallman <rms@gnu.org>
11739
11740 * epa.el (epa-decrypt-file): Take output file name as argument
11741 and read it using `interactive'.
11742
083fe0d7
LL
117432013-05-11 Leo Liu <sdl.web@gmail.com>
11744
11745 * progmodes/octave.el (octave-beginning-of-line)
11746 (octave-end-of-line): Check before using up-list because it jumps
11747 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11748 (octave-indent-comment): New function.
11749 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11750 (octave-begin-keywords, octave-end-keywords)
11751 (octave-reserved-words, octave-smie-bnf-table)
11752 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11753
8582e4c4
GM
117542013-05-11 Glenn Morris <rgm@gnu.org>
11755
f20def1f
GM
11756 * faces.el (internal-face-x-get-resource):
11757 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11758 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11759 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11760 Fix declarations.
f20def1f 11761
445f95e2
GM
11762 * calc/calc-menu.el: Make it loadable in isolation.
11763
11764 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11765 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11766 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11767 (eudc-bbdb-query-internal): Require 'bbdb.
11768
99fb2756
GM
11769 * lpr.el (lpr-headers-switches):
11770 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11771
11772 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11773
0da7ad96
GM
11774 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11775
8582e4c4
GM
11776 * term.el (term-set-escape-char): Make it idempotent.
11777
f71c50d0
LL
117782013-05-10 Leo Liu <sdl.web@gmail.com>
11779
5ac2eb34
SM
11780 * progmodes/octave.el (inferior-octave-completion-table):
11781 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11782 completion due to bug#11906.
11783 (octave-beginning-of-defun): Re-write to be more general.
11784
d5837773
GM
117852013-05-10 Glenn Morris <rgm@gnu.org>
11786
11787 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11788
027c0f75
SM
117892013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 * comint.el (comint-redirect-send-command-to-process): Use :around
11792 rather than :override for comint-redirect-filter.
11793 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11794 Call it instead of comint-redirect-original-filter-function (which
11795 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11796
4465bfb4
JD
117972013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11798
11799 * frame.el (display-monitor-attributes-list): Add NS case.
11800 (ns-display-monitor-attributes-list): Declare.
11801
2d809ffa 118022013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11803
11804 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11805
e54eeb9b
GM
118062013-05-09 Glenn Morris <rgm@gnu.org>
11807
56cd351d
GM
11808 * international/fontset.el (vertical-centering-font-regexp):
11809 Set standard-value.
11810
d84b6108
GM
11811 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11812
a931698a
GM
11813 * bookmark.el (bookmark-search-delay):
11814 * cus-start.el (vertical-centering-font-regexp):
11815 * ps-mule.el (ps-mule-font-info-database-default):
11816 * ps-print.el (ps-default-fg, ps-default-bg):
11817 * type-break.el (type-break-good-break-interval):
11818 * whitespace.el (whitespace-indentation-regexp)
11819 (whitespace-space-after-tab-regexp):
11820 * emacs-lisp/testcover.el (testcover-1value-functions)
11821 (testcover-noreturn-functions, testcover-progn-functions)
11822 (testcover-prog1-functions):
11823 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11824 * eshell/em-glob.el (eshell-glob-translate-alist):
11825 * play/tetris.el (tetris-tty-colors):
11826 * progmodes/cpp.el (cpp-face-default-list):
11827 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11828 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11829 (idlwave-help-browser-generic-args):
11830 * progmodes/make-mode.el (makefile-special-targets-list):
11831 * progmodes/python.el (python-shell-virtualenv-path):
11832 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11833 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11834 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11835 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11836 * textmodes/reftex-vars.el (reftex-format-label-function):
11837 * textmodes/remember.el (remember-diary-file): Fix custom types.
11838
e54eeb9b
GM
11839 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11840 Add :version.
11841
455851dd
LL
118422013-05-09 Leo Liu <sdl.web@gmail.com>
11843
11844 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11845 Restore file completion. (Bug#14300)
455851dd
LL
11846 (inferior-octave-startup): Fix incorrect highlighting for the
11847 first prompt.
11848
a9e4425b
SM
118492013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11850
11851 * progmodes/ruby-mode.el: First cut at SMIE support.
11852 (ruby-use-smie): New var.
11853 (ruby-smie-grammar): New constant.
11854 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11855 (ruby-smie--forward-token, ruby-smie--backward-token)
11856 (ruby-smie-rules): New functions.
11857 (ruby-mode-variables): Setup SMIE if applicable.
11858
060ca408
EZ
118592013-05-08 Eli Zaretskii <eliz@gnu.org>
11860
11861 * simple.el (line-move-visual): Signal beginning/end of buffer
11862 only if vertical-motion moved less than it was requested. Avoids
11863 silly incorrect error messages when there are display strings with
11864 multiple newlines at EOL.
11865
1d5963cc
SM
118662013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11867
11868 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11869 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11870 (prolog-char-quote-workaround):
11871 * progmodes/cperl-mode.el (cperl-under-as-char):
11872 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11873 Mark as obsolete.
11874 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11875 their declaration.
11876 (vhdl-mode-syntax-table-init): Remove.
11877
c9990474
SM
11878 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11879 last change.
1d5963cc
SM
11880
11881 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11882 syntax for "_".
11883 (ld-script-font-lock-keywords):
11884 Change regexps to use things like \_< and \_>.
11885
11886 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11887 Change all regexps to use things like \_< and \_>.
11888
11889 * progmodes/autoconf.el (autoconf-definition-regexp)
11890 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11891 Handle a _ with symbol syntax.
11892 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11893
c9990474
SM
11894 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11895 Consolidate declaration.
1d5963cc
SM
11896 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11897 the declaration.
11898 (ada-create-syntax-table): Remove.
11899 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11900 already has the right syntax nowadays.
11901 (ada-goto-next-word): Don't change the syntax of "_".
11902
11903 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11904 with-wrapper-hook.
11905
72d3cfca
SS
119062013-05-08 Sam Steingold <sds@gnu.org>
11907
11908 * thingatpt.el (thing-at-point): Accept optional second argument
11909 NO-PROPERTIES to strip the text properties from the return value.
11910 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11911 to `thing-at-point' instead of stripping the properties ourselves.
11912 Also, when `thing-at-point' fails to find a url, prepend "http://"
11913 to the filename at point on the assumption that the user is
11914 pointing at something like gnu.org/gnu.
11915
5cb15713
JB
119162013-05-08 Juanma Barranquero <lekktu@gmail.com>
11917
11918 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11919 * faces.el (crm-separator):
11920 Silence byte-compiler.
11921
11922 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11923 (tool-bar-map): Remove unneeded defvars.
11924
ea78b95b
LL
119252013-05-08 Leo Liu <sdl.web@gmail.com>
11926
11927 Re-work a fix for bug#10994 based on Le Wang's patch.
11928 * ido.el (ido-remove-consecutive-dups): New helper.
11929 (ido-completing-read): Use it.
11930 (ido-chop): Revert fix for bug#10994.
11931
dc7466df
AS
119322013-05-08 Adam Spiers <emacs@adamspiers.org>
11933
11934 * cus-edit.el (custom-save-variables):
11935 Pretty-print long values. (Bug#14187)
11936
9ecf672a
GM
119372013-05-08 Glenn Morris <rgm@gnu.org>
11938
11939 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11940 (m4-mode-syntax-table): Init in the defvar.
11941 (m4-mode-abbrev-table): Let define-derived-mode define it.
11942
3f555be8
TT
119432013-05-08 Tom Tromey <tromey@redhat.com>
11944
11945 * progmodes/m4-mode.el (m4-mode-syntax-table):
11946 Do not treat "_" as word constituent. (Bug#14167)
11947
7cc8ae06
GM
119482013-05-07 Glenn Morris <rgm@gnu.org>
11949
4f58bc06
GM
11950 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11951 Remove explicit eshell-isearch-cancel-map.
11952
7cc8ae06
GM
11953 * progmodes/f90.el (f90-smart-end-names): New option.
11954 (f90-smart-end): Doc fix.
11955 (f90-end-block-optional-name): New constant.
11956 (f90-block-match): Respect f90-smart-end-names.
11957
ceb57e59
SM
119582013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11959
11960 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11961 about implicit semi-colons (bug#14218).
11962
4e3f9230
YM
119632013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11964
11965 * frame.el (display-monitor-attributes-list)
11966 (frame-monitor-attributes): New functions.
11967
203a5572
LL
119682013-05-06 Leo Liu <sdl.web@gmail.com>
11969
11970 * progmodes/octave.el (octave-syntax-propertize-function): Change
11971 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11972 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11973 (octave-completion-at-point): Rename from
203a5572
LL
11974 octave-completion-at-point-function.
11975 (inferior-octave-directory-tracker): Robustify.
11976 (octave-text-functions): Remove and fix its uses. No such things
11977 any more.
11978
ee6cff99
SM
119792013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11980
11981 * emacs-lisp/trace.el (trace--display-buffer): New function.
11982 (trace-make-advice): Use it.
11983
32985194
JL
119842013-05-06 Juri Linkov <juri@jurta.org>
11985
11986 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11987 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11988 Doc fix.
11989 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11990 in the help string. (Bug#12985)
11991
a1c700de
KD
119922013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11993
11994 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11995
c67c0839
SM
119962013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11997
323885fd
SM
11998 * progmodes/perl-mode.el: Add support for here documents.
11999 (perl-syntax-propertize-function): Match here-doc markers.
12000 (perl-syntax-propertize-special-constructs): Find their end.
12001 (perl-imenu-generic-expression): Use [:alnum:].
12002
c67c0839
SM
12003 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12004 (advice--add-function): Refresh the advice if already present
12005 (bug#14317).
12006
d491e7a8
IA
120072013-05-06 Ivan Andrus <darthandrus@gmail.com>
12008
12009 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12010
ddf9925e
GM
120112013-05-06 Glenn Morris <rgm@gnu.org>
12012
7cc3af27
GM
12013 * w32-fns.el (w32-charset-info-alist): Declare.
12014
16e343d6
GM
12015 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12016 of its defcustom properties.
12017 (eshell-cmpl-initialize): No need to load pcomplete.
12018
7d889a47
GM
12019 * generic-x.el: No need to require comint when compiling.
12020
ddf9925e
GM
12021 * net/eudc-export.el: Make it loadable without bbdb.
12022 (top-level): Use require rather than load-library.
12023 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12024 (eudc-batch-export-records-to-bbdb)
12025 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12026 Require bbdb.
12027
1e2c18df
SM
120282013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12029
12030 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12031 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12032 some tweaks, instead.
12033
02502a5f
LL
120342013-05-05 Leo Liu <sdl.web@gmail.com>
12035
12036 * progmodes/octave.el (octave-font-lock-keywords)
12037 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12038 (inferior-octave-send-list-and-digest): Improve error message.
12039 (octave-mode, inferior-octave-mode): Use setq-local.
12040 (octave-help): Set info-lookup-mode.
12041
0dc04f42
RS
120422013-05-05 Richard Stallman <rms@gnu.org>
12043
6c54491c
RS
12044 * vc/compare-w.el (compare-windows-whitespace):
12045 Treat no-break space as whitespace.
12046
0dc04f42
RS
12047 * mail/rmailsum.el (rmail-summary-rmail-update):
12048 Detect empty summary and don't change selected message.
12049 (rmail-summary-goto-msg): Likewise.
12050
df8f35df
RS
12051 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12052 Doc fixes, rename args.
12053
5356e1a3
AM
120542013-05-05 Alan Mackenzie <acm@muc.de>
12055
12056 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12057
d44014cb
JL
120582013-05-05 Juri Linkov <juri@jurta.org>
12059
12060 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12061 to not add the length of the summary segment to the return value.
12062 (Bug#14125)
12063
c129b51f
LL
120642013-05-05 Leo Liu <sdl.web@gmail.com>
12065
12066 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12067 (inferior-octave-output-filter): Remove.
12068 (octave-send-region, inferior-octave-startup): Fix callers.
12069 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12070 (octave-binary-file-extensions): New user variable.
12071 (octave-find-definition): Confirm if opening binary files.
12072 (octave-help-file): Use octave-find-definition to get the binary
12073 confirmation.
12074 (octave-help): Adjust for octave-help-file change.
12075
aa7dab97
SM
120762013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12077
12078 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12079 Merge the two entries that handle function definitions.
12080 (pascal--syntax-propertize): New const.
12081 (pascal-mode): Use it. Use setq-local.
12082
fd3a9a6b
GM
120832013-05-04 Glenn Morris <rgm@gnu.org>
12084
12085 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12086 (diary-from-outlook): Respect diary-from-outlook-function.
12087
30c7e542
SM
120882013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12089
12090 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12091 Move the declaration from C.
12092 (read-minibuffer, eval-minibuffer): Move from C.
12093 (completion-setup-function): Avoid minibuffer-completion-contents.
12094
b54f978b
LL
120952013-05-03 Leo Liu <sdl.web@gmail.com>
12096
12097 * progmodes/octave.el (octave-font-lock-keywords): Do not
12098 dehighlight 'end' in comments or strings.
30c7e542
SM
12099 (octave-completing-read, octave-goto-function-definition):
12100 New helpers.
d4d0f9b3
LL
12101 (octave-help-buffer): New user variable.
12102 (octave-help-file, octave-help-function): New button types.
12103 (octave-help): New command and bind it to C-h ;.
12104 (octave-find-definition): New command and bind it to M-.
d74a1581 12105 (user-error): Alias to error if not defined.
b54f978b 12106
27135018
LL
121072013-05-02 Leo Liu <sdl.web@gmail.com>
12108
12109 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12110 for \. (bug#14332)
12111 (octave-font-lock-keywords): Include [ and {.
12112
0d634d3a
LL
121132013-05-02 Leo Liu <sdl.web@gmail.com>
12114
12115 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12116 (inferior-octave): Remove calling comint-mode and return the buffer.
12117 (inferior-octave-startup): Cosmetic changes.
12118
b4c8295e
LL
121192013-05-02 Leo Liu <sdl.web@gmail.com>
12120
30c7e542
SM
12121 * progmodes/octave.el (octave-syntax-propertize-function):
12122 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12123
f12ad6ec
GM
121242013-05-02 Glenn Morris <rgm@gnu.org>
12125
12126 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12127 * desktop.el (vc-dir-mode): Just autoload it here.
12128
30cac1e0
AM
121292013-05-02 Alan Mackenzie <acm@muc.de>
12130
12131 Eliminate variable c-standard-font-lock-fontify-region-function.
12132 * progmodes/cc-mode.el
12133 (c-standard-font-lock-fontify-region-function): Remove.
12134 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12135
d8ef28b1
LL
121362013-05-01 Leo Liu <sdl.web@gmail.com>
12137
2640d52e 12138 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12139 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12140 variables were removed from Octave in 2007.
d8ef28b1
LL
12141 (inferior-octave-startup): Fix uses.
12142 (comint-line-beginning-position): Remove compatibility code for
12143 emacs 21.
12144
ac63ec89
JL
121452013-05-01 Juri Linkov <juri@jurta.org>
12146
12147 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12148
9e9be37c
JL
121492013-05-01 Juri Linkov <juri@jurta.org>
12150
12151 * comint.el (comint-previous-matching-input): Don't print message
12152 "History item: %d" when `isearch-mode' is active.
12153 (comint-history-isearch-message): Print message "History item: %d"
12154 when `comint-input-ring-index' is not empty and this function is
12155 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12156
9b92c13b
LL
121572013-05-01 Leo Liu <sdl.web@gmail.com>
12158
12159 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12160 definitions. Use completion-at-point to insert keywords.
12161 (octave-abbrev-start): Remove.
12162 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12163
b12d33d7
LL
121642013-04-30 Leo Liu <sdl.web@gmail.com>
12165
12166 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12167 change.
12168
3d1c39fa
AM
121692013-04-30 Alan Mackenzie <acm@muc.de>
12170
12171 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12172 * progmodes/cc-engine.el (c-back-over-member-initializers):
12173 new function.
3d1c39fa
AM
12174 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12175 (most) member init lists.
12176
5147fc17
RS
121772013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12178
12179 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12180 variable.
12181
5b78d7fc
LL
121822013-04-30 Leo Liu <sdl.web@gmail.com>
12183
12184 * progmodes/octave.el (octave-variables): Remove. No builtin
12185 variables any more. All converted to functions.
12186 (octave-font-lock-keywords, octave-completion-at-point-function):
12187 Fix uses.
12188 (octave-font-lock-texinfo-comment): New user variable.
12189 (octave-texinfo-font-lock-keywords): New variable for texinfo
12190 comment block.
12191 (octave-function-comment-block): New face.
12192 (octave-font-lock-texinfo-comment): New function.
12193 (octave-mode): Font lock texinfo comment block.
12194
38d8527b
LL
121952013-04-29 Leo Liu <sdl.web@gmail.com>
12196
12197 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12198 indexing expression.
12199 (octave-continuation-string): Do not use \.
12200 (inferior-octave-complete-impossible): Remove.
12201 (inferior-octave-completion-table)
12202 (inferior-octave-completion-at-point): Remove its uses.
12203 (inferior-octave-startup): completion_matches was introduced to
12204 Octave in 1996 so safe to assume it.
12205 (octave-function-file-comment): Improve to follow how Octave does it.
12206 (octave-update-function-file-comment): Tweak.
12207
2ec12cb0
LL
122082013-04-29 Leo Liu <sdl.web@gmail.com>
12209
12210 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12211 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12212 (octave-function-file-comment): Fix typo.
12213 (octave-sync-function-file-names): Use read-char-choice.
12214
6eaed048
JB
122152013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12216
12217 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12218 to t for the less important warnings.
12219
3ffa2d4f
DH
122202013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12221
12222 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12223
685c9501
GM
122242013-04-27 Glenn Morris <rgm@gnu.org>
12225
12226 * vc/log-view.el (log-view-current-entry):
12227 Treat "---" separator lines as part of the following rev. (Bug#14169)
12228
0208ede7
JL
122292013-04-27 Juri Linkov <juri@jurta.org>
12230
12231 * subr.el (read-number): Doc fix about using it by interactive
12232 code letter `n'. (Bug#14254)
12233
5db9dace
JL
122342013-04-27 Juri Linkov <juri@jurta.org>
12235
12236 * desktop.el (desktop-auto-save-timeout): New option.
12237 (desktop-file-checksum): New variable.
12238 (desktop-save): Add optional arg `auto-save' and don't auto-save
12239 if nothing changed.
12240 (desktop-auto-save-timer): New variable.
12241 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12242 (after-init-hook): Call `desktop-auto-save-set-timer'.
12243 Suggested by Reuben Thomas <rrt@sc3d.org> in
12244 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12245
b7260dd4
LL
122462013-04-27 Leo Liu <sdl.web@gmail.com>
12247
12248 * progmodes/octave.el (octave-function-file-p)
12249 (octave-skip-comment-forward, octave-function-file-comment)
12250 (octave-update-function-file-comment): New functions.
12251 (octave-mode-map): Bind C-c ; to
12252 octave-update-function-file-comment.
12253 (octave-mode-menu): Add octave-update-function-file-comment.
12254 (octave-mode, inferior-octave-mode): Fix doc-string.
12255 (octave-insert-defun): Conform to Octave's coding convention.
12256 (Bug#14285)
12257
12258 * files.el (basic-save-buffer): Don't let errors in
12259 before-save-hook prevent saving buffer.
12260
c46da669
RW
122612013-04-20 Roland Winkler <winkler@gnu.org>
12262
12263 * faces.el (read-face-name): Use completing-read if arg multiple
12264 is nil.
12265
a81ee1eb
IL
122662013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12267
12268 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12269 displayed, move point to after the totals line.
12270 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12271 for the details.
12272
4fac34ce
SM
122732013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12274
12275 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12276 Add current dir to the load-path.
12277 (package-generate-autoloads): Don't rely on
12278 autoload-ensure-default-file.
12279
f6bfc063
RT
122802013-04-26 Reuben Thomas <rrt@sc3d.org>
12281
d40ab5cf
BG
12282 * textmodes/remember.el (remember-store-in-files): Document that
12283 the file name format is passed to `format-time-string'.
f6bfc063 12284
e55d3b04
LL
122852013-04-26 Leo Liu <sdl.web@gmail.com>
12286
12287 * progmodes/octave.el (octave-sync-function-file-names): New function.
12288 (octave-mode): Use it in before-save-hook.
12289
e53052d3
SM
122902013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12291
140ef50c
SM
12292 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12293 (bug#14274).
12294
e53052d3
SM
12295 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12296 \n and comment, even if it's not an implicit ; (bug#14218).
12297
af80458d 122982013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12299
12300 * subr.el (read-number): Once more use `read' rather than
12301 `string-to-number', to trap non-numeric input. (Bug#14254)
12302
af80458d 123032013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12304
12305 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12306 Use `syntax-multiline' text property consistently instead of
8a621d53 12307 `font-lock-multiline'. (Bug#14237)
70203c2e 12308
e6ea1f6c
GM
123092013-04-26 Glenn Morris <rgm@gnu.org>
12310
12311 * emacs-lisp/shadow.el (list-load-path-shadows):
12312 No longer necessary to check for duplicate simple.el, since
12313 2012-07-07 change to init_lread to not include installation lisp
12314 directories in load-path when running uninstalled. (Bug#14270)
12315
070ccca4
LL
123162013-04-26 Leo Liu <sdl.web@gmail.com>
12317
12318 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12319 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12320 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12321 octave-in-string-or-comment-p.
12322 (octave-in-comment-p, octave-in-string-p)
12323 (octave-in-string-or-comment-p): Replace defsubst with defun.
12324
9d1c5fb6
PE
123252013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12326
12327 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12328
c034abda
BG
123292013-04-25 Bastien Guerry <bzg@gnu.org>
12330
12331 * textmodes/remember.el (remember-data-directory)
12332 (remember-directory-file-name-format): Fix custom types.
12333
584ea277
LL
123342013-04-25 Leo Liu <sdl.web@gmail.com>
12335
e53052d3
SM
12336 * progmodes/octave.el (octave-completion-at-point-function):
12337 Make use of inferior octave process.
584ea277
LL
12338 (octave-initialize-completions): Remove.
12339 (inferior-octave-completion-table): New function.
12340 (inferior-octave-completion-at-point): Use it.
12341 (octave-completion-alist): Remove.
12342
1693b06a
SM
123432013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12344
12345 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12346 (opascal-mode-syntax-table): New var.
12347 (opascal-literal-kind, opascal-is-literal-end)
12348 (opascal-literal-token-at): Rewrite.
12349 (opascal--literal-start-re, opascal-font-lock-keywords)
12350 (opascal--syntax-propertize): New constants.
12351 (opascal-font-lock-defaults): Adjust.
12352 (opascal-mode): Use them. Set comment-<foo> variables as well.
12353 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12354 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12355 (delphi-other-face, opascal-other-face): Remove face variables.
12356 (opascal-save-state): Remove macro.
12357 (opascal-fontifying-progress-step): Remove constant.
12358 (opascal--ignore-changes): Remove var.
12359 (opascal-set-token-property, opascal-parse-next-literal)
12360 (opascal-is-stable-literal, opascal-complete-literal)
12361 (opascal-is-literal-start, opascal-face-of)
12362 (opascal-parse-region, opascal-parse-region-until-stable)
12363 (opascal-fontify-region, opascal-after-change)
12364 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12365 (opascal-debug-parse-region, opascal-debug-parse-window)
12366 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12367 (opascal-debug-fontify-buffer): Remove.
12368 (opascal-debug-mode-map): Adjust accordingly.
12369
be64c05d
LL
123702013-04-25 Leo Liu <sdl.web@gmail.com>
12371
12372 Merge octave-mod.el and octave-inf.el into octave.el with some
12373 cleanups.
12374 * progmodes/octave.el: New file renamed from octave-mod.el.
12375 * progmodes/octave-inf.el: Merged into octave.el.
12376 * progmodes/octave-mod.el: Renamed to octave.el.
12377
d79d37bd
TH
123782013-04-25 Tassilo Horn <tsdh@gnu.org>
12379
12380 * textmodes/reftex-vars.el
12381 (reftex-label-ignored-macros-and-environments): New defcustom.
12382
12383 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12384
ced3fc5d
SM
123852013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12386
12387 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12388 (smie-indent-keyword): Improve the check to ensure that the next
12389 comment is really on the same line.
12390 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12391
12392 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12393 semi-colons if the line is not otherwise empty (bug#14218).
12394
1c141dad
GM
123952013-04-25 Glenn Morris <rgm@gnu.org>
12396
12397 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12398
5058062a
SM
123992013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12400
12401 * progmodes/opascal.el (opascal-set-token-property): Rename from
12402 opascal-set-text-properties and only set `token' (bug#14134).
12403 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12404 (opascal-literal-text-properties): Remove.
12405 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12406 Adjust callers.
12407
5db9dace 124082013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12409
12410 * textmodes/remember.el (remember-handler-functions): Add an
12411 option for a new handler `remember-store-in-files'.
12412 (remember-data-directory, remember-directory-file-name-format):
12413 New options.
12414 (remember-store-in-files): New function to store remember notes
12415 as separate files within a directory.
12416
4391916c
MH
124172013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12418
12419 * progmodes/compile.el (compilation-next-error-function):
12420 Pass "formats" to compilation-find-file (bug#11777).
12421
bb7cdf58
GM
124222013-04-24 Glenn Morris <rgm@gnu.org>
12423
3b8fe752 12424 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12425 * vc/vc-hg.el (vc-hg-print-log):
12426 * vc/vc-svn.el (vc-svn-print-log):
12427 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12428
bb7cdf58
GM
12429 * vc/vc-bzr.el (vc-bzr-print-log):
12430 * vc/vc-cvs.el (vc-cvs-print-log):
12431 * vc/vc-git.el (vc-git-print-log):
12432 * vc/vc-hg.el (vc-hg-print-log):
12433 * vc/vc-mtn.el (vc-mtn-print-log):
12434 * vc/vc-rcs.el (vc-rcs-print-log):
12435 * vc/vc-sccs.el (vc-sccs-print-log):
12436 * vc/vc-svn.el (vc-svn-print-log):
12437 * vc/vc.el (vc-print-log-internal): Doc fixes.
12438
b46a056e
GM
124392013-04-23 Glenn Morris <rgm@gnu.org>
12440
12441 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12442 Remove venerable code attempting to avoid substitute-command-keys.
12443
0aecf718
TH
124442013-04-23 Tassilo Horn <tsdh@gnu.org>
12445
4391916c
MH
12446 * textmodes/reftex-vars.el (reftex-label-regexps):
12447 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12448
117f94cf
SM
124492013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12450
4391916c 12451 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12452 Use lexical-binding.
12453 (jit-lock-force-redisplay): Use markers, check buffer's continued
12454 existence and beware narrowed buffers.
12455 (jit-lock-fontify-now): Adjust call accordingly.
12456
1d829c64
SM
124572013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12460 to avoid misleading the user.
12461
72d548a9
LL
124622013-04-22 Leo Liu <sdl.web@gmail.com>
12463
12464 * info-look.el: Prefer latex2e.info. (Bug#14240)
12465
d0853629
MA
124662013-04-22 Michael Albinus <michael.albinus@gmx.de>
12467
12468 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12469
12470 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12471 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12472 (tramp-set-completion-function, tramp-parse-putty):
12473 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12474 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12475 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12476 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12477 (tramp-call-local-coding-command): Use `tramp-call-process'
12478 instead of `tramp-compat-call-process'.
12479
12480 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12481 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12482 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 12483 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12484 (tramp-maybe-send-script): Check for Perl binary.
12485 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12486
38cc0210
DU
124872013-04-22 Daiki Ueno <ueno@gnu.org>
12488
12489 * epg.el (epg-context-pinentry-mode): New function.
12490 (epg-context-set-pinentry-mode): New function.
12491 (epg--start): Pass --pinentry-mode option to gpg command.
12492
cc641ee1
XF
124932013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12494
02d844b5 12495 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12496 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12497 `completion-at-point'. (Bug#13774)
5d4e5c31 12498
cc641ee1
XF
12499 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12500 default key binding for `describe-distribution' has been moved to
12501 `C-h C-o'. (Bug#13970)
12502
1b42ee43
GM
125032013-04-21 Glenn Morris <rgm@gnu.org>
12504
12505 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12506 Add doc strings.
12507 (vc-print-log): Clarify interactive prompt.
12508
a6d63d97
GM
125092013-04-20 Glenn Morris <rgm@gnu.org>
12510
12511 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12512 No longer include timestamp etc information.
12513
d7f5c16f
RW
125142013-04-20 Roland Winkler <winkler@gnu.org>
12515
12516 * faces.el (read-face-name): Bug fix, return just one face if arg
12517 multiple is nil. (Bug#14209)
12518
bcd7a0a4
SM
125192013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12520
12521 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12522 (remove-function): Autoload.
12523
12524 * comint.el (comint-redirect-original-filter-function): Remove.
12525 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12526 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12527 (vc-cvs-annotate-command):
bcd7a0a4
SM
12528 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12529 * progmodes/prolog.el (prolog-consult-compile):
12530 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12531 Use add/remove-function instead.
12532 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12533 (gud-tooltip-process-output, gud-tooltip-tips):
12534 Use add/remove-function instead.
12535 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12536 (scheme-interaction-mode, exit-scheme-interaction-mode):
12537 Use add/remove-function instead.
12538
12539 * vc/vc-dispatcher.el: Use lexical-binding.
12540 (vc--process-sentinel): Rename from vc-process-sentinel.
12541 Change last arg to be the code to run. Don't use vc-previous-sentinel
12542 and vc-sentinel-commands any more.
12543 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12544 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12545
e36b2d20 125462013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12547
bcd7a0a4 12548 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12549 Handle function names with a single character. (Bug#14111)
4d3268ba 12550
781b4af6 125512013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12552
12553 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12554 for subroutines defined in an eval (bug#14182).
12555
7d688336
TV
125562013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12557
12558 * bookmark.el (bookmark-completing-read): Improve handling of empty
12559 string (bug#14176).
12560
31dcede0
SM
125612013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12562
12563 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12564
adc31213
FEG
125652013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12566
12567 New faster Imenu implementation (bug#14058).
12568 * progmodes/python.el:
12569 (python-imenu-prev-index-position):
12570 (python-imenu-format-item-label-function)
12571 (python-imenu-format-parent-item-label-function)
12572 (python-imenu-format-parent-item-jump-label-function):
12573 New vars.
12574 (python-imenu-format-item-label)
12575 (python-imenu-format-parent-item-label)
12576 (python-imenu-format-parent-item-jump-label)
12577 (python-imenu--put-parent, python-imenu--build-tree)
12578 (python-imenu-create-index, python-imenu-create-flat-index)
12579 (python-util-popn): New functions.
12580 (python-mode): Set imenu-create-index-function to
12581 python-imenu-create-index.
12582
cdca8255
SM
125832013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12584
12585 * winner.el (winner-active-region): Use region-active-p, activate-mark
12586 and deactivate-mark (bug#14225).
12587
12588 * simple.el (deactivate-mark): Don't inline it.
12589
beb42340
MA
125902013-04-18 Michael Albinus <michael.albinus@gmx.de>
12591
12592 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12593
fc7f4d7e
TH
125942013-04-18 Tassilo Horn <tsdh@gnu.org>
12595
12596 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12597 file extensions from the archive-mode entry in order to prefer
12598 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12599
29f47822
LL
126002013-04-18 Leo Liu <sdl.web@gmail.com>
12601
12602 * bindings.el (help-event-list): Add ?\?.
12603
d36ed1c8
SM
126042013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12605
12606 * subr.el (with-wrapper-hook): Declare obsolete.
12607 * simple.el (filter-buffer-substring-function): New hook.
12608 (filter-buffer-substring): Use it.
12609 (filter-buffer-substring-functions): Mark obsolete.
12610 * minibuffer.el (completion-in-region-function): New hook.
12611 (completion-in-region): Use it.
12612 (completion-in-region-functions): Mark obsolete.
12613 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12614 * abbrev.el (abbrev-expand-function): New hook.
12615 (expand-abbrev): Use it.
12616 (abbrev-expand-functions): Mark obsolete.
12617 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12618 and :filter-return.
12619
04754d36
FEG
126202013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12621
12622 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12623 and do not care about match data.
12624
dd8791e9
SM
126252013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12626
12627 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12628 completion tables when completing error conditions and
12629 `declare' arguments.
12630 (lisp-complete-symbol, field-complete): Mark as obsolete.
12631 (check-parens): Unmatched parens are user errors.
12632 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12633
ffe54a13
AM
126342013-04-17 Michal Nazarewicz <mina86@mina86.com>
12635
dd8791e9
SM
12636 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12637 command changed buffer (ie. `flyspell-pre-buffer' is not current
12638 buffer), which prevents making decisions based on invalid value of
12639 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12640 cause an error when `flyspell-pre-point' was nil after switching
12641 buffers.
12642 (flyspell-post-command-hook): No longer needs to change buffers when
12643 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12644
ec7e39f2
AM
126452013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12646
12647 * textmodes/ispell.el (ispell-add-per-file-word-list):
12648 Fix `flyspell-correct-word-before-point' error when accepting
12649 words and `coment-padding' is an integer by using
12650 `comment-normalize-vars' (Bug #14214).
12651
083850a6
FEG
126522013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12653
12654 New defun movement commands.
12655 * progmodes/python.el (python-nav--syntactically)
12656 (python-nav--forward-defun, python-nav-backward-defun)
12657 (python-nav-forward-defun): New functions.
12658
619ed6e1
FEG
126592013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12660
12661 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12662 (python-syntax-context): Use named compiler-macro for backwards
12663 compatibility with Emacs 24.x.
12664
7a1beb6c
LL
126652013-04-17 Leo Liu <sdl.web@gmail.com>
12666
12667 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12668 octave-hide-process-buffer.
12669
2d3fa3e5
SM
126702013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12673 (bug#14216).
12674
7ce5be54
JPG
126752013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12676
12677 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12678 Fix adjustment of offset when receiving incomplete responses from GDB
12679 (bug#14129).
12680
351edece
SM
126812013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12682
12683 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12684 python-mode-abbrev-table.
12685 (python-skeleton-define): Adjust accordingly.
12686 (python-mode-abbrev-table): New table that inherits from it so that
12687 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12688
12689 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12690 (abbrev-symbol): Use it.
12691 (abbrev--before-point): Use it since we already handle inheritance.
12692
613f9481
LL
126932013-04-16 Leo Liu <sdl.web@gmail.com>
12694
12695 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12696 binding to info-lookup-symbol.
12697
51646b62
JB
126982013-04-16 Juanma Barranquero <lekktu@gmail.com>
12699
12700 * minibuffer.el (completion--twq-all):
12701 * term/ns-win.el (ns-initialize-window-system):
12702 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12703
efb3f01d
SM
127042013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12705
36c0a301
SM
12706 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12707 global bindings.
12708
efb3f01d
SM
12709 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12710
fb549d64
DG
127112013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12712
12713 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12714 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12715 to nil.
12716 (ruby-end-of-defun): Remove the unused arg, change the docstring
12717 to reflect that this function is only used as the value of
12718 `end-of-defun-function'.
12719 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12720 to reflect an earlier change that beginning/end-of-defun functions
12721 jump between methods in a class definition, as well as top-level
12722 functions.
12723
21e8fe2f
SM
127242013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12725
12726 * minibuffer.el (minibuffer-complete): Don't just scroll
12727 a *Completions* that's been iconified.
12728 (minibuffer-force-complete): Make sure repetitions do cycle when going
12729 through completion-in-region -> minibuffer-complete.
12730
20e527d0
AM
127312013-04-15 Alan Mackenzie <acm@muc.de>
12732
12733 Correct the placement of c-cpp-delimiters when there're #s not at
12734 col 0.
12735
12736 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12737 place a submatch around the #.
21e8fe2f
SM
12738 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12739 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12740 on the #, not BOL.
12741
dabefae5
SM
127422013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12743
12744 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12745 (advice--member-p): New arg `name'.
12746 (advice--add-function, advice-member-p): Use it (bug#14202).
12747
85c9ab64
AM
127482013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12749
12750 Reformulate java imenu-generic-expression.
12751 The old expression contained ill formed regexps.
12752
12753 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12754 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12755 (cc-imenu-java-method-arg-regexp): New defconsts.
12756 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12757 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12758 handling of spaces in the regexp.
12759
0f821d99
AM
127602013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12761
12762 * textmodes/ispell.el (ispell-command-loop): Remove
12763 flyspell highlight of a word when ispell accepts it (bug #14178).
12764
eb922adf
MA
127652013-04-15 Michael Albinus <michael.albinus@gmx.de>
12766
12767 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12768 uses code from the previous `ange-ftp-run-real-handler'.
12769 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12770 only in case that function exist. This is needed for proper
12771 unloading of Tramp.
12772
4d9a0979
TH
127732013-04-15 Tassilo Horn <tsdh@gnu.org>
12774
12775 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12776
12777 * textmodes/reftex.el (reftex-compile-variables): Use it.
12778
a829b0dc
SM
127792013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12780
91e8293c
SM
12781 * files.el (normal-mode): Only use default major-mode if no other mode
12782 was specified.
12783
830aed4d
SM
12784 * emacs-lisp/trace.el (trace-values): New function.
12785
a829b0dc
SM
12786 * files.el: Allow : in local variables (bug#14089).
12787 (hack-local-variable-regexp): New var.
12788 (hack-local-variables-prop-line, hack-local-variables): Use it.
12789
7ae9f0fb
RW
127902013-04-13 Roland Winkler <winkler@gnu.org>
12791
12792 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12793 data before it gets modified by bibtex-beginning-of-entry.
12794
6646e848
RW
127952013-04-13 Roland Winkler <winkler@gnu.org>
12796
12797 * textmodes/bibtex.el (bibtex-url): Doc fix.
12798
127992013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12800
12801 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12802 does not visit a BibTeX file, exclude it from the list of buffers
12803 returned by bibtex-initialize.
12804
0aa3616e
SB
128052013-04-13 Stephen Berman <stephen.berman@gmx.net>
12806
12807 * window.el (split-window): Remove interactive form, since as a
12808 command this function is a special case of split-window-below.
12809 Correct doc string.
12810
011cddd6
RW
128112013-04-12 Roland Winkler <winkler@gnu.org>
12812
12813 * faces.el (read-face-name): Do not override value of arg default.
12814 Allow single faces and strings as default values. Remove those
12815 elements from return value that are not faces.
12816 (describe-face): Simplify.
12817 (face-at-point): New optional args thing and multiple so that this
12818 function can provide the same functionality previously provided by
12819 read-face-name.
12820 (make-face-bold, make-face-unbold, make-face-italic)
12821 (make-face-unitalic, make-face-bold-italic, invert-face)
12822 (modify-face, read-face-and-attribute): Use face-at-point.
12823
12824 * cus-edit.el (customize-face, customize-face-other-window)
12825 * cus-theme.el (custom-theme-add-face)
12826 * face-remap.el (buffer-face-set)
12827 * facemenu.el (facemenu-set-face): Use face-at-point.
12828
f24e0036
MA
128292013-04-12 Michael Albinus <michael.albinus@gmx.de>
12830
12831 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12832
da3cda2d
TH
128332013-04-10 Tassilo Horn <tsdh@gnu.org>
12834
12835 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12836 off leading { and trailing } from field values.
12837
15e54145
SM
128382013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12839
78ce603d
SM
12840 * emacs-lisp/timer.el (timer--check): New function.
12841 (timer--time, timer-set-function, timer-event-handler): Use it.
12842 (timer-set-idle-time): Simplify.
12843 (timer--activate): CSE.
12844 (timer-event-handler): Give more info in error message.
12845 (internal-timer-start-idle): New function, moved from C.
12846
15e54145
SM
12847 * mpc.el (mpc-proc): Add `restart' argument.
12848 (mpc-proc-cmd): Use it.
12849 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12850 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12851 less often.
12852
7144c627
MY
128532013-04-10 Masatake YAMATO <yamato@redhat.com>
12854
12855 * progmodes/sh-script.el: Implement `sh-mode' own
12856 `add-log-current-defun-function' (bug#14112).
12857 (sh-current-defun-name): New function.
12858 (sh-mode): Use the function.
12859
b39792eb
BG
128602013-04-09 Bastien Guerry <bzg@gnu.org>
12861
12862 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12863
8acdeb71
SM
128642013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12865
6fcdab68
SM
12866 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12867
8acdeb71
SM
12868 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12869 timer (bug#14156).
12870
e3e7b504
NF
128712013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12872
12873 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12874 declaration.
12875
201bb296
LL
128762013-04-07 Leo Liu <sdl.web@gmail.com>
12877
12878 * pcmpl-x.el: New file.
12879
ebb19708
DA
128802013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12881
12882 Do not set x-display-name until X connection is established.
12883 This is needed to prevent from weird situation described at
12884 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12885 * frame.el (make-frame): Set x-display-name after call to
12886 window system initialization function, not before.
12887 * term/x-win.el (x-initialize-window-system): Add optional
12888 display argument and use it.
12889 * term/w32-win.el (w32-initialize-window-system):
12890 * term/ns-win.el (ns-initialize-window-system):
12891 * term/pc-win.el (msdos-initialize-window-system):
12892 Add compatible optional display argument.
12893
33bb237a
EZ
128942013-04-06 Eli Zaretskii <eliz@gnu.org>
12895
12896 * files.el (normal-backup-enable-predicate): On MS-Windows and
12897 MS-DOS compare truenames of temporary-file-directory and of the
12898 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12899 don't fail comparison by compare-strings. Also, compare file
12900 names case-insensitively on MS-Windows and MS-DOS.
12901
134abf1f
SM
129022013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12903
12904 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12905 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12906
d695cb94
DG
129072013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12908
e3e7b504
NF
12909 * whitespace.el (whitespace-color-on, whitespace-color-off):
12910 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12911
f4ad7ea1 129122013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12913
12914 * ispell.el (ispell-set-spellchecker-params):
12915 Really set `ispell-args' for all equivs.
12916
632556e4
SM
129172013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12918
12919 * ido.el (ido-completions): Use extra elements of ido-decorations
12920 (bug#14143).
12921 (ido-decorations): Update docstring.
12922
2a417372
MA
129232013-04-05 Michael Albinus <michael.albinus@gmx.de>
12924
12925 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12926 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12927 nil during initialization, in order not to miss changes since the
12928 file was opened. (Bug#14140)
12929
fc164b0c
LL
129302013-04-05 Leo Liu <sdl.web@gmail.com>
12931
12932 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12933
0ccecc08
JB
129342013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12935
12936 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12937
51af1aa2
GM
129382013-04-04 Glenn Morris <rgm@gnu.org>
12939
12940 * electric.el (electric-pair-inhibit-predicate): Add :version.
12941
b208ebc6
SM
129422013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12943
12944 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12945 when a package is required several times (bug#14082).
12946
f3d3eaf0
RW
129472013-04-04 Roland Winkler <winkler@gnu.org>
12948
12949 * faces.el (read-face-name): Behave as promised by the docstring.
12950 Assume that arg default is a list of faces.
12951 (describe-face): Call read-face-name with list of default faces.
12952
2575da50
TV
129532013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12954
12955 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12956 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12957 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12958 the header.
12959 (bookmark-exit-hook-internal): Save even if list is empty.
12960
397703b4
YH
129612013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12962
12963 * emacs-lisp/package.el (package-pinned-packages): New var.
12964 (package--add-to-archive-contents): Obey it (bug#14118).
12965
691e26ae
AM
129662013-04-03 Alan Mackenzie <acm@muc.de>
12967
8a621d53
JB
12968 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12969 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12970
12971 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12972 parameter `not-in-delimiter'. Handle being inside comment opener.
12973 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12974 character in case we're typing a '*' after a '/'.
12975 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12976 instead by passing the parameter to c-state-pp-to-literal.
12977
12978 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12979 for elt. 7 of a parse state.
12980
4b725a70
PE
129812013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12982
12983 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12984 * international/latin1-disp.el, international/mule-util.el:
12985 * language/cyril-util.el, language/european.el, language/ind-util.el:
12986 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12987 * language/tibetan.el, language/viet-util.el:
12988 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12989
15c579f0
SM
129902013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12991
12992 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12993 (electric-pair-post-self-insert-function): Use it.
12994 (electric-pair-default-inhibit): New function, extracted from
12995 electric-pair-post-self-insert-function.
12996
a77e2924
RW
129972013-03-31 Roland Winkler <winkler@gnu.org>
12998
12999 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13000
2bd8a4a8
SM
130012013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13002
13003 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13004
8d3655be 130052013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13006
13007 Un-indent after "pass" and "return" statements (Bug#13888)
13008 * progmodes/python.el (python-indent-block-enders): New var.
13009 (python-indent-calculate-indentation): Use it.
13010
8d3655be 130112013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13012
13013 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13014 defun. Defining it as defalias could introduce too eager
13015 byte-compiler optimization. (Bug#14030)
13016
8d3655be 130172013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13018
13019 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13020
0b1619da
LL
130212013-03-30 Leo Liu <sdl.web@gmail.com>
13022
13023 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13024 (kmacro-execute-from-register): Pass the keyboard macro to
13025 kmacro-call-macro or repeating won't work correctly.
13026
0b938190
TZ
130272013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13028
13029 * progmodes/subword.el: Back to using `forward-symbol'.
13030
13031 * subr.el (forward-whitespace, forward-symbol)
13032 (forward-same-syntax): Move from thingatpt.el.
13033
35710234
LL
130342013-03-29 Leo Liu <sdl.web@gmail.com>
13035
13036 * kmacro.el (kmacro-to-register): New command.
13037 (kmacro-execute-from-register): New function.
13038 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13039
efc0bb73
SM
130402013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13041
13042 * mpc.el: Use defvar-local and setq-local.
13043 (mpc--proc-connect): Connection failures are not bugs.
13044 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13045 (mpc-volume-map): Bind to the up-events.
13046
75a2f981
TZ
130472013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13048
13049 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13050 instead of `forward-symbol'.
13051
17c781d1
SM
130522013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13053
13054 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13055 (edebug--recursive-edit): Use it.
13056 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13057 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13058
f67bfbcf
LL
130592013-03-28 Leo Liu <sdl.web@gmail.com>
13060
13061 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13062
b59f639d
EZ
130632013-03-27 Eli Zaretskii <eliz@gnu.org>
13064
13065 * facemenu.el (list-colors-callback): New defvar.
13066 (list-colors-redisplay): New function.
13067 (list-colors-display): Install list-colors-redisplay as the
13068 revert-buffer-function. (Bug#14063)
13069
f557c1b1
SM
130702013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13071
b1da2957
SM
13072 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13073 and suffixes don't overlap (bug#14061).
13074
f557c1b1
SM
13075 * case-table.el: Use lexical-binding.
13076 (case-table-get-table): New function.
13077 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13078
002668e1
TZ
130792013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13080
13081 * progmodes/subword.el: Add `superword-mode' to do word motion
13082 over symbol_words (parallels and leverages `subword-mode' which
13083 does word motion inside MixedCaseWords).
13084
73572c72
AG
130852013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13086
78b8f320 13087 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13088 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13089
69b2c07e
SM
130902013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13091
13092 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13093 Change return value to be a sexp. Delay `get-buffer' to after
13094 restoring the desktop (bug#13951).
13095
08bb5ee2
LL
130962013-03-26 Leo Liu <sdl.web@gmail.com>
13097
13098 * register.el: Move semantic tag handling back to
13099 cedet/semantic/senator.el. (Bug#14052)
13100
8d4c974e
SM
131012013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13102
13103 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13104 into the prompt either (bug#13963).
13105
b234d92c
SM
131062013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13107
13108 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13109 part of "(error-foo)".
13110
ddfa3cb4
JL
131112013-03-24 Juri Linkov <juri@jurta.org>
13112
13113 * replace.el (list-matching-lines-prefix-face): New defcustom.
13114 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13115 `occur-engine' if `face-differs-from-default-p' returns t.
13116 (occur-engine): Add `,' inside backquote construct to evaluate
13117 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13118 Pass `prefix-face' to the functions `occur-context-lines' and
13119 `occur-engine-add-prefix'.
13120 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13121 `prefix-face' and propertize the prefix with `prefix-face'.
13122 (Bug#14017)
13123
7b0e2f85
LL
131242013-03-24 Leo Liu <sdl.web@gmail.com>
13125
13126 * nxml/rng-valid.el (rng-validate-while-idle)
13127 (rng-validate-quick-while-idle): Guard against deleted buffer.
13128 (Bug#13999)
13129
13130 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13131 is the last entry in kill-buffer-hook.
13132
13133 * files.el (kill-buffer-hook): Doc fix.
13134
b3082f49
DG
131352013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13136
b234d92c
SM
13137 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13138 Make it safe-local.
bde73d27 13139
b3082f49
DG
13140 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13141
a320a2db
LL
131422013-03-23 Leo Liu <sdl.web@gmail.com>
13143
7e74b0fb
LL
13144 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13145 Remove.
13146
13147 * nxml/rng-valid.el (rng-validate-mode)
13148 (rng-after-change-function, rng-do-some-validation):
13149 * nxml/rng-maint.el (rng-validate-buffer):
13150 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13151 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13152 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13153 (nxml-extend-after-change-region): Use with-silent-modifications.
13154
a320a2db
LL
13155 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13156 timer-idle-list.
13157
13158 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13159 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13160 timer-idle-list. (Bug#13999)
13161
e38e6780
JL
131622013-03-23 Juri Linkov <juri@jurta.org>
13163
13164 * info.el (info-index-match): New face.
13165 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13166 main pattern and add text properties with the new face to matches
13167 in index entries relative to the beginning of the index entry.
13168 (Bug#14015)
13169
e8cc7880
DE
131702013-03-21 Eric Ludlam <zappo@gnu.org>
13171
39c87140 13172 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13173 Inhibit read only while inserting objects.
13174
9bb0d822
TZ
131752013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13176
13177 * progmodes/cfengine.el: Update docs to mention
13178 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13179 symbol motion. Remove "_" from the word syntax.
13180
aa703640
TZ
131812013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13182
13183 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13184 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13185
afff09d0
JL
131862013-03-20 Juri Linkov <juri@jurta.org>
13187
13188 * info.el (Info-next-reference-or-link)
13189 (Info-prev-reference-or-link): New functions.
13190 (Info-next-reference, Info-prev-reference): Use them.
13191 (Info-try-follow-nearest-node): Handle footnote navigation.
13192 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13193
9a1ff164
SM
131942013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13195
13196 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13197 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13198
2667d15d
PE
131992013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13200
13201 Suppress unnecessary non-ASCII chatter during build process.
13202 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13203 (batch-skkdic-convert): Suppress most of the chatter.
13204 It's not needed so much now that machines are faster,
13205 and its non-ASCII component was confusing; see Dmitry Gutov in
13206 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13207
438b0579
LL
132082013-03-20 Leo Liu <sdl.web@gmail.com>
13209
13210 * ido.el (ido-chop): Fix bug#10994.
13211
c128ab07
DG
132122013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13213
13214 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13215 Remove vars.
9a1ff164
SM
13216 (whitespace-color-on, whitespace-color-off):
13217 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13218
0e6008c5
SM
132192013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13220
13221 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13222 remapping in mode-line.
13223 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13224
627b52b0
DG
132252013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13226
13227 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13228 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13229 (whitespace-font-lock-keywords): Change description.
13230 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13231 the constructed keywords instead.
13232 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13233
50c3a20b
LL
132342013-03-19 Leo Liu <sdl.web@gmail.com>
13235
13236 * progmodes/compile.el (compilation-display-error): New command.
13237 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13238 C-o. (Bug#13992)
13239
2aa2157b
PE
132402013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13241
13242 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13243
e477dbfa
JD
132442013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13245
13246 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13247
64ab82d1
MA
132482013-03-18 Michael Albinus <michael.albinus@gmx.de>
13249
13250 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13251
13252 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13253 * net/tramp-gvfs.el (top):
13254 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13255 (tramp-handle-shell-command): Use it.
13256 (tramp-dissect-file-name): Raise an error when hostname is a
13257 method name, and neither method nor user is specified.
13258
13259 * net/trampver.el: Update release number.
13260
33cef733
LL
132612013-03-18 Leo Liu <sdl.web@gmail.com>
13262
13263 Make sure eldoc can be turned off properly.
13264 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13265 eldoc-mode.
13266 (eldoc-display-message-p): Revert last change.
13267 (eldoc-display-message-no-interference-p)
13268 (eldoc-print-current-symbol-info): Tweak.
13269
2167b7b2
TH
132702013-03-18 Tassilo Horn <tsdh@gnu.org>
13271
13272 * doc-view.el (doc-view-new-window-function): Check the new window
13273 overlay's display property instead the char property of the
13274 buffer's first char. Use `with-selected-window' instead of
13275 `save-window-excursion' with `select-window'.
13276 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13277 display property instead the char property of the buffer's first char.
2167b7b2 13278
982efbcd
PE
132792013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13280
13281 Automate the build of ja-dic.el (Bug#13984).
13282 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13283 from the input, rather than assume that it's been done for us by the
13284 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13285 the current date into a ja-dic.el comment, as that complicates
13286 regression testing.
13287
2fcc7665
SM
132882013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13289
13290 * whitespace.el: Fix double evaluation.
13291 (whitespace-space, whitespace-hspace, whitespace-tab)
13292 (whitespace-newline, whitespace-trailing, whitespace-line)
13293 (whitespace-space-before-tab, whitespace-indentation)
13294 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13295 obsolete defvars.
13296 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13297 (whitespace-color-on): Use a single font-lock-add-keywords call.
13298 Fix double-evaluation of face variables.
13299
67c0a6e6
MA
133002013-03-17 Michael Albinus <michael.albinus@gmx.de>
13301
2fcc7665
SM
13302 * net/tramp-adb.el (tramp-adb-parse-device-names):
13303 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13304 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13305
69489f1d
LL
133062013-03-17 Leo Liu <sdl.web@gmail.com>
13307
13308 Extend eldoc to display info in the mode-line. (Bug#13978)
13309 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13310 (eldoc-mode-line-string): New variable.
13311 (eldoc-minibuffer-message): New function.
13312 (eldoc-message-function): New variable.
13313 (eldoc-message): Use it.
13314 (eldoc-display-message-p)
2fcc7665
SM
13315 (eldoc-display-message-no-interference-p):
13316 Support eldoc-post-insert-mode.
69489f1d
LL
13317
13318 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13319 (eval-expression): Run it.
13320
9c44569e
RW
133212013-03-17 Roland Winkler <winkler@gnu.org>
13322
13323 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13324 strings in the list of return values.
13325
327f1f6f
JB
133262013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13327
13328 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13329 radix before checking for HMS forms.
13330
67ed8fcd
LL
133312013-03-16 Leo Liu <sdl.web@gmail.com>
13332
13333 * progmodes/scheme.el: Add indentation and font-locking for λ.
13334 (Bug#13975)
13335
78be8b64 133362013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
13337
13338 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13339 token before point (bug#13942).
13340
78be8b64 133412013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 13342
95b43468 13343 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 13344
98e775e6
EZ
133452013-03-16 Eli Zaretskii <eliz@gnu.org>
13346
13347 * startup.el (command-line-normalize-file-name): Fix handling of
13348 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13349 <xfq.free@gmail.com> in
13350 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13351
2edd6029
MA
133522013-03-15 Michael Albinus <michael.albinus@gmx.de>
13353
13354 Sync with Tramp 2.2.7.
13355
13356 * net/trampver.el: Update release number.
13357
d35f5864
TH
133582013-03-14 Tassilo Horn <tsdh@gnu.org>
13359
e903c210 13360 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
13361 (doc-view-insert-image): Don't modify overlay associated to
13362 non-live windows, and implement horizontal centering of image in
13363 case it's smaller than the window.
13364 (doc-view-new-window-function): Force redisplay of new windows on
13365 doc-view buffers.
d35f5864 13366
1c4a85ed
KF
133672013-03-13 Karl Fogel <kfogel@red-bean.com>
13368
13369 * saveplace.el (save-place-alist-to-file): Don't sort
13370 `save-place-alist', just pretty-print it (bug#13882).
13371
85b66a21
MA
133722013-03-13 Michael Albinus <michael.albinus@gmx.de>
13373
a020afb9
JB
13374 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13375 Check whether `default-file-name-coding-system' is bound.
13376 It isn't in XEmacs.
85b66a21 13377
175600da
SM
133782013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13379
e7f7cb1a
SM
13380 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13381 backquotes for `obsolete' (bug#13929).
13382
175600da
SM
13383 * international/mule.el (find-auto-coding): Include file name in
13384 obsolescence warning (bug#13922).
13385
ca68a22e
TZ
133862013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13387
13388 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13389 for CFEngine 3-specific indentation.
13390 (cfengine3-indent-line): Use it. Fix up category regex.
13391 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13392
940e5099
SM
133932013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13394
13395 * type-break.el (type-break-file-name):
13396 * textmodes/remember.el (remember-data-file):
13397 * strokes.el (strokes-file):
13398 * shadowfile.el (shadow-initialize):
13399 * saveplace.el (save-place-file):
13400 * ps-bdf.el (bdf-cache-file):
13401 * progmodes/idlwave.el (idlwave-config-directory):
13402 * net/quickurl.el (quickurl-url-file):
13403 * international/kkc.el (kkc-init-file-name):
13404 * ido.el (ido-save-directory-list-file):
13405 * emulation/viper.el (viper-custom-file-name):
13406 * emulation/vip.el (vip-startup-file):
13407 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13408 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13409
cc725808
PE
134102013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13411
13412 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13413 * language/thai-word.el: Switch to UTF-8.
13414
a020afb9 13415See ChangeLog.16 for earlier changes.
e3d51b27
MR
13416
13417;; Local Variables:
13418;; coding: utf-8
e3d51b27
MR
13419;; End:
13420
ba318903 13421 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13422
13423 This file is part of GNU Emacs.
13424
13425 GNU Emacs is free software: you can redistribute it and/or modify
13426 it under the terms of the GNU General Public License as published by
13427 the Free Software Foundation, either version 3 of the License, or
13428 (at your option) any later version.
13429
13430 GNU Emacs is distributed in the hope that it will be useful,
13431 but WITHOUT ANY WARRANTY; without even the implied warranty of
13432 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13433 GNU General Public License for more details.
13434
13435 You should have received a copy of the GNU General Public License
13436 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.