Small doc related to new completion functions
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d9263618
GM
12014-02-27 Glenn Morris <rgm@gnu.org>
2
ea7826ba
GM
3 * minibuffer.el (completion-table-dynamic)
4 (completion-table-with-cache): Doc fixes.
5
d9263618
GM
6 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
7 (completing-read-multiple): Doc fixes.
8
eff3168a
DC
92014-02-27 Daniel Colascione <dancol@dancol.org>
10
51f213c3
DC
11 * minibuffer.el (completion--nth-completion): Fix indentation.
12
eff3168a
DC
13 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
14 explicit tramp path is empty.
15
b77cfcd7
GM
162014-02-27 Glenn Morris <rgm@gnu.org>
17
18 * emacs-lisp/crm.el (completing-read-multiple):
19 Empower help-enable-auto-load.
20
9577b569
GM
212014-02-26 Glenn Morris <rgm@gnu.org>
22
259887e8
GM
23 * startup.el (command-line): Don't init the tty in daemon mode.
24
1d491ef2
GM
25 Avoid calling tty-setup-hook twice, eg if a term file
26 explicitly calls tty-run-terminal-initialization. (Bug#16859)
27 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
28 (tty-create-frame-with-faces): Use it.
29 * startup.el (command-line): Pass run-hook argument
30 to tty-run-terminal-initialization.
31
9577b569
GM
32 * dired.el (dired-restore-desktop-buffer): Demote errors;
33 eg in case a glob match fails. (Bug#16884)
34
40ff7f86
DG
352014-02-26 Dmitry Gutov <dgutov@yandex.ru>
36
b2388336
DG
37 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
38 error from `read-from-string'. (Bug#16850)
39
40ff7f86
DG
40 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
41 result of `completing-read' in the interactive form. (Bug#16854)
42
98bd6b32
GM
432014-02-25 Glenn Morris <rgm@gnu.org>
44
f086804c
GM
45 * image.el (image-animate, image-animate-timeout):
46 Stop animating images in dead buffers. (Bug#16878)
47
c107155e
GM
48 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
49
9577b569
GM
50 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
51 Doc fixes.
98bd6b32
GM
52 * startup.el (term-setup-hook): Doc fix. Make obsolete.
53 * term/sun.el (sun-raw-prefix-hooks):
54 Use tty-setup-hook instead of term-setup-hook.
55 (terminal-init-sun): Construct message from bytecomp plist.
56 * term/wyse50.el (enable-arrow-keys): Doc fix.
57
9c9e18e8
JB
582014-02-24 Juanma Barranquero <lekktu@gmail.com>
59
60 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
61 Fix docstring typos.
62
c848881f
MA
632014-02-24 Michael Albinus <michael.albinus@gmx.de>
64
65 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
66
0e38ae05
NR
672014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
68
69 * minibuffer.el (completion--try-word-completion):
70 Fix error when completing M-x commands (bug#16808).
71
8ee4c296
LL
722014-02-24 Leo Liu <sdl.web@gmail.com>
73
74 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
75
7d4bd627
JB
762014-02-24 Juanma Barranquero <lekktu@gmail.com>
77
78 * apropos.el (apropos-print): Avoid formatting error when
79 apropos-do-all and apropos-compact-layout are both t.
80
e918e27f
JB
812014-02-23 Juanma Barranquero <lekktu@gmail.com>
82
83 * apropos.el (apropos-property, apropos-all-words-regexp)
84 (apropos-true-hit, apropos-variable, apropos-print):
85 Fix docstring typos, and remove obsolete comment.
86
85c01f80
MA
872014-02-23 Michael Albinus <michael.albinus@gmx.de>
88
89 * net/tramp-sh.el (tramp-sh-handle-file-truename):
90 Preserve trailing "/". (Bug#16851)
91
62f95022
DG
922014-02-23 Dmitry Gutov <dgutov@yandex.ru>
93
94 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
95 after `=>' (bug#16811).
dfdb365c
DG
96 (ruby-smie-rules): Handle the inconsistent second element of the
97 list returned by `smie-indent--parent'.
98 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
99 method call.
62f95022 100
025f2c81
JB
1012014-02-23 Juanma Barranquero <lekktu@gmail.com>
102
103 * elec-pair.el (electric-pair-text-syntax-table)
104 (electric-pair-syntax-info, electric-pair--syntax-ppss)
105 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
106 (electric-pair--looking-at-unterminated-string-p): Doc fix.
107 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
108
123c84f9
GM
1092014-02-22 Glenn Morris <rgm@gnu.org>
110
612c3e46
GM
111 * imenu.el (imenu--generic-function): Doc fix.
112
123c84f9
GM
113 * register.el (frame-configuration-to-register): Make obsolete.
114
e59fa9ad
JB
1152014-02-22 Juanma Barranquero <lekktu@gmail.com>
116
117 * desktop.el (desktop-save-buffer-p): Do not fail when
118 desktop-files-not-to-save is nil. Return t for true result
119 as the doc says.
120
4e652634
DC
1212014-02-22 Daniel Colascione <dancol@dancol.org>
122
123 * net/secrets.el (secrets-create-item,secrets-search-items): Check
124 that attribute values are strings, avoiding the construction of
125 invalid dbus messages.
126
f35affb6
JB
1272014-02-21 Juanma Barranquero <lekktu@gmail.com>
128
129 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
130 defun-declarations-alist.
131
3d136b1b
SM
1322014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
135 (bug#16829).
136
612ddfc0
JB
1372014-02-21 Juanma Barranquero <lekktu@gmail.com>
138
139 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
140 (whitespace-newline, whitespace-trailing, whitespace-line)
141 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
142 (whitespace-space-after-tab): Fix typo in docstrings.
143
c8481b1b
DG
1442014-02-21 Dmitry Gutov <dgutov@yandex.ru>
145
cb8f50a7
DG
146 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
147
c8481b1b
DG
148 * electric.el (electric-indent-functions-without-reindent):
149 Add `yaml-indent-line'.
150
bed5126f
JB
1512014-02-21 Juanma Barranquero <lekktu@gmail.com>
152
34b71457
JB
153 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
154 It has done nothing for years; should be removed after the release.
155
bed5126f
JB
156 * simple.el (choose-completion): Fix docstring typo.
157 (read-quoted-char-radix): Remove unneeded * in docstring.
158 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
159 Don't escape parentheses unnecessarily in docstrings.
160
8dd3e94f
MR
1612014-02-21 Martin Rudalics <rudalics@gmx.at>
162
163 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
164 * window.el (window--dump-window, window--dump-frame):
165 New functions.
166 (window--min-size-1): Account for window dividers.
167 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
168 sum of the window components has been calculated.
169 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
170 nil make sure at least one text line and two text columns remain
171 fully visible.
172 (window-resize): Signal an error when window-resize-apply fails.
173 (window--resize-child-windows): Fix calculation of by how many
174 pixels a window can still be shrunk via window-new-normal.
175 (adjust-window-trailing-edge): Call window--resizable with
176 correct TRAIL argument.
177
2ed94e04
MR
178 (with-temp-buffer-window): Don't evaluate BODY within
179 with-current-buffer (Bug#16816).
180
0e5324c4
MA
1812014-02-21 Michael Albinus <michael.albinus@gmx.de>
182
183 * net/tramp.el (tramp-check-cached-permissions):
184 Call `file-attributes' with `suffix' being a symbol but a string.
185
48198420
DC
1862014-02-21 Daniel Colascione <dancol@dancol.org>
187
188 * net/dbus.el (dbus-init-bus-1): Declare new subr.
189 (dbus-init-bus): New function: call into dbus-init-bus-1
190 and installs a handler for the disconnect signal.
191 (dbus-call-method): Rewrite to look for result in cons.
192 (dbus-call-method-handler): Store result in cons.
193 (dbus-check-event): Recognize events with nil sender as valid.
194 (dbus-handle-bus-disconnect): New function. React to bus
195 disconnection signal by synthesizing dbus error for each
196 pending synchronous or asynchronous call.
197 (dbus-notice-synchronous-call-errors): New function.
198 (dbus-handle-event): Raise errors directly only when `dbus-debug'
199 is true, not all the time.
200
99e15133
JB
2012014-02-21 Juanma Barranquero <lekktu@gmail.com>
202
e48983a6
JB
203 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
204 Remove obsolescence declarations, these variables do not exist anymore.
205
fdcfd745
JB
206 * savehist.el (savehist-save-minibuffer-history)
207 (savehist-additional-variables, savehist-file, savehist-mode-hook)
208 (savehist-save-hook, savehist-coding-system, savehist-loaded)
209 (savehist-load, savehist-install, savehist-autosave): Fix typos;
210 mostly, refer to "Savehist mode" when talking about the mode,
211 and not the function.
212
99e15133
JB
213 * saveplace.el (save-place): Remove redundant info in docstring.
214 (save-place-forget-unreadable-files, toggle-save-place)
215 (save-place-forget-unreadable-files, save-place-dired-hook):
216 Fix typos and remove unneeded backslashes.
217
f5bee33b
MA
2182014-02-20 Michael Albinus <michael.albinus@gmx.de>
219
220 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
221 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
222
223 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 224 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
225 (tramp-gvfs-handle-insert-directory): Remove function.
226
227 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
228 Call `tramp-handle-insert-directory'.
229
ee0761ca
JB
2302014-02-20 Juanma Barranquero <lekktu@gmail.com>
231
232 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
233 before the start of buffer/region (bug#16799).
234
4d49cc65
GM
2352014-02-20 Glenn Morris <rgm@gnu.org>
236
237 * isearch.el (search-invisible): Doc fix.
238
eee0d650
TK
2392014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
240
241 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
242 (bug#16657).
243
94e5e202
JB
2442014-02-19 Juanma Barranquero <lekktu@gmail.com>
245
246 * frameset.el (frameset-restore): Delay removing an old frame's
247 duplicate id until the new frame has been correctly created.
248
50bfdd5d
MA
2492014-02-19 Michael Albinus <michael.albinus@gmx.de>
250
251 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
252 (tramp-check-cached-permissions): Call `file-attributes' if the
253 cache is empty.
254
255 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 256 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
257
258 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 259 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
260 (tramp-gvfs-maybe-open-connection): Set always connection
261 properties, even if target is mounted already.
262
263 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
264 Set tramp-autoload cookie.
265 (tramp-get-remote-touch): New defun.
266 (tramp-sh-handle-set-file-times): Use it.
267 (tramp-sh-handle-directory-files-and-attributes):
268 Use `tramp-handle-directory-files-and-attributes' if neither stat
269 nor perl are available on the remote host.
270
271 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
272 "/". Write long listing only when "l" belongs to the switches.
273
274 * net/trampver.el: Update release number.
275
f097a3d2
JB
2762014-02-19 Juanma Barranquero <lekktu@gmail.com>
277
278 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
279
8e009b78
MR
2802014-02-19 Martin Rudalics <rudalics@gmx.at>
281
282 * window.el (window-state-put): Allow WINDOW to refer to an
283 internal window (Bug#16793).
284
95160c90
GM
2852014-02-19 Glenn Morris <rgm@gnu.org>
286
287 * textmodes/remember.el: Move provide statement to end.
288 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
289 (remember-notes): Doc fixes.
290
b28df58c
SM
2912014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
292
293 * delsel.el (delete-char): Restore incorrectly erased property
294 (bug#16795).
295
7108e1c0
JB
2962014-02-18 Juanma Barranquero <lekktu@gmail.com>
297
298 * frameset.el (frameset--restore-frame): When a frame is being reused
299 and its root window is not alive, delete all the frame's windows before
300 restoring the window state. This works around the issue in bug#16793.
301
c863b6ad
GM
3022014-02-18 Glenn Morris <rgm@gnu.org>
303
a73fae1f
GM
304 * textmodes/remember.el (remember-data-directory)
305 (remember-directory-file-name-format, remember-store-in-files)
306 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
307 (remember-notes-save-and-bury-buffer)
308 (remember-notes--kill-buffer-query): Doc fixes.
309
c863b6ad
GM
310 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
311
29238d28
AM
3122014-02-17 Alan Mackenzie <acm@muc.de>
313
314 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 315 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 316 to electric-indent-{,local-}-mode.
b28df58c
SM
317 (c-basic-common-init): Set electric-indent-inhibit.
318 Initialise c-electric-flag from electric-indent-mode.
29238d28 319 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 320 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
321
322 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 323 hit, toggle electric-indent-local-mode.
29238d28 324
b28df58c
SM
325 * electric.el (electric-indent-mode-has-been-called):
326 New variable.
29238d28 327
c6463340
JB
3282014-02-17 Juanma Barranquero <lekktu@gmail.com>
329
330 * frameset.el (frameset-cfg-id): New function.
331 (frameset--reuse-frame, frameset-restore): Use it.
332 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
333
94912b88
SM
3342014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
335
336 * ido.el (ido-file-internal): Remove unused var `d'.
337 Use \` for to match BoS. Fit within 80n columns.
338
26ea164c
DC
3392014-02-17 Daniel Colascione <dancol@dancol.org>
340
341 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
342 dbus-call-method check for completion using a busy-wait loop with
343 gradual backoff.
344
dd7691b7
MA
3452013-10-02 Michael Albinus <michael.albinus@gmx.de>
346
347 Sync with Tramp 2.2.9.
348
349 * net/trampver.el: Update release number.
350
17d1b51b
DG
3512014-02-16 Dmitry Gutov <dgutov@yandex.ru>
352
353 * ido.el (ido-file-internal): Don't add the name of an existing
354 directory twice. (Bug#16747)
355
5bcad689
GM
3562014-02-16 Glenn Morris <rgm@gnu.org>
357
358 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
359 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
360
3612014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
362
363 * progmodes/sql.el: Version 3.4
364 (sql-oracle-options): New default value ("-L").
94912b88 365 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7
MM
366 (sql-placeholders-filter): Correct placeholder pattern.
367 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
368 (sql-login-delay): New variable.
369 (sql-product-interactive): Use it.
370
285f1858
JB
3712014-02-15 Juanma Barranquero <lekktu@gmail.com>
372
373 * frameset.el (frameset--jump-to-register): Check that buffer is live
374 (bug#16749).
375
5d645ea4
GM
3762014-02-15 Glenn Morris <rgm@gnu.org>
377
378 * info.el (info-initialize): Revert 2014-01-10 change.
379
48c4f9b1
GM
3802014-02-14 Glenn Morris <rgm@gnu.org>
381
b8630261
GM
382 * replace.el (map-query-replace-regexp)
383 (read-regexp-defaults-function, read-regexp): Doc fixes.
384
b2bf2a25
GM
385 * dired.el (dired-read-regexp):
386 * faces.el (list-faces-display):
387 * misearch.el (multi-isearch-read-matching-buffers)
388 (multi-isearch-read-matching-files):
389 * play/cookie1.el (cookie-apropos):
390 * progmodes/grep.el (grep-read-regexp): Doc fixes.
391
48c4f9b1
GM
392 * textmodes/remember.el (remember): Use frameset-to-register
393 rather than frame-configuration-to-register.
394
2804e0bd
JB
3952014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
396
397 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
398 incorrect keybinding.
399
0b87142f
DC
4002014-02-13 Daniel Colascione <dancol@dancol.org>
401
402 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
403 when adding overlays so that line numbers from compiler match line
404 numbers we use.
405
47a73eb0
GM
4062014-02-13 Glenn Morris <rgm@gnu.org>
407
8abcfd51
GM
408 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
409
47a73eb0
GM
410 * jit-lock.el (jit-lock-mode): Doc fix.
411
c9b6b262
JB
4122014-02-13 Juanma Barranquero <lekktu@gmail.com>
413
414 * apropos.el (apropos-read-pattern): When the user passes an empty
415 string, give a more helpful error message than "Wrong type
416 argument: stringp, nil".
417
eb4c6947
SM
4182014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
421
0dab5068
GM
4222014-02-13 Glenn Morris <rgm@gnu.org>
423
424 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
425
59075dcf
SM
4262014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
429 shift-select commands.
430
5af9fbad
DG
4312014-02-12 Dmitry Gutov <dgutov@yandex.ru>
432
433 * progmodes/js.el (js-indent-line): Don't widen.
434 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
435
a215930c
GM
4362014-02-12 Glenn Morris <rgm@gnu.org>
437
a8cb4247
GM
438 * icomplete.el (icomplete): Add info-link to defgroup.
439 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
440 (icomplete-minibuffer-map, icomplete-mode)
441 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
442
a215930c
GM
443 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
444 (package-menu-filter): Rename from package-menu-filter-interactive.
445 Doc fix.
446
26c5ecd9
JB
4472014-02-11 Juanma Barranquero <lekktu@gmail.com>
448
449 * frameset.el (frameset--jump-to-register): Select the required
450 window and buffer before restoring position (bug#16696).
451
fcd58a02
LI
4522014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
453
454 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
455
bacb3380
GM
4562014-02-10 Glenn Morris <rgm@gnu.org>
457
458 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
459
881329dc
EZ
4602014-02-10 Eli Zaretskii <eliz@gnu.org>
461
02328db9
EZ
462 * w32-common-fns.el (x-get-selection): Doc fix.
463 * select.el (x-get-selection): Doc fix. (Bug#15109)
464
881329dc
EZ
465 * face-remap.el (face-remap-add-relative)
466 (face-remap-remove-relative, face-remap-reset-base)
467 (face-remap-set-base): Call force-mode-line-update to redisplay
468 the current buffer due to potential change in faces. (Bug#16709)
469
c7db4c06
MA
4702014-02-10 Michael Albinus <michael.albinus@gmx.de>
471
472 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
473 script more robustly.
474
6abe4589
LI
4752014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
476
7602b5c3
LI
477 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
478
e3692ee0
LI
479 * simple.el (choose-completion): Doc fix (bug#14160).
480
41015524
LI
481 * subr.el (event-start): Say what a nil EVENT value means.
482
87c79dcb
LI
483 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
484 (bug#14197).
485
3ab49e2c
LI
486 * progmodes/grep.el (find-program): Doc fix (bug#14289).
487
f3c60241
LI
488 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
489
3bd1d8a8
LI
490 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
491
6abe4589
LI
492 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
493 predicate function (bug#15455).
494
a11463de
DG
4952014-02-10 Dmitry Gutov <dgutov@yandex.ru>
496
497 * ielm.el (inferior-emacs-lisp-mode): Instead of
498 `comment-use-global-state', set `comment-use-syntax'.
499
2ab0ad85
GM
5002014-02-10 Glenn Morris <rgm@gnu.org>
501
502 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
503
411141fb
AM
5042014-02-09 Alan Mackenzie <acm@muc.de>
505
506 Fix c-invalidate-state-cache on narrowed buffers.
507 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
508 Widen when setting and clearing the CPP delimiter properties.
509
d6d5fdf8
LI
5102014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
511
92c70367
LI
512 * help.el (describe-bindings): Doc fix (bug#9888).
513
468ef484
LI
514 * files.el (save-buffer): Use ARG as the parameter name for
515 consistency (bug#10346).
7e34193f 516 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 517
fc2b1ffa 518 * cus-edit.el (customize-apropos): Fix error string.
382fd368 519 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 520 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 521
790aceec
LI
522 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
523
a54a7552 524 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 525 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 526
dd163123
LI
527 * font-lock.el (font-lock-value-in-major-mode): Clarify the
528 meaning of the parameter (bug#12282).
529
9e108fe6
LI
530 * files.el (find-file-noselect): Clarify prompt when changing
531 readedness (bug#13261).
5a836f58
LI
532 (locate-file): Suffixes aren't returned, so don't say that they
533 are (bug#12674).
2356b316 534 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 535
20dda930
LI
536 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
537 before we actually start to delete things (bug#16331).
538
d6d5fdf8
LI
539 * subr.el (event-start): Doc fix (bug#14228).
540 (event-end): Ditto.
541
2abd71e5
GM
5422014-02-09 Glenn Morris <rgm@gnu.org>
543
544 * emacs-lisp/warnings.el (lwarn):
545 Empower help-enable-auto-load. (Bug#15940)
546
c1b5900b
AS
5472014-02-08 Andreas Schwab <schwab@linux-m68k.org>
548
549 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
550 (Bug#16690)
551
429b93bd
MA
5522014-02-08 Michael Albinus <michael.albinus@gmx.de>
553
554 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
555 Insert output at end of buffer. (Bug#16120)
556
b772a699
LI
5572014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
558
18c6aa8c
LI
559 * simple.el (choose-completion-string-functions): Document new
560 calling convention (bug#14153).
54dd147a 561 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 562
dce8463b
LI
563 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
564
b772a699 565 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 566 (find-grep-dired): Doc fix (bug#14288).
b772a699 567
2423c8d5
JL
5682014-02-08 Juri Linkov <juri@jurta.org>
569
570 * isearch.el (isearch-quote-char): Check character validity
571 like in `quoted-insert' (bug#16677).
572
518f26c2
LI
5732014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
574
893cc908
LI
575 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
576
9165ffc0
LI
577 * isearch.el (isearch-hide-immediately): Doc clarification
578 (bug#14723).
579
6ef4f3ce
LI
580 * simple.el (line-move): Document utility function used many
581 places in the Emacs sources (bug#14843).
582
be58a238 583 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 584 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 585 (dired-up-directory): Doc fix (bug#14848).
be58a238 586
dd7aafbb
LI
587 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
588
15cb9968
LI
589 * files.el (file-relative-name): Doc fix (bug#15159).
590
9788effd
LI
591 * fringe.el (fringe-styles): Doc fix (bug#15239).
592
c96411bd
LI
593 * isearch.el (isearch-filter-predicate): Documentation typo fix
594 (bug#15474).
595
ea838c36
LI
596 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
597
0d8a4ae7
LI
598 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
599
f7a17bb3
LI
600 * replace.el (replace-match-maybe-edit): Doc clarification
601 (bug#15632).
602
1bde5c3b
LI
603 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
604
518f26c2
LI
605 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
606
dd8e49fd
GM
6072014-02-08 Glenn Morris <rgm@gnu.org>
608
609 * help-fns.el (describe-variable):
610 Check {file,dir}-local-variables-alist, and buffer-file-name,
611 in the correct buffer.
612
7e088b29
IL
6132014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
614
615 * help-fns.el (describe-variable): Fix the case where
616 a value is directory-local with no dir-locals file. (Bug#16635)
617
41a4a82f
GM
6182014-02-08 Glenn Morris <rgm@gnu.org>
619
620 * abbrev.el (edit-abbrevs-mode):
621 Derive from fundamental-mode. (Bug#16682)
622
e255a703
JB
6232014-02-07 Juanma Barranquero <lekktu@gmail.com>
624
625 * simple.el (quoted-insert): Check character validity (bug#16677).
626
c99cf5ee
JL
6272014-02-07 Juri Linkov <juri@jurta.org>
628
629 * desktop.el (desktop-read): Claim the lock when the owner is not
630 the current process. (Bug#16157)
631
7d7a68d8
JL
6322014-02-07 Juri Linkov <juri@jurta.org>
633
634 * desktop.el (desktop-buffers-not-to-save): Change default from nil
635 to "\\` ". (Bug#16651)
636
2b777cd9
JL
6372014-02-07 Juri Linkov <juri@jurta.org>
638
639 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
640 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
641 (desktop-auto-save-cancel-timer): New function with some code from
642 `desktop-auto-save-set-timer'.
643 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
644 Instead of setting `desktop-save-mode' to nil, call
645 `desktop-save-mode' with arg 0. (Bug#16630)
646
60eabbb9
GM
6472014-02-07 Glenn Morris <rgm@gnu.org>
648
99cf3859
GM
649 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
650 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
651 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
652
2b568bc9
GM
653 * obsolete/iswitchb.el: Move to obsolete/.
654 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
655 since obsolete/ is not scanned for autoloads.
656 * emacs-lisp/authors.el (authors-valid-file-names):
657 Add iswitchb.el.
658
60eabbb9
GM
659 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
660 Disable now non-functional find-file-hook.
661
629de968
MA
6622014-02-06 Michael Albinus <michael.albinus@gmx.de>
663
664 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
665 instead of ";" in order to avoid additional prompts. Let heredoc
666 scripts read from tty. (Bug#16582)
667 (tramp-send-command): No special handling of heredocs, it isn't
668 necessary anymore.
669
29127376
SM
6702014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
671
672 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
673 with a space (bug#16664). Limit the symbols considered to the ones
674 that are bound or fbound (bug#16646).
675
79b6e0a9
GM
6762014-02-06 Glenn Morris <rgm@gnu.org>
677
678 * epa.el (epa-mail-aliases): Doc fix.
679
a333e4d2
DG
6802014-02-06 Dmitry Gutov <dgutov@yandex.ru>
681
29127376
SM
682 * emacs-lisp/lisp.el (lisp-completion-at-point):
683 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
684 (bug#16604).
685
686 * minibuffer.el (completion-table-merge): New function.
687
9a83b32b
MA
6882014-02-05 Michael Albinus <michael.albinus@gmx.de>
689
690 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
691 (tramp-sh-handle-set-file-acl)
692 (tramp-sh-handle-start-file-process)
693 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
694 (tramp-find-executable, tramp-send-command): Use it.
695
451ea3e6
GM
6962014-02-05 Glenn Morris <rgm@gnu.org>
697
9a83b32b 698 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 699
dd27d13b
FEG
7002014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
701
702 * progmodes/python.el (python-shell-send-string):
703 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
704
08e41897
AL
7052014-02-04 Anders Lindgren <andlind@gmail.com>
706
707 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
708 the names (bug#16620).
709
764ec9e5
MR
7102014-02-03 Martin Rudalics <rudalics@gmx.at>
711
08e41897
AL
712 * faces.el (window-divider): New default value. Rewrite doc-string.
713 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 714
6da8227c
DG
7152014-02-03 Dmitry Gutov <dgutov@yandex.ru>
716
717 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
718 `protected' and `public' can also be called without arguments.
719
6a6b8e40
GM
7202014-02-03 Glenn Morris <rgm@gnu.org>
721
7bcbca40
GM
722 * register.el (window-configuration-to-register)
723 (frame-configuration-to-register): Unadvertise unused argument.
724 * frameset.el (frameset-to-register): Remove unused argument.
725
719d965d 726 * frameset.el (frameset-to-register):
6a6b8e40
GM
727 * kmacro.el (kmacro-to-register):
728 * register.el (increment-register):
729 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
730 (calc-append-to-register, calc-prepend-to-register):
731 * play/gametree.el (gametree-layout-to-register)
732 (gametree-apply-register-layout):
733 * textmodes/picture.el (picture-clear-rectangle-to-register)
734 (picture-yank-rectangle-from-register):
735 * vc/emerge.el (emerge-combine-versions-register):
736 Use register-read-with-preview to read registers.
737
5dca7759
JT
7382014-02-03 João Távora <joaotavora@gmail.com>
739
740 * elec-pair.el (electric-pair-backward-delete-char): Don't error
741 when at beginning of (possibly narrowed) buffer.
742
709085b9
DC
7432014-02-02 Daniel Colascione <dancol@dancol.org>
744
c295fc18 745 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 746 Also try to display local help from just before point.
709085b9 747
99f7b0a6
AM
7482014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
749
750 c-parse-state. Don't "append-lower-brace-pair" in certain
751 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
752 recognised as a comment.
753
754 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
755 as well as normal comment starter.
756 (c-parse-state-get-strategy): Extra return possibility
757 'back-and-forward.
758 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
759 return value list to indicate replacement of a brace-pair cons
760 with its car.
761 (c-parse-state-1): With 'back-and-forward, only call
762 c-append-lower-brace-pair-to state-cache when cons-separated.
763
f0a10576
JD
7642014-02-02 Jan Djärv <jan.h.d@swipnet.se>
765
766 * term/ns-win.el (ns-suspend-error): New function.
767 (ns-initialize-window-system): Add ns-suspend-error to
768 suspend-hook (Bug#16612).
769
b8d552c2
DC
7702014-02-02 Daniel Colascione <dancol@dancol.org>
771
772 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
773
f2b7d123
DC
7742014-02-02 Daniel Colascione <dancol@dancol.org>
775
776 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
777
4472a196
GM
7782014-02-02 Glenn Morris <rgm@gnu.org>
779
780 * register.el (register-read-with-preview, point-to-register)
781 (window-configuration-to-register, frame-configuration-to-register)
782 (jump-to-register, number-to-register, view-register, insert-register)
783 (copy-to-register, append-to-register, prepend-to-register)
784 (copy-rectangle-to-register): Doc fixes.
785
70e5a261
SM
7862014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
787
788 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
789 * emacs-lisp/find-func.el (find-function-C-source): Idem.
790 * emacs-lisp/nadvice.el (advice--cd*r): New function.
791 * help-fns.el (describe-function-1): Use it.
792
7c324762
GM
7932014-02-02 Glenn Morris <rgm@gnu.org>
794
795 * register.el (register-preview-default): New function,
796 split from register-preview.
797 (register-preview-function): Rename from register-preview-functions,
798 make it not a hook.
799 (register-preview): Use register-preview-function.
800 (register-read-with-preview): Error on non-character event. (Bug#16595)
801
a09beb3d
DG
8022014-02-01 Dmitry Gutov <dgutov@yandex.ru>
803
804 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
805 `:' before binary operators (bug#16609). Don't check for `:'
806 before `[' and `(', or their syntax status. A percent literal
807 can't end with either.
68e004e0
DG
808 (ruby-font-lock-keywords): For built-ins that require arguments,
809 check that they're followed by something that looks like argument
810 (bug#16610).
a09beb3d 811
ed4d2875
LI
8122014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
813
814 * subr.el (butlast): Document what an omitted N means (bug#13437).
815 (nbutlast): Ditto.
816
dba6e3ec
LI
8172014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
818
819 * net/shr.el (shr-generic): Make into a defsubst to make the stack
820 depth shallower (bug#16587).
cc477daa
LI
821 (shr-tag-svg): Respect `shr-inhibit-images'.
822 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 823
e2a67bd0
DG
8242014-01-31 Dmitry Gutov <dgutov@yandex.ru>
825
826 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
827 (ruby-smie-grammar): Make "." right-associative. Make its priority
828 lower than the ternary and all binary operators.
829 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
830 parent, or the first "." parent at indentation.
831 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
832 (Bug#16593)
833
bd21bf41
JL
8342014-01-31 Juri Linkov <juri@jurta.org>
835
836 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
837 from `make-hash-table'.
838
839 * textmodes/ispell.el (ispell-init-process): Change message format
840 to be consistent with other messages.
841
b7e615b9
GM
8422014-01-31 Glenn Morris <rgm@gnu.org>
843
a69ecd19
GM
844 * delsel.el (delete-selection-mode): Doc fix.
845
9997d7e3
GM
846 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
847 (trace-function-background): Doc fixes.
848
fbb764b8
GM
849 * ido.el (ido-use-virtual-buffers): Doc fix.
850 Reset :version, since the default value has not changed.
851
da942af1
GM
852 * register.el (register-preview-delay, register-read-with-preview):
853 Doc fixes.
854
b7e615b9
GM
855 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
856 do not mess with mail-buffer position (fixes 2009-11-03 change).
857 * progmodes/cc-mode.el (c-submit-bug-report):
858 Check auto-fill-mode is bound. (Bug#16592)
859
0a25002d
DH
8602014-01-31 Darren Hoo <darren.hoo@gmail.com>
861
862 * startup.el (fancy-splash-image-file): New function,
863 split from fancy-splash-head.
864 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
865 so that we are both using the same image. (Bug#16574)
866
ad78f432
GM
8672014-01-30 Glenn Morris <rgm@gnu.org>
868
6bbc0c84
GM
869 * simple.el (eval-expression): Doc fix.
870
ad78f432
GM
871 * hexl.el (hexl-mode-hook):
872 * ielm.el (ielm-mode-hook):
873 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
874 (lisp-interaction-mode-hook):
875 * progmodes/cfengine.e (cfengine3-documentation-function):
876 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
877
7b2f049c
SM
8782014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
879
880 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
881 is a symbol (bug#16584).
882
0c633f13
GM
8832014-01-30 Glenn Morris <rgm@gnu.org>
884
885 * help.el (help-for-help-internal): Add "P" to text.
886
5e61c1ef
GM
8872014-01-29 Glenn Morris <rgm@gnu.org>
888
889 * simple.el (just-one-space, cycle-spacing): Doc fixes.
890
1dcb169c
MR
8912014-01-28 Martin Rudalics <rudalics@gmx.at>
892
893 * window.el (fit-frame-to-buffer): Fix calculations for margins and
894 height constraints.
895
a9128931
LL
8962014-01-28 Luke Lee <luke.yx.lee@gmail.com>
897
898 * progmodes/hideif.el: Extend to full CPP expression syntax.
899 (hif-token-alist): Add missing tokens.
900 (hif-token-regexp): Add support for float/octal/hex immediates.
901 (hif-string-literal-regexp): New const.
902 (hif-tokenize): Recognize strings and float/octal/hex immediates.
903 (hif-exprlist): New function.
904 (hif-parse-if-exp): Use it.
905 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
906 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
907 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
908 (hif-logxor, hif-comma): New functions.
909
a22359a7
GM
9102014-01-28 Glenn Morris <rgm@gnu.org>
911
793ffe81
GM
912 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
913
e3bd7eed
GM
914 * indent.el (tab-stop-list): Doc fix. Add :version.
915
a22359a7
GM
916 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
917 (cvs-append-to-ignore): Add compatibility alias.
918
52695556 9192014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 920
bac524e0
GM
921 * dired.el (dired-hide-details-mode): Don't autoload it,
922 since it cannot be used outside Dired buffers anyway.
923
52695556 924 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 925
52695556
GM
926 * dired.el (dired-hide-details-hide-symlink-targets)
927 (dired-hide-details-hide-information-lines)
928 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
929
930 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
931 * strokes.el (strokes-file): Doc fix. Bump :version.
932 (strokes-help): Doc fix.
933 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
934 * emulation/viper.el (viper): Doc fix for custom group.
935 (top-level): Remove oh-so-no-longer-relevant text about vip.
936 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
937
938 * ido.el (ido-save-directory-list-file):
939 * saveplace.el (save-place-file):
940 * calendar/timeclock.el (timeclock-file):
941 * net/quickurl.el (quickurl-url-file):
942 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
943 * progmodes/idlwave.el (idlwave-config-directory):
944 * textmodes/remember.el (remember-data-file):
945 Bump :version.
946
169d6004
GM
9472014-01-26 Glenn Morris <rgm@gnu.org>
948
de6a923b
GM
949 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
950 Doc fix. Make obsolete.
951 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
952
169d6004
GM
953 * sort.el (delete-duplicate-lines): Doc fix.
954
ed85dee6
RS
9552014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
956
957 * progmodes/ada-mode.el (ada):
958 * woman.el (woman): Link to info manual and Commentary section.
959
960 * progmodes/flymake.el (flymake):
961 * nxml/nxml-mode.el (nxml):
962 * net/eww.el (eww):
963 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
964 * htmlfontify.el (htmlfontify):
965 * ses.el (ses):
966 * epa.el (epa):
967 * ido.el (ido): Link to info manual.
968
e0c67e1d
LL
9692014-01-25 Leo Liu <sdl.web@gmail.com>
970
971 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
972
35408b1a
AS
9732014-01-25 Adam Sjøgren <asjo@koldfront.dk>
974
975 * net/shr.el (shr-tag-img): Prefer the title over the alt text
976 (bug#16537).
977
76c3fa95
JB
9782014-01-24 Juanma Barranquero <lekktu@gmail.com>
979
f77c7a99
JB
980 * net/eww.el (eww-download-callback):
981 Fix reference to eww-download-directory.
982
76c3fa95
JB
983 * emacs-lisp/bytecomp.el (byte-compile-file):
984 Remove unused local variable `file-name'.
985
1e548e40
GM
9862014-01-24 Glenn Morris <rgm@gnu.org>
987
03f3b318
GM
988 * woman.el (woman-default-faces, woman-monochrome-faces):
989 Fix obsolescence specification.
990
1e548e40
GM
991 * subr.el (with-demoted-errors): Doc fix.
992
d4f0427b
SM
9932014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
996 (cl--macroexp-fboundp): New function.
997 (cl--make-type-test): Use it.
998
1670e27f
GM
9992014-01-23 Glenn Morris <rgm@gnu.org>
1000
1001 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1002 * simple.el (eval-expression): Doc fixes.
1003
80efa207
GM
10042014-01-22 Glenn Morris <rgm@gnu.org>
1005
1006 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1007
29afcbab
SM
10082014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1009
1010 * emacs-lisp/package.el: Write files silently.
1011 (package-autoload-ensure-default-file, package--write-file-no-coding)
1012 (package-generate-description-file, package--download-one-archive)
1013 (package-install-from-archive): Tell `write-region' to stay quiet.
1014 (package-menu-mode, package-menu--print-info): Omit the Archive column
1015 if there's only one archive.
1016 (package-all-keywords, package--has-keyword-p): Remove dead code.
1017
2a5bce4f
GM
10182014-01-22 Glenn Morris <rgm@gnu.org>
1019
edace89f
GM
1020 * version.el (emacs-bzr-version-bzr): Fix typo.
1021
2a5bce4f
GM
1022 * version.el (emacs-repository-get-version):
1023 Check either .bzr or .git, but not both.
1024 Make the git case actually use the DIR argument, and return nil
1025 rather than the empty string.
983664c0 1026 Avoid error if .git exists but the git executable is not found.
2a5bce4f 1027
6cb4da45
MR
10282014-01-22 Martin Rudalics <rudalics@gmx.at>
1029
1030 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
1031 * window.el (window-total-size, window-size): New argument ROUND.
1032 (window--min-delta-1, window-min-delta, window--max-delta-1):
1033 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
1034 columns a window can shrink (Bug#16430).
1035 (fit-window-to-buffer): Simplify code.
1036 * term.el (term-window-width): Call window-body-width again.
1037
cc0f2ece
GM
10382014-01-22 Glenn Morris <rgm@gnu.org>
1039
7b997b14
GM
1040 * image.el (image-format-suffixes): Doc fix.
1041
44e76f9d
GM
1042 * international/quail.el (quail-define-package): Doc fix.
1043
73c1c6d7
GM
1044 * emacs-lisp/authors.el (authors-valid-file-names):
1045 (authors-renamed-files-alist): Additions.
7bfc1caa 1046
85a5f61f
GM
1047 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1048 reverts 2014-01-09 change. (Bug#16422)
1049
cc0f2ece
GM
1050 * calc/calc-embed.el (thing-at-point-looking-at):
1051 * emacs-lisp/map-ynp.el (x-popup-dialog):
1052 * obsolete/lmenu.el (x-popup-dialog):
1053 * emacs-lisp/package.el (url-recreate-url):
1054 * mail/mailclient.el (clipboard-kill-ring-save):
1055 * subr.el (x-popup-dialog): Update declaration.
1056 * mail/rmail.el (rmail-mime-message-p):
1057 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1058
00d2a6bb
DC
10592014-01-21 Daniel Colascione <dancol@dancol.org>
1060
1061 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1062 Correctly detect when we're inside an arithmetic expansion form
1063 containing nested parenthesis.
c295fc18 1064 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1065 to detect cases where we shouldn't expand "<<" to a heredoc
1066 skeleton.
1067
dd9d2e9d
SM
10682014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1071 (eldoc--message-command-p): New function.
1072 (eldoc-display-message-p): Use it.
1073 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1074 message is not automatically erased for us.
1075 (eldoc-print-current-symbol-info): Erase previous message, if any.
1076
e7d807ca
TH
10772014-01-21 Tassilo Horn <tsdh@gnu.org>
1078
4ff0a0e5
TH
1079 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1080 specify it's an interactive function.
1081
dd9d2e9d
SM
1082 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1083 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1084 citations with optional arguments.
1085
87503791
LL
10862014-01-21 Leo Liu <sdl.web@gmail.com>
1087
1088 * simple.el (read--expression): Don't enable eldoc-mode.
1089
6cc750ee
SM
10902014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1091
1092 * simple.el (move-beginning-of-line): Make sure we don't move forward
1093 (bug#16497).
1094
71f16bda
JL
10952014-01-20 Juri Linkov <juri@jurta.org>
1096
1097 * saveplace.el (toggle-save-place, save-place-to-alist)
1098 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1099 'dired-mode) before checking for dired-directory. (Bug#16477)
1100
3c5a4839
JL
11012014-01-20 Juri Linkov <juri@jurta.org>
1102
1103 * indent.el (indent-line-to): Use backward-to-indentation
1104 instead of back-to-indentation. (Bug#16461)
1105
f952002e
PE
11062014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1107
1108 Revert some of the CANNOT_DUMP fix (Bug#16494).
1109 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1110 but fixing this can wait until after the next release.
1111 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1112
93675500
MA
11132014-01-19 Michael Albinus <michael.albinus@gmx.de>
1114
1115 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1116 Use `password-word-equivalents'.
1117 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1118 to t. (Bug#5664, Bug#13124)
1119
e3af763f
AM
11202014-01-19 Alan Mackenzie <acm@muc.de>
1121
1122 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1123 points.
1124 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1125 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1126 * progmodes/cc-mode.el (c-before-change, c-after-change)
1127 (c-font-lock-fontify-region): Bind it here.
1128
4ff6d92d
MR
11292014-01-19 Martin Rudalics <rudalics@gmx.at>
1130
1131 * term.el (term-window-width): Call window-text-width instead of
1132 window-width (Bug#16470).
1133
9a685cf6
PE
11342014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1135
1136 * simple.el (password-word-equivalents): Remove duplicates.
1137 Sort, to make this easier next time.
1138 Downcase. Omit ": " after "jelszó".
1139
5aa78c2d
JD
11402014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1141
1142 * term/common-win.el (saved-region-selection): Defvar it.
1143 (x-select-text): Set saved-region-selection (Bug#16382).
1144
cabb250c
GM
11452014-01-18 Glenn Morris <rgm@gnu.org>
1146
1147 * emacs-lisp/authors.el (authors-aliases)
1148 (authors-renamed-files-alist): Add some entries.
1149
a1340440
MA
11502014-01-17 Michael Albinus <michael.albinus@gmx.de>
1151
93675500
MA
1152 * net/tramp.el (tramp-password-prompt-regexp):
1153 Use `password-word-equivalents' if available.
a1340440
MA
1154 (tramp-action-password, tramp-process-one-action)
1155 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1156
681ce5d2
CY
11572014-01-17 Chong Yidong <cyd@gnu.org>
1158
1159 * simple.el (password-word-equivalents): New defcustom.
1160 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1161 to 24.4.
1162 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1163 to t. (Bug#13124)
1164
fb3d479c
DG
11652014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1166
1167 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1168 (ruby-align-to-stmt-keywords): Change the default value.
1169 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1170 choices.
1171 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1172 keywords, check against the value of `ruby-alignable-keywords'
1173 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1174
0d613483
GM
11752014-01-17 Glenn Morris <rgm@gnu.org>
1176
fc23fe2d
GM
1177 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1178
0d613483
GM
1179 Make M-x authors return zero *Authors Errors* from current logs.
1180 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1181 (authors-ignored-files): Add some entries, remove others.
1182 (authors-ambiguous-files, authors-valid-file-names):
1183 Add some entries.
1184 (authors-renamed-files-alist): Add, remove, and adjust entries.
1185 (authors-renamed-files-regexps): Add some entries.
1186 Remove some very broad ones. Make some entries `lax'.
1187 (authors-lax-changelogs): New constant.
1188 (authors-disambiguate-file-name): Treat top-level specially.
1189 (authors-lax-changelog-p): New function.
1190 (authors-canonical-file-name): Check file as written against
1191 authors-valid-file-names. Do not special-case etc/.
1192 Handle `lax' logs and authors-renamed-files-regexps elements.
1193
2dbf4ffd
DG
11942014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1195
1196 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1197 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1198 callers.
2dbf4ffd 1199
87b2a7f2
SM
12002014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1201
1202 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1203 Assume we're already in the proper buffer.
1204 Inspired by Anders Lindgren <andlind@gmail.com>.
1205 (follow-post-command-hook): Call it from the right buffer.
1206 (follow-comint-scroll-to-bottom): Adjust call.
1207 (follow-all-followers): Use get-buffer-window-list.
1208
93acfb0e
DC
12092014-01-15 Daniel Colascione <dancol@dancol.org>
1210
1211 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1212 `buffer-file-name' in interactive-form so that we don't leave
1213 pathless file names in `file-name-history'.
1214
ccc6b208
JL
12152014-01-15 Juri Linkov <juri@jurta.org>
1216
1217 * indent.el (indent-rigidly): Set deactivate-mark to nil
1218 in transient indentation mode. (Bug#16438)
1219
5c92e00d
DG
12202014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1221
1222 * emacs-lisp/package.el (package-desc-keywords): New function
1223 (Bug#16222).
1224 (describe-package-1, package-all-keywords)
1225 (package--has-keyword-p): Use it.
1226
dac69660
NR
12272014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1228
1229 * simple.el (define-alternatives): When creating the
1230 COMMAND-alternatives variable, assign COMMAND as its definition
1231 name so that `describe-variable' can relocate it.
1232
8b63edf8
ML
12332014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1234
1235 * font-lock.el (font-lock-keywords): Fix typo in docstring
1236 (bug#16307).
1237
c6a0b8eb
AM
12382014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1239
1240 * ispell.el (ispell-region): Reset `in-comment' for new line
1241 instead of wrongly reset `add-coment' (bug#13577).
1242
02bf443d
DU
12432014-01-14 Daiki Ueno <ueno@gnu.org>
1244
1245 * epa-file.el (epa-file-write-region): Encode the region according
1246 to `buffer-file-format'. Problem reported at:
1247 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1248
fd7fde15
SM
12492014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1252 so it applies in the right buffer (bug#16410).
1253
c176054f
DC
12542014-01-13 Daniel Colascione <dancol@dancol.org>
1255
1256 * textmodes/rst.el (rst-define-key): Provide deprecated
1257 keybindings through named functions instead of anonymous ones so
1258 that "??" doesn't appear in describe-mode output.
1259
e3f33e5d
BG
12602014-01-13 Bastien Guerry <bzg@gnu.org>
1261
1262 * simple.el (define-alternatives): Call the selected command
1263 interactively. When setting `COMMAND--implementation' for the
1264 first time, tell the user how to chose another implementation.
1265 Enhance the docstring.
1266
c055d654
SM
12672014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1270 (log-edit--match-first-line): New function.
1271 (log-edit-font-lock-keywords): Use it.
1272 (log-edit-mode): Make jit-lock-defer-multiline work.
1273
d791cc3b
BG
12742014-01-13 Bastien Guerry <bzg@gnu.org>
1275
1276 * rect.el (rectangle-mark-mode): When the region is not active,
1277 display a message saying that the mark as been set and that
1278 rectangle mode is in use.
1279 (rectangle--highlight-for-redisplay): Only put an overlay with a
1280 visible vertical bar when (display-graphic-p) is non-nil.
1281 This partially fixes Bug#16403.
1282
3c0c4562
JL
12832014-01-13 Juri Linkov <juri@jurta.org>
1284
1285 * info.el (Info-find-file): Go to DIR before displaying the error
1286 about a nonexistent file if no previous Info file is visited.
1287 Use `user-error' instead of `error' for "Info file %s does not exist".
1288 (Info-find-node-2): In case of a nonexistent node in unwind forms
1289 go to the Top node if there is no previous node to revert to.
1290 (Bug#16405)
1291
25a700d0
MR
12922014-01-13 Martin Rudalics <rudalics@gmx.at>
1293
1294 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1295 * window.el (fit-frame-to-buffer): Fix doc-string.
1296 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1297 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1298 when avoiding that frame goes partially off-screen.
1299 (fit-window-to-buffer): Respect window-min-height/-width
1300 (Bug#14096).
1301
6ae948d8
SM
13022014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1305 after an empty line.
1306
6137cb82
SM
13072014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1308
1309 * net/shr.el (shr-render-region): Autoload.
1310
e6344e17
XF
13112014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1312
1313 * net/eww.el (eww-download-directory): Rename from
1314 `eww-download-path' (Bug#16419).
1315
3b922c70
LL
13162014-01-12 Leo Liu <sdl.web@gmail.com>
1317
1318 * dired-x.el (dired-mode-map): Fix last change.
1319
1320 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1321
4fa51741
PE
13222014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1323
1324 Spelling fixes.
1325 * emacs-lisp/generic.el (generic--normalize-comments):
1326 Rename from generic--normalise-comments. All uses changed.
1327 * play/bubbles.el (bubbles--neighborhood-score):
1328 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1329 (bubbles--neighborhood-available)
1330 (bubbles--update-neighborhood-score):
1331 Rename from names with 'neighbourhood'. All uses changed.
1332
9b335362
LL
13332014-01-12 Leo Liu <sdl.web@gmail.com>
1334
1335 Re-implement the feature of showing eldoc info after editing.
1336 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1337 (eldoc-edit-message-commands): New function.
1338 (eldoc-print-after-edit): New variable.
1339 (eldoc-pre-command-refresh-echo-area): Emit message only by
1340 eldoc-message-commands.
1341 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1342 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1343 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1344 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1345
e2a095b1
GM
13462014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1347 Eric S. Raymond <esr@thyrsus.com>
9685190b 1348
841a6d0c 1349 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1350 function works correctly in either a Bazaar or Git repo.
0abf4134 1351
e2a095b1
GM
13522014-01-11 Eric S. Raymond <esr@thyrsus.com>
1353
6137cb82
SM
1354 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1355 Goes with removal of the joke manpages from /etc.
9685190b 1356
c295fc18 13572014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1358
6137cb82
SM
1359 * mail/rmail.el (rmail-get-coding-system):
1360 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1361
d2f16e93
GM
13622014-01-10 Glenn Morris <rgm@gnu.org>
1363
1364 * emacs-lisp/authors.el (authors-fixed-entries):
1365 Update for files that no longer exist.
1366
7e03bb32
ER
13672014-01-10 Eric S. Raymond <esr@thyrsus.com>
1368
1369 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1370 24.3 (Tested).
7e03bb32 1371
dd806710
BB
13722014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1373
1374 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1375 and Podfile.
1376
ed6ec139
EZ
13772014-01-10 Eli Zaretskii <eliz@gnu.org>
1378
1379 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1380
cc33cac9
CY
13812014-01-10 Chong Yidong <cyd@gnu.org>
1382
6137cb82 1383 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1384
d9d836b5
AL
13852014-01-10 Anders Lindgren <andlind@gmail.com>
1386
1387 * follow.el (follow-cache-command-list): Include right-char and
1388 left-char.
1389
06827ec8
PE
13902014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1391
1392 Spelling fixes.
1393 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1394 * woman.el (woman-mark-horizontal-position):
1395 Rename from woman-mark-horizonal-position. Use changed.
1396
458dbf5e
GM
13972014-01-10 Glenn Morris <rgm@gnu.org>
1398
dad6fae7
GM
1399 * info.el (info-initialize): If running uninstalled, ensure our
1400 own info files are always found first, even if INFOPATH is set.
1401
458dbf5e
GM
1402 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1403
05e0afce
DE
14042014-01-09 David Engster <deng@randomsample.de>
1405
1406 * emacs-lisp/eieio-custom.el:
1407 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1408 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1409 * emacs-lisp/eieio.el: Regenerate autoloads.
1410
f29778b3
ER
14112014-01-09 Eric S. Raymond <esr@thyrsus.com>
1412
1413 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 1414 following renames. (Bug#8756)
f29778b3 1415
684d44ef
SM
14162014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1419 (bug#16382).
1420 (activate-mark): Add `no-tmm' argument.
1421 (set-mark, push-mark-command): Use it instead of running
1422 activate-mark-hook by hand.
1423
9475054f
ER
14242014-01-08 Eric S. Raymond <esr@thyrsus.com>
1425
1426 In preparation for the move to git, sanitize out some
1427 Bazaar-specific names.
1428
38942b9c
GM
1429 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1430
9475054f 1431 * version.el (emacs-bzr-version): Name changed to
689c9ca5 1432 emacs-repository-version. Obsolete-variable alias made.
9475054f 1433 * loadup.el: Follow through on this name change.
a12bf61e 1434 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
1435 assumption about the version control system in use.
1436
0f918d96 14372014-01-08 David Engster <deng@randomsample.de>
abb82152 1438
684d44ef
SM
1439 * help-fns.el (help-fns-describe-function-functions):
1440 New variable to call functions for augmenting help buffers.
abb82152
DE
1441 (describe-function-1): Remove explicit calls to
1442 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
1443 `help-fns--obsolete'. Put them in above new variable instead, and
1444 call them through `run-hook-with-args'.
1445 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1446 `eieio-describe-class'. Not meant for interactive use anymore,
1447 but to augment existing help buffers. Remove optional second
684d44ef
SM
1448 argument. Create proper button for file location.
1449 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
1450 possible.
1451 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1452 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
1453 (describe-method, describe-generic, eieio-describe-method):
1454 Remove aliases.
0f918d96
DE
1455 (eieio-help-constructor, eieio-help-generic): Rename from
1456 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1457 Rewrite to use `insert' in the current buffer and use proper help
1458 buttons.
1459 (eieio-help-find-method-definition)
1460 (eieio-help-find-class-definition): Also accept symbols as
1461 arguments.
1462 (eieio-help-mode-augmentation-maybee): Remove.
1463 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
1464 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1465 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 1466
136b74c5
PE
14672014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1468
1469 Spelling fixes.
1470 * language/china-util.el (hz-ascii-designation):
1471 Rename from hz-ascii-designnation.
1472 (hz-ascii-designation): Rename from hz-ascii-designnation.
1473 All uses changed.
1474
ec6c7de2
SM
14752014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1478 package-alist.
1479
d6262c7c
BG
14802014-01-08 Bastien Guerry <bzg@gnu.org>
1481
4b9e6087
GM
1482 * emacs-lisp/package.el (package-delete):
1483 Correctly delete the package from package-alist.
d6262c7c 1484
0a3eec32
DU
14852014-01-08 Daiki Ueno <ueno@gnu.org>
1486
1487 * emacs-lisp/package.el (url-recreate-url): Declare.
1488 (url-http-target-url): Declare.
4b9e6087 1489 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1490 (package--check-signature): Don't re-signal errors from
1491 package--with-work-buffer. Suggested by Stefan Monnier.
1492
68f0bb97
BG
14932014-01-07 Bastien Guerry <bzg@gnu.org>
1494
1495 * minibuffer.el (completion--try-word-completion): When both a
1496 hyphen and a space are possible candidates for the character
1497 following a word, display both candidates. (Bug#15980)
1498
7e1899d7
MR
14992014-01-07 Martin Rudalics <rudalics@gmx.at>
1500
1501 * window.el (balance-windows-2): While rounding don't give a
c295fc18 1502 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 1503
0030ec15
GM
15042014-01-07 Glenn Morris <rgm@gnu.org>
1505
1506 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1507 (menu-bar-help-menu): Use view-external-packages instead.
1508
2b6b4f20
BG
15092014-01-07 Bastien Guerry <bzg@gnu.org>
1510
1511 * emacs-lisp/package.el (package-delete): Also delete the package
1512 name from `package-alist', not its description only.
1513
e9be0a13
GM
15142014-01-07 Glenn Morris <rgm@gnu.org>
1515
1516 * help.el (view-external-packages):
1517 * menu-bar.el (menu-bar-help-extra-packages):
1518 Visit efaq.info rather than etc/MORE.STUFF.
1519
e4f74da9
JL
15202014-01-07 Juri Linkov <juri@jurta.org>
1521
1522 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1523 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1524
1525 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1526 that shadows RET. (Bug#16342)
1527
de7ce2d1
CY
15282014-01-07 Chong Yidong <cyd@gnu.org>
1529
1530 * isearch.el (isearch-yank-char, isearch-yank-word)
1531 (isearch-yank-line): Doc fix.
1532
6bdd9204
SM
15332014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1536 * emacs-lisp/elint.el (elint-find-builtins):
1537 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1538 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1539 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1540 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1541 * apropos.el (apropos-safe-documentation):
1542 * subr.el (symbol-file): Remove redundant fboundp.
1543 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1544
daccca97
BG
15452014-01-06 Bastien Guerry <bzg@gnu.org>
1546
1547 * hl-line.el (global-hl-line-overlay): Make a local variable.
1548 (global-hl-line-overlays): New variable to store all overlays.
1549 (global-hl-line-mode): Don't delete overlays from the current
1550 buffer when `global-hl-line-sticky-flag' is non-nil.
1551 (global-hl-line-highlight): Add new overlays to
1552 `global-hl-line-overlays'.
1553 (global-hl-line-unhighlight-all): New function to delete all
1554 overlays when turning off `global-hl-line-mode'.
1555 This fixes Bug#16183.
1556
ec00f20f
SM
15572014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1558
1559 * subr.el (set-transient-map): Fix nested case and docstring.
1560
a0031f97
TH
15612014-01-06 Tassilo Horn <tsdh@gnu.org>
1562
1563 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1564 `Texinfo' entry.
1565
bf6a77f3
DC
15662014-01-06 Daniel Colascione <dancol@dancol.org>
1567
1568 Fix defun navigation in vc log view.
1569
1570 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1571 like `beginning-of-defun'.
c295fc18 1572 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
1573 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1574 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1575 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1576 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1577
d5081c1e
PE
15782014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1579
1580 Spelling fixes.
1581 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1582 * emacs-lisp/debug.el (cancel-debug-on-entry):
1583 * epg.el (epg-error-to-string):
1584 * files.el (recover-file):
1585 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1586 * mail/emacsbug.el (report-emacs-bug-hook):
1587 * mail/sendmail.el (mail-recover):
1588 * ses.el (ses-yank-resize):
1589 * term/ns-win.el (ns-print-buffer):
1590 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1591 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1592 All uses changed.
1593 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1594
53f6b148
LL
15952014-01-06 Leo Liu <sdl.web@gmail.com>
1596
1597 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1598 to avoid shadowing global key. (Bug#16354)
53f6b148 1599
b82ace2f
DC
16002014-01-06 Daniel Colascione <dancol@dancol.org>
1601
1602 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1603 rst-mode.
1604
3669b636
MR
16052014-01-05 Martin Rudalics <rudalics@gmx.at>
1606
1607 * window.el (balance-windows): Add mising t to fix Bug#16351.
1608
1a29adc2
LMI
16092014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1610
1611 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1612 (bug#16285).
3d95a0f4
LMI
1613 (shr-insert): If we have a word that's longer than `shr-width',
1614 break after it anyway. Otherwise we'll do no breaking once we get
1615 such a long word.
1a29adc2 1616
f4018140
KN
16172014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1618
3fcfc4ee 1619 * net/eww.el (eww): Support single/double quote for search.
c295fc18 1620 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
1621 (eww-history-quit): Delete and use quit-window.
1622 (eww-history-kill): Delete, because it doesn't work well and
1623 not necessary.
1624 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1625
4e619754
PE
16262014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1627
73dbf960
PE
1628 Fix misspelling of 'chinese' in rx (Bug#16237).
1629 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1630 chinese-two-byte.
1631
4e619754
PE
1632 Change subword regexps back to vars (Bug#16296).
1633 * progmodes/subword.el (subword-forward-regexp)
1634 (subword-backward-regexp): Change these back to variables.
1635
e18b70fc
SM
16362014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1637
1638 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1639 syntax-begin-function (bug#16247).
1640
0d53f628
CY
16412014-01-03 Chong Yidong <cyd@gnu.org>
1642
1643 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1644 (advice--docstring): Delete variable.
1645 (advice--make-1): Leave the docstring empty.
1646 (advice-add): Use function-documentation for advised docstring.
1647
1648 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1649 Ignore function-documentation property when getting documentation.
1650 (ad-activate-advised-definition): Use function-documentation
1651 generate the docstring.
1652 (ad-make-advised-definition): Don't call
1653 ad-make-advised-definition-docstring.
1654 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1655 Delete functions.
1656
1657 * progmodes/sql.el (sql-help): Use function-documentation instead
1658 of dynamic-docstring-function property. No need to autoload now.
1659 (sql--help-docstring): New variable.
1660 (sql--make-help-docstring): Use it.
1661
6f547583
SM
16622014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1663
6ef9aed8
SM
1664 * ielm.el (ielm-tab): Retarget.
1665 (ielm-map): Use ielm-tab for tab.
1666 (ielm-complete-filename): Use comint-filename-completion.
1667 (ielm-complete-symbol): Remove.
1668 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1669 remove ielm-tab from completion-at-point-functions (bug#16224).
1670
6f547583
SM
1671 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1672 Beware signals raised by predicates (bug#16201).
1673
a574edbe
RS
16742014-01-02 Richard Stallman <rms@gnu.org>
1675
e831604d
RS
1676 * dired-aux.el (dired-do-print): Handle printer-name.
1677
6f547583
SM
1678 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1679 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1680 (rmail-epa-decrypt): Turn off mime processing.
1681
3fcfc4ee 1682 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1683 Add parens in message-id.
1684
1685 * mail/rmail.el (rmail-get-coding-function): Variable.
1686 (rmail-get-coding-system): Use it.
1687
04311a16
KH
16882013-12-31 Eli Zaretskii <eliz@gnu.org>
1689
1690 * international/mule-conf.el: Unify the charset indian-is13194.
1691 (indian-is13194): Specify unify-map.
1692
c8d89778
LL
16932013-12-31 Leo Liu <sdl.web@gmail.com>
1694
1695 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1696
e63ace37
DC
16972013-12-30 Daniel Colascione <dancol@dancol.org>
1698
9e0bf19a
DC
1699 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1700 of printing a useless when we resume from sleep.
1701
e63ace37 1702 * progmodes/sh-script.el
c295fc18 1703 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
1704 in indentation code. (Bug#16233)
1705
e9d6c46a
JT
17062013-12-28 João Távora <joaotavora@gmail.com>
1707
6f547583
SM
1708 * elec-pair.el (electric-pair-post-self-insert-function):
1709 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1710
bf7bea5d
EZ
17112013-12-28 Eli Zaretskii <eliz@gnu.org>
1712
1713 * frame.el (window-system-for-display): Don't allow to create a
1714 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1715
8449dd1f
GM
17162013-12-28 Glenn Morris <rgm@gnu.org>
1717
9c5a5c77
GM
1718 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1719 Update callers.
1720
1721 * apropos.el (apropos-match-face):
1722 * calculator.el (calculator-displayer):
1723 * dabbrev.el (dabbrev-search-these-buffers-only):
1724 * face-remap.el (buffer-face-mode-face):
1725 * simple.el (yank-handled-properties):
1726 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1727 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1728 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1729 (hashcash-double-spend-database):
1730 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1731 (ruby-deep-indent-paren-style):
1732 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1733 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1734 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1735 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1736 Specify custom types.
1737
bb098075
GM
1738 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1739 * bookmark.el (bookmark-bmenu-use-header-line):
1740 * doc-view.el (doc-view-scale-internally):
1741 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1742 * register.el (register-preview-delay):
1743 * net/shr.el (shr-bullet):
1744 * progmodes/cfengine.el (cfengine-cf-promises)
1745 (cfengine-parameters-indent):
1746 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1747 * textmodes/reftex-vars.el (reftex-label-regexps):
1748 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1749
9c61f806
GM
1750 * net/tls.el (tls-certtool-program): Fix default value.
1751
1752 * desktop.el (desktop-restore-in-current-display):
1753 * newcomment.el (comment-empty-lines):
1754 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1755 (idlwave-pad-keyword):
1756 * progmodes/tcl.el (tcl-tab-always-indent):
1757 * textmodes/reftex-vars.el (reftex-index-default-tag):
1758 * elec-pair.el (electric-pair-skip-whitespace):
1759 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1760
8449dd1f
GM
1761 * emacs-lisp/authors.el (authors-ignored-files)
1762 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1763
fdadeb49
JC
17642013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1765
72140a0f
GM
1766 * shell.el (shell-dynamic-complete-command): Doc fix.
1767 (shell--command-completion-data): Shell completion now matches
1768 executable filenames from the current buffer's directory, on
da5ecfa9 1769 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1770
e572a7d8
LI
17712013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1772
1773 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1774
7514d3f8
SM
17752013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1776
a4151f3b
SM
1777 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1778 (bug#16251).
1779
7514d3f8
SM
1780 * electric.el: Move all electric-pair-* to elec-pair.el.
1781 * elec-pair.el: New file, split from electric.el.
1782
ac5758d1
LI
17832013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1784
1785 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1786 indentation level is larger than the width, because that will
1787 infloop.
1788 (shr-insert): Fill repeatedly long texts, so that Japanese is
1789 formatted correctly (bug#16263).
24a6b65e
LI
1790 (shr-find-fill-point): Off by one error in comparison with the
1791 indentation.
ac5758d1 1792
7514d3f8 17932013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1794
1795 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1796 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1797 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1798 if that keeps or improves their balance in buffers.
1799 (electric-pair-delete-adjacent-pairs): Delete the pair when
1800 backspacing over adjacent matched delimiters.
1801 (electric-pair-open-extra-newline): Open extra newline when
1802 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1803 (electric--sort-post-self-insertion-hook):
1804 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1805 minor-modes are activated.
1806 * simple.el (newline-and-indent): Call newline with interactive
1807 set to t.
1808 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1809 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1810 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1811 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1812 electric-pair-open-newline-between-pairs to nil.
1813
fbcc63a3
FEG
18142013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1815
1816 * progmodes/python.el: Use lexical-binding.
1817 (python-nav-beginning-of-defun): Stop searching ASAP.
1818
ed78d16c
XF
18192013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1820
1821 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1822 Fix interactive spec. Doc fix. (Bug#15754)
1823
38b2c142
KY
18242013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1825
1826 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1827 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1828 Fix edebug spec (bug#16184).
1829
3c856c14
LI
18302013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1831
83fa295c 1832 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1833 (shr-insert): Don't infloop if we can't find a good place to break
1834 the line (bug#16256).
3c856c14 1835
01379221
FEG
18362013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1837
1838 * progmodes/python.el:
1839 (python-nav--lisp-forward-sexp): New function.
1840 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1841 python-nav-lisp-forward-sexp-safe.
1842 (python-nav--forward-sexp): New argument SAFE allows switching
1843 forward sexp movement behavior for parens.
1844 (python-nav-forward-sexp): Throw errors on unterminated parens
1845 (Bug#16191).
1846 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1847 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1848 (python-shell-buffer-substring):
1849 Use `python-nav-forward-sexp-safe'.
01379221 1850
99e4926f
LI
18512013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1852
1853 * net/shr.el (shr-find-fill-point): Don't break lines before a
1854 quotation mark.
c6c20584
LI
1855 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1856 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1857 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1858
fec0e828
KN
18592013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1860
1861 * net/eww.el (eww-form-textarea): Use a different face for
1862 textareas than text input since they have different keymaps
1863 (bug#16142).
1864
89c868ad
FEG
18652013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1866
7514d3f8
SM
1867 * progmodes/python.el (python-nav-beginning-of-statement):
1868 Speed up (Bug#15295).
89c868ad 1869
eeef121a
LI
18702013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1871
1872 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1873 the window configuration.
1874
121ea65f
EZ
18752013-12-24 Eli Zaretskii <eliz@gnu.org>
1876
1877 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1878 we run on MS-Windows or MS-DOS.
1879
18cee9ec
MR
18802013-12-24 Martin Rudalics <rudalics@gmx.at>
1881
1882 * window.el (balance-windows-area): Call window-size instead of
1883 window-height and window-width. Bug#16241.
1884
58f2b9a5
LI
18852013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1886
1887 * net/eww.el (eww-bookmark-quit): Remove.
1888 (eww-bookmark-browse): Restore the window configuration when you
1889 choose a bookmark (bug#16144).
1890
d64b6308
DC
18912013-12-24 Daniel Colascione <dancol@dancol.org>
1892
1893 * icomplete.el: Remove redundant :group arguments to `defcustom'
1894 throughout.
1895 (icomplete-show-matches-on-no-input): New customizable variable.
1896 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1897 we have something to show.
7514d3f8 1898 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1899
0da54898
DC
19002013-12-23 Daniel Colascione <dancol@dancol.org>
1901
1902 * icomplete.el: Move `provide' to end of file.
1903
b90aa4f4
TZ
19042013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1905
1906 * net/gnutls.el (gnutls-verify-error): Add version tag.
1907
8cd22a08
CY
19082013-12-23 Chong Yidong <cyd@gnu.org>
1909
1910 * subr.el (set-transient-map): Rename from
1911 set-temporary-overlay-map. Doc fix.
1912
1913 * face-remap.el (text-scale-adjust):
1914 * indent.el (indent-rigidly):
1915 * kmacro.el (kmacro-call-macro):
1916 * minibuffer.el (minibuffer-force-complete):
1917 * repeat.el (repeat):
1918 * simple.el (universal-argument--mode):
1919 * calendar/todo-mode.el (todo-insert-item--next-param):
1920 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1921
7510b021
CY
1922 * indent.el (indent-rigidly): Use substitute-command-keys.
1923
72140a0f 19242013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1925
1926 * net/eww.el (eww-tag-select): Add text-property to jump to next
1927 select field.
e9dc713d 1928 (eww): Add non-supported ftp error.
56890ecd 1929
1f87a56c
DG
19302013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1931
1932 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1933 comments. Handle electric indent after typing `?' and `!'.
1934
dca38cf9
CY
19352013-12-22 Chong Yidong <cyd@gnu.org>
1936
1937 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1938 applicable to a frame, fall back on the defface spec.
1939 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1940
f2351498
DG
19412013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1942
1943 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1944 after `{'. We need it after block openers, and it doesn't seem
1945 to hurt after hash openers.
1946
6cddebc1
DG
19472013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1948
1949 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1950 extracted from `ruby-smie-rules'.
1951 (ruby--electric-indent-chars): New variable.
1952 (ruby--electric-indent-p): New function.
1953 (ruby-mode): Use `electric-indent-functions' instead of
1954 `electric-indent-chars'.
1955
65a1da00
DG
19562013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1957
1958 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1959 docstring.
1960 (ruby-smie-rules): Indent plus one level after `=>'.
1961
b51ad4cf
RS
19622013-12-21 Richard Stallman <rms@gnu.org>
1963
1964 * simple.el (newline): Doc fix.
1965
72140a0f 19662013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1967
e9dc713d 1968 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1969 (eww-history-browse, eww-history-quit, eww-history-kill)
1970 (eww-history-mode-map, eww-history-mode): New command and
1971 functions to list browser histories.
e9dc713d
JB
1972 (eww-form-text): Support text form with disabled
1973 and readonly attributes.
1974 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1975
5e1901c1
RS
19762013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1977
1978 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1979 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1980 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1981 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1982 Use `user-error'.
1983 (eww-bookmark-mode-map): Add menu.
1984 (eww-render, eww-mode): Use `setq-local'.
1985 (eww-tool-bar-map): New variable.
1986 (eww-mode): Set `tool-bar-map'.
1987 (eww-view-source): Check for `html-mode' with `fboundp'.
1988
073d5cfd
LMI
19892013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1990
1991 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1992 elements with text inside. Also remove debugging.
1993
41cf3d11
JD
19942013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1995
1996 * cus-start.el (all): Add ns-use-srgb-colorspace.
1997
aac2b673
CY
19982013-12-21 Chong Yidong <cyd@gnu.org>
1999
2000 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2001 undefined. Thus, theme settings for undefined faces do not take
2002 effect until the faces are defined with defface, the same as with
2003 theme variables.
2004
2005 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2006 (face-spec-reset-face): Don't assign extra properties in temacs.
2007 (face-spec-recalc): Apply X resources too.
2008
bacb0e77
CY
20092013-12-21 Chong Yidong <cyd@gnu.org>
2010
2011 * faces.el (face-spec-set):
2012 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2013 * custom.el (defface): Doc fixes (Bug#16203).
2014
77221051
CY
2015 * indent.el (indent-rigidly-map): Add docstring, and move commands
2016 into named functions.
2017 (indent-rigidly-left, indent-rigidly-right)
2018 (indent-rigidly-left-to-tab-stop)
2019 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2020 indentation direction based on bidi direction, and accumulate
2021 sequential commands in a single undo boundary.
2022 (indent-rigidly--pop-undo): New utility function.
2023
e0eb0550
JB
20242013-12-20 Juanma Barranquero <lekktu@gmail.com>
2025
2026 * faces.el (read-face-name): Require crm.el when using crm-separator.
2027
3282bd2e
DC
20282013-12-20 Daniel Colascione <dancol@dancol.org>
2029
2030 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2031 so that we don't reflow comments into the shebang line.
2032
1d42e5b6
JL
20332013-12-20 Juri Linkov <juri@jurta.org>
2034
2035 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2036 a position when `dired-directory' is non-nil. Check integer
2037 positions with `integerp'.
2038 (toggle-save-place, save-places-to-alist): Add check for
2039 `dired-directory'.
2040 (save-place-find-file-hook): Check integer positions with
2041 `integerp'.
2042 (save-place-dired-hook): Use `dired-goto-file' when
2043 `dired-filename' is found in the assoc list. Check integer
2044 positions with `integerp'.
2045 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2046
2047 * dired.el (dired-initial-position-hook): Rename back from
2048 `dired-initial-point-hook'.
2049 (dired-initial-position): Rename `dired-initial-point-hook' to
2050 `dired-initial-position-hook'.
2051 (dired-file-name-at-point): Doc fix. (Bug#15329)
2052
24da7273
JL
20532013-12-20 Juri Linkov <juri@jurta.org>
2054
2055 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2056 (read-regexp-suggestions): New function.
2057 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2058 Use `read-regexp-suggestions'. Add non-empty default to history
2059 for empty input.
2060 (occur-read-regexp-defaults-function): Remove function.
2061 (occur-read-primary-args): Use `regexp-history-last' instead of
2062 `occur-read-regexp-defaults-function'.
2063
2064 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2065 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2066 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2067 `hi-lock-read-regexp-defaults-function'. Doc fix.
2068 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2069 with `find-tag-default-as-symbol-regexp'. Doc fix.
2070 (hi-lock-read-regexp-defaults): Remove function.
2071 (hi-lock-regexp-okay): Add check for null.
2072
2073 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2074 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2075
2076 * subr.el (find-tag-default-as-symbol-regexp): New function.
2077 (find-tag-default-as-regexp): Move symbol regexp formatting to
2078 `find-tag-default-as-symbol-regexp'.
2079
137f57c8
S
20802013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2081
2082 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2083 (Bug#14179)
2084
f3a66082
SB
20852013-12-20 Stephen Berman <stephen.berman@gmx.net>
2086
2087 * calendar/todo-mode.el: New implementation of item insertion
2088 commands and key bindings.
2089 (todo-key-prompt): New face.
2090 (todo-insert-item): New command.
2091 (todo-insert-item--parameters): New defconst, replacing defvar
2092 todo-insertion-commands-args-genlist.
2093 (todo-insert-item--param-key-alist): New defconst, replacing
2094 defvar todo-insertion-commands-arg-key-list.
2095 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2096 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2097 (todo-insert-item--next-param): New functions.
2098 (todo-insert-item--args, todo-insert-item--argleft)
2099 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2100 New variables.
2101 (todo-key-bindings-t): Change binding of "i" from
2102 todo-insertion-map to todo-insert-item.
2103 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2104 (todo-insertion-command-name, todo-insertion-commands-names)
2105 (todo-define-insertion-command, todo-insertion-commands)
2106 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2107
2f99433b
SB
21082013-12-20 Stephen Berman <stephen.berman@gmx.net>
2109
2110 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2111 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2112 eval-when-compile.
2113 (todo-move-category): Allow choosing a non-existing todo file to
2114 move the category to, and create that file.
2115 (todo-default-priority): New user option.
2116 (todo-set-item-priority): Use it.
2117 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2118 (desktop-restore-file-buffer): Declare.
2119 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2120 (todo-modes-set-2): Locally set desktop-save-buffer to
2121 todo-desktop-save-buffer.
2122 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2123 (auto-mode-alist): Add autoload cookie.
2124
131e4695
BB
21252013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2126
2127 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2128 helpers.el was a poor choice of name.
3cbfb935
BB
2129 (string-remove-prefix): New function.
2130 (string-remove-suffix): New function.
131e4695 2131
c44de18d
MR
21322013-12-20 Martin Rudalics <rudalics@gmx.at>
2133
2134 Fix assignment for new window total sizes.
2135 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2136 (window--pixel-to-total-1, window--pixel-to-total):
2137 Fix calculation of new total sizes.
c44de18d 2138
ca65efcc
VS
21392013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2140
2141 * comint.el (comint-output-filter): Fix rear-nonsticky property
2142 placement (Bug#16010).
2143
a9574eb7
CY
21442013-12-20 Chong Yidong <cyd@gnu.org>
2145
2146 * faces.el (read-color): Minor fix for completion function.
2147
b520f210
DG
21482013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2149
e0eb0550
JB
2150 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2151 New option. (Bug#16182)
b520f210
DG
2152 (ruby-smie--indent-to-stmt-p): Use it.
2153 (ruby-smie-rules): Revert the logic in the handling of `when'.
2154 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2155 (ruby-deep-arglist, ruby-deep-indent-paren)
2156 (ruby-deep-indent-paren-style): Update docstrings to note that the
2157 vars don't have any effect with SMIE.
2158
26b75b45
JB
21592013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2160
2161 * calc/calc.el (calc-enter, calc-pop): Use the variable
2162 `calc-context-sensitive-enter'.
2163
cf91cee7
LMI
21642013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2165
2166 * net/shr.el (shr-insert): Protect against infloops in degenerate
2167 tables.
2168
51d971b4
RS
21692013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2170
2171 * progmodes/octave.el (octave): Add link to manual and octave
2172 homepage.
2173 (octave-mode-menu): Link to octave-mode manual.
2174
8c2e462a
LL
21752013-12-20 Leo Liu <sdl.web@gmail.com>
2176
2177 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2178 insertion using skeleton-end-newline. (Bug#16138)
2179
501158bc
JL
21802013-12-20 Juri Linkov <juri@jurta.org>
2181
2182 * replace.el (occur-engine): Use `add-face-text-property'
2183 to add the face property to matches and titles. (Bug#14645)
2184
2185 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2186 the palette of other hi-lock colors.
2187 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2188
50ab1da6
JL
21892013-12-19 Juri Linkov <juri@jurta.org>
2190
2191 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2192 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2193 (minibuffer-history-symbol): Move variable declaration closer to
2194 its usage.
2195
2196 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2197 (Bug#14785)
2198
3d6e95e7
JL
21992013-12-19 Juri Linkov <juri@jurta.org>
2200
2201 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2202 New function.
2203 (log-edit-hook): Add it to :options. (Bug#16170)
2204
b41594fd
JL
22052013-12-19 Juri Linkov <juri@jurta.org>
2206
2207 * simple.el (eval-expression-print-format): Don't check for
2208 command names and the last command. Always display additional
2209 formats of the integer result in the echo area, and insert them
2210 to the current buffer only with a zero prefix arg.
2211 Display character when char-displayable-p is non-nil.
2212 (eval-expression): With a zero prefix arg, set `print-length' and
2213 `print-level' to nil, and insert the integer values from
2214 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2215
2216 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2217 `eval-last-sexp-arg-internal'. Doc fix.
2218 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2219 `eval-last-sexp-print-value'. Doc fix.
2220 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2221 Set `print-length' and `print-level' to nil when arg is zero.
2222 (eval-last-sexp): Doc fix.
2223 (eval-defun-2): Print the integer values from
2224 `eval-expression-print-format' at the end.
2225
2226 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2227 values from `eval-expression-print-format' at the end.
2228
2229 * ielm.el (ielm-eval-input): Print the integer
2230 values from `eval-expression-print-format' at the end.
2231
8f2be364
TZ
22322013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2233
2234 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2235 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2236
2230a6e3
SM
22372013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2240 (hl-line-highlight, global-hl-line-highlight): Use it.
2241 (hl-line-overlay): Use defvar-local.
2242
1269a680
JD
22432013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2244
2245 * term/ns-win.el: Require dnd.
2246 (global-map): Remove drag items.
2247 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2248 (ns-set-background-at-mouse):
2249 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2250 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2251 New functions.
1269a680 2252
049638ad
GM
22532013-12-19 Glenn Morris <rgm@gnu.org>
2254
2255 * emacs-lisp/ert.el (ert-select-tests):
2256 Fix string/symbol mixup. (Bug#16121)
2257
ce41edb4
DG
22582013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2259
2260 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2261 keywords to their parent.
2262
7e1549c9
DG
22632013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2264
2265 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2266 first arg to be a string (fixed dead code), or an operator symbol.
2267 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2268 operator symbols.
2269 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2270 did nothing. Don't respond to `(:after ".")', it will be called
2271 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2272 change anything. Only return indentation for binary operators
2273 when they are hanging. De-dent opening paren when its parent is
2274 `.', otherwise it looks bad when the dot is not at bol or eol
2275 (bug#16182).
2276
3ee4cd64
JL
22772013-12-19 Juri Linkov <juri@jurta.org>
2278
2279 * replace.el (query-replace-read-args): Split a non-negative arg
2280 and a negative arg into separate elements.
2281 (query-replace, query-replace-regexp, replace-string)
2282 (replace-regexp): Add arg `backward'. Doc fix.
2283 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2284 move point to the beginning of the match.
2285 (replace-search, replace-highlight): Use new arg `backward'
2286 to set the value of `isearch-forward'.
2287 (perform-replace): Add arg `backward' and use it to perform
2288 replacement backward. (Bug#14979)
2289
2290 * isearch.el (isearch-query-replace): Use a negative prefix arg
2291 to call `perform-replace' with a non-nil arg `backward'.
2292
0cda6b7b
JL
22932013-12-18 Juri Linkov <juri@jurta.org>
2294
2295 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2296 to the default list. Move `log-edit-show-files' to the end.
2297 Add more available functions to options.
2298 (log-edit): Move default specific settings to
2299 `log-edit-insert-message-template'. Don't move point.
2300 (log-edit-insert-message-template): New function.
2301 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2302 (Bug#16170)
2303
b216f0a6
JL
23042013-12-18 Juri Linkov <juri@jurta.org>
2305
2306 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2307 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2308
1d1c55dc
LL
23092013-12-18 Leo Liu <sdl.web@gmail.com>
2310
e9dc713d
JB
2311 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2312 (Bug#16186)
1d1c55dc 2313
64e4c76e
EZ
23142013-12-18 Eli Zaretskii <eliz@gnu.org>
2315
2316 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2317 formats for displaying file sizes when the -s switch is given.
2318 Instead, compute a separate format for displaying the size in
2319 blocks, which is displayed in addition to the "regular" size.
2320 When -h is given in addition to -s, produce size in blocks in
2321 human-readable form as well. (Bug#16179)
2322
b2984e39
TH
23232013-12-18 Tassilo Horn <tsdh@gnu.org>
2324
2230a6e3
SM
2325 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2326 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2327
50ff2e06
CY
23282013-12-18 Chong Yidong <cyd@gnu.org>
2329
0081bc84
CY
2330 * cus-edit.el (custom-magic-alist): Fix "themed" description
2331 (Bug#14348).
2332
a7ee9424
CY
2333 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2334 is non-nil, do not create a new entry in the symbol's theme-value
2335 or theme-face property; update theme-settings only (Bug#14664).
18874304 2336 (custom-available-themes): Doc fix.
a7ee9424 2337
8f942537
CY
2338 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2339 (Bug#15674).
2340
50ff2e06
CY
2341 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2342
83c60f60
KI
23432013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2344
2345 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2346 (Bug#13914).
2347
e0eb0550 23482013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2349
2350 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2351
1f41ee56
GM
23522013-12-18 Glenn Morris <rgm@gnu.org>
2353
2354 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2355 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2356
e82134b1
LW
23572013-12-18 Le Wang <l26wang@gmail.com>
2358
2230a6e3
SM
2359 * comint.el (comint-previous-matching-input-from-input):
2360 Retain point (Bug#13404).
e82134b1 2361
33f5d4c1
CY
23622013-12-18 Chong Yidong <cyd@gnu.org>
2363
2364 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2365
ccc9f6dc
GM
23662013-12-18 Glenn Morris <rgm@gnu.org>
2367
2368 * mail/emacsbug.el (report-emacs-bug):
2369 Only mention enable-multibyte-characters if non-standard.
2370
33dd8e95
JL
23712013-12-17 Juri Linkov <juri@jurta.org>
2372
2373 * arc-mode.el (archive-extract-by-file): Check if directory exists
2374 before deletion to not show irrelevant errors if it doesn't exist.
2375
7a409b30
JL
23762013-12-17 Juri Linkov <juri@jurta.org>
2377
2378 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2379 (Bug#14751)
2380
2381 * net/eww.el (browse-web): Add alias to `eww'.
2382 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2383 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2384
2385 * net/browse-url.el (browse-url-browser-function): Move `eww'
2386 closer to similar functions.
2387
2388 * startup.el (fancy-startup-screen, fancy-about-screen):
2389 Set browse-url-browser-function to eww-browse-url locally.
2390 (Bug#14751)
2391
2d6b6005
SM
23922013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * window.el (window--pixel-to-total): Remove unused `mini' var.
2395 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2396 (split-window): Remove unused `new' var.
2397 (window--display-buffer): Remove unused `frame' and `delta' vars.
2398 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2399 and display-width'.
2400
cf2b7efc
MR
24012013-12-17 Martin Rudalics <rudalics@gmx.at>
2402
2403 * dired.el (dired-mark-pop-up):
2404 * register.el (register-preview): Don't bind
2405 split-height-threshold here since it's now done in
2406 display-buffer-below-selected.
2407
ed3af8a7 24082013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2409
2410 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2411 xterm-rgb-convert-to-16bit.
2412 (rxvt-register-default-colors): Standardize with
2413 xterm-register-default-colors (Bug#14078).
2414
76da3455
DK
24152013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2416
2417 * simple.el (kill-region): Pass mark first, then point, so that
2418 kill-append works right (Bug#12819).
2419 (copy-region-as-kill, kill-ring-save): Likewise.
2420
2b84d763
LL
24212013-12-17 Leo Liu <sdl.web@gmail.com>
2422
2423 * net/rcirc.el (rcirc-add-face):
2424 * eshell/em-prompt.el (eshell-emit-prompt):
2425 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2426 (Bug#16167)
2427
e2f6a0bc
CY
24282013-12-17 Chong Yidong <cyd@gnu.org>
2429
2430 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2431 Suggested by Xue Fuqiao.
2432
35b249a6
DG
24332013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2434
2435 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2436
e9145444
SM
24372013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2438
2439 * net/shr.el (shr-insert-document): Remove unused var
2440 `shr-preliminary-table-render'.
2441 (shr-rescale-image): Remove unused arg `force'.
2442 (shr-put-image): Update calls accordingly.
2443 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2444
5556c0ce
DG
24452013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2446
2447 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2448 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2449 :close-all, to see which indentation method to use (Bug#16116).
2450 (smie-rules-function): Document the method :close-all.
2451
11bade0a
LMI
24522013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2453
1c4b1e61
LMI
2454 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2455
11bade0a
LMI
2456 * net/eww.el (eww-display-html): If we can't find the anchor we're
2457 looking for, then go to point-min.
2458
8fb8c4f3
PE
24592013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2460
2461 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2462 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2463 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2464 Expand dir too, in case it's relative.
2465
6c8e0ae6
JL
24662013-12-16 Juri Linkov <juri@jurta.org>
2467
2468 * desktop.el (desktop-auto-save-timeout): Change default to
2469 `auto-save-timeout'. Doc fix.
2470 (desktop-save): Skip the timestamp in desktop-saved-frameset
2471 when checking for auto-save changes.
2472 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2473 `desktop-auto-save' is called repeatedly by the idle timer.
2474 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2475 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2476 (Bug#15331)
2477
2178e858
JL
24782013-12-16 Juri Linkov <juri@jurta.org>
2479
2480 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2481 (Bug#16035)
2482 (isearch-pre-command-hook): Check `this-command' for symbolp.
2483
39cb42c6
SM
24842013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2487
5b9b750a
TZ
24882013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2489
2490 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2491 (cfengine3--current-function): Bring in the current-function
2492 functionality from `cfengine3--current-word'.
2493 (cfengine3-completion-function): Bring in the
2494 bounds-of-current-word functionality from
2495 `cfengine3--current-word'.
2496
d144ef06
MR
24972013-12-16 Martin Rudalics <rudalics@gmx.at>
2498
39cb42c6
SM
2499 * window.el (display-buffer-below-selected):
2500 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2501
a8bbe298
LL
25022013-12-16 Leo Liu <sdl.web@gmail.com>
2503
2504 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2505 Remove NOMSG arg and all uses changed.
2506
2013a2f9
SM
25072013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2508
2509 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2510 (cua--deactivate-rectangle): Don't deactivate the mark.
2511 (cua-set-rectangle-mark): Don't set mark-active since
2512 cua--activate-rectangle already does it for us.
2513 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2514 non-rectangular region.
2515
2516 * emulation/cua-base.el (cua-repeat-replace-region):
2517 Use with-current-buffer.
2518
2519 * net/gnutls.el: Use cl-lib.
2520 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2521
5ae811dd
TZ
25222013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2523
2524 * emacs-lisp/package.el (package-built-in-p): Support both
2525 built-in and the package.el converted package descriptions.
2526 (package-show-package-list): Allow keywords.
2527 (package-keyword-button-action): Use it instead of
2528 `finder-list-matches'.
2529 (package-menu-filter-interactive): Interactive filtering (by
2530 keyword) function.
2531 (package-menu--generate): Support keywords and change keymappings
2532 and headers when they are given.
2533 (package--has-keyword-p): Helper function.
2534 (package-menu--refresh): Use it.
2535 (package--mapc): Helper function.
2536 (package-all-keywords): Use it.
2537 (package-menu-mode-map): Set up menu items and keybindings to
2538 provide a filtering UI.
2539
31b4827e
TZ
25402013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2541
2542 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2543 the behavior when a certificate fails validation. Defaults to
2544 old behavior: never abort, just warn.
2545 (gnutls-negotiate): Use it.
2546
f93cc74f
MR
25472013-12-14 Martin Rudalics <rudalics@gmx.at>
2548
2549 * window.el (display-buffer-below-selected): Never split window
2550 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2551
f77d7d17
TW
25522013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2553
2554 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2555 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2556
7514d3f8
SM
25572013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2558
aa2bddd7 2559 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2560 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2561
276bc333
DG
25622013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2563
2564 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2565 open-paren tokens when preceded by a open-paren, too.
2566 (ruby-smie-rules): Handle virtual indentation after open-paren
2567 tokens specially. If there is code between it and eol, return the
2568 column where is starts (Bug#16118).
2569
d43957f3
TZ
25702013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2571
a5c1ac0c 2572 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2573 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2574 (cfengine3--current-word): Fix parameters.
2575 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2576 (cfengine3-completion-function, cfengine3--current-function):
2577 Use `assq' for symbols.
d43957f3
TZ
2578 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2579
06a4f110
GM
25802013-12-13 Glenn Morris <rgm@gnu.org>
2581
2582 * loadup.el (load-path): Warn if site-load or site-init changes it.
2583 No more need to reset it when bootstrapping.
2584
978a5fda
TZ
25852013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2586
2587 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2588 locations for cf-promises.
2589 (cfengine-mode-syntax-functions-regex): New caching variable.
2590 (cfengine3-fallback-syntax): Fallback syntax for cases where
2591 cf-promises doesn't run.
2592 (cfengine3--current-word): Reimplement using
2593 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2594 (cfengine3-completion-function, cfengine3--current-function):
2595 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2596 (cfengine3-clear-syntax-cache): New function.
2597 (cfengine3-make-syntax-cache): Simplify and create
2598 `cfengine-mode-syntax-functions-regex' on demand.
2599 (cfengine3-format-function-docstring): Don't call
2600 `cfengine3-make-syntax-cache' explicitly.
2601
71e6691e
MR
26022013-12-13 Martin Rudalics <rudalics@gmx.at>
2603
2604 Fix windmove-find-other-window broken after pixelwise resizing
2605 (Bug#16017).
2606 * windmove.el (windmove-other-window-loc): Revert change from
2607 2013-12-04.
2608 (windmove-find-other-window): Call window-in-direction.
2609 * window.el (window-in-direction): New arguments SIGN, WRAP and
2610 MINI to emulate original windmove-find-other-window behavior.
2611
84c73ba0
DG
26122013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2613
2614 * simple.el (blink-matching--overlay): New variable.
2615 (blink-matching-open): Instead of moving point, highlight the
2616 matching paren with an overlay
2617 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2618
2619 * faces.el (paren-showing-faces, show-paren-match)
2620 (show-paren-mismatch): Move from paren.el.
2621
b9e20952
LL
26222013-12-13 Leo Liu <sdl.web@gmail.com>
2623
2624 * indent.el (indent-region): Disable progress reporter in
2625 minibuffer. (Bug#16108)
2626
2627 * bindings.el (visual-order-cursor-movement): Fix version.
2628
ce030451
FEG
26292013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2630
2631 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2632 Also match after beginning of line.
2633 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2634 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2635
4a9c6865
JL
26362013-12-13 Juri Linkov <juri@jurta.org>
2637
2638 * simple.el <Keypad support>: Remove key bindings duplicated
2639 with bindings.el. (Bug#14397)
2640
2bc170c3
JL
26412013-12-13 Juri Linkov <juri@jurta.org>
2642
2643 * comint.el (comint-mode-map): Replace `delete-char' with
2644 `delete-forward-char'. (Bug#16109)
2645
bc9222c9
FEG
26462013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2647
aa2bddd7 2648 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2649 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2650
cb3a1380
SM
26512013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2654 (advice--make): Pay attention to `depth'.
2655 (advice--make-1): Don't autoload commands eagerly.
2656 * emacs-lisp/elp.el (elp-instrument-function):
2657 * emacs-lisp/trace.el (trace-function-internal):
2658 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2659
2660 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2661
01633a17
EZ
26622013-12-12 Eli Zaretskii <eliz@gnu.org>
2663
2664 * term/w32-win.el (w32-handle-dropped-file):
2665 * startup.el (normal-top-level):
2666 * net/browse-url.el (browse-url-file-url):
2667 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2668 decode file names using 'utf-8' rather than
2669 file-name-coding-system.
2670
09faee72
FEG
26712013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2672
2673 * progmodes/python.el (python-indent-context)
2674 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2675 behavior for comment blocks. (Bug#15916)
09faee72 2676
f4f84024 26772013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2678
cb3a1380
SM
2679 * progmodes/python.el (python-indent-calculate-indentation):
2680 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2681 operators when they are just string constituents. (Bug#15812)
2682
d5ccb7be
JL
26832013-12-12 Juri Linkov <juri@jurta.org>
2684
2685 * uniquify.el (uniquify-buffer-name-style): Change default to
2686 `post-forward-angle-brackets'.
2687
2688 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2689 `uniquify'. Change default to `post-forward-angle-brackets'.
2690
7b3f5679
GM
26912013-12-11 Glenn Morris <rgm@gnu.org>
2692
2693 * emacs-lisp/package.el (finder-list-matches):
2694 Autoload rather than falsely declaring.
2695
f4fe8fdd
TZ
26962013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2697
2698 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2699 (eww-mode-map): Use them.
2700
3c29190f
MR
27012013-12-11 Martin Rudalics <rudalics@gmx.at>
2702
2703 * window.el (display-buffer-in-side-window): Fix doc-string
2704 (Bug#16115).
2705
0cd616a2
JB
27062013-12-11 Juanma Barranquero <lekktu@gmail.com>
2707
2708 * vc/vc-git.el: Silence byte-compiler warnings.
2709 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2710 (log-edit-set-header): Declare.
2711
3ef8e0d1
EZ
27122013-12-11 Eli Zaretskii <eliz@gnu.org>
2713
2714 * Makefile.in (custom-deps, finder-data): Run output file names
2715 through unmsys--file-name. (Bug#16099)
2716
afdadaf7
SM
27172013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2718
7ae3ae39 2719 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2720 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2721
5b4f37ab
SM
2722 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2723 instead of deleting the selection "by hand" (bug#16098).
2724 Rely on insert-for-yank to yank rectangles.
2725 (cua-highlight-region-shift-only): Mark obsolete.
2726 (cua-mode): Don't enable/disable transient-mark-mode,
2727 shift-select-mode (cua-mode works both with and without them), and
2728 pc-selection-mode (obsolete).
2729 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2730 (cua--deactivate-rectangle): Deactivate it.
2731
4b72c12b
SM
2732 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2733 (delete-selection-helper): Make sure yank starts at the top of the
2734 deleted region.
2735 (minibuffer-keyboard-quit): Use region-active-p.
2736
e82af72d
SM
2737 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2738
afdadaf7
SM
2739 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2740 to `delete' (bug#16109).
2741
ed4bc201
RS
27422013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2743
2744 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2745 info manual and show keybindings and set `:group' keyword.
2746
bb8097b9
JL
27472013-12-11 Juri Linkov <juri@jurta.org>
2748
2749 * delsel.el (delete-active-region): Let-bind `this-command'
2750 to prevent `kill-region' from changing its original value.
2751 (delete-selection-helper): Handle `overwrite-mode' for the type
2752 `kill' exactly the same way as for the type `t'.
2753 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2754 Support more commands. (Bug#13312)
2755
c1916ff5
JL
27562013-12-11 Juri Linkov <juri@jurta.org>
2757
2758 * bindings.el: Map kp keys to non-kp keys systematically
2759 with basic modifiers control, meta and shift. (Bug#14397)
2760
7514d3f8 27612013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2762
2763 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2764 "Close browser" menu items. Fix wrong function of "List
2765 bookmarks".
2766
4cc51eaf
JL
27672013-12-11 Juri Linkov <juri@jurta.org>
2768
2769 * misearch.el (multi-isearch-buffers): Set the value of
2770 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2771 arg of isearch-forward to t.
2772 (multi-isearch-buffers-regexp): Set the value of
2773 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2774 arg of isearch-forward-regexp to t.
2775 (multi-isearch-files): Set the value of
2776 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2777 arg of isearch-forward to t.
2778 (multi-isearch-files-regexp): Set the value of
c295fc18 2779 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
2780 arg of isearch-forward-regexp to t. (Bug#16035)
2781
2782 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2783 arg of isearch-forward to t.
2784 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2785 arg of isearch-forward-regexp to t.
2786 (dired-isearch-filter-filenames): Remove unnecessary check for
2787 `dired-isearch-filenames'.
2788
2789 * comint.el (comint-history-isearch-backward):
2790 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2791 (comint-history-isearch-backward-regexp):
2792 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2793
ceac12b7
EZ
27942013-12-10 Eli Zaretskii <eliz@gnu.org>
2795
2796 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2797 unmsys--file-name. (Bug#16099)
2798
5a565782
TZ
27992013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2800
cb3a1380
SM
2801 * emacs-lisp/package.el (package-keyword-button-action):
2802 Remove finder.el require dependency.
5a565782 2803
a81fc7ba
TZ
28042013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2805
2806 * emacs-lisp/package.el: Require finder.el.
2807 (describe-package-1): Add keyword buttons.
2808 (package-make-button): New convenience function.
2809 (package-keyword-button-action): Keyword button action using
e0eb0550 2810 `finder-list-matches'.
a81fc7ba 2811
6aaca951
EZ
28122013-12-09 Eli Zaretskii <eliz@gnu.org>
2813
2814 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2815 last commit.
2816
a1099a91
MA
28172013-12-09 Michael Albinus <michael.albinus@gmx.de>
2818
2819 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2820 symlinked files.
2821
8212d9c0
DG
28222013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2823
2824 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2825 after the end of a percent literal.
2826
8f48d131
CD
28272013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2828
cb3a1380
SM
2829 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2830 Handle caret-delimited strings (Bug#16079).
8f48d131 2831
ff8c9764
DG
28322013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2833
cb3a1380
SM
2834 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2835 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2836 `ruby-parse-partial' (Bug#16078).
2837
d64643b4
LL
28382013-12-09 Leo Liu <sdl.web@gmail.com>
2839
2840 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2841
47e59c66
DG
28422013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2843
2844 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2845 (js-switch-indent-offset): New option.
2846 (js--proper-indentation): Use it. And handle the case when
2847 "default" is actually a key in an object literal.
2848 (js--same-line): New function.
2849 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2850 (js--indent-in-array-comp, js--array-comp-indentation):
2851 New functions.
47e59c66
DG
2852 (js--proper-indentation): Use them, to handle array comprehension
2853 continuations.
2854
974ebc9c
LL
28552013-12-08 Leo Liu <sdl.web@gmail.com>
2856
2857 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2858 (flymake-make-overlay): Remove arg MOUSE-FACE.
2859 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2860
27262e39
SM
28612013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2862
2863 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2864 New function.
2865 (redisplay-highlight-region-function): Use it.
2866
2867 * emulation/cua-base.el (cua--explicit-region-start)
2868 (cua--last-region-shifted): Remove.
2869 (cua--deactivate): Use deactivate-mark.
2870 (cua--pre-command-handler-1): Don't handle shift-selection.
2871 (cua--post-command-handler-1): Don't change transient-mark-mode.
2872 (cua--select-keymaps): Use region-active-p rather than
2873 cua--explicit-region-start or cua--last-region-shifted.
2874 (cua-mode): Enable shift-select-mode.
2875
6407822c
LL
28762013-12-08 Leo Liu <sdl.web@gmail.com>
2877
27262e39
SM
2878 * progmodes/flymake.el (flymake-popup-current-error-menu):
2879 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2880 (flymake-posn-at-point-as-event, flymake-popup-menu)
2881 (flymake-make-emacs-menu): Remove. (Bug#16077)
2882
00a2b823
SM
28832013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2884
02033d49
SM
2885 * rect.el (rectangle-mark-mode): Activate mark even if
2886 transient-mark-mode is off (bug#16066).
2887 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2888 is > mark and at bolp.
2889
6f8dfccf
SM
2890 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2891 (region-extract-function): Use it.
2892 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2893 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2894 Delete functions.
2895 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2896 kill-ring-save, kill-region, delete-char, delete-forward-char.
2897 Ignore self-insert-iso.
2898
2899 * emulation/cua-gmrk.el (cua--init-global-mark):
2900 Ignore `self-insert-iso'.
2901
2902 * emulation/cua-base.el (cua--prefix-copy-handler)
2903 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2904 checking cua--rectangle.
2905 (cua-delete-region): Use region-extract-function.
2906 (cua-replace-region): Delete function.
2907 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2908 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2909 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2910 (cua--init-keymaps): Don't remap delete-selection commands.
2911 (cua-mode): Use delete-selection-mode instead of rolling our own
2912 (bug#16085).
2913
2914 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2915 Obey region-extract-function.
2916
00a2b823
SM
2917 Make registers and delete-selection-mode work on rectangles.
2918 * register.el (describe-register-1): Don't modify the register's value.
2919 (copy-to-register): Obey region-extract-function.
2920 * delsel.el (delete-active-region): Obey region-extract-function.
2921
a92fa5f1
LL
29222013-12-08 Leo Liu <sdl.web@gmail.com>
2923
2924 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2925 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2926 (flymake-compilation-prevents-syntax-check)
2927 (flymake-start-syntax-check-on-newline)
2928 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2929 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2930 (flymake-xml-program, flymake-master-file-dirs)
2931 (flymake-master-file-count-limit)
2932 (flymake-allowed-file-name-masks): Relocate.
2933 (flymake-makehash, flymake-float-time)
2934 (flymake-replace-regexp-in-string, flymake-split-string)
2935 (flymake-get-temp-dir): Remove.
2936 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2937 (flymake-current-row, flymake-selected-frame)
2938 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2939 related functions. (Bug#16077)
2940
73c8ceea
BB
29412013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2942
2943 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2944
faec28d9
TH
29452013-12-07 Tassilo Horn <tsdh@gnu.org>
2946
2947 * help-fns.el (describe-function-1): Use new advice-* functions
2948 rather than old ad-* functions. Fix function type description and
2949 source links for advised functions and subrs.
2950
e330b646
LMI
29512013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2952
00a2b823 2953 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2954
4803595d
MA
29552013-12-06 Michael Albinus <michael.albinus@gmx.de>
2956
2957 * progmodes/compile.el (compilation-start):
2958 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2959
2960 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2961 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2962
fa834a93
DG
29632013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2964
00a2b823
SM
2965 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2966 Touch up the last change.
fa834a93 2967
b2856a6f
LL
29682013-12-06 Leo Liu <sdl.web@gmail.com>
2969
2970 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2971 (inferior-octave-startup): Always use "octave> " for prompt.
2972 (octave-goto-function-definition)
2973 (octave-sync-function-file-names)
2974 (octave-find-definition-default-filename): Remove redundant backquotes.
2975
af67e79a
DG
29762013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2977
2978 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2979 syntax for `?'.
2980 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2981 where appropriate already.
2982 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2983 end of method names (Bug#15874).
2984
bf093209
JL
29852013-12-06 Juri Linkov <juri@jurta.org>
2986
2987 * isearch.el (isearch--saved-overriding-local-map):
2988 New internal variable.
2989 (isearch-mode): Set it to the initial value of
2990 `overriding-terminal-local-map'.
2991 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2992 with `isearch--saved-overriding-local-map'. (Bug#16035)
2993
16588fad
DG
29942013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2995
00a2b823
SM
2996 * progmodes/octave.el (inferior-octave-completion-table):
2997 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2998 (Bug#11906). Update all references.
2999
3000 * minibuffer.el (completion-table-with-cache): New function.
3001
bf4906d7
CD
30022013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3003
3004 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3005
ff69c18f
TZ
30062013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3007
3008 * net/eww.el (eww-current-source): New variable to store page
3009 source.
3010 (eww-display-html, eww-mode, eww-save-history)
3011 (eww-restore-history): Use it.
3012 (eww-view-source): New command to view page source.
3013 Opportunistically uses `html-mode' to highlight the buffer.
3014 (eww-mode-map): Install it.
3015
b85eff45
MA
30162013-12-05 Michael Albinus <michael.albinus@gmx.de>
3017
3018 * net/dbus.el (dbus-unregister-service)
3019 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3020 Fix docstring.
3021 (dbus-unregister-service): Skip :serial entries in
3022 `dbus-registered-objects-table'.
3023 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3024
39eb0899
TZ
30252013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3026
3027 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3028 around keywords with extra `split-string' argument.
3029
456760a5
MR
30302013-12-04 Martin Rudalics <rudalics@gmx.at>
3031
3032 * windmove.el (windmove-other-window-loc): Handle navigation
3033 between windows (excluding the minibuffer window - Bug#16017).
3034
81961e4c
MA
30352013-12-04 Michael Albinus <michael.albinus@gmx.de>
3036
3037 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3038 in D-Bus type syntax.
3039 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3040 preserve unibyte strings. (Bug#16048)
3041
8497f938
SM
30422013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3045 Call force-mode-line-update is the proper buffer (bug#16042).
3046
dda61916
DG
30472013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3048
3049 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3050 `log-edit-remember-comment', make argument optional. Adjust all
3051 callers.
3052 (log-edit-mode): Add `log-edit-remember-comment' to
3053 `kill-buffer-hook' locally.
3054 (log-edit-kill-buffer): Don't remember comment explicitly since
3055 the buffer is killed anyway.
3056
c085e5b9
JL
30572013-12-04 Juri Linkov <juri@jurta.org>
3058
3059 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3060 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3061
e0eb0550 30622013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3063
3064 * notifications.el (notifications-close-notification): Call the
81961e4c 3065 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3066
39fa32d6
KY
30672013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3068
3069 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3070
9139632a
JL
30712013-12-03 Juri Linkov <juri@jurta.org>
3072
3073 * progmodes/compile.el (compilation-start): Rename window alist
3074 entry `no-display-ok' to `allow-no-window'.
3075
3076 * simple.el (shell-command): Add window alist entry
3077 `allow-no-window' to `display-buffer'.
3078 (async-shell-command): Doc fix.
3079
3080 * window.el (display-buffer-no-window): New action function.
3081 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3082
0f457a37
DG
30832013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3084
3085 * vc/log-edit.el (log-edit-set-header): Extract from
3086 `log-edit-toggle-header'.
3087 (log-edit-extract-headers): Separate the summary, when extracted
3088 from header, from the rest of the message with an empty line.
3089
3090 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3091 line, if present, to the Summary header.
3092
0962f376
SM
30932013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3096 in current-buffer (bug#16029).
3097
f345395c
HE
30982013-12-02 Helmut Eller <eller.helmut@gmail.com>
3099
3100 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3101 (debugger-mode-map): Bind it.
3102 (debugger--backtrace-base): New function.
3103 (debugger-eval-expression): Use it.
3104 (debugger-frame-number): Skip local vars when present.
3105 (debugger--locals-visible-p, debugger--insert-locals)
3106 (debugger--show-locals, debugger--hide-locals): New functions.
3107
a8a15d9d
MA
31082013-12-02 Michael Albinus <michael.albinus@gmx.de>
3109
3110 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3111 "LC_ALL".
3112 (tramp-get-remote-locale): New defun.
3113 (tramp-open-connection-setup-interactive-shell): Use it.
3114
0518b057
LL
31152013-12-02 Leo Liu <sdl.web@gmail.com>
3116
3117 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3118
3119 * progmodes/sh-script.el (sh-shell-process):
3120 * progmodes/octave.el (inferior-octave-process-live-p):
3121 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3122 (gdb-inferior-io-sentinel):
3123 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3124
3adc9c6d
DG
31252013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3126
3127 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3128 `save-selected-window' to `log-edit-hide-buf'. This makes
3129 `log-edit-show-files' idempotent.
3130 (log-edit-show-files): Mark the new window as dedicated.
3131
47e8b74e
DG
31322013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3133
3134 * vc/log-edit.el (log-edit-mode-map): Add binding for
3135 `log-edit-kill-biffer'.
3136 (log-edit-hide-buf): Add a FIXME comment.
3137 (log-edit-add-new-comment): New function, extracted from
3138 `log-edit-done'.
3139 (log-edit-done, log-edit-add-to-changelog): Use it.
3140 (log-edit-kill-buffer): New command.
3141
1f6e1bb0
LMI
31422013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3143
3144 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3145 instead of killing the buffer.
3146
fb651d15
SM
31472013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3148
3149 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3150
8feacce0
RS
31512013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3152
fb651d15 3153 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3154 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3155 (eww-form-checkbox, eww-toggle-checkbox):
3156 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3157
e0eb0550 3158 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3159 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3160 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3161 no :src tag was specified.
3162
fb651d15 3163 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3164 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3165 Use \\` to match beginning of string instead of ^.
3166 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3167 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3168
177948a5
RS
3169 * net/shr.el (shr-tag-video): Display content for video if no
3170 poster is available.
eb2dd24d 3171 (shr-tag-audio): Add support for <audio> tag.
177948a5 3172
e0eb0550 3173 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3174 (eww-process-text-input): Treat input types in
3175 `eww-text-input-types' as text.
3176
8feacce0
RS
3177 * net/shr.el (shr-tag-table): Fix comment typo.
3178
513562a1
LMI
31792013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3180
3181 * net/eww.el (eww-follow-link): New command to avoid reloading
3182 pages when we follow #target links (bug#15243).
de8a5633 3183 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3184
9dd99753
KN
31852013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3186
3187 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3188 forms.
3189
3e9876de
LMI
31902013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3191
3192 * net/eww.el (eww-restore-history): Update the window title after
3193 moving in the history.
ab6dea82 3194 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3195
52789f7f
DG
31962013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3197
3198 * vc/log-edit.el (log-edit-mode-map): Add binding for
3199 `log-edit-beginning-of-line'.
3200 (log-edit-setup-add-author): New user option.
3201 (log-edit-beginning-of-line): New command.
3202 (log-edit): Move major mode call above the contents setup so that
3203 the local variable values are already applied.
3204 (log-edit): Only insert "Author: " when
3205 `log-edit-setup-add-author' is non-nil.
3206 (log-edit): When SETUP is non-nil, position point after ": "
3207 instead of point-min.
3208
2e6710c3
GM
32092013-12-01 Glenn Morris <rgm@gnu.org>
3210
3211 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3212
fadec31f
EZ
32132013-11-30 Eli Zaretskii <eliz@gnu.org>
3214
3215 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3216 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3217 visible. (Bug#16014)
3218
10634b40 32192013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3220
3221 Support resizing frames and windows pixelwise.
3222 * cus-start.el (frame-resize-pixelwise)
3223 (window-resize-pixelwise): New entries.
3224 * emacs-lisp/debug.el (debug): Use window-total-height instead
3225 of window-total-size.
3226 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3227 * help.el (describe-bindings-internal): Call help-buffer
3228 (temp-buffer-max-width): New option.
3229 (resize-temp-buffer-window, help-window-setup)
3230 (with-help-window): Rewrite.
3231 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3232 dragging dividers.
3233 * window.el (frame-char-size, window-min-pixel-height)
3234 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3235 (window-min-pixel-width, window-safe-min-pixel-size)
3236 (window-combination-p, window-safe-min-size)
3237 (window-resizable-p, window--size-to-pixel)
3238 (window--pixel-to-size, window--resize-apply-p): New functions.
3239 (window-safe-min-height): Fix doc-string.
3240 (window-size, window-min-size, window--min-size-1)
3241 (window-sizable, window-sizable-p, window--min-delta-1)
3242 (window-min-delta, window--max-delta-1, window-max-delta)
3243 (window--resizable, window--resizable-p, window-resizable)
3244 (window-full-height-p, window-full-width-p, window-at-side-p)
3245 (window--in-direction-2, window-in-direction)
3246 (window--resize-reset-1, window--resize-mini-window)
3247 (window-resize, window-resize-no-error)
3248 (window--resize-child-windows-normal)
3249 (window--resize-child-windows, window--resize-siblings)
3250 (window--resize-this-window, window--resize-root-window)
3251 (window--resize-root-window-vertically)
3252 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3253 (maximize-window, minimize-window, delete-window)
3254 (quit-restore-window, window-split-min-size, split-window)
3255 (balance-windows-2, balance-windows)
3256 (balance-windows-area-adjust, balance-windows-area)
3257 (window--state-get-1, window-state-get, window--state-put-1)
3258 (window--state-put-2, window-state-put)
fb651d15
SM
3259 (display-buffer-record-window, window--display-buffer):
3260 Make functions handle pixelwise sizing of windows.
880e6158 3261 (display-buffer--action-function-custom-type)
fb651d15
SM
3262 (display-buffer-fallback-action):
3263 Add display-buffer-in-previous-window.
880e6158
MR
3264 (display-buffer-use-some-window): Resize window to height it had
3265 before.
3266 (fit-window-to-buffer-horizontally): New option.
3267 (fit-frame-to-buffer): Describe new values.
3268 (fit-frame-to-buffer-bottom-margin): Replace with
3269 fit-frame-to-buffer-margins.
3270 (window--sanitize-margin): New function.
3271 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3272 using window-text-pixel-size.
3273
f9b697dd
GM
32742013-11-30 Glenn Morris <rgm@gnu.org>
3275
3e2fb4db
GM
3276 * emacs-lisp/bytecomp.el (byte-compile-form):
3277 Make the `interactive-only' warning like the `obsolete' one.
3278 * comint.el (comint-run):
3279 * files.el (insert-file-literally, insert-file):
3280 * replace.el (replace-string, replace-regexp):
3281 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3282 (goto-line, insert-buffer, next-line, previous-line):
3283 Tweak `interactive-only' spec.
3284
f9b697dd
GM
3285 Stop keeping (most) generated cedet grammar files in the repository.
3286 * Makefile.in (semantic): New.
3287 (compile-main): Depend on semantic.
3288
da048127
SM
32892013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3290
7784b779
SM
3291 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3292 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3293
4e36a6a6
SM
3294 * uniquify.el (uniquify-buffer-name-style): Change default.
3295
3296 * loadup.el: Preload "uniquify".
3297
e0ba1308
SM
3298 * time.el (display-time-update): Update all mode lines (bug#15999).
3299
da048127
SM
3300 * electric.el (electric-indent-mode): Enable by default.
3301 * loadup.el: Preload "electric".
3302
015b3b3e
BB
33032013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3304
3305 * emacs-lisp/helpers.el (string-empty-p): New function.
3306 (string-blank-p): New function.
3307
7efb806d
AP
33082013-11-29 Andreas Politz <politza@hochschule-trier.de>
3309
3310 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3311 (Bug#14029).
3312
c8f0efc2
AP
33132013-11-29 Andreas Politz <politza@fh-trier.de>
3314 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3315 allow non-lambda lists as functions.
3316 (imenu--in-alist): Don't recurse into non-subalists.
3317 (imenu): Don't pass function itself as an argument (Bug#14029).
3318
bd15d9d1
SM
33192013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3320
3321 * progmodes/python.el (python-mode-map): Remove binding for ":".
3322 (python-indent-electric-colon): Remove command.
3323 (python-indent-post-self-insert-function): Integrate the previous code
3324 of python-indent-electric-colon. Make it conditional on
3325 electric-indent-mode.
3326 (python-mode): Add ?: to electric-indent-chars.
3327 Move python-indent-post-self-insert-function to the end of
3328 post-self-insert-hook.
3329
1b10adb6
SM
33302013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3331
655ab9a3
SM
3332 * doc-view.el (doc-view-goto-page): Update mode-line.
3333
1b10adb6
SM
3334 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3335
7e3bf78c
GM
33362013-11-27 Glenn Morris <rgm@gnu.org>
3337
3338 * international/charprop.el, international/uni-bidi.el:
3339 * international/uni-category.el, international/uni-combining.el:
3340 * international/uni-comment.el, international/uni-decimal.el:
3341 * international/uni-decomposition.el, international/uni-digit.el:
3342 * international/uni-lowercase.el, international/uni-mirrored.el:
3343 * international/uni-name.el, international/uni-numeric.el:
3344 * international/uni-old-name.el, international/uni-titlecase.el:
3345 * international/uni-uppercase.el:
3346 Remove generated files from VCS repository.
3347
fb6a5d68
EZ
33482013-11-27 Eli Zaretskii <eliz@gnu.org>
3349
3350 * filenotify.el (file-notify-add-watch): Don't special-case
3351 w32notify when computing the directory to watch.
3352
cb6c95a3
GM
33532013-11-27 Glenn Morris <rgm@gnu.org>
3354
20372d0c
GM
3355 Make bootstrap without generated uni-*.el files possible again.
3356 * loadup.el: Update command-line-args checking for unidata-gen.
3357 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3358 * composite.el, international/characters.el:
3359 Handle unicode tables being undefined.
3360
52d6635f 3361 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3362 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3363 (compile-main): Depend on leim rule.
3364 (leim): New rule.
3365 * loadup.el: Move leim-list.el to leim/ subdirectory.
3366 * startup.el (normal-top-level): No more leim directory.
3367 * international/ja-dic-cnv.el (skkdic-convert):
3368 Disable version-control and autoloads in output files.
3369 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3370 Disable version-control and autoloads in output files.
3371 * leim/quail: Move here from ../leim.
3372 * leim/quail/hangul.el (hangul-input-method-activate):
3373 Add autoload cookie.
3374 (generated-autoload-load-name): Set file-local value.
3375 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3376 (generated-autoload-load-name): Set file-local value.
3377
7514d3f8 33782013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3379
e0eb0550 3380 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3381 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3382 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3383
0e2c793f
EZ
33842013-11-26 Eli Zaretskii <eliz@gnu.org>
3385
3386 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3387 reading output from Diff on MS-Windows and MS-DOS.
3388
447bdcb8
BB
33892013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3390
3391 * emacs-lisp/helpers.el (string-reverse): New function.
3392
5fbf6856
MA
33932013-11-26 Michael Albinus <michael.albinus@gmx.de>
3394
3395 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3396 names on MS Windows, like "/[::1]:".
3397
3398 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3399 SWITCHES.
3400
624780f0
GM
34012013-11-26 Glenn Morris <rgm@gnu.org>
3402
0bf3f0fa
GM
3403 * progmodes/python.el (python-indent-guess-indent-offset):
3404 Avoid corner-case error. (Bug#15975)
3405
624780f0
GM
3406 Preload leim-list.el. (Bug#4789)
3407 * loadup.el: Load leim-list.el when found.
3408 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3409
4301875e 34102013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
3411
3412 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3413
4301875e
BB
3414 * emacs-lisp/helpers.el (string-join): New function.
3415
1633a815 34162013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
3417
3418 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3419 Mark as obsolete and replace it with a symbol property.
3420 (byte-compile-form): Use new 'interactive-only property.
3421 * comint.el, files.el, replace.el, simple.el:
3422 Apply new 'interactive-only properly.
3423
00139435
MR
34242013-11-25 Martin Rudalics <rudalics@gmx.at>
3425
3426 * window.el (display-buffer-at-bottom): Make sure that
3427 split-window-sensibly creates the new window on bottom
3428 (Bug#15961).
3429
5f5b128d
DK
34302013-11-23 David Kastrup <dak@gnu.org>
3431
3432 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3433 on the conflict markers when available.
3434 (smerge--get-marker): New function.
3435 (smerge-end-re, smerge-base-re): Add subgroup.
3436
623891e5
SM
34372013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3438
3439 * frame.el (handle-focus-in, handle-focus-out): Add missing
3440 interactive spec.
3441
05ca27d8
MA
34422013-11-25 Michael Albinus <michael.albinus@gmx.de>
3443
3444 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3445 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3446
511fa0d3
SM
34472013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3448
e82ad66c
SM
3449 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3450 (gomoku--last-pos): New var.
3451 (gomoku--intangible-chars): New const.
3452 (gomoku--intangible): New function.
3453 (gomoku-mode): Use it. Derive from special-mode.
3454 (gomoku-move-up): Adjust line count.
3455 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3456 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3457 Simplify accordingly.
3458
511fa0d3
SM
3459 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3460 Remove blink-cursor code.
3461 (blink-cursor-timer-function, blink-cursor-suspend):
3462 Don't special-case GUIs.
3463 (blink-cursor-mode): Use focus-in/out-hook.
3464
6f20dd03
DG
34652013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3466
3467 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3468 work when annotation is invisible (Bug#13886).
3469
431dec31 34702013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
3471
3472 * json.el (json-alist-p): Only return non-nil if the alist has
3473 simple keys (Bug#13518).
3474
431dec31 34752013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
3476
3477 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3478 when control-statement is the first statement in a buffer (Bug#15956).
3479
ee4f0261
DG
34802013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3481
3482 * imenu.el (imenu-generic-skip-comments-and-strings):
3483 New option (Bug#15560).
3484 (imenu--generic-function): Use it.
3485
c484f866
JS
34862013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3487
e9dc713d
JB
3488 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3489 (Bug#13898)
c484f866 3490
41ce6f70
BB
34912013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3492
b55aea38
BB
3493 * emacs-lisp/helpers.el: Add some string helpers.
3494 (string-trim-left): Removes leading whitespace.
3495 (string-trim-right): Removes trailing whitespace.
3496 (string-trim): Removes leading and trailing whitespace.
3497
41ce6f70
BB
3498 * subr.el (string-suffix-p): New function.
3499
3cfb6af3
GM
35002013-11-23 Glenn Morris <rgm@gnu.org>
3501
3502 * progmodes/python.el (python-shell-send-file):
3503 Add option to delete file when done. (Bug#15647)
3504 (python-shell-send-string, python-shell-send-region): Use it.
3505
c27924b7
IS
35062013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3507
e1b01c7f
IS
3508 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3509 to set buffer-read-only to t, never to nil. (Bug#15938)
3510
c27924b7
IS
3511 * textmodes/tex-mode.el (latex-noindent-environments):
3512 Add safe-local-variable property. (Bug#15936)
3513
17e0445b
GM
35142013-11-23 Glenn Morris <rgm@gnu.org>
3515
92f78ea3
GM
3516 * textmodes/enriched.el (enriched-mode): Doc fix.
3517 * emacs-lisp/authors.el (authors-renamed-files-alist):
3518 Add enriched.doc -> enriched.txt.
3519
17e0445b
GM
3520 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3521
965bb23a
LL
35222013-11-22 Leo Liu <sdl.web@gmail.com>
3523
3524 * progmodes/octave.el (inferior-octave-startup): Spit out error
3525 message.
3526
d19ffd64
BB
35272013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3528
3529 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3530 Improve docstring.
15ba2182
BB
3531 Add :version.
3532 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3533
7a7567d2
LL
35342013-11-22 Leo Liu <sdl.web@gmail.com>
3535
3536 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3537 (Bug#15076)
8c09f64b
LL
3538 (octave-help-mode): Adapt to change to help-mode-finish to use
3539 derived-mode-p on 2013-09-17.
3540 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3541 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3542
724bc265
LL
35432013-11-22 Leo Liu <sdl.web@gmail.com>
3544
3545 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3546 (inferior-octave-startup, inferior-octave-check-process)
3547 (inferior-octave-track-window-width-change)
3548 (octave-completion-at-point, octave-eldoc-function): Use it.
3549 (octave-kill-process): Provide confirmation. (Bug#10564)
3550
38637cca
LL
35512013-11-21 Leo Liu <sdl.web@gmail.com>
3552
511fa0d3
SM
3553 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3554 Fix obsolete variable comment-use-global-state.
38637cca 3555
06e752b4
RS
35562013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3557
511fa0d3
SM
3558 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3559 Add `octave-source-file'.
06e752b4
RS
3560 (octave-source-file): New function. (Bug#15935)
3561
7514d3f8 35622013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3563
3564 * net/eww.el (eww-local-regex): New variable.
3565 (eww): Use it to detect localhost and similar.
3566
b6ffa04a
LL
35672013-11-21 Leo Liu <sdl.web@gmail.com>
3568
3569 Add completion for command `ag'.
2021a200
LL
3570 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3571 (pcomplete/ag): New function.
e9dc713d 3572 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3573
d1a6bccc
SM
35742013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3577 (bug#14646).
3578 (make-obsolete): Remove interactive spec.
3579
2df10228
GM
35802013-11-21 Glenn Morris <rgm@gnu.org>
3581
3582 * startup.el (command-line-1): Use path-separator with -L.
3583
86fd16b6
TZ
35842013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3585
3586 * emacs-lisp/package.el (describe-package-1): Add package archive
3587 to shown fields.
3588
0449d6cd 35892013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3590
3591 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3592 Change default to "# encoding: %s" to differentiate it from the
3593 default Ruby encoding comment template.
3594
dc7e8c17 35952013-11-20 era eriksson <era+emacsbugs@iki.fi>
3596
3597 * ses.el (ses-mode): Doc fix. (Bug#14748)
3598
f0cfa5fe
LL
35992013-11-20 Leo Liu <sdl.web@gmail.com>
3600
3601 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3602
826dc7b6
DN
36032013-11-19 Dan Nicolaescu <dann@gnu.org>
3604
3605 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3606 when rebase or bisect are in progress.
3607
a6e3a5d5
XF
36082013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3609
3610 * filenotify.el (file-notify-add-watch): Doc fix.
3611
f130cb76
LL
36122013-11-19 Leo Liu <sdl.web@gmail.com>
3613
e0855d7d
LL
3614 * obsolete/rcompile.el: Mark obsolete.
3615
f130cb76 3616 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3617 (compilation-goto-locus, compilation-find-file):
3618 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3619 (Bug#13594)
3620
3621 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3622 new parameter no-display-ok. Return either a window or nil
3623 but never a non-window value.
f130cb76 3624
1f35d401
SM
36252013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3626
25158c76
SM
3627 * electric.el (electric-indent-mode-map): Remove.
3628 (electric-indent-mode): Change the global-map instead (bug#15915).
3629
3630 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3631 Use add-function.
1f35d401 3632
9bc67baa
SM
36332013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3634
986545b5
SM
3635 * emacs-lisp/nadvice.el (remove-function): Align with
3636 add-function's behavior.
3637
9bc67baa
SM
3638 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3639 (gdb--string-regexp): New constant.
3640 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3641 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3642 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3643 submatch 1.
3644 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3645 Adjust use accordingly.
3646 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3647
56cd894e
AS
36482013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3649
3650 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3651 interpolation curlies (Bug#15914).
3652
014690de
JB
36532013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3654
3655 * calc/calc.el (calc-context-sensitive-enter): New variable.
3656 (calc-enter): Use `calc-context-sensitive-enter'.
3657
7e26a6c3
TZ
36582013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3659
3660 * progmodes/cfengine.el: Version bump.
3661 (cfengine-cf-promises): New defcustom to locate cf-promises.
3662 (cfengine3-vartypes): Add new "data" type.
3663 (cfengine3--current-word): New function to get current name-like
3664 word or its bounds.
3665 (cfengine3--current-function): New function to look up a CFEngine
3666 function's definition.
3667 (cfengine3-format-function-docstring): New function.
3668 (cfengine3-make-syntax-cache): New function.
3669 (cfengine3-documentation-function): New function: ElDoc glue.
3670 (cfengine3-completion-function): New function: completion glue.
3671 (cfengine3-mode): Set `compile-command',
3672 `eldoc-documentation-function', and add to
3673 `completion-at-point-functions'.
3674
355204dd
MA
36752013-11-16 Michael Albinus <michael.albinus@gmx.de>
3676
3677 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3678 `tramp-current-connection'.
3679
43cebc23
DG
36802013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3681
3682 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3683 nil/self/true/false with "end of symbol".
3684
a3fed6ff
BB
36852013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3686
3687 * subr.el (version-regexp-alist): Fix a typo.
3688
e675b3e4
MA
36892013-11-15 Michael Albinus <michael.albinus@gmx.de>
3690
3691 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3692 "en_US.utf8" and "LC_CTYPE" to "".
3693 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3694 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3695
a1f03e89
LL
36962013-11-15 Leo Liu <sdl.web@gmail.com>
3697
3698 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3699
5d9d9451
SM
37002013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3701
58362662
CS
3702 * progmodes/gud.el (ctl-x-map):
3703 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3704 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3705
6c1bf086
BB
37062013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3707
0d5363c4
BB
3708 * subr.el (version-regexp-alist):
3709 Recognize hg, svn and darcs versions as snapshot versions.
3710
4e9fc48c
BB
3711 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3712 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3713 (ruby--encoding-comment-required-p): Extract from
3714 `ruby-mode-set-encoding'.
3715 (ruby-mode-set-encoding): Add the ability to always insert an
3716 utf-8 encoding comment. Fix and simplify coding comment update
3717 logic.
6c1bf086 3718
2f7e72f8
MA
37192013-11-14 Michael Albinus <michael.albinus@gmx.de>
3720
3721 * net/tramp-gvfs.el (top): Run init code only when
3722 `tramp-gvfs-enabled' is not nil.
3723 (tramp-gvfs-enabled): Check also :system bus.
3724
0f137a73
SM
37252013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 Sync with upstream verilog-mode revision 78e66ba.
3728 * progmodes/verilog-mode.el (verilog-end-of-defun)
3729 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3730 (verilog-get-end-of-defun): Remove unused argument.
3731 (verilog-comment-depth): Remove unused local `e'.
3732 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3733 Don't pass arg to verilog-get-end-of-defun.
3734
1c276bdd
GM
37352013-11-14 Glenn Morris <rgm@gnu.org>
3736
3737 * obsolete/assoc.el (aget): Prefix dynamic variable.
3738
3739 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3740
ff6ec81d
SM
37412013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3742
3743 * widget.el, hfy-cmap.el: Remove bogus package version number.
3744
75f777b6
GM
37452013-11-13 Glenn Morris <rgm@gnu.org>
3746
1d43dba1
GM
3747 * replace.el (replace-eval-replacement):
3748 Try to give more helpful error message. (Bug#15836)
3749
ff4b7bd5
GM
3750 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3751 (archive-7z-update): Avoid custom type mismatches.
3752
75f777b6
GM
3753 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3754
11151a06
MA
37552013-11-13 Michael Albinus <michael.albinus@gmx.de>
3756
e675b3e4 3757 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3758 address can be empty.
3759
3760 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3761 Accept nil SWITCHES.
3762 (tramp-gvfs-handle-write-region): Implement APPEND.
3763
7b08f97e
DG
37642013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3765
3766 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3767 binary "|" operator and closing block args delimiter.
3768 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3769 (ruby-smie--implicit-semi-p): Not after "|" operator.
3770 (ruby-smie--closing-pipe-p): New function.
3771 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3772 (ruby-smie-rules): Indent after "|".
3773
f201cf3a
GM
37742013-11-12 Glenn Morris <rgm@gnu.org>
3775
3776 * ps-print.el (ps-face-attribute-list):
3777 Handle anonymous faces. (Bug#15827)
3778
e6f759f9
MR
37792013-11-12 Martin Rudalics <rudalics@gmx.at>
3780
3781 * window.el (display-buffer-other-frame): Fix doc-string.
3782 (Bug#15868)
3783
ecda65d4
SM
37842013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3785
3786 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3787
7ce8fcc3
MA
37882013-11-11 Michael Albinus <michael.albinus@gmx.de>
3789
3790 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3791 (tramp-sh-handle-file-local-copy): Don't write a message when
3792 saving temporary files.
3793
3794 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3795 both directories are remote.
3796 (tramp-smb-handle-directory-files): Do not return double entries.
3797 Do not expand full file names.
3798 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3799 (tramp-smb-handle-write-region): Implement APPEND.
3800 (tramp-smb-get-stat-capability): Fix a stupid bug.
3801
7818df11
SM
38022013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3803
3804 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3805
608c2085
NT
38062013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3807
3808 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3809 throwing error over malformed let/let* (bug#15814).
3810
122a7e46
SM
38112013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * iswitchb.el (iswitchb-mode): Mark obsolete.
3814
766284d9
GM
38152013-11-11 Glenn Morris <rgm@gnu.org>
3816
3817 * international/uni-bidi.el, international/uni-category.el:
3818 * international/uni-name.el, international/uni-numeric.el:
3819 Regenerate for Unicode 6.3.0.
3820
7072a4e9
MA
38212013-11-10 Michael Albinus <michael.albinus@gmx.de>
3822
3823 * net/tramp.el (tramp-methods):
3824 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3825 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3826
c9df215b
AS
38272013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3828
608c2085
NT
3829 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3830 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3831
fa47d796
DG
38322013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3833
3834 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3835 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3836 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3837 (ispell-complete-word): Call `ispell-lookup-words' with the value
3838 independent of `ispell-look-p'.
3839
1629a329
DG
38402013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3841
3842 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3843 Not after "||".
3844 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3845 their parent.
3846
ad16897c
SM
38472013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3850 (ruby-font-lock-keywords): Use backquote.
3851
ffa2df72
DG
38522013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3853
3854 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3855 (ruby-smie--backward-token): Only consider full-string matches.
3856
5b97b4c0
JD
38572013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3858
3859 * faces.el (describe-face): Add distant-foreground.
3860
71731c03
BB
38612013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3862
4e9fc48c
BB
3863 * progmodes/ruby-mode.el: Improve encoding comment handling.
3864 (ruby-encoding-magic-comment-style): New option.
3865 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3866 (ruby--insert-coding-comment, ruby--detect-encoding):
3867 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3868 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3869 to control the style of the auto-inserted encoding comment.
71731c03 3870
da3b328d
DG
38712013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3872
ad16897c
SM
3873 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3874 Use `smie-backward-sexp' with token argument.
da3b328d 3875
1606c2d3
MA
38762013-11-08 Michael Albinus <michael.albinus@gmx.de>
3877
3878 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3879 Remove instrumentation code.
3880
b0f4c320
GM
38812013-11-08 Glenn Morris <rgm@gnu.org>
3882
3883 * progmodes/autoconf.el (autoconf-mode):
3884 Tweak comment-start-skip. (Bug#15822)
3885
43668fb1
SM
38862013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3887
3888 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3889 at bobp (bug#15826).
3890 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3891
daddb3fd
DH
38922013-11-08 Darren Hoo <darren.hoo@gmail.com>
3893
3894 * man.el (Man-start-calling): New macro, extracted from
3895 Man-getpage-in-background.
3896 (Man-getpage-in-background): Use it.
3897 (Man-update-manpage): New command.
3898 (Man-mode-map): Bind it.
3899
1f923923
DG
39002013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3901
3902 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3903 of "and", "or", "&&" and "||".
3904 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3905 argument. Prohibit opening curly brace because it could only be a
3906 block opener in that position.
daddb3fd
DH
3907 (ruby-smie--forward-token, ruby-smie--backward-token):
3908 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3909 arguments.
3910 (ruby-smie--indent-to-stmt): New function, seeks the end of
3911 previous statement or beginning of buffer.
3912 (ruby-smie-rules): Use it.
3913 (ruby-smie-rules): Check if there's a ":" before a curly block
3914 opener candidate; if there is, it's a hash.
3915
3220d527
SM
39162013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3917
3918 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3919 (cl--block-wrapper): Fix last accidental change.
3920
1eb1f9e0
MA
39212013-11-07 Michael Albinus <michael.albinus@gmx.de>
3922
3923 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3924 Instrument, in order to hunt failure on hydra.
3925
e6e4db3c
NT
39262013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3927
3928 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3929 malformed bindings form (bug#15814).
3930
b420ccfc
DG
39312013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3932
3933 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3934 "." compared to " @ ". This incidentally fixes some indentation
3935 examples with "do".
e6e4db3c 3936 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3937 (ruby-smie-grammar): New tokens: "and" and "or".
3938 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3939 Exclude "and" and "or". Remove "do" in order to work around token
3940 priorities.
3941 (ruby-smie-rules): Add all infix tokens. Handle the case of
3942 beginning-of-buffer.
b420ccfc 3943
6b4ac03e
GM
39442013-11-06 Glenn Morris <rgm@gnu.org>
3945
3946 * Makefile.in (setwins_almost, setwins_for_subdirs):
3947 Avoid accidental matches.
3948
5ca114d1
SM
39492013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * menu-bar.el (popup-menu): Use key-binding.
3952
f72552bd
EZ
39532013-11-06 Eli Zaretskii <eliz@gnu.org>
3954
3955 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3956 menus, support also the menus produced by minor modes.
3957 (Bug#15817)
3958
5d5c701e
LL
39592013-11-06 Leo Liu <sdl.web@gmail.com>
3960
3961 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3962 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3963
0a8b75e2
GM
39642013-11-06 Glenn Morris <rgm@gnu.org>
3965
3966 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3967 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3968 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3969
a35287ea
SM
39702013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3971
feca4e2d
SM
3972 * electric.el (electric-indent-just-newline): New command.
3973 (electric-indent-mode-map): New keymap.
3974 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3975 Re-add :group which weren't redundant.
3976
a35287ea
SM
3977 * electric.el (electric-indent-local-mode): New minor mode.
3978 (electric-indent-functions-without-reindent): New var.
3979 (electric-indent-post-self-insert-function): Use it.
3980 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3981
375761b2
EZ
39822013-11-05 Eli Zaretskii <eliz@gnu.org>
3983
9a6ad735
EZ
3984 * international/quail.el (quail-help): Be more explicit about the
3985 meaning of the labels shown on the keys. (Bug#15800)
3986
375761b2
EZ
3987 * startup.el (normal-top-level): Load the subdirs.el files before
3988 setting the locale environment. (Bug#15805)
3989
520a6e4a
SM
39902013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3991
0acfafef
SM
3992 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3993 via arguments so as to get the right ones (bug#15418).
3994
520a6e4a
SM
3995 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3996
15826261
MA
39972013-11-05 Michael Albinus <michael.albinus@gmx.de>
3998
3999 Fix problems found while writing a test suite.
4000
4001 * net/tramp-compat.el (tramp-compat-load): New defun.
4002 * net/tramp.el (tramp-handle-load): Use it.
4003
4004 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4005 "(numberp ok-if-already-exists)" correctly.
4006
d35f31a4
XF
40072013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4008
4009 * international/characters.el (glyphless-char-display-control):
4010 Add usage note.
4011
ae93bc74
BB
40122013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4013
520a6e4a
SM
4014 * progmodes/python.el (python-mode):
4015 * progmodes/scheme.el (scheme-mode):
4016 * progmodes/prolog.el (prolog-mode):
4017 * progmodes/ruby-mode.el (ruby-mode):
4018 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4019 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 4020
0ade65b5
SM
40212013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4022
a0d5f7a4
SM
4023 * rect.el (rectangle--highlight-for-redisplay):
4024 * emacs-lisp/smie.el (smie--next-indent-change):
4025 Use buffer-chars-modified-tick.
4026
c93f3f5c
SM
4027 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4028
0ade65b5
SM
4029 * electric.el (electric-indent-post-self-insert-function):
4030 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4031
ef9dd188
HE
40322013-11-04 Helmut Eller <eller.helmut@gmail.com>
4033
4034 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4035
306e7308
NT
40362013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4037
4038 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4039 (bug#15786).
4040
e5afbcac
SM
40412013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4042
1d01ad41
SM
4043 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4044
e5afbcac
SM
4045 * progmodes/python.el: Fix up last change.
4046 (python-shell--save-temp-file): New function.
4047 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4048 `string' comes from the current buffer.
4049 (python-shell-send-string-no-output): Remove `msg' arg.
4050 (python--use-fake-loc): New var.
4051 (python-shell-buffer-substring): Obey it. Try to compensate for the
4052 extra coding line added by python-shell--save-temp-file.
4053 (python-shell-send-region): Use python-shell--save-temp-file and
4054 python-shell-send-file directly. Add `nomain' argument.
4055 (python-shell-send-buffer): Use python-shell-send-region.
4056 (python-electric-pair-string-delimiter): New function.
4057 (python-mode): Use it.
4058
d0065ff1
EZ
40592013-11-04 Eli Zaretskii <eliz@gnu.org>
4060
4061 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4062 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4063 environment and decoding all of the default-directory's to here
4064 from command-line.
4065 (command-line): Decode also argv[0].
4066
4067 * loadup.el: Error out if default-directory is a multibyte string
4068 when we are dumping.
4069
4070 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4071
7397c587
TZ
40722013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4073
4074 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4075 (package-menu--print-info, package-menu--archive-predicate):
4076 Add Archive column to package list.
7397c587 4077
b27cc9fc
MA
40782013-11-04 Michael Albinus <michael.albinus@gmx.de>
4079
4080 Fix problems found while writing a test suite.
4081
4082 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4083 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4084 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4085 to nil when running original file name handler. Otherwise,
4086 there are problems with constructs like "$$FOO".
4087
4088 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4089 for `localname'.
4090
d8c4f18a
BB
40912013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4092
7b530552
BB
4093 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4094
4095 * subr.el (version<, version<=, version=):
4096 Update docstrings with information for snapshot versions.
4097
d8c4f18a
BB
4098 * helpers.el: New library for misc helper functions.
4099 (hash-table-keys): New function returning a list of hash keys.
4100 (hash-table-values): New function returning a list of hash values.
4101
dca01b09
DG
41022013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4103
4104 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4105 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4106
0a749fa0
MN
41072013-11-04 Michal Nazarewicz <mina86@mina86.com>
4108
4109 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4110 checking whether point is after a 1-letter word.
4111
41122013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4113
4114 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4115 Don't infloop when expanding region over `multiline' syntax-type that
4116 begins a line (bug#15778).
4117
4aca7145
SM
41182013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4121 Make it into a proper minor mode.
4122 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4123 (rectangle-mark-mode-map): New keymap.
4124 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4125
a0833f62
GM
41262013-11-04 Glenn Morris <rgm@gnu.org>
4127
4128 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4129
e61845c1
SM
41302013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4131
4132 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4133 (ruby-smie-rules): Use smie-rule-parent instead.
4134
4135 * emacs-lisp/smie.el (smie-rule-parent): Always call
4136 smie-indent-virtual rather than only for hanging tokens.
4137 (smie--next-indent-change): New helper command.
4138
62942f89
GM
41392013-11-03 Glenn Morris <rgm@gnu.org>
4140
4141 * Makefile.in (abs_srcdir): Remove.
4142 (emacs): Unset EMACSLOADPATH.
4143
b0b9e592
GM
41442013-11-02 Glenn Morris <rgm@gnu.org>
4145
18ba6a33 4146 * Makefile.in (EMACS): Use a relative filename.
8061810d 4147 (abs_top_builddir): Remove.
18ba6a33
GM
4148 (custom-deps, finder-data, autoloads): Use --chdir.
4149
6a8b929e
GM
4150 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4151
c617f3d0
GM
4152 Use relative filenames in TAGS files.
4153 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4154 (lisptagsfiles4, TAGS): Use relative file names.
4155 (TAGS-LISP): Remove.
4156 (maintainer-clean): No more TAGS-LISP file.
4157
b0b9e592
GM
4158 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4159 (lisptagsfiles4): Use absolute filenames again.
4160 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4161 Remove all *loaddefs files, not just the first. Remove esh-groups.
4162 (maintainer-clean): Delete TAGS, TAGS-LISP.
4163
d1c0ea6a
BB
41642013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4165
e61845c1
SM
4166 * emacs-lisp/package.el (package-version-join):
4167 Recognize snapshot versions.
d1c0ea6a 4168
684d71c6
BB
41692013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4170
4171 * subr.el (version-regexp-alist): Add support for snapshot versions.
4172
3d42b968
DG
41732013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4174
e61845c1
SM
4175 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4176 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4177 skip over our direct parent if it's an assignment token..
4178 (ruby-smie-rules): Use it.
4179
7ffd3721
DG
41802013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4181
8449dd1f 4182 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4183 unconditionally. Remove now unnecessary forward declarations.
4184 Remove XEmacs-specific setup.
4185 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4186 (ruby-font-lock-syntactic-keywords)
4187 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4188 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4189 (ruby-here-doc-end-syntax): Remove.
4190 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4191 defined as function.
4192
a3996a2e
BB
41932013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4194
4195 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4196
6f9260e8
BB
41972013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4198
4199 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4200 table and abbrev table, `define-derived-mode' does that for us
4201 anyway.
4202
6014de84
GM
42032013-11-01 Glenn Morris <rgm@gnu.org>
4204
4205 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4206 files is atomic for some time, so no parallel compilation issues).
4207
3c334c14
JD
42082013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4209
4210 * faces.el (face-x-resources): Add :distant-foreground.
4211 (region): Use :distant-foreground for gtk and ns.
4212
9bc236c8
TH
42132013-11-01 Tassilo Horn <tsdh@gnu.org>
4214
5246583b 4215 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4216 BibTeX.
4217 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4218 (reftex-locate-bibliography-files): Us it.
4219
d14c81ee
CB
42202013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4221
0e7690de
CB
4222 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4223 allow comments in pbm files.
4224
d14c81ee
CB
4225 * term/w32-win.el (dynamic-library-alist): Support newer versions
4226 of libjpeg starting with v7: look only for the DLL from the
4227 version against which Emacs was built.
ac1bf374 4228 Support versions of libpng beyond 1.4.x.
019c8218 4229 Support libtiff v4.x.
d14c81ee 4230
983d0df5
BB
42312013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4232
4233 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4234 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4235 Add property :safe.
4236 (ruby-deep-arglist): Add property :type.
4237
47f58d85
GM
42382013-10-31 Glenn Morris <rgm@gnu.org>
4239
4240 * Makefile.in (custom-deps, finder-data): No need to setq the target
4241 variables, we are in the right directory and the defaults work fine.
4242
4f85b479
GM
42432013-10-30 Glenn Morris <rgm@gnu.org>
4244
ca7dd4cd
GM
4245 * Makefile.in (autoloads): Do not use abs_lisp.
4246
4f85b479
GM
4247 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4248 `newline' does not respect `standard-output', so use `princ'.
4249
cf59e41c
AA
42502013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4251
4252 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4253 * buff-menu.el (Buffer-menu--unmark): New function.
4254 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4255
74cf04fb
GM
42562013-10-30 Glenn Morris <rgm@gnu.org>
4257
b040b60e
GM
4258 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4259
f53d3815
GM
4260 * emacs-lisp/package.el (lm-homepage): Declare.
4261
5413d873
GM
4262 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4263 Fix doc typos.
4264
cecedb36
GM
4265 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4266
74cf04fb
GM
4267 * Makefile.in (finder-data, autoloads, update-subdirs)
4268 (compile-main, compile-clean, compile-always, bootstrap-clean):
4269 Check return value of cd.
4270 (compile-calc): Remove.
4271
195ee2f0
SM
42722013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4273
ae4002ce
SM
4274 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4275
4276 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4277 (byte-compile-and-folded): New function.
4278 (=, <, >, <=, >=): Use it.
4279
4280 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4281 (path-separator, null-device, buffer-file-coding-system)
4282 (lpr-headers-switches): Check system-type before modifying them.
4283 (find-buffer-file-type-coding-system): Mark obsolete.
4284 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4285 find-file-not-found-set-buffer-file-coding-system.
4286 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4287 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4288 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4289 (w32-direct-print-region-helper, w32-direct-print-region-function)
4290 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4291 * startup.el (normal-top-level-add-subdirs-to-load-path):
4292 * ps-print.el (ps-print-region-function):
4293 * lpr.el (print-region-function): Use new name.
4294
53b39e89
SM
4295 * subr.el (custom-declare-variable-early): Remove function.
4296 (custom-declare-variable-list): Remove var.
4297 (error, user-error): Remove `while' loop.
4298 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4299 (user-emacs-directory-warning, locate-user-emacs-file):
4300 Move to files.el.
4301 * simple.el (read-quoted-char-radix, read-quoted-char):
4302 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4303 Move from subr.el.
4304 * custom.el (custom-declare-variable-list): Don't process
4305 custom-declare-variable-list.
4306
195ee2f0
SM
4307 * progmodes/python.el (python-shell-get-buffer): New function.
4308 (python-shell-get-process): Use it.
4309 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4310 Python which encoding was used. Don't split-string since we only care
4311 about the first line. Return the temp-file, if applicable.
4312 (python-shell-send-region): Tell compile.el how to turn locations in
4313 the temp-file into locations in the source buffer.
4314
7e3561ee
SM
43152013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4316
4c9797cb
SM
4317 * subr.el (undefined): Add missing behavior from the C code for
4318 unbound keys.
4319
3472b6c6
SM
4320 * rect.el: Use lexical-binding. Add new rectangular region support.
4321 (rectangle-mark): New command.
4322 (rectangle--region): New var.
4323 (deactivate-mark-hook): Reset rectangle--region.
4324 (rectangle--extract-region, rectangle--insert-for-yank)
4325 (rectangle--highlight-for-redisplay)
4326 (rectangle--unhighlight-for-redisplay): New functions.
4327 (region-extract-function, redisplay-unhighlight-region-function)
4328 (redisplay-highlight-region-function): Use them to handle
4329 rectangular region.
4330 * simple.el (region-extract-function): New var.
4331 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4332 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4333 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4334 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4335 (redisplay-unhighlight-region-function)
4336 (redisplay-highlight-region-function): New vars.
4337 (redisplay--update-region-highlight): New function.
4338 (pre-redisplay-function): Use it.
4339 (exchange-point-and-mark): Don't deactivate the mark before
4340 reactivate-it anyway.
4341 * comint.el (comint-kill-region): Remove yank-handler argument.
4342 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4343 (delete-char): Remove property, since it's now part of their
4344 default behavior.
4345 (self-insert-iso): Remove property since this command doesn't exist.
4346
7e3561ee
SM
4347 * emacs-lisp/package.el (package--download-one-archive)
4348 (describe-package-1): Don't query the user about final newline.
4349
b9bef71f
DC
43502013-10-29 Daniel Colascione <dancol@dancol.org>
4351
4352 * net/tramp.el (tramp-methods): Document new functionality.
4353 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4354 tramp-hostname-checker if method provides one instead of scanning
4355 argument list for "%h" to decide hostname acceptability.
4356
4efc33f0
MA
43572013-10-28 Michael Albinus <michael.albinus@gmx.de>
4358
4359 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4360 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4361 Handle COPY-CONTENTS. (Bug#15737)
4362
ed42a877
DU
43632013-10-28 Daiki Ueno <ueno@gnu.org>
4364
4365 * epa-file.el
7e3561ee
SM
4366 (epa-file-cache-passphrase-for-symmetric-encryption):
4367 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4368
18c9f8a2
XF
43692013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4370
7a4bc7be
XF
4371 * image.el (defimage):
4372 (image-load-path): Doc fixes.
18c9f8a2 4373
b1e8e010
AM
43742013-10-27 Alan Mackenzie <acm@muc.de>
4375
4376 Indent statements in macros following "##" correctly.
7e3561ee
SM
4377 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4378 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4379
73d40d1e 43802013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4381
4382 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4383
c8c605ac
DG
43842013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4385
4386 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4387 after `=' is probably a new expression.
4388
ca7e59d4
RS
43892013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4390
4391 * man.el (man-imenu-title): New option.
4392 (Man-mode-map): Add menu. (Bug#15722)
4393 (Man-mode): Add imenu to menu.
4394
bae91342
DG
43952013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4396
4397 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4398 specific in what the first arg can be: a non-keyword word,
4399 string/regexp/percent literal opener, opening paren, or unary
4400 operator followed directly by word.
4401
eb89dc14
SM
44022013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4405 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4406 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4407 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4408 Remove vars, they do not apply any more.
4409 (prolog-mode-abbrev-table): Remove redundant declaration.
4410 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4411 (prolog-use-smie): Remove.
4412 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4413 supported by prolog-electric-if-then-else-flag.
4414 (prolog-mode-variables, prolog-menu): Use setq-local.
4415 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4416 Remove binding to `Backspace' since this key doesn't exist anyway.
4417 Remove bindings for electric self-inserting keys.
4418 (prog-mode): Assume it's defined.
4419 (prolog-post-self-insert): New function.
4420 (prolog-mode): Use it.
4421 (prolog-indent-line, prolog-indent-level)
4422 (prolog-find-indent-of-matching-paren)
4423 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4424 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4425 (prolog-goto-next-paren, prolog-in-string-or-comment)
4426 (prolog-tokenize, prolog-inside-mline-comment)
4427 (prolog-find-start-of-mline-comment): Remove functions.
4428 (prolog-find-unmatched-paren, prolog-clause-end)
4429 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4430 (prolog-electric--if-then-else): Rename from
4431 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4432 (prolog-tokenize-searchkey): Remove const.
4433 (prolog-clause-info): Use forward-sexp.
4434 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4435 (prolog-electric-if-then-else): Remove commands.
4436 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4437 for use in post-self-insert-hook.
4438 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4439 for use in post-self-insert-hook.
4440 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4441 for use in post-self-insert-hook.
4442 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4443 adapt it for use in post-self-insert-hook.
4444
3dab0a83
MA
44452013-10-25 Michael Albinus <michael.albinus@gmx.de>
4446
4447 * emacs-lisp/ert.el (ert-run-tests-interactively):
4448 Use `completing-read'. (Bug#9756)
4449
fbfd0e1d
EZ
44502013-10-25 Eli Zaretskii <eliz@gnu.org>
4451
4452 * simple.el (line-move): Call line-move-1 instead of
4453 line-move-visual when the current window hscroll is zero, but
4454 temporary-goal-column indicates we will need to hscroll as result
4455 of the movement. (Bug#15712)
4456
963ce636
DG
44572013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4458
4459 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
4460 capitalization. Use :visible instead of :active.
4461 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
4462 commands that are used with SMIE.
4463 (ruby-do-end-to-brace): Insert space after `{'.
4464
a0be396a
JA
44652013-10-25 John Anthony <john@jo.hnanthony.com>
4466
f73754c9
JA
4467 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4468
4469 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 4470
f5bf77df
GM
44712013-10-25 Glenn Morris <rgm@gnu.org>
4472
4473 * vc/vc.el (vc-print-log): Don't use a working revision unless
4474 one was explicitly specified. (Bug#15322)
4475
37241f62
SM
44762013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4477
4478 * subr.el (add-to-list): Preserve return value in compiler-macro
4479 (bug#15692).
4480
6408a65d
RS
44812013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4482
4483 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4484 result. Ask user to retry using '-all' flag. (Bug#15701)
4485
71e3276b
SM
44862013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4487
4488 * emacs-lisp/smie.el: New smie-config system.
4489 (smie-config): New defcustom.
4490 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4491 (smie-config-guess, smie-config-save): New commands.
4492 (smie-config--mode-local, smie-config--buffer-local)
4493 (smie-config--trace, smie-config--modefuns): New vars.
4494 (smie-config--advice, smie-config--mode-hook)
4495 (smie-config--setter, smie-config-local, smie-config--get-trace)
4496 (smie-config--guess-value, smie-config--guess): New functions.
4497 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4498 text properties. Treat "string fence" syntax like string syntax.
4499
4500 * progmodes/sh-script.el (sh-use-smie): Change default.
4501 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4502 (sh-var-value): Simplify by CSE.
4503 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4504 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4505 is used.
4506 (sh-guess-basic-offset): Use cl-incf.
4507 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4508
60db713e
HE
45092013-10-24 Helmut Eller <eller.helmut@gmail.com>
4510
4511 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4512 (bug#15699).
4513
8b251df6
GM
45142013-10-24 Glenn Morris <rgm@gnu.org>
4515
4516 * Makefile.in (abs_top_srcdir): Remove.
4517 (update-subdirs): Use relative path to update-subdirs.
4518
6be0e22b
EZ
45192013-10-24 Eli Zaretskii <eliz@gnu.org>
4520
4521 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4522 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4523 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4524 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4525
50b5b857
MA
45262013-10-24 Michael Albinus <michael.albinus@gmx.de>
4527
4528 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4529 (ert-test-skipped): New error.
4530 (ert-skip, ert-stats-skipped): New defuns.
4531 (ert--skip-unless): New macro.
4532 (ert-test-skipped): New struct.
4533 (ert--run-test-debugger, ert-test-result-type-p)
4534 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4535 (ert--stats-set-test-and-result, ert-char-for-test-result)
4536 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4537 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4538 Handle skipped tests. (Bug#9803)
50b5b857 4539
6f317c2f
GM
45402013-10-24 Glenn Morris <rgm@gnu.org>
4541
e43817c1
GM
4542 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4543
6f317c2f
GM
4544 * Makefile.in (abs_top_srcdir): New, set by configure.
4545 (update-subdirs): Correct build-aux location.
4546
369bbf71
DG
45472013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4548
8297b2cf
DG
4549 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4550 value, whether we could auto-deduce `backend', or not.
4551
369bbf71
DG
4552 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4553 with parameters" example. Simplify the "is it block or is it
4554 hash" check, but also make it more thorough.
4555
d5f1282f
MF
45562013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4557
4558 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4559
bc4aaa31
SM
45602013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4561
03d44565
SM
4562 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4563 { if it is hanging.
4564
bc4aaa31
SM
4565 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4566 :before ";".
4567
f493ff19
JB
45682013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4569
4570 * progmodes/compile.el (compilation-directory-matcher)
4571 (compilation-page-delimiter):
4572 Support GNU Make-4.0 directory quoting. (Bug#15678)
4573
c744a3b9
LL
45742013-10-23 Leo Liu <sdl.web@gmail.com>
4575
4576 * ido.el (ido-tidy): Handle read-only text.
4577
b8e3b0a9
GM
45782013-10-23 Glenn Morris <rgm@gnu.org>
4579
4580 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4581 (emacs, compile, compile-always):
4582 Quote entities that might contain whitespace.
4583 (custom-deps, finder-data, autoloads): Use abs_lisp.
4584 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4585 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4586 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4587
ee4282cd
DG
45882013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4589
bc4aaa31
SM
4590 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4591 Use `following-char'.
7790a270 4592
ee4282cd 45932013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4594
4595 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4596 * progmodes/ruby-mode.el (ruby-smie-rules):
4597 Remove corresponding workaround. Fix indentation rule of ";" so it
4598 also applies when ";" is the parent.
4599
d40a46d7
XF
46002013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4601
4602 * frame.el (display-screens, display-pixel-height)
4603 (display-pixel-width, display-mm-width, display-backing-store)
4604 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4605 (display-visual-class, display-monitor-attributes-list):
4606 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4607
a0f143c9
MG
46082013-10-22 Michael Gauland <mikelygee@amuri.net>
4609
4610 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4611 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4612
18cacc39
DG
46132013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4614
4615 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4616 TODO. Add "." after " @ ".
4617 (ruby-smie--at-dot-call): New function. Checks if point at method
4618 call with explicit target.
4619 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4620 to the method name tokens when it precedes them.
4621 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4622 (ruby-smie-rules): Add rule for indentation before and after "."
4623 token.
4624
df74c4be
SM
46252013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4626
c6dab55f
SM
4627 * textmodes/remember.el (remember-diary-extract-entries):
4628 Avoid add-to-list.
4629
df74c4be
SM
4630 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4631 an instruction.
4632
8c1ae481
DG
46332013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4634
e9dc713d
JB
4635 * progmodes/ruby-mode.el (ruby-smie-grammar):
4636 Add (almost) all infix operators.
cfef16c0
DG
4637 (ruby-smie--implicit-semi-p): Add new operator chars.
4638
8c1ae481
DG
4639 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4640 `smie-down-list'.
4641 (ruby-smie--args-separator-p): Check that there's no newline
4642 between method call and its arguments.
4643
87756ca9
AM
46442013-10-20 Alan Mackenzie <acm@muc.de>
4645
4646 Allow comma separated lists after Java "implements".
4647
df74c4be
SM
4648 * progmodes/cc-engine.el (c-backward-over-enum-header):
4649 Parse commas.
87756ca9
AM
4650 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4651 from a "disallowed" list in enum fontification.
4652
c25f8957
JB
46532013-10-20 Johan Bockgård <bojohan@gnu.org>
4654
df74c4be 4655 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4656
c25f8957
JB
4657 * progmodes/verilog-mode.el (verilog-mode): Don't set
4658 comment-indent-function globally.
4659
aca5fcdc
JD
46602013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4661
5f161884
JD
4662 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4663 Move Info menu item creation to ns-win.el.
4664
4665 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4666 in menu bar.
4667
a6c4680a 4668 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4669
4670 * term/ns-win.el (ns-initialize-window-system): ... to here.
4671
914b7f98
SM
46722013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4673
4674 * simple.el (newline): Only run post-self-insert-hook when
4675 called interactively.
4676
846ffe77
JB
46772013-10-19 Johan Bockgård <bojohan@gnu.org>
4678
4679 * icomplete.el (icomplete-with-completion-tables): Add :version.
4680
033f22dd
AM
46812013-10-19 Alan Mackenzie <acm@muc.de>
4682
4683 Fix fontification bugs with constructors and const.
4684
4685 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4686 CASE 2) Remove the check for the absence of a suffix construct
4687 after a function declaration with only types (no identifiers) in
4688 the parentheses. Also, accept a function declaration with just a
4689 type inside the parentheses, if this type can be positively
4690 recognised as such, or if a prefix keyword like "explicit" nails
4691 down the construct as a declaration.
4692
58ce0cfc
EZ
46932013-10-19 Eli Zaretskii <eliz@gnu.org>
4694
4695 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4696 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4697 the problem whereby selecting a menu item that leads to a
4698 minibuffer prompt moves the cursor out of the minibuffer window,
4699 making it hard to type at the prompt. Suggested by Stefan Monnier
4700 <monnier@iro.umontreal.ca>.
4701
50e28e7d
JD
47022013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4703
4704 * menu-bar.el: Don't make Services menu.
4705
7deed4bf
RS
47062013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4707
4708 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4709 (ffap-alist): Use ffap-c++-mode for c++-mode.
4710 (ffap-c++-path): New variable.
4711 (ffap-c++-mode): New function.
4712
7bcb455b
JVJ
47132013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4714
4715 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4716
f0ff1cd5
MA
47172013-10-18 Michael Albinus <michael.albinus@gmx.de>
4718
4719 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4720 introduced on 2013-09-08, which results in an infinite loop
4721 requesting a password.
4722
d64da4b7
GM
47232013-10-18 Glenn Morris <rgm@gnu.org>
4724
4725 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4726
ea89ff08
WS
47272013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4728
4729 Sync with upstream verilog-mode revision 1a6ecec7.
4730 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4731 (verilog-mode-release-date): Remove.
4732 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4733 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4734 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4735 (verilog-auto-tieoff-ignore-regexp)
4736 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4737 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4738 (verilog-signals-with, verilog-dir-cache-preserving)
4739 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4740 Doc fixes.
4741 (verilog-case-fold): New option, to control case folding in
4742 regexp searches, bug597.
4743 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4744 (verilog-string-match-fold, verilog-in-paren-count)
4745 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4746 (verilog-at-close-struct-p): New functions.
4747 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4748 (verilog-forward-sexp, verilog-set-auto-endcomments):
4749 (verilog-leap-to-case-head): Handle "unique0" case.
4750 (verilog-in-constraint-re): New constant.
4751 (verilog-keywords, verilog-type-font-keywords):
4752 Add some SystemVerilog 1800-2012 keywords.
4753 (verilog-label-be): Remove unimplemented argument, bug669.
4754 (verilog-batch-execute-func): When batch expanding clear
4755 create-lockfiles to prevent spurious user locks when a file ends
4756 up not changing.
4757 (verilog-calculate-indent, verilog-calc-1)
4758 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4759 (verilog-do-indent): Fix indentation of nested constraints
4760 and structures.
4761 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4762 (verilog-auto-inst-param): Use verilog-string-match-fold.
4763 (verilog-read-inst-module-matcher):
4764 Fix AUTOINST on gate primitives with #1.
4765 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4766 Reads all user-defined typed variables.
4767 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4768 (verilog-signals-matching-regexp)
4769 (verilog-signals-not-matching-regexp, verilog-auto):
4770 Respect verilog-case-fold.
4771 (verilog-diff-report): Fix line count.
4772 (verilog-auto-assign-modport): Remove unused local `modi'.
4773 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4774 better handle multidimensional arrays.
4775 Fix packed array ports misadding bit index in AUTOINST, bug637.
4776 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4777 to not double-declare existing outputs and inputs, respectively.
4778 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4779 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4780 (verilog-sk-uvm-component): New skeleton.
4781 (verilog-submit-bug-report): Add verilog-case-fold,
4782 remove verilog-mode-release-date.
4783
ef566920
BR
47842013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4785
a12bf61e 4786 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4787 as before.
4788
29df8a0b
RT
47892013-10-18 Reuben Thomas <rrt@sc3d.org>
4790
e0eb0550 4791 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4792 remember buffers (bug#13566).
4793
04a19a79
DC
47942013-10-18 Daniel Colascione <dancol@dancol.org>
4795
4796 When evaluating forms in ielm, direct standard output to ielm
4797 buffer. Add new ielm-return-for-effect command. Remove trailing
4798 whitespace throughout.
4799
4800 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4801 (ielm-return-for-effect): New command.
4802 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4803 (ielm-eval-input): Accept optional `for-effect' parameter.
4804 Bind `standard-output' to stream we create using
04a19a79
DC
4805 `ielm-standard-output-impl'. Suppress printing result when
4806 `for-effect'.
4807 (ielm-standard-output-impl): New function.
4808 (inferior-emacs-lisp-mode): Explain new features in documentation.
4809
4c1f03ef
MA
48102013-10-17 Michael Albinus <michael.albinus@gmx.de>
4811
4812 Code cleanup.
4813
4814 * net/tramp.el (tramp-debug-message): Do not check for connection
4815 buffer.
4816 (tramp-message): Use "vector" connection property.
4817
4818 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4819 (tramp-equal-remote, tramp-eshell-directory-change)
4820 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4821 (tramp-adb-handle-rename-file)
4822 * net/tramp-cmds.el (tramp-list-remote-buffers)
4823 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4824 * net/tramp-compat.el (tramp-compat-process-running-p)
4825 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4826 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4827 (tramp-gvfs-handle-rename-file)
4828 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4829 (tramp-set-file-uid-gid)
4830 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4831 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4832 of `file-remote-p'.
4833
4834 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4835 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4836 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4837 (tramp-gw-open-network-stream): Suppress unrelated traces.
4838
4839 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4840 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4841 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4842 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4843 connection property.
4844
4845 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4846 persistency file.
4c1f03ef
MA
4847
4848 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4849 Refactor common code. Improve debug message.
4850 (tramp-maybe-open-connection)
4851 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4852 connection buffer too early.
4853
4854 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4855 from `tramp-smb-actions-with-acl'.
4856 (tramp-smb-actions-set-acl): New defconst.
4857 (tramp-smb-handle-copy-directory)
4858 (tramp-smb-action-get-acl): New defun, renamed from
4859 `tramp-smb-action-with-acl'.
4860 (tramp-smb-action-set-acl): New defun.
4861 (tramp-smb-handle-set-file-acl): Rewrite.
4862
642eb8b6
GM
48632013-10-17 Glenn Morris <rgm@gnu.org>
4864
4865 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4866
85527ff3
SM
48672013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4868
921c1d62
SM
4869 * skeleton.el (skeleton-newline): Remove.
4870 (skeleton-internal-1): Use (insert "\n") instead.
4871
e333fb10
SM
4872 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4873 let-bindings.
4874
85527ff3
SM
4875 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4876 forward-sexp-function while we redo its job (bug#15613).
4877
c8722a97
JB
48782013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4879
4880 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4881 represented by lists.
4882
7a550bbb
GM
48832013-10-16 Glenn Morris <rgm@gnu.org>
4884
4885 * tmm.el (tmm--history): New dynamic variable.
4886 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4887
f19da8ad
MA
48882013-10-16 Michael Albinus <michael.albinus@gmx.de>
4889
4890 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4891 (tramp-smb-errors): Add error messages.
4892 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 4893 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
4894 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4895 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4896 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4897 (tramp-smb-get-stat-capability): Fix tests.
4898
a24b9961
DK
48992013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4900
4901 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4902 (bug#15580).
4903
62ad85e6
GM
49042013-10-16 Glenn Morris <rgm@gnu.org>
4905
0283d6b0
GM
4906 * ansi-color.el (ansi-color-drop-regexp):
4907 Add 1J, 1K, 2K. (Bug#15617)
4908
012e2f9f
GM
4909 * files.el (hack-local-variables--warned-lexical): New.
4910 (hack-local-variables):
4911 Warn about misplaced lexical-binding. (Bug#15616)
4912
62ad85e6
GM
4913 * net/eww.el (eww-render): Always set eww-current-url,
4914 and update header line. (Bug#15622)
4915 (eww-display-html): ... Rather than just doing it here.
4916
6456c0ea
EZ
49172013-10-15 Eli Zaretskii <eliz@gnu.org>
4918
4919 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4920 menu navigations commands.
4921
c2de5588
DK
49222013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4923
4924 * progmodes/subword.el (subword-capitalize): Be careful when
4925 the search for [[:alpha:]] fails (bug#15580).
4926
ccd4a783
EZ
49272013-10-14 Eli Zaretskii <eliz@gnu.org>
4928
4929 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4930 to commands that scroll the menu.
4931
1eda1d8d
DG
49322013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4933
c2de5588
DK
4934 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4935 Handle methods ending with `?' and `!'.
1eda1d8d 4936
e70181b8
AM
49372013-10-14 Akinori MUSHA <knu@iDaemons.org>
4938
4939 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4940 `japanese-cp932' to `cp932' to fix the problem where saving a
4941 source file written in Shift_JIS twice would end up having
4942 `coding: japanese-cp932' which Ruby could not recognize.
4943 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4944 in `ruby-encoding-map'.
4945 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4946 doesn't need to be explicitly declared in magic comment.
4947 (ruby-encoding-map): Add type declaration for better customize UI.
4948
9148ee92
GM
49492013-10-13 Glenn Morris <rgm@gnu.org>
4950
a5d38e34
GM
4951 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4952 Occur buffers are read-only. http://bugs.debian.org/720775
4953
9148ee92
GM
4954 * emacs-lisp/authors.el (authors-fixed-entries):
4955 Comment out old alpha stuff.
4956
a9ba094b
DG
49572013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4958
4959 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4960 to `after-save-hook' instead of `before-save-hook'.
4961 (ruby-mode-set-encoding): Use the value of coding system used to
4962 write the file. Call `basic-save-buffer-1' after modifying the
4963 buffer.
4964
7a068717
AM
49652013-10-13 Alan Mackenzie <acm@muc.de>
4966
4967 Fix indentation/fontification of Java enum with
4968 "implements"/generic.
4969
c2de5588
DK
4970 * progmodes/cc-engine.el (c-backward-over-enum-header):
4971 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4972 (c-inside-bracelist-p): Uses new function above.
4973 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4974 function above.
4975 (c-font-lock-enum-tail): Uses new function above.
4976
85b64f02
KH
49772013-10-13 Kenichi Handa <handa@gnu.org>
4978
4979 * international/mule-cmds.el (select-safe-coding-system): Remove a
4980 superfluous condition in chekcing whether a coding system is safe
4981 or not.
4982
fc7f501b
OK
49832013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4984
4985 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4986
fdcb2049
AP
49872013-10-13 Andreas Politz <politza@hochschule-trier.de>
4988
4989 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4990
8c106d17
GM
49912013-10-13 Glenn Morris <rgm@gnu.org>
4992
feab892d
GM
4993 * menu-bar.el (menu-bar-update-buffers):
4994 Unify Buffers menu prompt string. (Bug#15576)
4995
b22d0686
GM
4996 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4997
8c106d17
GM
4998 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4999 Add some entries.
5000 (authors-fixed-entries): Use accented form of name.
5001
1b12c797
SM
50022013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5003
650fa7bf 5004 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 5005 method calls (bug#15594).
650fa7bf
SM
5006 (ruby-smie--args-separator-p): New function.
5007 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5008 recognize paren-free method calls.
5009
1b12c797
SM
5010 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5011 internals of universal-argument.
5012
029619c8
EZ
50132013-10-11 Eli Zaretskii <eliz@gnu.org>
5014
5015 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
5016 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5017 dropped menu on second mouse click on the menu bar.
029619c8 5018
dd070019
SM
50192013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5022 (explicit-shell-file-name): Declare.
5023 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5024 (sh-completion-at-point-function): New function.
5025 (sh-mode): Use it.
5026 (sh-smie--keyword-p): Remove unused argument.
5027 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5028 vars.
5029 (sh-set-shell): Always setup SMIE, even if we use the
5030 old indentation code.
5031
0922b826
DG
50322013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5033
b68e2926
DG
5034 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5035 cases of ? and =.
5036 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5037 predicate would return nil are almost non-existent.
5038 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5039
0922b826
DG
5040 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5041 cache also after commands that modify the buffer but don't move
5042 point.
5043
ee041f2d
SM
50442013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5045
5046 * env.el (substitute-env-in-file-name): New function.
5047 (substitute-env-vars): Extend the meaning of the optional arg.
5048
a5dab159
EZ
50492013-10-10 Eli Zaretskii <eliz@gnu.org>
5050
5051 * term/w32-win.el (dynamic-library-alist): Define separate lists
5052 of GIF DLLs for versions before and after 5.0.0 of giflib.
5053 (Bug#15531)
5054
0449d6cd 50552013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
5056
5057 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5058 not locked, use last revision and current source as
5059 defaults. (Bug#15569)
5060
2f6e161e
MY
50612013-10-10 Masatake YAMATO <yamato@redhat.com>
5062
5063 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5064 menu-bar is hidden.
5065
6c8413fc
MR
50662013-10-10 Martin Rudalics <rudalics@gmx.at>
5067
5068 * window.el (pop-to-buffer-same-window): Fix doc-string.
5069 (Bug#15492)
5070
20832de0
SM
50712013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5072
5073 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5074
c6e8ae77
AC
50752013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5076
5077 * calendar/icalendar.el (icalendar-import-file):
5078 Fix interactive spec. (Bug#15482)
5079
9db13baf
GM
50802013-10-10 Glenn Morris <rgm@gnu.org>
5081
9271e90e
GM
5082 * desktop.el (desktop-save): Default to saving in .emacs.d,
5083 since PWD is no longer in desktop-path by default. (Bug#15319)
5084
9db13baf
GM
5085 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5086 now that text mode has a menu with the same entry.
5087 (menu-bar-text-mode-auto-fill): Remove now unused func.
5088 * textmodes/text-mode.el (text-mode-map):
5089 Use auto-fill help text from menu-bar.el.
5090
a0be396a 50912013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5092
5093 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5094
2edcd3c7
JL
50952013-10-09 Juri Linkov <juri@jurta.org>
5096
5097 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5098 instead of this-command-keys. Add universal-argument-more and
5099 universal-argument-minus to the list of prefix commands. (Bug#15568)
5100
574411d0
GM
51012013-10-09 Glenn Morris <rgm@gnu.org>
5102
14afa541
GM
5103 * vc/vc-svn.el (vc-svn-create-repo):
5104 Expand paths in file://... url. (Bug#15446)
5105
574411d0
GM
5106 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5107 Add some entries.
5108 (authors): Remove unused local variables.
5109
79804536
SM
51102013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5111
5112 * profiler.el: Create a more coherent calltree from partial backtraces.
5113 (profiler-format): Hide the tail with `invisible' so that C-s can still
5114 find the hidden elements.
5115 (profiler-calltree-depth): Don't recurse so enthusiastically.
5116 (profiler-function-equal): New hash-table-test.
5117 (profiler-calltree-build-unified): New function.
5118 (profiler-calltree-build): Use it.
5119 (profiler-report-make-name-part): Indent the calltree less.
5120 (profiler-report-mode): Add visibility specs for profiler-format.
5121 (profiler-report-expand-entry, profiler-report-toggle-entry):
5122 Expand the whole subtree when provided with a prefix arg.
5123
238150c8
DG
51242013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5125
5126 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5127 iuwu-mod token.
5128 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5129 hanging iuwu-mod token.
5130 (ruby-smie--forward-token): Do not include a dot after a token in
5131 that token.
5132 (ruby-smie--backward-token): Likewise.
5133
b0949cc4
JL
51342013-10-08 Juri Linkov <juri@jurta.org>
5135
5136 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5137 to isearch-other-control-char.
5138 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5139 and isearch-post-command-hook to post-command-hook.
5140 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5141 and isearch-post-command-hook from post-command-hook.
5142 (isearch-unread-key-sequence)
5143 (isearch-reread-key-sequence-naturally)
5144 (isearch-lookup-scroll-key, isearch-other-control-char)
5145 (isearch-other-meta-char): Remove functions.
5146 (isearch-pre-command-hook, isearch-post-command-hook):
5147 New functions based on isearch-other-meta-char rewritten
5148 relying on the new behavior of overriding-terminal-local-map
5149 that does not replace the local keymaps any more. (Bug#15200)
5150
4ed77415
EZ
51512013-10-08 Eli Zaretskii <eliz@gnu.org>
5152
5153 Support menus on text-mode terminals.
5154 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5155 functionality.
5156
5157 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5158
c2de5588
DK
5159 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5160 Move here from mouse.el.
4ed77415
EZ
5161 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5162 and arrow keys.
5163 (tty-menu-navigation-map): New map for TTY menu navigation.
5164
5165 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5166
5167 * frame.el (display-mouse-p): Report text-mode mouse as available
5168 on w32.
5169 (display-popup-menus-p): Report availability if mouse is
5170 available; don't condition on window-system.
5171
5172 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5173 (tty-menu-selected-face): New faces.
5174
b7d5bd82
TL
51752013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5176
06286513
SM
5177 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5178 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5179 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5180 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5181 New constants.
5182 (lisp-mode-variables): New `elisp' argument.
5183 (emacs-lisp-mode): Use it.
5184 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5185 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5186
b7d5bd82
TL
5187 * indent.el: Use lexical-binding.
5188 (indent-region): Add progress reporter.
5189 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5190 last step.
5191 (indent--next-tab-stop): New function to implement this behavior.
5192 (tab-to-tab-stop, move-to-tab-stop): Use it.
5193
51942013-10-08 Teemu Likonen <tlikonen@iki.fi>
5195
5196 * indent.el (indent-rigidly--current-indentation): New function.
5197 (indent-rigidly-map): New var.
5198 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5199
5ea75d23
BG
52002013-10-08 Bastien Guerry <bzg@gnu.org>
5201
f2726fa2 5202 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5203
cc5da1ec
SM
52042013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5205
8ffa1a0b
SM
5206 * progmodes/perl-mode.el: Use lexical-binding.
5207 Remove redundant :group args.
5208 (perl-nochange): Change default to be closer to other major modes's
5209 standard behavior.
5210 (perl-indent-line): Don't consider text on current line as a
5211 valid beginning of function from which to indent.
5212
f2223371
SM
5213 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5214 with more than one argument (bug#15538).
5215
44256060
SM
5216 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5217
cc5da1ec
SM
5218 * vc/pcvs.el: Use lexical-binding.
5219 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5220 environment of `eval'.
5221 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5222 than a list of expressions. Adjust callers.
5223 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5224
0ea1599d
DG
52252013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5226
5227 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5228 case of the dot in a chained method call being on the following line.
0ea1599d 5229
da3e5ebb
SM
52302013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5231
2abb4e65
SM
5232 * electric.el (electric-indent-inhibit): New var.
5233 (electric-indent-post-self-insert-function): Use it.
5234 * progmodes/python.el (python-mode): Set it.
5235
d2e0e795
SM
5236 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5237 open braces.
5238
5239 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5240
bdc6b4c8
SM
5241 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5242 (css-mode): Use electric-indent-chars.
5243
da3e5ebb
SM
5244 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5245 (font-lock-beg, font-lock-end): Move before first use.
5246 (nxml-mode): Use syntax-propertize-function.
5247 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5248 (nxml-extend-after-change-region): Remove.
5249 * nxml/xmltok.el: Use lexical-binding.
5250 (xmltok-save): Use `declare'.
5251 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5252 * nxml/nxml-util.el: Use lexical-binding.
5253 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5254 Use `declare'.
5255 * nxml/nxml-ns.el: Use lexical-binding.
5256 (nxml-ns-save): Use `declare'.
5257 (nxml-ns-prefixes-for): Avoid add-to-list.
5258 * nxml/rng-match.el: Use lexical-binding.
5259 (rng--ipattern): Use cl-defstruct.
5260 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5261 (rng-cons-group-after, rng-subst-group-after)
5262 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5263 Use closures instead of `(lambda...).
5264
f8f91d5d
MA
52652013-10-07 Michael Albinus <michael.albinus@gmx.de>
5266
5267 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5268 of BEG and END.
5269
da3e5ebb
SM
5270 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5271 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5272 (tramp-gvfs-handle-insert-file-contents): Remove function.
5273
da3e5ebb
SM
5274 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5275 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5276
5277 * net/trampver.el: Update release number.
5278
7ccae3b1
SM
52792013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5280
55ca2c0d
SM
5281 * progmodes/compile.el (compilation-parse-errors):
5282 Use compilation--put-prop.
5283 (compilation--ensure-parse): Check compilation-multiline.
5284
731fc3ae
SM
5285 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5286
da3e5ebb
SM
5287 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5288 lexical-binding.
a5833280 5289
2e7ba2c2
SM
5290 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5291
7ccae3b1
SM
5292 * progmodes/ruby-mode.el: Fix recently added tests.
5293 (ruby-smie-grammar): Add - and +.
5294 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5295 (ruby-smie--backward-id): New functions.
5296 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5297 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5298 any more.
5299
85698d63
LL
53002013-10-07 Leo Liu <sdl.web@gmail.com>
5301
5302 * register.el (register-preview-delay)
5303 (register-preview-functions): New variables.
5304 (register-read-with-preview, register-preview)
5305 (register-describe-oneline): New functions.
5306 (point-to-register, window-configuration-to-register)
5307 (frame-configuration-to-register, jump-to-register)
5308 (number-to-register, view-register, insert-register)
5309 (copy-to-register, append-to-register, prepend-to-register)
5310 (copy-rectangle-to-register): Use register-read-with-preview to
5311 read register. (Bug#15525)
5312
3986af6c
DS
53132013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5314
5315 * net/network-stream.el (network-stream-open-starttls): Don't add
5316 --insecure if it's already present, because that gnutls-cli
5317 rejects getting that parameter twice.
5318
5cd9cda9
DG
53192013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5320
5321 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5322 keyword, too.
5323
da9ea6d9
DG
53242013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5325
5326 * newcomment.el (comment-use-global-state): Change default value
5327 to t, mark obsolete (Bug#15251).
5328 (comment-beginning): In addition to `comment-to-syntax', check the
5329 value of `comment-use-global-state'.
5330
34d1a133
SM
53312013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5334 (ruby-comment-column): Follow the global default, by default.
5335 (ruby-smie-grammar): Add assignment syntax.
5336 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5337 open-paren, a comma, or a \.
5338 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5339 and line continuations.
5340 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5341 followed by implicit semi-colons. Add rule for string concatenation
5342 and for indentation at BOB.
5343 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5344
5345 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5346 calling next-sexp, since next-token may have skipped chars which
5347 next-sexp doesn't know should be skipped!
5348
6f6ab820
LL
53492013-10-05 Leo Liu <sdl.web@gmail.com>
5350
34d1a133
SM
5351 * progmodes/octave.el (octave-send-region):
5352 Call compilation-forget-errors.
6f6ab820 5353
34ca0f4c
XF
53542013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5355
5356 * vc/vc-svn.el (vc-svn-find-admin-dir):
5357 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5358 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5359 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5360 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5361
a27c1b72
SM
53622013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5365
258ab3bc
SM
53662013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * subr.el (read-passwd): Hide chars even when called within a context
5369 where after-change-functions is disabled (bug#15501).
5370 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5371 until we removed ourself from overriding-terminal-local-map.
5372
939fb29c
LL
53732013-10-04 Leo Liu <sdl.web@gmail.com>
5374
258ab3bc
SM
5375 * progmodes/octave.el (inferior-octave-mode):
5376 Call compilation-forget-errors.
939fb29c 5377
63bd7f35
XF
53782013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5379
5380 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5381
9e6229fa
MA
53822013-10-04 Michael Albinus <michael.albinus@gmx.de>
5383
5384 * net/secrets.el (secrets-create-collection): Add optional
5385 argument ALIAS. Use proper Label keyword. Append ALIAS as
5386 dbus-call-method argument. (Bug#15516)
5387
1dab32a3
LL
53882013-10-04 Leo Liu <sdl.web@gmail.com>
5389
5390 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5391 (inferior-octave-compilation-font-lock-keywords): New variables.
5392 (compilation-error-regexp-alist)
5393 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5394 (inferior-octave-mode): Use compilation-shell-minor-mode.
5395
6cad7ba3
JS
53962013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5397
5398 * minibuffer.el (completion--replace): Be careful that `end' might be
5399 a marker.
5400
acbadd00
DU
54012013-10-03 Daiki Ueno <ueno@gnu.org>
5402
5403 Add support for package signature checking.
5404 * emacs-lisp/package.el (url-http-file-exists-p)
5405 (epg-make-context, epg-context-set-home-directory)
5406 (epg-verify-string, epg-context-result-for)
5407 (epg-signature-status, epg-signature-to-string)
5408 (epg-check-configuration, epg-configuration)
5409 (epg-import-keys-from-file): Declare.
5410 (package-check-signature): New user option.
5411 (package-unsigned-archives): New user option.
5412 (package-desc): Add `signed' field.
5413 (package-load-descriptor): Set `signed' field if .signed file exists.
5414 (package--archive-file-exists-p): New function.
5415 (package--check-signature): New function.
5416 (package-install-from-archive): Check package signature.
5417 (package--download-one-archive): Check archive signature.
5418 (package-delete): Remove .signed file.
5419 (package-import-keyring): New command.
5420 (package-refresh-contents): Import default keyring.
5421 (package-desc-status): Add "unsigned" status.
5422 (describe-package-1, package-menu--print-info)
5423 (package-menu-mark-delete, package-menu--find-upgrades)
5424 (package-menu--status-predicate): Support "unsigned" status.
5425
adf2aa61
SM
54262013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5427
5428 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5429 the new compilation scheme using the new byte-codes.
5430
5431 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5432 (byte-pophandler): New byte codes.
5433 (byte-goto-ops): Adjust accordingly.
5434 (byte-compile--use-old-handlers): New var.
5435 (byte-compile-catch): Use new byte codes depending on
5436 byte-compile--use-old-handlers.
5437 (byte-compile-condition-case--old): Rename from
5438 byte-compile-condition-case.
5439 (byte-compile-condition-case--new): New function.
5440 (byte-compile-condition-case): New function that dispatches depending
5441 on byte-compile--use-old-handlers.
5442 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5443 when we can.
5444
5445 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5446 Optimize under `condition-case' and `catch' if
5447 byte-compile--use-old-handlers is nil.
5448 (disassemble-offset): Handle new bytecodes.
5449
328a8179
SM
54502013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5451
5452 * subr.el (error): Use `declare'.
5453 (decode-char, encode-char): Use advertised-calling-convention instead
5454 of the docstring to discourage use of the `restriction' arg.
5455
15a1e936
DU
54562013-10-03 Daiki Ueno <ueno@gnu.org>
5457
5458 * epg.el (epg-verify-file): Add a comment saying that it does not
5459 notify verification error as a return value nor a signal.
5460 (epg-verify-string): Ditto.
5461
376f862a
KR
54622013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5463
5464 * progmodes/compile.el (compilation-start): Try globbing the arg to
5465 `cd' (bug#15417).
5466
a2f93a5f
MA
54672013-10-02 Michael Albinus <michael.albinus@gmx.de>
5468
5469 Sync with Tramp 2.2.8.
5470
5471 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5472 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5473 * net/trampver.el: Update release number.
5474
0daa0804
JD
54752013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5476
5477 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5478 and default-process-coding-system for darwin only.
5479
abd1ae34
SM
54802013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5481
5482 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5483
be4e325d
MH
54842013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5485
5486 * vc/vc-git.el (vc-git-grep): Disable pager.
5487
e9155c4a
DG
54882013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5489
494e898b
DG
5490 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5491 Use :url instead of :homepage, as per
5492 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5493
e9155c4a
DG
5494 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5495 non-nil, use `syntax-ppss' (Bug#15251).
5496
481a8e0f
RS
54972013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5498
be4e325d
MH
5499 * progmodes/octave.el (inferior-octave-startup-file):
5500 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5501
056453c6
DG
55022013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5503
be4e325d
MH
5504 * emacs-lisp/package.el (package-desc-from-define):
5505 Accept additional arguments as plist, convert them to an alist and store
5506 them in the `extras' slot.
056453c6
DG
5507 (package-generate-description-file): Convert extras alist back to
5508 plist and append to the `define-package' form arguments.
5509 (package--alist-to-plist): New function.
5510 (package--ac-desc): Add `extras' slot.
5511 (package--add-to-archive-contents): Check if the archive-contents
5512 vector is long enough, and if it is, pass its `extras' slot value
5513 to `package-desc-create'.
5514 (package-buffer-info): Call `lm-homepage', pass the returned value
5515 to `package-desc-from-define'.
5516 (describe-package-1): Render the homepage button (Bug#13291).
5517
be4e325d
MH
5518 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5519 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5520
832966e5
JD
55212013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5522
5523 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5524 and default-process-coding-system to utf-8-unix (Bug#15402).
5525
6cfe977d
XF
55262013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5527
5528 * subr.el (looking-back): Do not recommend using looking-back.
5529
38de11bd
AM
55302013-09-28 Alan Mackenzie <acm@muc.de>
5531
5532 Fix indentation/fontification of Java enum with "implements".
5533
5534 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5535 regexp which matches "implements", etc., in Java.
5536 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5537 specifier clauses coming after "enum".
5538 * progmodes/cc-fonts.el (c-font-lock-declarations)
5539 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5540 after "enum".
5541
1610938f
JD
55422013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5543
5544 * faces.el (region): Change ns_selection_color to
5545 ns_selection_fg_color, add ns_selection_bg_color.
5546
e090f499
LL
55472013-09-28 Leo Liu <sdl.web@gmail.com>
5548
4d2e94d1
LL
5549 * progmodes/octave.el (inferior-octave-completion-table)
5550 (inferior-octave-completion-at-point): Minor tweaks.
5551
e090f499
LL
5552 * textmodes/ispell.el (ispell-lookup-words): Rename from
5553 lookup-words. (Bug#15460)
5554 (lookup-words): Obsolete.
5555 (ispell-complete-word, ispell-command-loop): All uses changed.
5556
7e138a62
RS
55572013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5558
a12bf61e 5559 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5560 (octave-mode-menu): Add octave-send-buffer.
5561 (octave-send-buffer): New function.
5562
5af5ed08
RS
55632013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5564
a12bf61e 5565 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5566 octave-lookfor.
5567 (octave-mode-menu): Add octave-lookfor.
5568 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5569 octave-lookfor.
5570 (octave-lookfor): New function.
5571
3b7b2692
SM
55722013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5573
5574 * emacs-lisp/cl-macs.el:
5575 (cl--loop-destr-temps): Remove.
5576 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5577 its convention.
5578 (cl--loop-set-iterator-function): New function.
5579 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5580 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5581 Bind `it' with `let' instead of substituting it with `cl-subst'.
5582 (cl--unused-var-p): New function.
5583 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5584 Eliminate some unused variable warnings (bug#15326).
5585
529fb53f
TH
55862013-09-27 Tassilo Horn <tsdh@gnu.org>
5587
5588 * doc-view.el (doc-view-scale-reset): Rename from
5589 `doc-view-reset-zoom-level'.
5590 (doc-view-scale-adjust): New command.
5591 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5592 `doc-view-scale-adjust'.
5593
0550c95a
TH
55942013-09-26 Tassilo Horn <tsdh@gnu.org>
5595
5596 * doc-view.el (doc-view-reset-zoom-level): New command.
5597 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5598 zoom commands (bug#15466).
5599
6950f152
KH
56002013-09-26 Kenichi Handa <handa@gnu.org>
5601
5602 * international/quail.el (quail-help): Make it not a command.
5603
39587580
LL
56042013-09-26 Leo Liu <sdl.web@gmail.com>
5605
5606 * minibuffer.el (completion-all-sorted-completions): Make args
5607 optional as they are.
5608
00578659
DC
56092013-09-25 Daniel Colascione <dancol@dancol.org>
5610
5611 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5612 specs are and that they're not evaluated.
5613
0c173878
SS
56142013-09-24 Sam Steingold <sds@gnu.org>
5615
5616 * midnight.el (clean-buffer-list-kill-regexps)
5617 (clean-buffer-list-kill-buffer-names): Update for the new Man
5618 buffer naming which includes the object name.
5619
84998447
SM
56202013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5623 (eshell-parse-command, eshell-parse-pipeline): Use it since
5624 eshell-separate-commands requires a dynamic scoped var.
5625 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5626
33215353
LL
56272013-09-23 Leo Liu <sdl.web@gmail.com>
5628
5629 * autoinsert.el (auto-insert-alist): Make the value of
5630 lexical-binding match its file setting.
5631
57b16162
JB
56322013-09-23 Juanma Barranquero <lekktu@gmail.com>
5633
c8af4e67
JB
5634 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5635
57b16162
JB
5636 * autoarg.el (autoarg-kp-digit-argument):
5637 * electric.el (Electric-command-loop):
5638 * kmacro.el (kmacro-step-edit-insert):
5639 Do not set universal-argument-num-events.
5640
7186ba60
LL
56412013-09-22 Leo Liu <sdl.web@gmail.com>
5642
5643 * files.el (interpreter-mode-alist): Add octave.
5644
ece15004
AM
56452013-09-21 Alan Mackenzie <acm@muc.de>
5646
5647 C++: fontify identifier in declaration following "public:" correctly.
5648 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5649 to match "public", etc.
5650 (c-decl-prefix-re): Add ":" into the C++ value.
5651 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5652 bit. Add a check for a ":" preceded by "public", etc.
5653
75d83e22
EZ
56542013-09-21 Eli Zaretskii <eliz@gnu.org>
5655
5656 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5657 recognized by GDB 7.5 and later.
5658
d052d3bd
XF
56592013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5660
5661 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5662
31dca772
R
56632013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * subr.el (internal--call-interactively): New const.
5666 (called-interactively-p): Use it (bug#3984).
5667
98ccf24e
XF
56682013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5669
5670 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5671 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5672 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5673
c39cc7d1
SM
56742013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5677 (eshell-ls-orig-insert-directory): Remove.
5678 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5679 (eshell-ls-use-in-dired): Use advice-add/remove.
5680 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5681 Add `orig-fun' arg for use in :around advice.
5682 Make it check (redundantly) eshell-ls-use-in-dired.
5683
9a0289a2
GM
56842013-09-19 Glenn Morris <rgm@gnu.org>
5685
a2c501b8
GM
5686 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5687
c440407a
GM
5688 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5689
9a0289a2
GM
5690 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5691
85e05915
MA
56922013-09-19 Michael Albinus <michael.albinus@gmx.de>
5693
5694 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5695 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5696 (tramp-get-remote-python): New defuns.
5697 (tramp-get-remote-uid-with-perl)
5698 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5699 contributed by yary <not.com@gmail.com> (tiny change).
5700 (tramp-get-remote-uid-with-python)
5701 (tramp-get-remote-gid-with-python): New defuns. Python code
5702 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5703 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5704
ce503312
GM
57052013-09-19 Glenn Morris <rgm@gnu.org>
5706
f7544773
GM
5707 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5708
72fd2877
GM
5709 * eshell/em-unix.el (eshell-remove-entries):
5710 Rename argument to avoid name-clash with global `top-level'.
5711
336b5a56
GM
5712 * eshell/esh-proc.el (eshell-kill-process-function):
5713 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5714 (eshell-reset-after-proc): Remove unused arg `proc'.
5715
57a3a53d
GM
5716 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5717 (directory-files-and-attributes): Mark unused arg.
5718
3261d4af
GM
5719 * eshell/em-unix.el (eshell-remove-entries):
5720 Remove unused arg `path'. Update callers.
5721
8e51b5d0
GM
5722 * eshell/em-hist.el (eshell-hist-parse-arguments):
5723 Remove unused arg `silent'. Update callers.
5724
ce503312
GM
5725 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5726 Fix (f)boundp mix-up.
5727
5728 * eshell/em-smart.el (eshell-smart-scroll-window)
5729 (eshell-disable-after-change):
336b5a56 5730 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5731
ee3ce8a7
AM
57322013-09-18 Alan Mackenzie <acm@muc.de>
5733
5734 Fix fontification of type when followed by "const".
5735 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5736 "known" types from fontification.
5737
ec9177ba
GM
57382013-09-18 Glenn Morris <rgm@gnu.org>
5739
7bb3e768
GM
5740 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5741 (chart-face-list): Drop Emacsen without display-color-p.
5742
5148da15
GM
5743 * net/eww.el (libxml-parse-html-region): Declare.
5744 (eww-display-html): Explicit error if no libxml2 support.
5745
2f68e157
GM
5746 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5747
9019d095
GM
5748 * image.el (image-type-from-buffer, image-multi-frame-p):
5749 Remove --without-x warning/error.
67645389 5750
5f30349b 5751 * mouse.el (mouse-yank-primary):
45069b2e 5752 * term.el (term-mouse-paste):
5f30349b
GM
5753 Reorder to silence --without-x compilation.
5754
cd8edbbe
GM
5755 * mpc.el (doc-view-mode): Silence --without-x compilation.
5756
8a78544e
GM
5757 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5758 Silence --without-x compilation.
5759
12679bfd
GM
5760 * progmodes/gud.el (gud-find-file, gud-mode):
5761 Silence --without-x compilation.
5762 (tooltip-mode): Declare.
30810a05 5763
f0047cb9
GM
5764 * wdired.el (dired-backup-overwrite): Remove declaration.
5765 (wdired-mode-map): Add doc string.
5766
e740f9d2
GM
5767 * custom.el (x-get-resource): Declare.
5768
92d77c89
GM
5769 * eshell/em-glob.el (ange-cache):
5770 * eshell/em-unix.el (ange-cache): Declare.
5771
76e69577
GM
5772 * faces.el (x-display-list, x-open-connection, x-get-resource):
5773 Declare.
7e58af4b
GM
5774
5775 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5776 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5777 Declare.
76e69577 5778
4bd4c0af 5779 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5780
ffb82dbd
GM
5781 * net/gnutls.el (gnutls-log-level): Declare.
5782
986ed135
GM
5783 * net/shr.el (image-size, image-animate): Declare.
5784
e740f9d2
GM
5785 * simple.el (font-info): Declare.
5786
d2f3e9f8
GM
5787 * subr.el (x-popup-dialog): Declare.
5788
047a1a4c
GM
5789 * term/common-win.el (x-select-enable-primary)
5790 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5791 Declare.
5792
f4a1d572
GM
5793 * term/ns-win.el (x-handle-args): Declare.
5794
e843de77
GM
5795 * term/x-win.el (x-select-enable-clipboard): Declare.
5796
5fa89513
GM
5797 * term/w32-win.el (create-default-fontset): Declare.
5798
38702b5b
GM
5799 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5800 Declare.
5801
e740f9d2
GM
5802 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5803 (fit-frame-to-buffer): Explicit error if --without-x.
5804 (mouse-autoselect-window-select): Silence compiler.
5805
49a053fc
GM
5806 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5807
5808 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5809 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5810 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5811 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5812 Remove unused local variables.
5813
5814 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5815
ec9177ba
GM
5816 * textmodes/two-column.el: Make 2C-split work for --without-x.
5817 (scroll-bar-columns): Autoload.
5818 (top-level): Require fringe when compiling.
5819
9f25cb77
LL
58202013-09-18 Leo Liu <sdl.web@gmail.com>
5821
5822 * subr.el (add-hook): Robustify to handle closure as well.
5823
2b42da98
GM
58242013-09-17 Glenn Morris <rgm@gnu.org>
5825
5826 * simple.el (messages-buffer-mode-map): Unbind "g".
5827
e8b66a6a
SM
58282013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5829
9c0ad4f7
SM
5830 * help-mode.el (help-mode-finish): Use derived-mode-p.
5831 Remove obsolete highlighting.
5832
7a806dfb
SM
5833 * play/life.el (life-mode): Use define-derived-mode. Derive from
5834 special-mode.
5835 (life): Let-bind inhibit-read-only.
5836 (life-setup): Avoid `setq'. Use `life-mode'.
5837
96dbf5a8
SM
5838 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5839 which should not be needed any more.
5840 (package-menu-refresh, package-menu-describe-package): Use user-error.
5841
e8b66a6a
SM
5842 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5843 (eshell-post-rewrite-command-hook): Make obsolete.
5844 (eshell-parse-command): Simplify.
5845 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5846 (eshell--cmd): Declare.
5847 (eshell-parse-pipeline): Remove unused var `final-p'.
5848 Pass a dynvar to eshell-post-rewrite-command-hook.
5849 Implement the new eshell-post-rewrite-command-function.
5850 (eshell-invoke-directly): Remove unused arg `input'.
5851 * eshell/esh-io.el (eshell-io-initialize):
5852 Use eshell-post-rewrite-command-function (bug#15399).
5853 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5854 adjust to new calling convention.
5855 (eshell-create-handles): Rename args to avoid clashing with dynvar
5856 `standard-output'.
5857
90582f05
GM
58582013-09-17 Glenn Morris <rgm@gnu.org>
5859
5860 * simple.el (messages-buffer-mode): New major mode.
5861 (messages-buffer): New function.
5862 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5863 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5864 (ert-run-test): Use `messages-buffer' function.
90582f05 5865 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5866 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5867 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5868
39eb0cb5 58692013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5870
5871 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5872
1d42e5b6 5873 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5874
70568a90
SM
58752013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5876
504a0381
SM
5877 * icomplete.el (icomplete-in-buffer): New var.
5878 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5879 vars and replace them with functions.
5880 (icomplete-minibuffer-setup): Adjust accordingly.
5881 (icomplete--completion-table, icomplete--completion-predicate)
5882 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5883 New functions.
5884 (icomplete-forward-completions, icomplete-backward-completions)
5885 (icomplete-simple-completing-p, icomplete-exhibit)
5886 (icomplete-completions): Use them.
5887 (icomplete--in-region-buffer): New var.
5888 (icomplete--in-region-setup): New function.
5889 (icomplete-mode): Use it.
5890
70568a90
SM
5891 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5892 (bug#15379).
5893 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5894 return args and options.
5895 (eshell-eval-using-options): Use the new return value of
5896 eshell--do-opts to set the options's vars in their scope.
5897 (eshell--set-option): Rename from eshell-set-option.
5898 Add arg `opt-vals'.
5899 (eshell--process-option): Rename from eshell-process-option.
5900 Add arg `opt-vals'.
5901 (eshell--process-args): Use an `opt-vals' alist to store the options's
5902 values during their processing and return them additionally to the
5903 remaining args.
5904
578c21bc
DG
59052013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5906
5907 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5908 continuation character an operator, as far as indentation is
5909 concerned (Bug#15369).
5910
c089653d
MR
59112013-09-15 Martin Rudalics <rudalics@gmx.at>
5912
5913 * window.el (window--state-put-2): Don't process buffer state
5914 when buffer doesn't exist any more (Bug#15382).
5915
1e53bb4b
GM
59162013-09-15 Glenn Morris <rgm@gnu.org>
5917
30753242
GM
5918 * eshell/em-unix.el (eshell/rm):
5919 Make -f ignore missing files. (Bug#15373)
5920
1e53bb4b
GM
5921 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5922 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5923 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5924
0d8863b3
GM
59252013-09-14 Glenn Morris <rgm@gnu.org>
5926
5927 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5928
d3fc6549
GM
59292013-09-13 Glenn Morris <rgm@gnu.org>
5930
5931 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5932 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5933
fcd42c11
DA
59342013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5935
5936 * frame.el (x-focus-frame): Mark as declared in frame.c.
5937
7830899f
SM
59382013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5939
5940 * ls-lisp.el: Use advice-add.
5941 (original-insert-directory): Remove.
5942 (ls-lisp--insert-directory): Rename from insert-directory; add
5943 `orig-fun' argument.
5944 (insert-directory): Advise.
5945
84387cd2
EZ
59462013-09-13 Eli Zaretskii <eliz@gnu.org>
5947
5948 * term.el (term-emulate-terminal): Decode the command string
5949 before passing it to term-command-hook. (Bug#15337)
5950
35ffc6ba
GM
59512013-09-13 Glenn Morris <rgm@gnu.org>
5952
5c3f9bcc
GM
5953 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5954
2ada368a
GM
5955 * eshell/esh-ext.el (eshell-search-path): Declare.
5956
fcef2e13
GM
5957 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5958 Otherwise an error occurs if eshell-dirs module not loaded.
5959
35ffc6ba
GM
5960 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5961
35c3d36e
MA
59622013-09-13 Michael Albinus <michael.albinus@gmx.de>
5963
5964 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5965 `tramp-check-proper-host'. Check for a valid method name.
5966
5967 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5968 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5969 * net/tramp-sh.el (tramp-maybe-open-connection):
5970 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5971
5972 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5973 also for hash values.
5974
ae5e4c48
SM
59752013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5976
379add74
SM
5977 * term/ns-win.el (parameters): Don't declare as dynamic.
5978 (before-make-frame-hook): Don't add ineffective function.
5979
ae5e4c48
SM
5980 * eshell/*.el: Use lexical-binding (bug#15231).
5981
b5623270
KH
59822013-09-12 Kenichi Handa <handa@gnu.org>
5983
ae5e4c48 5984 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5985
30213927
GM
59862013-09-12 Glenn Morris <rgm@gnu.org>
5987
be94d713 5988 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5989 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5990
44915370
GM
5991 * subr.el (do-after-load-evaluation): Also give compiler warnings
5992 when obsolete files are used (except by obsolete files).
5993
a6ae021f
GM
5994 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5995 in the status output, assume `filename' is the first. (Bug#15322)
5996
40e64f0c
GM
5997 * vc/vc.el (vc-deduce-fileset): Doc fix.
5998
16d9f896
GM
5999 * calc/calc-help.el (Info-goto-node):
6000 * progmodes/cperl-mode.el (Info-find-node):
6001 * vc/ediff.el (Info-goto-node): Update declarations.
6002
dea01c6e
GM
6003 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6004
759880bf 6005 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
6006 (vc-bzr-pull): Require vc-dispatcher.
6007 * vc/vc-git.el (vc-compilation-mode): Declare.
6008 (vc-git-pull): Require vc-dispatcher.
6009
08d66420
GM
6010 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6011
30b626e9
GM
6012 * progmodes/octave.el (help-button-action): Declare.
6013
8c05cb10
GM
6014 * shell.el (shell-directory-tracker): Output error as a message
6015 rather than just returning it as a string.
6016 (shell-process-pushd): Remove useless use of message.
6017
30213927
GM
6018 * dframe.el (dframe-timer-fn):
6019 * files.el (dir-locals-read-from-file):
6020 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6021 (mpc-format):
6022 * reveal.el (reveal-post-command):
6023 * saveplace.el (load-save-place-alist-from-file):
6024 * shell.el (shell-resync-dirs):
6025 * w32-common-fns.el (x-get-selection-value):
6026 * emacs-lisp/copyright.el (copyright-find-copyright):
6027 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6028 * emulation/tpu-edt.el (tpu-copy-keyfile):
6029 * play/bubbles.el (bubbles--mark-neighbourhood):
6030 * progmodes/executable.el
6031 (executable-make-buffer-file-executable-if-script-p):
6032 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6033
d3b049e6
SM
60342013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6035
170266d0
SM
6036 Cleanup Eshell to rely less on dynamic scoping.
6037 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6038 last-value, and ext-command here. Bind `args' closer to `body'.
6039 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6040 (eshell--args): Declare new dynamic var.
6041 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6042 last-value, and ext-command. Pass `args' to `body'.
6043 (eshell-process-args): Bind eshell--args.
6044 (eshell-set-option): Use eshell--args.
6045 * eshell/eshell.el (eshell): Use derived-mode-p.
6046 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6047 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6048 (eshell-glob-function): Declare.
6049 * eshell/esh-util.el: Require cl-lib.
6050 (eshell-read-hosts-file): Avoid add-to-list.
6051 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6052 `err'.
6053 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6054 Declare.
6055 (eshell/diff): Remove unused var `err'.
6056 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6057 `killflag'.
6058 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6059 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6060 first use.
6061 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6062 Move declaration before first use.
6063 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6064 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6065 rely on cl-return.
6066
56834f3b
GM
60672013-09-12 Glenn Morris <rgm@gnu.org>
6068
6069 * term/ns-win.el (global-map): Remove binding for ispell-next,
6070 deleted 1999-05-29. (Bug#15357)
6071
5c91a2b8
GM
60722013-09-11 Glenn Morris <rgm@gnu.org>
6073
da712f22
GM
6074 * echistory.el (electric-command-history): Remove call to deleted func.
6075
512e4cdc
GM
6076 * play/landmark.el (landmark-mode): Fix typos.
6077
d3506ca5
GM
6078 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6079 Check cvs-sort-ignore-file is bound.
6080
5c91a2b8
GM
6081 * savehist.el: No need for cl when compiling on Emacs.
6082
feeff482
SM
60832013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6084
656bd483
SM
6085 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6086 (bug#15338).
d3b049e6
SM
6087 (eshell-self-insert-command, eshell-send-invisible):
6088 Remove unused argument.
656bd483
SM
6089 (eshell-handle-control-codes): Remove unused var `orig'.
6090 Avoid delete-backward-char.
6091
feeff482
SM
6092 * files.el (set-auto-mode): Simplify a bit further.
6093
2a08047a
GM
60942013-09-11 Glenn Morris <rgm@gnu.org>
6095
6096 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6097 (set-auto-mode): Don't regexp-quote elements.
6098 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6099 * progmodes/cc-mode.el (interpreter-mode-alist):
6100 * progmodes/ruby-mode.el (interpreter-mode-alist):
6101 Revert previous change.
6102
34675540
SM
61032013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6104
1b3b87df
SM
6105 * play/snake.el (snake-mode):
6106 * play/mpuz.el (mpuz-mode):
6107 * play/landmark.el (lm-mode):
6108 * play/blackbox.el (blackbox-mode):
6109 * play/5x5.el (5x5-mode):
6110 * obsolete/options.el (Edit-options-mode):
6111 * net/quickurl.el (quickurl-list-mode):
6112 * net/newst-treeview.el (newsticker-treeview-mode):
6113 * mail/rmailsum.el (rmail-summary-mode):
6114 * mail/mspools.el (mspools-mode):
6115 * locate.el (locate-mode):
6116 * ibuffer.el (ibuffer-mode):
6117 * emulation/ws-mode.el (wordstar-mode):
6118 * emacs-lisp/debug.el (debugger-mode):
6119 * array.el (array-mode):
6120 * net/eudc.el (eudc-mode): Use define-derived-mode.
6121 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6122 Move initialization into declaration.
6123 (mairix-searches-mode): Use define-derived-mode.
6124 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6125 (eudc-edit-hotlist): Use dolist.
6126 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6127 (Man-mode): Use define-derived-mode.
6128 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6129 (Info-edit-mode): Use define-derived-mode.
6130 (Info-cease-edit): Use Info-mode.
6131 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6132 into declaration.
6133 (eshell-mode): Use define-derived-mode.
6134 * chistory.el (command-history-mode-map): Rename from
6135 command-history-map.
6136 (command-history-mode): Use define-derived-mode.
da712f22 6137 (Command-history-setup): Remove function.
1b3b87df
SM
6138 * calc/calc.el (calc-trail-mode-map): New var.
6139 (calc-trail-mode): Use define-derived-mode.
6140 (calc-trail-buffer): Set calc-main-buffer manually.
6141 * bookmark.el (bookmark-insert-annotation): New function.
6142 (bookmark-edit-annotation): Use it.
6143 (bookmark-edit-annotation-mode): Make it a proper major mode.
6144 (bookmark-send-edited-annotation): Use derived-mode-p.
6145 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6146 closer to its ideal place. Use \' to match EOS.
6147
34675540
SM
6148 * profiler.el (profiler-calltree-find): Use function-equal.
6149
6a5c15d9
GM
61502013-09-10 Glenn Morris <rgm@gnu.org>
6151
1af4c220
GM
6152 * files.el (interpreter-mode-alist): Convert to regexps.
6153 (set-auto-mode): Adapt for this. (Bug#15306)
6154 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6155 Comment out unused variable.
6156 * progmodes/cc-mode.el (interpreter-mode-alist):
6157 * progmodes/python.el (interpreter-mode-alist):
6158 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6159 * progmodes/sh-script.el (sh-set-shell):
6160 No longer use interpreter-mode-alist to get list of shells.
6161
6a5c15d9
GM
6162 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6163
8c27f5ff
SM
61642013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6165
02ef6c1a 6166 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6167 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6168 Bind switch-frame explicitly. Replace universal-argument-minus with
6169 a conditional binding.
6170 (universal-argument-num-events, saved-overriding-map): Remove.
6171 (restore-overriding-map): Remove.
6172 (universal-argument--mode): Rename from save&set-overriding-map,
6173 and rewrite.
6174 (universal-argument, universal-argument-more, negative-argument)
6175 (digit-argument): Adjust accordingly.
6176 (universal-argument-minus): Remove.
6177 (universal-argument-other-key): Remove.
6178
8c27f5ff
SM
6179 * subr.el (with-demoted-errors): Add `format' argument.
6180
6480194c
MA
61812013-09-10 Michael Albinus <michael.albinus@gmx.de>
6182
6183 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6184 `tramp-cleanup-connection'.
6185
6186 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6187 parameters KEEP-DEBUG and KEEP-PASSWORD.
6188
6189 * net/tramp.el (tramp-file-name-handler):
6190 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6191 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6192 (tramp-maybe-open-connection):
8c27f5ff
SM
6193 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6194 Use `tramp-cleanup-connection'.
6480194c 6195
8c27f5ff
SM
6196 * net/tramp-sh.el (tramp-maybe-open-connection):
6197 Catch 'uname-changed inside the progress reporter.
6480194c 6198
e5e916d8
GM
61992013-09-10 Glenn Morris <rgm@gnu.org>
6200
9a2c9b47
GM
6201 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6202
e5e916d8
GM
6203 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6204 returns "alternate access method" in mode (eg "-rw-r--r--.").
6205
144e38fe
GM
62062013-09-08 Glenn Morris <rgm@gnu.org>
6207
6208 * saveplace.el (load-save-place-alist-from-file):
6209 Demote errors. (Bug#15305)
6210
af9ff9e8
MA
62112013-09-08 Michael Albinus <michael.albinus@gmx.de>
6212
6213 Improve compatibility with older Emacsen, and XEmacs.
6214
6215 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6216 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6217 (with-tramp-progress-reporter): Do not let-bind `result'.
6218 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6219 (tramp-handle-make-auto-save-file-name): New function, moved from
6220 tramp-sh.el.
6221
6222 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6223 for `make-auto-save-file-name'.
8c27f5ff
SM
6224 (tramp-adb--gnu-switches-to-ash):
6225 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6226
6227 * net/tramp-cache.el (tramp-cache-print): Call
6228 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6229
6230 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6231 bound. It isn't for XEmacs.
6232
8c27f5ff
SM
6233 * net/tramp-compat.el (tramp-compat-copy-file):
6234 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6235 (tramp-compat-replace-regexp-in-string): New defun.
6236
6237 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6238 for `make-auto-save-file-name'.
6239 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6240 `copy-file'.
6241 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6242 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6243 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6244
8c27f5ff
SM
6245 * net/tramp-gw.el (tramp-gw-open-network-stream):
6246 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6247
8c27f5ff
SM
6248 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6249 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6250 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6251 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6252 (tramp-sh-file-inotifywait-process-filter):
6253 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6254 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6255
6256 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6257 for `make-auto-save-file-name'.
8c27f5ff
SM
6258 (tramp-smb-handle-copy-directory):
6259 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6260 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6261 (tramp-smb-handle-copy-file): Improve error message.
6262 (tramp-smb-handle-rename-file): Rename directly only in case
6263 `newname' does not exist yet. This is a restriction of smbclient.
6264 (tramp-smb-maybe-open-connection): Rerun the function only when
6265 `auth-sources' is non-nil.
6266
0ca754d0
KH
62672013-09-08 Kenichi Handa <handa@gnu.org>
6268
e0eb0550 6269 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6270 more characters.
6271
e8dd0787
AM
62722013-09-07 Alan Mackenzie <acm@muc.de>
6273
6274 Correctly fontify Java class constructors.
6275 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6276 in Java Mode.
6277 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6278 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6279 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6280 "typeless" declaration there.
6281
f2f248e7
RW
62822013-09-07 Roland Winkler <winkler@gnu.org>
6283
6284 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6285 field subtitle for entry type book.
6286
67982e2b
SM
62872013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6288
6289 * minibuffer.el: Make minibuffer-complete call completion-in-region
6290 rather than other way around.
6291 (completion--some, completion-pcm--find-all-completions):
6292 Don't delay signals when debugging.
6293 (minibuffer-completion-contents): Beware fields within the
6294 minibuffer contents.
6295 (completion-all-sorted-completions): Use defvar-local.
6296 (completion--do-completion, completion--cache-all-sorted-completions)
6297 (completion-all-sorted-completions, minibuffer-force-complete):
6298 Add args `beg' and `end'.
6299 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6300 (minibuffer-complete): Use completion-in-region.
6301 (completion-complete-and-exit): New fun, extracted from
6302 minibuffer-complete-and-exit.
6303 (minibuffer-complete-and-exit): Use it.
6304 (completion--complete-and-exit): Rename from
6305 minibuffer--complete-and-exit.
6306 (completion-in-region--single-word): New function, extracted from
6307 minibuffer-complete-word.
6308 (minibuffer-complete-word): Use it.
6309 (display-completion-list): Make `common-substring' argument obsolete.
6310 (completion--in-region): Call completion--in-region-1 instead of
6311 minibuffer-complete.
6312 (completion-help-at-point): Pass boundaries to
6313 minibuffer-completion-help as args rather than via an overlay.
6314 (completion-pcm--string->pattern): Use `any-delim'.
6315 (completion-pcm--optimize-pattern): New function.
6316 (completion-pcm--pattern->regex): Handle `any-delim'.
6317 * icomplete.el (icomplete-forward-completions)
6318 (icomplete-backward-completions, icomplete-completions):
6319 Adjust calls to completion-all-sorted-completions and
6320 completion--cache-all-sorted-completions.
6321 (icomplete-with-completion-tables): Default to t.
6322 * emacs-lisp/crm.el (crm--current-element): Rename from
6323 crm--select-current-element. Don't put an overlay but return the
6324 boundaries instead.
6325 (crm--completion-command): Take two new args to bind to the boundaries.
6326 (crm-completion-help): Adjust accordingly.
6327 (crm-complete): Use completion-in-region.
6328 (crm-complete-word): Use completion-in-region--single-word.
6329 (crm-complete-and-exit): Use completion-complete-and-exit.
6330
e17d94a5
SM
63312013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6332
6333 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6334 than dynamically.
6335
96727100
JL
63362013-09-06 Juri Linkov <juri@jurta.org>
6337
6338 * info.el (Info-display-images-node): When image file doesn't exist
6339 display text version of the image if it's provided in the Info file.
6340 Otherwise, display the location of missing image from SRC attribute.
6341 Add help-echo text property from ALT attribute. (Bug#15279)
6342
86cf7329
SM
63432013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6346 (edit-abbrevs-mode): Use define-derived-mode.
6347
6348 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6349 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6350 that it's defined.
6351 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6352 Use define-derived-mode.
6353
6354 * epg.el (epg-start-encrypt): Minor CSE simplification.
6355
816244a2
WX
63562013-09-06 William Xu <william.xwl@gmail.com>
6357
6358 * arc-mode.el: Add support for 7za (bug#15264).
6359 (archive-7z-program): New var.
6360 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6361 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6362 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6363
1486fa31
MA
63642013-09-06 Michael Albinus <michael.albinus@gmx.de>
6365
6366 Remove URL syntax.
6367
6368 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6369 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6370 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6371 (tramp-postfix-host-format, tramp-file-name-regexp)
6372 (tramp-completion-file-name-regexp)
6373 (tramp-completion-dissect-file-name)
6374 (tramp-handle-substitute-in-file-name): Remove 'url case.
6375 (tramp-file-name-regexp-url)
6376 (tramp-completion-file-name-regexp-url): Remove constants.
6377
39785324
GM
63782013-09-06 Glenn Morris <rgm@gnu.org>
6379
6380 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6381
1f896cb7
DG
63822013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6383
6384 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6385 keywords" below "here-doc beginnings" (Bug#15270).
6386
c0458e0b
SM
63872013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * subr.el (pop): Use `car-safe'.
6390 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6391 to detect unused `pop' return value.
6392
6393 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6394 var `block-regexp'.
6395 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6396 (python-fill-string): Remove unused var `marker'.
6397 (python-skeleton-add-menu-items): Remove unused var `items'.
6398
6399 * international/mule-cmds.el: Require CL.
6400 (find-coding-systems-for-charsets): Avoid add-to-list.
6401 (sanitize-coding-system-list): New function, extracted from
6402 select-safe-coding-system-interactively.
6403 (select-safe-coding-system-interactively): Use it.
6404 (read-input-method-name): Accept symbols for `default'.
6405
6406 * emacs-lisp/advice.el (defadvice): Add indent rule.
6407
6c42fc3e
DH
64082013-09-05 Daniel Hackney <dan@haxney.org>
6409
6410 * dired-x.el:
6411 * net/ange-ftp.el:
6412 * net/browse-url.el:
6413 * net/dbus.el:
6414 * net/eudc.el:
6415 * net/eudcb-ldap.el:
6416 * net/eww.el:
6417 * net/imap.el:
6418 * printing.el:
6419 * vc/ediff-diff.el:
6420 * vc/ediff-init.el:
6421 * vc/ediff-merg.el:
6422 * vc/ediff-mult.el:
6423 * vc/ediff-util.el:
6424 * vc/ediff-wind.el:
6425 * vc/ediff.el:
6426 * vc/emerge.el:
6427 * vc/pcvs.el:
6428 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6429 byte compiler. Remove some unused let-bound variables.
6430
4c528aab
SM
64312013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6434 a "ref-cell", since it gets better optimized (bug#14883).
6435
bd15c390
GM
64362013-09-05 Glenn Morris <rgm@gnu.org>
6437
6438 * progmodes/cc-awk.el (c-forward-sws): Declare.
6439
1c3ac2e5
GM
64402013-09-04 Glenn Morris <rgm@gnu.org>
6441
6442 * generic-x.el [rul-generic-mode]: Require cc-mode.
6443 (c++-mode-syntax-table): Declare.
6444 (rul-generic-mode-syntax-table): Init in the defvar.
6445
52b1cc79
SM
64462013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6447
c828af56
SM
6448 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6449 (vc-do-command, vc-set-async-update):
6450 * vc/vc-mtn.el (vc-mtn-dir-status):
6451 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6452 (vc-hg-pull, vc-hg-merge-branch):
6453 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6454 (vc-git-merge-branch):
6455 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6456 (vc-cvs-dir-status-files):
6457 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6458 (vc-bzr-dir-status-files):
6459 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6460 * vc/vc-annotate.el: Use lexical-binding.
6461 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6462 (vc-sentinel-movepoint): Declare.
6463 (vc-annotate): Don't use `goto-line'.
6464 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6465 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6466 (vc-sentinel-movepoint): Declare.
6467 * vc/vc-svn.el: Use lexical-binding.
6468 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6469 * vc/vc-sccs.el:
6470 * vc/vc-rcs.el: Use lexical-binding.
6471
abae272c
SM
6472 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6473 `deleted'. Don't drop errors silently.
6474
52b1cc79
SM
6475 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6476
63191d9f
XF
64772013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6478
6479 * vc/vc.el (vc-ignore): Rewrite.
6480 (vc-default-ignore): New function.
6481 (vc-default-ignore-completion-table): Use find-ignore-file.
6482
6483 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6484 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6485 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6486 Remove. Most code moved to vc.el.
6487
9d3f707c
SM
64882013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6489
abae272c 6490 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6491 * net/tramp-smb.el (tramp-smb-get-file-entries):
6492 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6493 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6494
fde38d49
SM
6495 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6496 Update call to it.
6497 (eww-change-select): Remove unused var `properties'.
6498 (eww-make-unique-file-name): Remove unused var `base'.
6499
6500 * finder.el (finder-compile-keywords): Don't mess with windows.
6501
84032db7
SM
6502 * calculator.el (calculator-funcall): Fix typo in last change.
6503
724f5e41
SM
6504 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6505
14b511d4
SM
6506 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6507 <pkg>-autoloads.el file stop us.
6508
9d3f707c 6509 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6510 warnings, and factor out common code.
9d3f707c 6511
88527bc0
DG
65122013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6513
6514 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6515 two-character operators and whether the character preceding them
6516 changes their meaning (Bug#15208).
6517
96edb677
FEG
65182013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6519
6520 Format code sent to Python shell for robustness.
9d3f707c
SM
6521 * progmodes/python.el (python-shell-buffer-substring):
6522 New function.
96edb677
FEG
6523 (python-shell-send-region, python-shell-send-buffer): Use it.
6524
95beaef3
MA
65252013-09-02 Michael Albinus <michael.albinus@gmx.de>
6526
6527 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6528 * net/tramp.el (tramp-user-error): ... here.
6529 (tramp-find-method, tramp-check-proper-host)
6530 (tramp-dissect-file-name, tramp-debug-message)
6531 (tramp-handle-shell-command):
6532 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6533 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6534
6535 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6536
f167c27b
MR
65372013-09-02 Martin Rudalics <rudalics@gmx.at>
6538
6539 * avoid.el (mouse-avoidance-point-position)
6540 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6541 returns nil.
6542
cd16c5f1
FEG
65432013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6544
6545 * progmodes/python.el (python-shell-completion-get-completions):
6546 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6547 (python-nav-if-name-main): New command.
cd16c5f1 6548
e73c3a0d
GM
65492013-09-01 Glenn Morris <rgm@gnu.org>
6550
f8ccce03
GM
6551 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6552 Avoid leading space in $wins. Otherwise the sed command used by
6553 eg compile-main ends up containing "/*.el". (Bug#15170)
6554
e73c3a0d
GM
6555 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6556
415f808e
GM
65572013-08-30 Glenn Morris <rgm@gnu.org>
6558
6559 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6560 Fix is-this-a-directory logic. (Bug#15220)
6561
f069bba8
SM
65622013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6563
112798c1
SM
6564 * textmodes/css-mode.el: Use SMIE.
6565 (css-smie-grammar): New var.
6566 (css-smie--forward-token, css-smie--backward-token)
6567 (css-smie-rules): New functions.
6568 (css-mode): Use them.
6569 (css-navigation-syntax-table): Remove var.
6570 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6571 (css-indent-calculate, css-indent-line): Remove functions.
6572
6573 Misc changes to reduce use of `(lambda...); and other cleanups.
6574 * cus-edit.el: Use lexical-binding.
6575 (customize-push-and-save, customize-apropos)
6576 (custom-buffer-create-internal): Use closures.
6577 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6578 * progmodes/ada-xref.el: Use setq.
6579 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6580 * dframe.el: Use lexical-binding.
6581 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6582 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6583 * descr-text.el: Use lexical-binding.
6584 (describe-text-widget, describe-text-sexp, describe-property-list):
6585 Use closures.
6586 * comint.el (comint-history-isearch-push-state): Use a closure.
6587 * calculator.el: Use lexical-binding.
6588 (calculator-number-to-string): Make it work with lexical-binding.
6589 (calculator-funcall): Same and use cl-letf.
6590
2da4c3ab
SM
6591 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6592 (lisp--company-doc-string, lisp--company-location): New functions.
6593 (lisp-completion-at-point): Use them to improve Company support.
6594
f069bba8
SM
6595 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6596 params of lambda expressions.
6597 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6598 (ruby-smie--opening-pipe-p): New function.
6599 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6600 symbols and matched |...| for formal params.
6601 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6602 from being treated as hanging. Handle "rescue".
6603
6758b6a8
GM
66042013-08-29 Glenn Morris <rgm@gnu.org>
6605
6606 * progmodes/cc-engine.el (c-pull-open-brace):
6607 Move definition before use.
6608
e8dfd197
SM
66092013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6612 are immutable. Don't use `unsafe' any more.
6613 (cl--defsubst-expand): Don't substitute at the same time as keeping
6614 a residual unused let-binding. Don't use `unsafe' any more.
6615
cc585c96
GM
66162013-08-29 Glenn Morris <rgm@gnu.org>
6617
ba579ea6
GM
6618 * calendar/cal-china.el (calendar-chinese-year-cache):
6619 Recenter on 2015.
6620
8201a87e
GM
6621 * nxml/nxml-util.el (nxml-debug-clear-inside):
6622 Use cl-loop rather than loop.
6623
6ee877c7
GM
6624 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6625
cc585c96
GM
6626 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6627
27be8d39
GM
66282013-08-28 Glenn Morris <rgm@gnu.org>
6629
397440a1
GM
6630 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6631
2bb762d4
GM
6632 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6633
27be8d39
GM
6634 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6635
2d69b99e
SM
66362013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6637
f663baa7
SM
6638 * simple.el (repeat-complex-command--called-interactively-skip):
6639 New function.
6640 (repeat-complex-command): Use it (bug#14136).
6641
dd4f8b74
SM
6642 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6643 (c-define-abbrev-table): Add `doc' argument.
6644 (c-mode-abbrev-table, c++-mode-abbrev-table)
6645 (objc-mode-abbrev-table, java-mode-abbrev-table)
6646 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6647 (awk-mode-abbrev-table): Use it.
6648 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6649 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6650 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6651 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6652 Move initialization into the declaration; and remove any
6653 autoload cookie.
6654
b58969f7
SM
6655 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6656 and dynamic let binding.
6657
4021d6a6
SM
6658 * vc/smerge-mode.el: Remove redundant :group args.
6659
2d69b99e
SM
6660 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6661 to load-path.
6662
274919fd
JL
66632013-08-28 Juri Linkov <juri@jurta.org>
6664
6665 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6666 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6667 (isearch-other-meta-char): Handle an undefined shifted printing
6668 character by downshifting it. (Bug#15200)
6669
121f8c95
JL
66702013-08-28 Juri Linkov <juri@jurta.org>
6671
6672 * isearch.el (isearch-search): Change regexp error message for
6673 non-regexp searches. (Bug#15166)
6674
50b13cde
PE
66752013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6676
6677 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6678 for portability to hosts where /bin/sh has problems.
6679
95888bca
SM
66802013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6683
bbe558f1
JL
66842013-08-27 Juri Linkov <juri@jurta.org>
6685
6686 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6687 in the keyboard macro. (Bug#15126)
6688
26f98a7d
JL
66892013-08-27 Juri Linkov <juri@jurta.org>
6690
6691 * isearch.el (isearch-quote-char): Comment out converting unibyte
6692 to multibyte, thus syncing with its `quoted-insert' counterpart.
6693 (Bug#15166)
6694
7c97d35e
MR
66952013-08-27 Martin Rudalics <rudalics@gmx.at>
6696
6697 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6698 argument in call of get-largest-window (Bug#15185).
6699 Reported by Stephen Leake.
7c97d35e 6700
a0b5606e 67012013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6702
6703 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6704
9e89d835
SM
67052013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6706
6707 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6708 from a matcher-function unless there's no more matches (bug#15161).
6709
78fc2530
MA
67102013-08-26 Michael Albinus <michael.albinus@gmx.de>
6711
6712 * minibuffer.el: Revert change from 2013-08-20.
6713
6714 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6715 with text property `tramp-default', if appropriate.
6716 (tramp-check-proper-host): New defun.
6717 (tramp-dissect-file-name): Do not check hostname. Revert change
6718 of 2013-03-18.
6719 (tramp-backtrace): Make VEC-OR-PROC optional.
6720
6721 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6722 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6723 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6724 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6725 Apply `tramp-check-proper-host'.
78fc2530 6726
edca97cd
TH
67272013-08-26 Tassilo Horn <tsdh@gnu.org>
6728
6729 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6730 lambda expression in order to have `describe-variable' display it.
6731
df54bcbd
MA
67322013-08-26 Michael Albinus <michael.albinus@gmx.de>
6733
6734 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6735 BUF can be optional. (Bug#15186)
6736
eed99101
XF
67372013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6738
6739 * progmodes/flymake.el (flymake-get-real-file-name-function):
6740 Fix broken customization. (Bug#15184)
6741
b5eb9035
AM
67422013-08-25 Alan Mackenzie <acm@muc.de>
6743
8a51e842
AM
6744 Improve indentation of bracelists defined by macros (without "=").
6745
6746 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6747 expansion begins with "{", regard it as bracelist when it doesn't
6748 contain a ";".
6749
869455d4
AM
6750 Parse C++ inher-intro when there's a template split over 2 lines.
6751
6752 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6753 rigorously the search for "class" etc. followed by ":".
6754
6755 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6756 random languages a regexp which never matches rather than nil.
6757
b5eb9035
AM
6758 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6759
6760 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6761 (c-awk-regexp-one-line-possibly-open-char-list-re)
6762 (c-awk-one-line-possibly-open-regexp-re)
6763 (c-awk-one-line-non-syn-ws*-re): Remove.
6764 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6765 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6766 (c-awk-space*-unclosed-regexp-/-re): New constants.
6767 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6768 aren't regexp delimiters.
6769
6770 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6771 handling for a rare situation in AWK Mode involving unterminated
6772 strings/regexps.
6773
61611d54
GM
67742013-08-23 Glenn Morris <rgm@gnu.org>
6775
2d85dc34
GM
6776 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6777
cb8d2612
GM
6778 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6779
bb35f42f
GM
6780 * files.el (create-file-buffer): If the result would begin with
6781 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6782
b9808e77
SM
67832013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6784
e3a66363
SM
6785 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6786 text-properties (bug#15155).
6787
b9808e77
SM
6788 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6789 exist any more.
6790 (calc-keypad-redraw): Remove unused var `pad'.
6791 (calc-keypad-press): Remove unused var `menu'.
6792
7fd5f65e
MR
67932013-08-23 Martin Rudalics <rudalics@gmx.at>
6794
b9808e77
SM
6795 * window.el (display-buffer-pop-up-frame):
6796 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6797 use it as the new frame's buffer (Bug#15133).
6798
8352b530
SM
67992013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6800
6801 * calendar/timeclock.el: Minor cleanups.
6802 (timeclock-ask-before-exiting, timeclock-use-display-time):
6803 Use `symbol'.
6804 (timeclock-modeline-display): Define as alias before the
6805 actual definition.
6806 (timeclock-mode-line-display): Use define-minor-mode.
6807 (timeclock-day-list-template): Make it a function, add an argument.
6808 (timeclock-day-list-required, timeclock-day-list-length)
6809 (timeclock-day-list-debt, timeclock-day-list-span)
6810 (timeclock-day-list-break): Adjust calls accordingly.
6811
9f7b1925
SM
68122013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6815 Use read--expression so that completion works again.
6816
6e50e983
SS
68172013-08-21 Sam Steingold <sds@gnu.org>
6818
6819 Add rudimentary inferior shell interaction
6820 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6821 (sh-set-shell): Reset it.
9f7b1925
SM
6822 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6823 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6824
dbb0d350
SM
68252013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6826
6827 * align.el: Use lexical-binding.
6828 (align-region): Simplify accordingly.
6829
c88586a9
MA
68302013-08-20 Michael Albinus <michael.albinus@gmx.de>
6831
6832 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6833
6834 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6835 `non-essential' up.
6836
f95527c8
MA
68372013-08-17 Michael Albinus <michael.albinus@gmx.de>
6838
6839 * net/tramp.el:
6840 * net/tramp-adb.el:
6841 * net/tramp-cmds.el:
6842 * net/tramp-ftp.el:
6843 * net/tramp-gvfs.el:
6844 * net/tramp-gw.el:
6845 * net/tramp-sh.el: Don't wrap external variable declarations by
6846 `eval-when-compile'.
6847
4b5fe4ee
LMI
68482013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6849
6850 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6851 now that Emacs supports ImageMagick animations.
6852
13c366c9
MA
68532013-08-16 Michael Albinus <michael.albinus@gmx.de>
6854
6855 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6856 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6857
3dfc5cd6
MR
68582013-08-16 Martin Rudalics <rudalics@gmx.at>
6859
6860 * window.el (mouse-autoselect-window-select): Do autoselect when
6861 mouse pointer is on margin.
6862
4bbb4381
WP
68632013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6864
6865 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6866
3a2ddc2d
GM
68672013-08-16 Glenn Morris <rgm@gnu.org>
6868
e8bedf5a
GM
6869 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6870 Handle "Remote Directory" response of some clients. (Bug#15058)
6871
58c4682f
GM
6872 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6873 Tweak warning. (Bug#14926)
6874
57953f49
GM
6875 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6876 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6877
3a2ddc2d
GM
6878 * image-mode.el (image-mode-map): Add menu items to reverse,
6879 increase, decrease, reset animation speed.
6880 (image--set-speed, image-increase-speed, image-decrease-speed)
6881 (image-reverse-speed, image-reset-speed): New functions.
6882 (image-mode-map): Add bindings for speed commands.
6883
6884 * image.el (image-animate-get-speed, image-animate-set-speed):
6885 New functions.
6886 (image-animate-timeout): Respect image :speed property.
6887
10fa0ed3
SM
68882013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6889
6890 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6891 previous line (bug#15101).
6892 (debugger-eval-expression, debugger-record-expression):
6893 Use read--expression (bug#15102).
6894
5d89d9d2
MA
68952013-08-15 Michael Albinus <michael.albinus@gmx.de>
6896
6897 Remove byte compiler warnings, visible when compiling with
6898 `byte-compile-force-lexical-warnings' set to t.
6899
6900 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6901 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6902 (tramp-handle-unhandled-file-name-directory)
6903 (tramp-handle-file-notify-add-watch, tramp-action-login)
6904 (tramp-action-succeed, tramp-action-permission-denied)
6905 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6906 arguments with "_".
6907
6908 * net/tramp-adb.el (tramp-adb-parse-device-names)
6909 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6910 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6911 (tramp-adb-handle-file-truename): Remove unused arguments.
6912
6913 * net/tramp-cache.el (tramp-flush-directory-property)
6914 (tramp-flush-connection-property, tramp-list-connections)
6915 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6916
10fa0ed3
SM
6917 * net/tramp-compat.el (tramp-compat-make-temp-file):
6918 Rename FILENAME to F.
5d89d9d2
MA
6919
6920 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6921 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6922 (tramp-zeroconf-parse-workstation-device-names)
6923 (tramp-zeroconf-parse-webdav-device-names)
6924 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6925
6926 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6927 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6928
6929 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6930 arguments.
6931 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6932 (tramp-sh-handle-insert-file-contents-literally)
6933 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6934 with "_".
6935 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6936 Remove unused variables.
6937
6938 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6939 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6940 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6941
6942 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6943 Make them a defconst.
6944 (tramp-uuencode-region): Remove unused variable.
6945
62f33bae
JB
69462013-08-14 Juanma Barranquero <lekktu@gmail.com>
6947
6948 * frameset.el (frameset--prop-setter): New function.
6949 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6950 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6951 parameter was already set in FILTERED. Doc fix.
6952 (frameset--record-minibuffer-relationships): Allow saving a
6953 minibufferless frame without its corresponding minibuffer frame.
6954 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6955 frame, if the frame id matches.
6956 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6957 frames before orphaned ones.
6958 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6959
c660a885
MR
69602013-08-14 Martin Rudalics <rudalics@gmx.at>
6961
6962 * window.el (window-make-atom): Don't overwrite parameter
6963 already present.
6964 (display-buffer-in-atom-window): Handle special case where we
6965 split an already atomic window.
6966 (window--major-non-side-window, display-buffer-in-side-window)
6967 (window--side-check): Ignore minibuffer window when walking
6968 window tree.
6969 (window-deletable-p): Return 'frame only if no other frame uses
6970 our minibuffer window.
6971 (record-window-buffer): Run buffer-list-update-hook.
6972 (split-window): Make sure window--check-frame won't destroy an
6973 existing atomic window in case the new window gets nested
6974 inside.
6975 (display-buffer-at-bottom): Ignore minibuffer window when
6976 walking window tree. Don't split a side window.
6977 (pop-to-buffer): Don't set-buffer here, the select-window call
6978 should do that.
6979 (mouse-autoselect-window-select): Autoselect only if we are in the
6980 text portion of the window.
6981
8259030d
LMI
69822013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6983
21c58ae2
LMI
6984 * net/shr.el (shr-parse-image-data): New function to grab both the
6985 data itself and the Content-Type.
6986 (shr-put-image): Use it.
6987
6988 * net/eww.el (eww-display-image): Ditto.
6989
8259030d
LMI
6990 * image.el (image-content-type-suffixes): New variable.
6991
ad756449
FEG
69922013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6993
6994 * progmodes/python.el (python-imenu--build-tree)
6995 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6996
f73f4ce6
XF
69972013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6998
6999 * simple.el (backward-word): Mention the optional argument.
7000
1f585e65
SM
70012013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7002
7003 * frameset.el (frameset--make): Rename constructor from make-frameset.
7004 (frameset-p, frameset-valid-p): Don't autoload.
7005 (frameset-valid-p): Use normal accessors.
7006
af1c6c84
GM
70072013-08-13 Glenn Morris <rgm@gnu.org>
7008
55e47f95
GM
7009 * progmodes/compile.el (compile-command): Tweak example in doc.
7010 * obsolete/scribe.el (scribe-mode):
7011 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7012
f0024d8c
GM
7013 * mail/feedmail.el (feedmail-confirm-outgoing)
7014 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7015
7016 * cus-start.el (truncate-partial-width-windows): Fix type.
7017
7018 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7019
af1c6c84
GM
7020 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7021
5514cc4c
SM
70222013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7023
7024 * emacs-lisp/timer.el (timer--time-setter): New function.
7025 (timer--time): Use it as gv-setter.
7026
7027 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7028 setter is not a symbol.
7029
7997a2f1
GJ
70302013-08-12 Grégoire Jadi <daimrod@gmail.com>
7031
7032 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7033 if sending fails. This makes debugging easier.
7034
01f1a9ab
JB
70352013-08-12 Juanma Barranquero <lekktu@gmail.com>
7036
7037 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7038 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7039 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7040
594a4307
EZ
70412013-08-12 Eli Zaretskii <eliz@gnu.org>
7042
7043 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7044
7a22490f 70452013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
7046
7047 * format.el (format-annotate-function):
7048 Handle read-only text properties in the source. (Bug#14887)
7049
3e41a054
LMI
70502013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7051
5514cc4c
SM
7052 * net/eww.el (eww-display-html): Ignore coding system errors.
7053 One web site uses "utf-8lias" as the coding system.
3e41a054 7054
7ec326db
JB
70552013-08-11 Juanma Barranquero <lekktu@gmail.com>
7056
7057 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7058
5660113b
JB
70592013-08-10 Juanma Barranquero <lekktu@gmail.com>
7060
9a4ebc74
JB
7061 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7062 (tutorial--detailed-help): Remove unused local variables.
7063 (tutorial--save-tutorial-to): Use ignore-errors.
7064 (help-with-tutorial): Use looking-at-p.
7065
7066 * view.el (view-buffer-other-window, view-buffer-other-frame):
7067 Mark unused arguments.
7068
7069 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7070 (woman-select-symbol-fonts, woman, woman-find-file)
7071 (woman-insert-file-contents, woman-non-underline-faces):
7072 Use string-match-p.
7073 (woman1-unquote): Move declaration.
7074
7075 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7076 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7077 argument. Remove unused local variable.
7078 (xml-parse-elem-type): Use string-match-p.
7079 (xml-substitute-numeric-entities): Use ignore-errors.
7080
45fdb482
JB
7081 * calculator.el (calculator): Mark unused argument.
7082 (calculator-paste, calculator-quit, calculator-integer-p):
7083 Use ignore-errors.
7084 (calculator-string-to-number, calculator-decimal, calculator-exp)
7085 (calculator-op-or-exp): Use string-match-p.
7086
7087 * dired.el (dired-buffer-more-recently-used-p): Declare.
7088 (dired-insert-set-properties, dired-insert-old-subdirs):
7089 Use ignore-errors.
7090
7091 * dired-aux.el (dired-compress): Use ignore-errors.
7092 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7093 (dired-do-async-shell-command, dired-do-shell-command)
7094 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7095 (dired-insert-subdir-validate): Use string-match-p.
7096 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7097 (dired-add-entry): Use string-match-p, looking-at-p.
7098 (dired-insert-subdir-newpos): Remove unused local variable.
7099
7100 * filenotify.el (file-notify-callback): Remove unused local variable.
7101
7102 * filesets.el (filesets-error): Mark unused argument.
7103 (filesets-which-command-p, filesets-filter-dir-names)
7104 (filesets-directory-files, filesets-get-external-viewer)
7105 (filesets-ingroup-get-data): Use string-match-p.
7106
7107 * find-file.el (ff-other-file-name, ff-other-file-name)
7108 (ff-find-the-other-file, ff-cc-hh-converter):
7109 Remove unused local variables.
7110 (ff-get-file-name): Use string-match-p.
7111 (ff-all-dirs-under): Use ignore-errors.
7112
7113 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7114 (follow-select-if-visible): Remove unused local variable.
7115
7116 * forms.el (read-file-filter): Move declaration.
7117 (forms--make-format, forms--make-parser, forms-insert-record):
7118 Quote function with #'.
7119 (forms--update): Use string-match-p. Quote function with #'.
7120
7121 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7122 (help-make-xrefs): Use looking-at-p.
7123 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7124
7125 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7126 (ibuffer-confirm-operation-on): Use string-match-p.
7127
7128 * msb.el (msb-item-handler, msb-dired-item-handler):
7129 Mark unused arguments.
7130
7131 * ses.el (ses-decode-cell-symbol)
7132 (ses-kill-override): Remove unused local variable.
7133 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7134 (ses-load): Use ignore-errors, looking-at-p.
7135 (ses-jump-safe): Use ignore-errors.
7136 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7137
7138 * tabify.el (untabify, tabify): Mark unused arguments.
7139
7140 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7141 Mark unused argument.
7142 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7143 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7144
c880af52
JB
7145 * emacs-lisp/timer.el (timer--time): Define setter with
7146 gv-define-setter to avoid deprecation warning.
7147
5660113b 7148 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7149 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7150 (cmpl-statistics-block): Remove (body was commented out).
7151 All callers changed.
7152 (add-completions-from-buffer, load-completions-from-file):
7153 Remove unused variables.
7154
156aab80
JB
71552013-08-09 Juanma Barranquero <lekktu@gmail.com>
7156
5c5dee78
JB
7157 * filecache.el (file-cache-delete-file-list):
7158 Print message only when told so.
7159 (file-cache-files-matching): Use #' in mapconcat argument.
7160
156aab80
JB
7161 * ffap.el (ffap-url-at-point): Fix reference to variable
7162 thing-at-point-default-mail-uri-scheme.
7163
ad9dcd70
SM
71642013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7165
54bd972f
SM
7166 * subr.el (define-error): New function.
7167 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7168 error-file-not-found and define with define-error.
7169 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7170 and define with define-error.
7171 * userlock.el (file-locked, file-supersession):
7172 * simple.el (mark-inactive):
7173 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7174 * progmodes/ada-mode.el (ada-mode-errors):
7175 * play/life.el (life-extinct):
7176 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7177 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7178 * nxml/rng-util.el (rng-error):
7179 * nxml/rng-uri.el (rng-uri-error):
7180 * nxml/rng-match.el (rng-compile-error):
7181 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7182 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7183 * nxml/nxml-rap.el (nxml-scan-error):
7184 * nxml/nxml-outln.el (nxml-outline-error):
7185 * net/soap-client.el (soap-error):
7186 * net/gnutls.el (gnutls-error):
7187 * net/ange-ftp.el (ftp-error):
7188 * mpc.el (mpc-proc-error):
7189 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7190 (json-number-format, json-string-escape, json-string-format)
7191 (json-key-format, json-object-format):
7192 * jka-compr.el (compression-error):
7193 * international/quail.el (quail-error):
7194 * international/kkc.el (kkc-error):
7195 * emacs-lisp/ert.el (ert-test-failed):
7196 * calc/calc.el (calc-error, inexact-result, math-overflow)
7197 (math-underflow):
7198 * bookmark.el (bookmark-error-no-filename):
7199 * epg.el (epg-error): Define with define-error.
7200
0ea9e53a
SM
7201 * time.el (display-time-event-handler)
7202 (display-time-next-load-average): Don't call sit-for since it seems
7203 unnecessary (bug#15045).
7204
b0429158
SM
7205 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7206 Use #' instead of ' to quote functions.
7207 (checkdoc-output-mode): Use setq-local.
7208 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7209 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7210 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7211 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7212 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7213 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7214 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7215 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7216
ad9dcd70
SM
7217 * ido.el (ido-completion-help): Fix up compiler warning.
7218
77187e6f
JB
72192013-08-09 Juanma Barranquero <lekktu@gmail.com>
7220
7221 * frameset.el (frameset-p): Add autoload cookie.
7222 (frameset--jump-to-register): New function, based on code moved from
7223 register.el.
7224 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7225
7226 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7227 (frameset-restore, frameset-save, frameset-session-filter-alist):
7228 Remove declarations.
7229 (register-alist): Doc fix.
7230 (frameset-to-register): Move to frameset.el.
7231 (jump-to-register, describe-register-1): Remove frameset-specific code.
7232
9d3aa82c
JB
72332013-08-08 Juanma Barranquero <lekktu@gmail.com>
7234
7235 * allout-widgets.el (allout-widgets-pre-command-business)
7236 (allout-widgets-post-command-business)
7237 (allout-widgets-after-change-handler)
7238 (allout-decorate-item-and-context, allout-set-boundary-marker)
7239 (allout-body-modification-handler)
7240 (allout-graphics-modification-handler): Mark ignored arguments.
7241 (allout-widgets-post-command-business)
7242 (allout-widgets-exposure-change-processor)
7243 (allout-widgets-exposure-undo-processor)
7244 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7245 (allout-parse-item-at-point, allout-decorate-item-guides)
7246 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7247 * allout.el (epa-passphrase-callback-function): Declare.
7248 (allout-overlay-insert-in-front-handler)
7249 (allout-overlay-interior-modification-handler)
7250 (allout-isearch-end-handler, allout-chart-siblings)
7251 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7252 (allout-yank-processing, allout-process-exposed)
7253 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7254 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7255 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7256 (lisp-indent-defform): Mark ignored arguments.
7257 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7258 (calculate-lisp-indent): Remove unused variables.
7259 * international/characters.el (indian-2-column, arabic-2-column)
7260 (tibetan): Mark ignored arguments.
7261 (use-cjk-char-width-table): Mark ignored arguments.
7262 Remove unused variables.
7263 * international/fontset.el (build-default-fontset-data)
7264 (x-compose-font-name, create-fontset-from-fontset-spec):
7265 Mark ignored arguments.
7266 (fontset-plain-name): Remove unused variables.
7267 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7268 (keyboard-coding-system): Mark ignored arguments.
7269 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7270 * help.el (resize-temp-buffer-window):
7271 * window.el (display-buffer-in-major-side-window)
7272 (display-buffer-in-side-window, display-buffer-in-previous-window):
7273 Remove unused variables.
7274 * isearch.el (isearch-forward-symbol):
7275 * version.el (emacs-bzr-version-bzr):
7276 * international/mule-cmds.el (current-language-environment):
7277 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7278 (x-handle-display):
7279 * term/pc-win.el (x-list-fonts, x-display-planes)
7280 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7281 (x-server-version, x-display-screens, x-display-mm-height)
7282 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7283 (x-selection-owner-p, x-own-selection-internal)
7284 (x-disown-selection-internal, x-get-selection-internal)
7285 (msdos-initialize-window-system):
7286 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7287 * term/x-win.el (x-handle-no-bitmap-icon):
7288 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7289 (vc-default-find-file-hook, vc-default-extra-menu):
7290 Mark ignored arguments.
7291
0ca3f70e
SM
72922013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7293
7294 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7295 break-condition in the context of the debugged code (bug#12685).
7296
74c5d24c
CS
72972013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7298
7299 * comint.el:
7300 Do not use an overlay to highlight the last prompt. (Bug#14744)
7301 (comint-mode): Make comint-last-prompt buffer local.
7302 (comint-last-prompt): New variable.
7303 (comint-last-prompt-overlay): Remove. Superseded by
7304 comint-last-prompt.
0ca3f70e
SM
7305 (comint-snapshot-last-prompt, comint-output-filter):
7306 Use comint-last-prompt.
74c5d24c 7307
c03c02ee
JB
73082013-08-08 Juanma Barranquero <lekktu@gmail.com>
7309
a3738d20 7310 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7311 (frameset-save): Check validity of the resulting frameset.
7312
04263d23
XF
73132013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7314
7315 * ido.el (ido-record-command): Add doc string.
7316
76c5e5ab
JB
73172013-08-08 Juanma Barranquero <lekktu@gmail.com>
7318
7319 * frameset.el (frameset): Do not disable creation of the default
7320 frameset-p predicate. Doc fix.
7321 (frameset-valid-p): New function, copied from the old predicate-p.
7322 Add additional checks.
7323 (frameset-restore): Check with frameset-valid-p.
7324 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7325 (frameset-name, frameset-description, frameset-properties)
7326 (frameset-states): Add docstring.
f9dbf1cb
JB
7327 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7328 (frameset-filter-alist): Doc fixes.
76c5e5ab 7329
bd0c3c0b
JB
73302013-08-08 Juanma Barranquero <lekktu@gmail.com>
7331
7332 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7333
c735544c
SM
73342013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7335
7336 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7337 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7338 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7339 (byte-compile-normal-call): Remove obsolescence check.
7340
2805a651
JB
73412013-08-08 Juanma Barranquero <lekktu@gmail.com>
7342
3677ffeb
JB
7343 * frameset.el (frameset-restore): Doc fix.
7344
2805a651
JB
7345 * register.el (frameset-frame-id, frameset-frame-with-id)
7346 (frameset-p, frameset-restore, frameset-save): Declare.
7347 (register-alist): Document framesets.
7348 (frameset-session-filter-alist): Declare.
7349 (frameset-to-register): New function.
7350 (jump-to-register): Implement jumping to framesets. Doc fix.
7351 (describe-register-1): Describe framesets.
7352
7353 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7354
a912c016
JB
73552013-08-07 Juanma Barranquero <lekktu@gmail.com>
7356
7357 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7358 Use lexical-binding.
7359
7360 * frameset.el (frameset): Use type vector, not list (incompatible
7361 change). Do not declare a new constructor, use the default one.
7362 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7363 `name' and `description', respectively, and add read-only slot
7364 `timestamp'. Doc fixes.
7365 (frameset-copy, frameset-persistent-filter-alist)
7366 (frameset-filter-alist, frameset-switch-to-gui-p)
7367 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7368 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7369 (frameset-filter-iconified, frameset-keep-original-display-p):
7370 Doc fixes.
7371 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7372 Rename from frameset-filter-(save|restore)-param. All callers changed.
7373 Doc fix.
7374 (frameset-p): Adapt to change to vector and be more thorough.
7375 Change arg name to OBJECT. Doc fix.
7376 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7377 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7378 All callers changed.
7379 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7380 All callers changed.
7381 (frameset--record-minibuffer-relationships): Rename from
7382 frameset--process-minibuffer-frames. All callers changed.
7383 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7384 Use new default constructor (again). Doc fix.
c295fc18 7385 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7386 All callers changed.
7387 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7388 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7389 Doc fix.
7390 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7391 PARAMETERS and WINDOW-STATE, respectively.
7392 (frameset-restore): Add new keyword argument PREDICATE.
7393 Reset frameset--target-display to nil. Doc fix.
7394
bb41480a
SM
73952013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7396
f001e98e
SM
7397 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7398 (bat-mode): Use it.
7399 (bat-mode-syntax-table): Mark \n as end-of-comment.
7400 (bat-font-lock-keywords): Remove comment rule.
7401
7679edb1
SM
7402 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7403 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7404
bb41480a
SM
7405 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7406 (byte-compile-callargs-warn): Use `push'.
7407 (byte-compile-arglist-warn): Ignore higher-order "calls".
7408 (byte-compile-file-form-autoload): Use `pcase'.
7409 (byte-compile-function-form): If quoting a symbol, check that it exists.
7410
cdc1ebb9
EZ
74112013-08-07 Eli Zaretskii <eliz@gnu.org>
7412
7413 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7414 and add a few popular commands found in batch files.
7415 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7416 (dos-mode): Doc fixes.
7417
312b1740
SM
74182013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7419
7420 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7421 (dos-mode): Use setq-local. Add space after "rem".
7422 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7423 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7424
400a3178
AM
74252013-08-07 Arni Magnusson <arnima@hafro.is>
7426
7427 * progmodes/dos.el: New file.
7428 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7429 dos-mode.
7430
3b5c03d3
GM
74312013-08-06 Glenn Morris <rgm@gnu.org>
7432
7433 * calendar/calendar.el: Add new faces, and day-header-array.
7434 (calendar-weekday-header, calendar-weekend-header)
7435 (calendar-month-header): New faces.
7436 (calendar-day-header-construct): New function.
7437 (calendar-day-header-width): Also :set calendar-day-header-array.
7438 (calendar-american-month-header, calendar-european-month-header)
7439 (calendar-iso-month-header): Use calendar- faces.
7440 (calendar-generate-month):
7441 Use calendar-day-header-array for day headers; apply faces to them.
7442 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7443 (calendar-abbrev-construct): Add optional maxlen argument.
7444 (calendar-day-name-array): Doc fix.
7445 (calendar-day-name-array, calendar-abbrev-length)
7446 (calendar-day-abbrev-array):
7447 Also :set calendar-day-header-array, and maybe redraw.
7448 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 7449 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
7450 (calendar-day-name): Add option to use header array.
7451
ec6a2d7a
LMI
74522013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7453
7454 * net/shr.el (shr-render-td): Remove debugging.
7455 (shr-render-td): Make width computation consistent by defaulting
7456 all zero-width columns to 10 characters. This may not be optimal,
7457 but it's at least consistent.
2122cb6d
LMI
7458 (shr-make-table-1): Redo last change to fix the real problem in
7459 colspan handling.
ec6a2d7a 7460
ed4fd9c5
DA
74612013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7462
0ca3f70e
SM
7463 * files.el (cache-long-line-scans):
7464 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 7465
64e22afe
JB
74662013-08-06 Juanma Barranquero <lekktu@gmail.com>
7467
024b38fc
JB
7468 * frameset.el (frameset, frameset-filter-alist)
7469 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7470 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7471 (frameset-compute-pos): Rename from frameset--compute-pos,
7472 and add docstring.
7473 (frameset-move-onscreen): Use frameset-compute-pos.
7474 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7475
64e22afe
JB
7476 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7477 Fix typos in docstrings.
7478
c8c2aca8
DA
74792013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7480
7481 * frame.el (get-other-frame): Tiny cleanup.
7482
1d237bba
JB
74832013-08-06 Juanma Barranquero <lekktu@gmail.com>
7484
8951efef
JB
7485 * vc/vc.el (vc-default-ignore-completion-table):
7486 Silence byte-compiler warning.
7487
307764cc 7488 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7489 slot, which can indeed be nil.
307764cc
JB
7490 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7491 Move entry for `left' from persistent to live filter alist.
7492 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7493 Doc fixes.
7494 (frameset-filter-params): When restoring a frame, copy items added to
7495 `filtered', to avoid unwittingly modifying the original parameters.
7496 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7497 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7498
1d237bba
JB
7499 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7500 to use looking-at-p instead of looking-at. (Bug#15028)
7501
dc6c0eda
SM
75022013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 Revert introduction of isearch-filter-predicates (bug#14714).
7505 Rely on add-function instead.
7506 * isearch.el (isearch-filter-predicates): Rename it back to
7507 isearch-filter-predicate.
7508 (isearch-message-prefix): Use advice-function-mapc and advice
7509 properties to get the isearch-message-prefix.
7510 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7511 instead of run-hook-with-args-until-failure.
7512 (isearch-filter-visible): Not obsolete any more.
7513 * loadup.el: Preload nadvice.
7514 * replace.el (perform-replace): Revert to funcall
7515 instead of run-hook-with-args-until-failure.
7516 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7517 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7518 dired-isearch-filenames-toggle; make it into a proper minor mode.
7519 Use add/remove-function.
7520 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7521 Call the minor-mode rather than add/remove-hook.
7522 (dired-isearch-filter-filenames):
7523 Remove isearch-message-prefix property.
7524 * info.el (Info--search-loop): New function, extracted from Info-search.
7525 Funcall isearch-filter-predicate instead of
7526 run-hook-with-args-until-failure isearch-filter-predicates.
7527 (Info-search): Use it.
7528 (Info-mode): Use isearch-filter-predicate instead of
7529 isearch-filter-predicates.
7530
290d5b58
DA
75312013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7532
7533 Do not call to `selected-window' where it is assumed by default.
7534 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7535 `window-hscroll', `window-width', `window-height', `window-buffer',
7536 `window-frame', `window-start', `window-point', `next-window'
7537 and `window-display-table'.
7538 * abbrev.el (abbrev--default-expand):
7539 * bs.el (bs--show-with-configuration):
7540 * buff-menu.el (Buffer-menu-mouse-select):
7541 * calc/calc.el (calc):
7542 * calendar/calendar.el (calendar-generate-window):
7543 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7544 (diary-make-entry):
7545 * comint.el (send-invisible, comint-dynamic-complete-filename)
7546 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7547 * completion.el (complete):
7548 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7549 * disp-table.el (describe-current-display-table):
7550 * doc-view.el (doc-view-insert-image):
7551 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7552 * ehelp.el (with-electric-help):
7553 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7554 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7555 * emacs-lisp/helper.el (Helper-help-scroller):
7556 * emulation/cua-base.el (cua--post-command-handler-1):
7557 * eshell/esh-mode.el (eshell-output-filter):
7558 * ffap.el (ffap-gnus-wrapper):
7559 * help-macro.el (make-help-screen):
7560 * hilit-chg.el (highlight-compare-buffers):
7561 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7562 * hl-line.el (global-hl-line-highlight):
7563 * icomplete.el (icomplete-simple-completing-p):
7564 * isearch.el (isearch-done):
7565 * jit-lock.el (jit-lock-stealth-fontify):
7566 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7567 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7568 * mpc.el (mpc-tagbrowser, mpc):
7569 * net/rcirc.el (rcirc-any-buffer):
7570 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7571 * play/landmark.el (landmark-max-width, landmark-max-height):
7572 * play/zone.el (zone):
7573 * progmodes/compile.el (compilation-goto-locus):
7574 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7575 * progmodes/etags.el (find-tag-other-window):
7576 * progmodes/fortran.el (fortran-column-ruler):
7577 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7578 * progmodes/verilog-mode.el (verilog-point-text):
7579 * reposition.el (reposition-window):
7580 * rot13.el (toggle-rot13-mode):
7581 * server.el (server-switch-buffer):
7582 * shell.el (shell-dynamic-complete-command)
7583 (shell-dynamic-complete-environment-variable):
7584 * simple.el (insert-buffer, set-selective-display)
7585 (delete-completion-window):
7586 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7587 (speedbar-recenter):
7588 * startup.el (fancy-splash-head):
7589 * textmodes/ispell.el (ispell-command-loop):
7590 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7591 * tutorial.el (help-with-tutorial):
7592 * vc/add-log.el (add-change-log-entry):
7593 * vc/compare-w.el (compare-windows):
7594 * vc/ediff-help.el (ediff-indent-help-message):
7595 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7596 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7597 (ediff-setup-control-frame):
7598 * vc/emerge.el (emerge-position-region):
7599 * vc/pcvs-util.el (cvs-bury-buffer):
7600 * window.el (walk-windows, mouse-autoselect-window-select):
7601 * winner.el (winner-set-conf, winner-undo): Related users changed.
7602
38276e01
JB
76032013-08-05 Juanma Barranquero <lekktu@gmail.com>
7604
7605 * frameset.el (frameset--set-id): Doc fix.
7606 (frameset-frame-id, frameset-frame-id-equal-p)
7607 (frameset-locate-frame-id): New functions.
7608 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7609 (frameset-restore): Use them.
7610
12b4c0ea
DA
76112013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7612
7613 Do not call to `selected-frame' where it is assumed by default.
7614 Affected functions are `raise-frame', `redraw-frame',
7615 `frame-first-window', `frame-terminal' and `delete-frame'.
7616 * calendar/appt.el (appt-disp-window):
7617 * epg.el (epg-wait-for-completion):
7618 * follow.el (follow-delete-other-windows-and-split)
7619 (follow-avoid-tail-recenter):
7620 * international/mule.el (set-terminal-coding-system):
7621 * mail/rmail.el (rmail-mail-return):
7622 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7623 * progmodes/f90.el (f90-add-imenu-menu):
7624 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7625 * server.el (server-switch-buffer):
7626 * simple.el (delete-completion-window):
7627 * talk.el (talk):
7628 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7629 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7630 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7631 * vc/ediff.el (ediff-documentation): Related users changed.
7632 * frame.el (selected-terminal): Remove the leftover.
7633
17f25e76
GM
76342013-08-05 Glenn Morris <rgm@gnu.org>
7635
7636 * calendar/calendar.el (calendar-generate-month):
7637 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7638 (calendar-generate-month, calendar-font-lock-keywords):
7639 Fix for calendar-day-header-width > length of any day name.
17f25e76 7640
063233c3
JB
76412013-08-05 Juanma Barranquero <lekktu@gmail.com>
7642
7643 * desktop.el (desktop-clear): Use new name of sort predicate.
7644
7645 * frameset.el (frameset): Add docstring. Move :version property to its
7646 own `version' slot.
7647 (frameset-copy): Rename from copy-frameset.
7648 (frameset-p): Check more thoroughly.
7649 (frameset-prop): Do not check for :version, which is no longer a prop.
7650 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7651 Use new :never value instead of t.
7652 (frameset-filter-alist): Expand and clarify docstring.
7653 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7654 (frameset-filter-minibuffer, frameset-filter-save-param)
7655 (frameset-filter-restore-param, frameset-filter-iconified):
7656 Add pointer to docstring of frameset-filter-alist.
7657 (frameset-filter-params): Rename filter values to be more meaningful:
7658 :never instead of t, and reverse the meanings of :save and :restore.
7659 (frameset--process-minibuffer-frames): Clarify error message.
7660 (frameset-save): Avoid unnecessary and confusing call to framep.
7661 Use new BOA constructor for framesets.
7662 (frameset--reuse-list): Doc fix.
7663 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7664 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7665 (frameset-minibufferless-first-p): Doc fix.
7666 Rename from frameset-sort-frames-for-deletion.
7667 (frameset-restore): Doc fixes. Use new function names.
7668 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7669
d5671a82
JB
76702013-08-04 Juanma Barranquero <lekktu@gmail.com>
7671
7672 * desktop.el (desktop-restore-forces-onscreen)
7673 (desktop-restore-reuses-frames): Document :keyword constant values.
7674 (desktop-filter-parameters-alist): Remove, now identical to
7675 frameset-filter-alist.
7676 (desktop--filter-tty*): Remove, moved to frameset.el.
7677 (desktop-save-frameset, desktop-restore-frameset):
7678 Do not pass :filters argument.
7679
7680 * frameset.el (frameset-live-filter-alist)
7681 (frameset-persistent-filter-alist): New variables.
7682 (frameset-filter-alist): Use them. Add autoload cookie.
7683 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7684 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7685 `frameset--id' (it's supposed to be internal to frameset.el).
7686 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7687 (frameset--initial-params): New function.
7688 (frameset--get-frame): Use it. Doc fix.
7689 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7690 Accept :all, not 'all.
7691 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7692 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7693 with fbound symbols. Fix frame id matching, and remove matching ids if
7694 the frame being restored is deleted. Obey :delete.
7695
671d5c16
SM
76962013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * subr.el (macrop): New function.
7699 (text-clone--maintaining): New var.
7700 (text-clone--maintain): Rename from text-clone-maintain. Use it
7701 instead of inhibit-modification-hooks.
7702
7703 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7704 a proxy, so as handle autoloads and redefinitions of the target.
7705 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7706
7707 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7708 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7709 (pcase--mutually-exclusive-p): New function.
7710 (pcase--split-consp): Use it.
7711 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7712 mutually exclusive with the current predicate.
7713
7714 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7715 (edebug-macrop): Remove. Use `macrop' instead.
7716 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7717 (ad-macro-p):
7718 * eshell/esh-cmd.el (eshell-macrop):
7719 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7720
1d44e9dc
SM
77212013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7724 (advice-mapc): New function, using it.
7725 (advice-function-member-p): New function.
7726 (advice--normalize): Store the cdr in advice--saved-rewrite since
7727 that's the part that will be changed.
7728 (advice--symbol-function): New function.
7729 (advice-remove): Handle removal before the function is defined.
7730 Adjust to new advice--saved-rewrite.
7731 (advice-member-p): Use advice-function-member-p and
7732 advice--symbol-function.
7733
5414a283
JB
77342013-08-04 Juanma Barranquero <lekktu@gmail.com>
7735
51d30f2c
JB
7736 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7737 (frameset-filter-minibuffer): Doc fix.
7738 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7739 (frameset--set-id, frameset--process-minibuffer-frames)
7740 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7741 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7742
5414a283
JB
7743 * desktop.el (desktop-clear): Only delete frames when called
7744 interactively and desktop-restore-frames is non-nil. Doc fix.
7745 (desktop-read): Set desktop-saved-frameset to nil.
7746
ab419665
XF
77472013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7748
7749 * vc/vc.el (vc-ignore): Rewrite.
7750 (vc-default-ignore-completion-table):
7751 (vc--read-lines):
7752 (vc--add-line, vc--remove-regexp): New functions.
7753
7754 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7755 (vc-svn-ignore-completion-table): New function.
7756
7757 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7758 (vc-hg-ignore-completion-table):
7759 (vc-hg-find-ignore-file): New functions.
7760
7761 * vc/vc-git.el (vc-git-ignore): Rewrite.
7762 (vc-git-ignore-completion-table):
7763 (vc-git-find-ignore-file): New functions.
7764
7765 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7766
7767 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7768 (vc-bzr-ignore-completion-table):
7769 (vc-bzr-find-ignore-file): New functions.
7770
2613dea2
JB
77712013-08-03 Juanma Barranquero <lekktu@gmail.com>
7772
7773 * frameset.el (frameset-prop): New function and setter.
7774 (frameset-save): Do not modify frame list passed by the caller.
7775
9c959872
SM
77762013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7779
a104f656
SM
77802013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7781
70122acf
SM
7782 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7783 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7784
a104f656
SM
7785 * custom.el (custom-initialize-default, custom-initialize-set)
7786 (custom-initialize-reset, custom-initialize-changed): Affect the
7787 toplevel-default-value (bug#6275, bug#14586).
7788 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7789 for bug#6275.
7790
f078d570
JB
77912013-08-02 Juanma Barranquero <lekktu@gmail.com>
7792
185e3b5a
JB
7793 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7794 Add cl-def* expressions.
7795
f078d570
JB
7796 * frameset.el (frameset-filter-params): Fix order of arguments.
7797
9421876d
JB
77982013-08-02 Juanma Barranquero <lekktu@gmail.com>
7799
7800 Move code related to saving frames to frameset.el.
7801 * desktop.el: Require frameset.
7802 (desktop-restore-frames): Doc fix.
7803 (desktop-restore-reuses-frames): Rename from
7804 desktop-restoring-reuses-frames.
7805 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7806 (desktop-clear): Clear frames too.
7807 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7808 (desktop--filter-tty*, desktop-save, desktop-read):
7809 Use frameset functions.
7810 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7811 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7812 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7813 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7814 (desktop--process-minibuffer-frames, desktop-save-frames)
7815 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7816 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7817 (desktop--sort-states, desktop-restoring-frames-p)
7818 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7819 (desktop-restoring-frameset-p, desktop-restore-frameset)
7820 (desktop--check-dont-save, desktop-save-frameset): New functions.
7821 (desktop--app-id): New constant.
7822 (desktop-first-buffer, desktop-buffer-ok-count)
7823 (desktop-buffer-fail-count): Move before first use.
7824 * frameset.el: New file.
7825
76dc5996
SM
78262013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7827
7828 * files.el: Use lexical-binding.
7829 (dir-locals-read-from-file): Remove unused `err' variable.
7830 (hack-dir-local-variables--warned-coding): New var.
7831 (hack-dir-local-variables): Use it to avoid repeated warnings.
7832 (make-backup-file-name--default-function): New function.
7833 (make-backup-file-name-function): Use it as default.
7834 (buffer-stale--default-function): New function.
7835 (buffer-stale-function): Use it as default.
7836 (revert-buffer-insert-file-contents--default-function): New function.
7837 (revert-buffer-insert-file-contents-function): Use it as default.
7838 (insert-directory): Avoid add-to-list.
7839
7840 * autorevert.el (auto-revert-handler): Simplify.
7841 Use buffer-stale--default-function.
7842
06d36e2b
TH
78432013-08-01 Tassilo Horn <tsdh@gnu.org>
7844
5f648ab4
TH
7845 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7846
06d36e2b
TH
7847 * whitespace.el (whitespace-ensure-local-variables): New function.
7848 (whitespace-cleanup-region): Call it.
7849 (whitespace-turn-on): Call it.
7850
a43dc424
MA
78512013-08-01 Michael Albinus <michael.albinus@gmx.de>
7852
7853 Complete file name handlers.
7854
7855 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7856 (tramp-handle-verify-visited-file-modtime)
7857 (tramp-handle-file-notify-rm-watch): New functions.
7858 (tramp-call-process): Do not bind `default-directory'.
7859
44e18199
JB
7860 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7861 Order alphabetically.
afe1e4c8
GM
7862 <access-file, add-name-to-file, dired-call-process>:
7863 <dired-compress-file, file-acl, file-notify-rm-watch>:
7864 <file-ownership-preserved-p, file-selinux-context>:
7865 <make-directory-internal, make-symbolic-link, set-file-acl>:
7866 <set-file-selinux-context, set-visited-file-modtime>:
7867 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7868 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7869
7870 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
7871 <file-notify-add-watch, file-notify-rm-watch>:
7872 <set-file-times, set-visited-file-modtime>:
7873 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7874 (with-tramp-gvfs-error-message)
7875 (tramp-gvfs-handle-set-visited-file-modtime)
7876 (tramp-gvfs-fuse-file-name): Remove.
7877 (tramp-gvfs-handle-file-notify-add-watch)
7878 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7879 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7880
44e18199
JB
7881 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7882 Order alphabetically.
afe1e4c8
GM
7883 <file-notify-rm-watch>: Use default Tramp handler.
7884 <executable-find>: Remove private handler.
a43dc424
MA
7885 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7886 `default-directory'.
7887 (tramp-sh-handle-executable-find)
7888 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7889 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7890 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7891 Do not use `format' in `tramp-message'.
7892
7893 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
7894 <file-notify-rm-watch, set-visited-file-modtime>:
7895 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7896 (tramp-smb-call-winexe): Do not bind `default-directory'.
7897
7188b515
XF
78982013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7899
7900 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7901
2412ee1a
DG
79022013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7903
7904 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7905 use it.
7906 (log-view-diff-changeset): Same.
7907 (log-view-diff-common): Call backend command `previous-revision'
7908 to find out the previous revision, in both cases. Swap the
7909 variables `to' and `fr', so that `fr' usually refers to the
7910 earlier revision (Bug#14989).
7911
5002a754
KRC
79122013-07-31 Kan-Ru Chen <kanru@kanru.info>
7913
7914 * ibuf-ext.el (ibuffer-filter-by-filename):
7915 Make it work with dired buffers too.
7916
44e18199 79172013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7918
7919 * emacs-lisp/re-builder.el (reb-color-display-p):
7920 * files.el (save-buffers-kill-terminal):
7921 * net/browse-url.el (browse-url):
7922 * server.el (server-save-buffers-kill-terminal):
7923 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7924 Prefer nil to selected-frame for the first arg of frame-parameter.
7925
aeca3fbb
XF
79262013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7927
7928 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7929
158bc55c
SB
79302013-07-30 Stephen Berman <stephen.berman@gmx.net>
7931
7932 * minibuffer.el (completion--twq-all): Try and preserve each
7933 completion's case choice (bug#14907).
7934
d50fceab
LMI
79352013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7936
ac38e731
LMI
7937 * net/network-stream.el (open-network-stream): Mention the new
7938 :nogreeting parameter.
7939 (network-stream-open-starttls): Use the :nogreeting parameter
7940 (bug#14938).
7941
1211de50
LMI
7942 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7943
997798bf
LMI
7944 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7945 more natural than popping.
7946
d50fceab 7947 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7948 (shr-urlify): Highlight under mouse.
d50fceab 7949
5c09de04
XF
79502013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7951
207d1d04
XF
7952 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7953
7954 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7955
5c09de04
XF
7956 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7957 buffer for output.
7958
3cd51eaa
XF
7959 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7960 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7961
44e18199 7962 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7963 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7964
7965 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7966
7967 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7968 buffer for output.
7969
35a89bdd
EZ
79702013-07-29 Eli Zaretskii <eliz@gnu.org>
7971
7972 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7973 initial frame is minibuffer-less. (Bug#14841)
7974
78822e94
MA
79752013-07-29 Michael Albinus <michael.albinus@gmx.de>
7976
7977 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7978 option.
7979
7980 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7981 (tramp-maybe-open-connection): Use it.
7982
9503c190
JB
79832013-07-28 Juanma Barranquero <lekktu@gmail.com>
7984
7985 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7986 minimal set of parameters passed when creating a frame, because
7987 the minibuffer status of a frame cannot be changed later.
7988
d5a845b4
SB
79892013-07-28 Stephen Berman <stephen.berman@gmx.net>
7990
7991 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7992 replace-regexp-in-string and inadvertent omissions in previous change.
7993 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7994 name of filtered items buffer.
d5a845b4 7995
ddeffb17
JB
79962013-07-28 Juanma Barranquero <lekktu@gmail.com>
7997
7998 * desktop.el: Optionally force offscreen frames back onscreen.
7999 (desktop-restoring-reuses-frames): New option.
8000 (desktop--compute-pos, desktop--move-onscreen): New functions.
8001 (desktop--make-frame): Use desktop--move-onscreen.
8002
f5950f7a
AM
80032013-07-27 Alan Mackenzie <acm@muc.de>
8004
8005 Fontify a Java generic method as a function.
8006 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8007 value to t.
8008
ae43b66a
SB
80092013-07-27 Stephen Berman <stephen.berman@gmx.net>
8010
8011 * calendar/todo-mode.el: Add command to rename todo files.
8012 (todo-rename-file): New command.
8013 (todo-key-bindings-t): Add key binding for it. Change the
8014 bindings of todo-filter-regexp-items(-multifile) to use `x'
8015 instead of `r', since the latter is better suited to the new
8016 renaming command.
8017
5ab78d3d
AM
80182013-07-27 Alan Mackenzie <acm@muc.de>
8019
8020 Make Java try-with-resources statement parse properly.
8021 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8022 (c-block-stmt-1-2-key): New language constants/variables.
8023 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8024 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8025 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 8026 with c-block-stmt-1-2-key.
5ab78d3d 8027
d85c4d50
JB
80282013-07-27 Juanma Barranquero <lekktu@gmail.com>
8029
8030 * desktop.el (desktop--make-frame): Apply most frame parameters after
8031 creating the frame to force (partially or totally) offscreen frames to
8032 be restored as such.
8033
e4c467f9
XF
80342013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8035
8036 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 8037 (Bug#14948)
e4c467f9 8038
7ced0d04
SM
80392013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8042 `base' arg of backtrace-frame.
8043
fec92060
EZ
80442013-07-26 Eli Zaretskii <eliz@gnu.org>
8045
8046 * simple.el (list-processes): Doc fix.
8047
d58d31fb
JB
80482013-07-26 Juanma Barranquero <lekktu@gmail.com>
8049
8050 * desktop.el (desktop--select-frame):
d85c4d50 8051 Try harder to reuse existing frames.
d58d31fb 8052
53ff3e77
SM
80532013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8056 (edebug-eval): Use backtrace-eval.
8057 (edebug--display, edebug--recursive-edit): Don't let-bind the
8058 edebug-outer-* vars that keep track of variables we locally let-bind.
8059 (edebug-outside-excursion): Don't restore outside values of locally
8060 let-bound vars.
8061 (edebug--display): Use user-error.
8062 (cl-lexical-debug, cl-debug-env): Remove.
8063
045f7a53
JB
80642013-07-26 Juanma Barranquero <lekktu@gmail.com>
8065
8066 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8067 are restored to be sure that they are visible before deleting any
8068 remaining ones.
8069
59070b32
MM
80702013-07-26 Matthias Meulien <orontee@gmail.com>
8071
742a3501
XF
8072 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8073 vc-print-root-log. (Bug#14948)
59070b32 8074
b1fb3596
RS
80752013-07-26 Richard Stallman <rms@gnu.org>
8076
8077 Add aliases for encrypting mail.
8078 * epa.el (epa-mail-aliases): New option.
8079 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8080 Bind inhibit-read-only so read-only text doesn't ruin everything.
8081 (epa-mail-default-recipients): New subroutine broken out.
8082 Handle epa-mail-aliases.
8083
56ea7291
SM
80842013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 Add support for lexical variables to the debugger's `e' command.
8087 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8088 vars, except for debugger-outer-match-data.
8089 (debugger-frame-number): Move check for "on a function call" from
8090 callers into it. Add `skip-base' argument.
8091 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8092 (debugger-env-macro): Only reset the state stored in non-variables,
8093 i.e. current-buffer and match-data.
8094 (debugger-eval-expression): Rewrite using backtrace-eval.
8095 * subr.el (internal--called-interactively-p--get-frame): Remove.
8096 (called-interactively-p):
8097 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8098 `base' arg of backtrace-frame instead.
8099
15ac32d5
GM
81002013-07-26 Glenn Morris <rgm@gnu.org>
8101
8358a09d
GM
8102 * align.el (align-regexp): Doc fix. (Bug#14857)
8103 (align-region): Explicit error if subexpression missing/does not match.
8104
15ac32d5
GM
8105 * simple.el (global-visual-line-mode):
8106 Do not duplicate the mode lighter. (Bug#14858)
8107
f47ad11b
MR
81082013-07-25 Martin Rudalics <rudalics@gmx.at>
8109
8110 * window.el (display-buffer): In display-buffer bind
8111 split-window-keep-point to t, bug#14829.
8112
02530987
JB
81132013-07-25 Juanma Barranquero <lekktu@gmail.com>
8114
8115 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8116 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8117 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8118 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8119 Change accordingly.
f63ebeb5
JB
8120 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8121 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8122
6ccb9cab 81232013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8124
6ccb9cab 8125 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8126
cb3a56d2
JB
81272013-07-25 Juanma Barranquero <lekktu@gmail.com>
8128
8129 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8130 parameter to modify-frame-parameters if the value has not changed;
8131 this is a workaround for bug#14949.
8132 (desktop--make-frame): On cl-delete-if call, check parameter name,
8133 not full parameter.
8134
7aa7fff0
XF
81352013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8136
8137 * vc/vc.el (vc-ignore): New function.
8138
8139 * vc/vc-svn.el (vc-svn-ignore): New function.
8140
8141 * vc/vc-hg.el (vc-hg-ignore): New function.
8142
8143 * vc/vc-git.el (vc-git-ignore): New function.
8144
8145 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8146 (vc-dir-ignore): New function.
8147
8148 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8149 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8150
8151 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8152
8153 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8154
889acc5c
JB
81552013-07-24 Juanma Barranquero <lekktu@gmail.com>
8156
8157 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8158 (desktop-restore-frames): Warn when deleting an existing frame failed.
8159
86c40970
GM
81602013-07-24 Glenn Morris <rgm@gnu.org>
8161
8162 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8163
d5d3c58a
MA
81642013-07-24 Michael Albinus <michael.albinus@gmx.de>
8165
8166 * filenotify.el (file-notify-supported-p):
8167 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8168 Remove functions.
8169
8170 * autorevert.el (auto-revert-use-notify):
8171 (auto-revert-notify-add-watch):
8172 * net/tramp.el (tramp-file-name-for-operation):
8173 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8174 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8175 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8176 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8177 Remove `file-notify-supported-p' entry.
8178
d100084b
GM
81792013-07-24 Glenn Morris <rgm@gnu.org>
8180
8181 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8182 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8183
ac93e56b
SM
81842013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8185
249eea30
SM
8186 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8187 checked with memq (bug#14935).
8188
ac93e56b
SM
8189 * files.el (revert-buffer-function): Use a non-nil default.
8190 (revert-buffer-preserve-modes): Declare var to
8191 provide access to the `preserve-modes' argument.
8192 (revert-buffer): Let-bind it.
8193 (revert-buffer--default): New function, extracted from revert-buffer.
8194
2cdeb903
SM
81952013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * lpr.el: Signal print errors more prominently.
8198 (print-region-function): Don't default to nil.
8199 (lpr-print-region): New function, extracted from print-region-1.
8200 Check lpr's return value and signal an error in case of problem.
8201 (print-region-1): Use it.
8202 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8203 versions instead.
8204 (ps-printer-name): Default to nil.
8205 (ps-printer-name-option): Default to lpr-printer-switch.
8206 (ps-print-region-function): Don't default to nil.
8207 (ps-postscript-code-directory): Simplify default.
8208 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8209 (ps-string-list, ps-eval-switch, ps-flatten-list)
8210 (ps-flatten-list-1): Remove.
8211 (ps-multibyte-buffer): Avoid setq.
8212 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8213 (print-region-function, ps-print-region-function): Don't set them here.
8214
73600831
XF
82152013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8216
0e55c076
XF
8217 * ido.el (ido-fractionp):
8218 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8219 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8220 (ido-max-directory-size, ido-max-dir-file-cache)
8221 (ido-decorations): Doc fix.
8222
73600831
XF
8223 * ansi-color.el: Fix old URL.
8224
3d012865
MM
82252013-07-23 Michael R. Mauger <michael@mauger.com>
8226
e903c210 8227 * progmodes/sql.el: Version 3.3
3d012865
MM
8228 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8229 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8230 (sql-interactive-remove-continuation-prompt): Rewrite, use
8231 functions above. Fix continuation prompt and complete output line
8232 handling.
8233 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8234 redirected output buffer.
8235 (sql-mode): Restore deleted code (Bug#13591).
8236
da77a2e2
JB
82372013-07-23 Juanma Barranquero <lekktu@gmail.com>
8238
8239 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8240
80ff0c71
MA
82412013-07-23 Michael Albinus <michael.albinus@gmx.de>
8242
8243 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8244
8245 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8246 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8247 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8248
b61d71e4
JB
82492013-07-23 Juanma Barranquero <lekktu@gmail.com>
8250
8251 * desktop.el (desktop-clear): Simplify; remove useless checks
8252 against invalid buffer names.
8253 (desktop-list*): Use cl-list*.
8254 (desktop-buffer-info, desktop-create-buffer): Simplify.
8255
c3512092
LL
82562013-07-23 Leo Liu <sdl.web@gmail.com>
8257
8258 * bookmark.el (bookmark-make-record): Restore NAME as a default
8259 value. (Bug#14933)
8260
0ac26976
SM
82612013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8262
7d22ce18
SM
8263 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8264 extracted from autoload--insert-text.
8265 (autoload--insert-text): Remove.
8266 (autoload--print-cookie-text): New function, extracted from
8267 autoload--insert-cookie-text.
8268 (autoload--insert-cookie-text): Remove.
8269 (autoload-generate-file-autoloads): Adjust calls accordingly.
8270
9b2607e8
SM
8271 * winner.el (winner-hook-installed-p): Remove.
8272 (winner-mode): Simplify accordingly.
8273
c43a8618
SM
8274 * subr.el (add-to-list): Fix compiler-macro when `append' is
8275 not constant. Don't use `cl-member' for the base case.
8276
0ac26976
SM
8277 * progmodes/subword.el: Fix boundary case (bug#13758).
8278 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8279 own group.
8280 (subword-backward-regexp): Make it a constant.
8281 (subword-forward-internal): Don't treat a trailing capital as the
8282 beginning of a word.
8283
6874724a
AR
82842013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8285
8286 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8287 global value of tabulated-list-revert-hook (bug#14930).
8288
70f1b5e8
JB
82892013-07-22 Juanma Barranquero <lekktu@gmail.com>
8290
a1c80d9d
JB
8291 * desktop.el: Require 'cl-lib.
8292 (desktop-before-saving-frames-functions): New hook.
8293 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8294 for frames being saved. Rename from desktop--save-minibuffer-frames.
8295 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8296 Do not save frames with non-nil `desktop-dont-save' parameter.
8297 Filter out deleted frames.
a1c80d9d
JB
8298 (desktop--find-frame): Use cl-find-if.
8299 (desktop--select-frame): Use cl-(first|second|third) to access values
8300 of desktop-mini.
8301 (desktop--make-frame): Use cl-delete-if.
8302 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8303 (desktop-restore-frames): Use cl-(first|second|third) to access values
8304 of desktop-mini. Look for visible frame at the end, not while
8305 restoring frames.
8306
70f1b5e8
JB
8307 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8308 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8309 Use string-match-p, looking-at-p (bug#14927).
8310
728dc3cc
JB
83112013-07-21 Juanma Barranquero <lekktu@gmail.com>
8312
56bc453c
JB
8313 * desktop.el (desktop-saved-frame-states):
8314 Rename from desktop--saved-states; all users changed.
8315 (desktop-save-frames): Rename from desktop--save-frames.
8316 Do not save state to desktop file.
8317 (desktop-save): Save desktop-saved-frame-states to desktop file
8318 and reset to nil.
8319 (desktop-restoring-frames-p): New function.
8320 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8321 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8322 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8323
728dc3cc
JB
8324 * desktop.el: Correctly restore iconified frames.
8325 (desktop--filter-iconified-position): New function.
8326 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8327
862f1c9c
GM
83282013-07-20 Glenn Morris <rgm@gnu.org>
8329
c4074c9f
GM
8330 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8331 Let `message' do the formatting.
8332 (def-gdb-preempt-display-buffer): Add explicit format.
8333
d828e5f9
GM
8334 * image-dired.el (image-dired-track-original-file):
8335 Use with-current-buffer.
8336 (image-dired-track-thumbnail): Use with-current-buffer.
8337 Avoid changing point of wrong window.
8338
862f1c9c
GM
8339 * image-dired.el (image-dired-track-original-file):
8340 Avoid changing point of wrong window. (Bug#14909)
8341
f0398ec1 83422013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8343
8344 * progmodes/gdb-mi.el (gdb-done-or-error):
8345 Guard against "%" in gdb output. (Bug#14127)
8346
1451928f
AS
83472013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8348
763a086d
JB
8349 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8350 (Bug#14826)
f7a03897 8351
1451928f
AS
8352 * international/mule.el (coding-system-iso-2022-flags): Fix last
8353 change.
8354
99107004
KH
83552013-07-20 Kenichi Handa <handa@gnu.org>
8356
763a086d
JB
8357 * international/mule.el (coding-system-iso-2022-flags):
8358 Add `8-bit-level-4'. (Bug#8522)
99107004 8359
48494e06
LMI
83602013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8361
8ba8eec5
LMI
8362 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8363 (bug#14815).
8364
dfbc66e3
LMI
8365 * net/eww.el (eww-process-text-input): Allow inputting when the
8366 point is at the start of the line, as the properties aren't
8367 front-sticky.
8368
48494e06
LMI
8369 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8370 degenerate widths.
8371
77c92cb9
RS
83722013-07-19 Richard Stallman <rms@gnu.org>
8373
aec7da77
RS
8374 * epa.el (epa-popup-info-window): Doc fix.
8375
77c92cb9
RS
8376 * subr.el (split-string): New arg TRIM.
8377
945c5bb1
JB
83782013-07-18 Juanma Barranquero <lekktu@gmail.com>
8379
8380 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8381 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8382
e06ec67f
MA
83832013-07-18 Michael Albinus <michael.albinus@gmx.de>
8384
c7064f05 8385 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8386 `file-notify-support'. Do not autoload. Adapt all uses.
8387 (file-notify-supported-p): New defun.
8388
c7064f05
JB
8389 * autorevert.el (auto-revert-use-notify):
8390 Use `file-notify-supported-p' instead of `file-notify-support'.
8391 Adapt docstring.
e06ec67f
MA
8392 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8393
8394 * net/tramp.el (tramp-file-name-for-operation):
8395 Add `file-notify-supported-p'.
8396
8397 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8398 New defun.
8399 (tramp-sh-file-name-handler-alist): Add it as handler for
8400 `file-notify-supported-p '.
8401
8402 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8403 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8404 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8405 Add `ignore' as handler for `file-notify-*' functions.
8406
5dc8a629
EZ
84072013-07-17 Eli Zaretskii <eliz@gnu.org>
8408
8409 * simple.el (line-move-partial, line-move): Don't start vscroll or
8410 scroll-up if the current line is not taller than the window.
8411 (Bug#14881)
8412
77aea2fb
DG
84132013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8414
8415 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8416 highlight question marks in the method names as strings.
ac72c08d
DG
8417 (ruby-block-beg-keywords): Inline.
8418 (ruby-font-lock-keyword-beg-re): Extract from
8419 `ruby-font-lock-keywords'.
77aea2fb 8420
18c26d81
JD
84212013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8422
8423 * frame.el (blink-cursor-blinks): New defcustom.
8424 (blink-cursor-blinks-done): New defvar.
8425 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8426 (blink-cursor-timer-function): Check if number of blinks has been
8427 done on X and NS.
8428 (blink-cursor-suspend, blink-cursor-check): New defuns.
8429
da48522e
GM
84302013-07-15 Glenn Morris <rgm@gnu.org>
8431
8432 * edmacro.el (edmacro-format-keys): Fix previous change.
8433
0463c1ef
PE
84342013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8435
8436 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8437 The hack didn't work outside English locales anyway.
8438
b43f6451
JB
84392013-07-15 Juanma Barranquero <lekktu@gmail.com>
8440
8441 * simple.el (define-alternatives): Rename from alternatives-define,
8442 per RMS' suggestion.
8443
b958c0ad
JB
84442013-07-14 Juanma Barranquero <lekktu@gmail.com>
8445
8446 * desktop.el (desktop-restore-frames): Change default to t.
8447 (desktop-restore-in-current-display): Now offer more options.
8448 (desktop-restoring-reuses-frames): New customization option.
8449 (desktop--saved-states): Doc fix.
8450 (desktop-filter-parameters-alist): New variable, renamed and expanded
8451 from desktop--excluded-frame-parameters.
8452 (desktop--target-display): New variable.
8453 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8454 (desktop--filter-tty*, desktop--filter-*-color)
8455 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8456 (desktop--filter-save-desktop-parm)
8457 (desktop-restore-in-original-display-p): New functions.
8458 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8459 (desktop--save-minibuffer-frames): New function, inspired by a similar
8460 function from Martin Rudalics.
8461 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8462 (desktop--restore-in-this-display-p): Remove.
8463 (desktop--find-frame): Rename from desktop--find-frame-in-display
8464 and add predicate argument.
8465 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8466 (desktop--reuse-list): New variable.
8467 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8468 New functions.
8469 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8470
f6dd8b36
MA
84712013-07-14 Michael Albinus <michael.albinus@gmx.de>
8472
8473 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8474
2ce3c565
DG
84752013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8476
763a086d
JB
8477 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8478 Highlight conversion methods on Kernel.
2ce3c565 8479
2cdb7698
AM
84802013-07-13 Alan Mackenzie <acm@muc.de>
8481
8482 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8483 and comment it out. This out-commenting enables certain C++
8484 declarations to be parsed correctly.
8485
1a67b811
EZ
84862013-07-13 Eli Zaretskii <eliz@gnu.org>
8487
1b796d6b
EZ
8488 * international/mule.el (define-coding-system): Doc fix.
8489
1a67b811
EZ
8490 * simple.el (default-font-height): Don't call font-info if the
8491 frame's default font didn't change since the frame was created.
8492 (Bug#14838)
8493
58fbe886
LL
84942013-07-13 Leo Liu <sdl.web@gmail.com>
8495
8496 * ido.el (ido-read-file-name): Guard against non-symbol value.
8497
1f0480d4
FEG
84982013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8499
8500 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8501 in nested defuns.
8502
97ead0e5
LL
85032013-07-13 Leo Liu <sdl.web@gmail.com>
8504
8505 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8506 ido-set-matches call. (Bug#6852)
8507
0880a952
DG
85082013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8509
8510 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8511 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8512 Ruby 2.0.
8513 (ruby-font-lock-keywords): Distinguish calls to functions with
8514 module-like names from module references. Highlight character
8515 literals.
8516
a7d8babb
SDJ
85172013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8518
8519 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8520 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8521
acfcc8c5
JB
85222013-07-12 Juanma Barranquero <lekktu@gmail.com>
8523
8524 * desktop.el (desktop--v2s): Remove unused local variable.
8525 (desktop-save-buffer): Make defvar-local; adjust docstring.
8526 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8527 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8528
051f2775
AS
85292013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8530
8531 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8532
f24e7572
GM
85332013-07-12 Eli Zaretskii <eliz@gnu.org>
8534
8535 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8536 (Bug#14842)
8537
539a920c
GM
85382013-07-12 Glenn Morris <rgm@gnu.org>
8539
8540 * doc-view.el: Require cl-lib at runtime too.
8541 (doc-view-remove-if): Remove.
8542 (doc-view-search-next-match, doc-view-search-previous-match):
8543 Use cl-remove-if.
8544
8545 * edmacro.el: Require cl-lib at runtime too.
8546 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8547 (edmacro-mismatch, edmacro-subseq): Remove.
8548
8549 * shadowfile.el: Require cl-lib.
8550 (shadow-remove-if): Remove.
8551 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8552 Use cl-remove-if.
8553
8554 * wid-edit.el: Require cl-lib.
8555 (widget-choose): Use cl-remove-if.
8556 (widget-remove-if): Remove.
8557
8558 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8559 (ebrowse-delete-if-not): Remove.
8560 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8561 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8562 Use cl-delete-if-not.
8563
1048af7c
JB
85642013-07-12 Juanma Barranquero <lekktu@gmail.com>
8565
8566 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8567 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8568
6c0674ee
LL
85692013-07-12 Leo Liu <sdl.web@gmail.com>
8570
8571 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8572
a19b3c2d
GM
85732013-07-11 Glenn Morris <rgm@gnu.org>
8574
4582a01c
GM
8575 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8576 (edebug-gensym-index, edebug-gensym):
8577 Remove reimplementation of cl-gensym.
8578 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8579
8580 * thumbs.el: Require cl-lib at run-time too.
8581 (thumbs-gensym-counter, thumbs-gensym):
8582 Remove reimplementation of cl-gensym.
8583 (thumbs-temp-file): Use cl-gensym.
8584
a19b3c2d
GM
8585 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8586 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8587 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8588 (ert--union, ert--gensym-counter, ert--gensym-counter)
8589 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8590 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8591 (ert-make-test-unbound, ert--expand-should-1)
8592 (ert--expand-should, ert--should-error-handle-error)
8593 (should-error, ert--explain-equal-rec)
8594 (ert--plist-difference-explanation, ert-select-tests)
8595 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8596 Use cl-lib functions rather than reimplementations.
8597
88f6a933
MA
85982013-07-11 Michael Albinus <michael.albinus@gmx.de>
8599
8600 * net/tramp.el (tramp-methods): Extend docstring.
8601 (tramp-connection-timeout): New defcustom.
8602 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8603 (with-tramp-progress-reporter): Simplify.
8604 (tramp-process-actions): Improve messages.
8605
8606 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8607 * net/tramp-sh.el (tramp-maybe-open-connection):
8608 Use `tramp-connection-timeout'.
afe1e4c8 8609 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
8610 (Bug#14808)
8611
a43d577e
LL
86122013-07-11 Leo Liu <sdl.web@gmail.com>
8613
8614 * ido.el (ido-read-file-name): Conform to the requirements of
8615 read-file-name. (Bug#11861)
8616 (ido-read-directory-name): Conform to the requirements of
8617 read-directory-name.
8618
d77974bf
JB
86192013-07-11 Juanma Barranquero <lekktu@gmail.com>
8620
8621 * subr.el (delay-warning): New function.
8622
35cb8a3e
EZ
86232013-07-10 Eli Zaretskii <eliz@gnu.org>
8624
8625 * simple.el (default-line-height): New function.
8626 (line-move-partial, line-move): Use it instead of computing the
8627 line height inline.
8628 (line-move-partial): Always compute ROWH. If the last line is
8629 partially-visible, but its text is completely visible, allow
8630 cursor to enter such a partially-visible line.
8631
525c5c77
MA
86322013-07-10 Michael Albinus <michael.albinus@gmx.de>
8633
8634 Improve error messages. (Bug#14808)
8635
8636 * net/tramp.el (tramp-current-connection): New defvar, moved from
8637 tramp-sh.el.
0ac26976 8638 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8639 needed anymore.
0ac26976
SM
8640 (tramp-error-with-buffer): Show message in minibuffer.
8641 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8642 (with-tramp-progress-reporter): Improve messages.
8643 (tramp-process-actions): Use progress reporter. Delete process in
8644 case of error. Improve messages.
8645
763a086d
JB
8646 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8647 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8648 (tramp-current-connection): Remove.
525c5c77
MA
8649 (tramp-maybe-open-connection): The car of
8650 `tramp-current-connection' are the first 3 slots of the vector.
8651
c7a4d368
TZ
86522013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8653
8654 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8655 inside continued strings.
8656
954b166e
PE
86572013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8658
8659 Timestamp fixes for undo (Bug#14824).
8660 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8661
56973319
LL
86622013-07-10 Leo Liu <sdl.web@gmail.com>
8663
8664 * files.el (require-final-newline): Allow safe local value.
8665 (Bug#14834)
8666
5550a72c
LL
86672013-07-09 Leo Liu <sdl.web@gmail.com>
8668
8669 * ido.el (ido-read-directory-name): Handle fallback.
8670 (ido-read-file-name): Update DIR to ido-current-directory.
8671 (Bug#1516)
c28b9050 8672 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8673
70c46b28
DG
86742013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8675
8676 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8677 "autoload". Remove "warn lower camel case" section, previously
8678 commented out. Highlight negation char. Do not highlight the
8679 target in singleton method definitions.
8680
0b64b838
SM
86812013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8682
7fd72e2c
SM
8683 * faces.el (tty-setup-hook): Declare the hook.
8684
0b64b838
SM
8685 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8686 and detect when a guard/pred depends on local vars (bug#14773).
8687 (pcase--u1): Adjust caller.
8688
ab49d60b
EZ
86892013-07-08 Eli Zaretskii <eliz@gnu.org>
8690
8691 * simple.el (line-move-partial, line-move): Account for
8692 line-spacing.
701d79aa
EZ
8693 (line-move-partial): Avoid setting vscroll when the last
8694 partially-visible line in window is of default height.
ab49d60b 8695
2d756ae0
LMI
86962013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8697
8698 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8699 been used a while.
8700
ed095bd7
JB
87012013-07-07 Juanma Barranquero <lekktu@gmail.com>
8702
8703 * subr.el (read-quoted-char): Remove unused local variable `char'.
8704
f1e6674b
MK
87052013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8706
584ee3fc
GM
8707 * ediff.el (ediff-version): Version update.
8708 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8709 (ediff-merge-with-ancestor-command, ediff-directories-command)
8710 (ediff-directories3-command, ediff-merge-directories-command)
8711 (ediff-merge-directories-with-ancestor-command): New functions.
8712 All are command-line interfaces to ediff: to facilitate calling
8713 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8714
8715 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8716 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8717
584ee3fc
GM
8718 * viper.el (viper-version): Version update.
8719 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8720
584ee3fc
GM
87212013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8722
8723 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8724 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8725 (viper-intercept-ESC-key): Simplify.
8726 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8727 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8728 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8729 (viper-setup-ESC-to-escape): New functions.
8730 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8731 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8732
9aff9b38
EZ
87332013-07-07 Eli Zaretskii <eliz@gnu.org>
8734
5165d44a
JB
8735 * simple.el (default-font-height, window-screen-lines):
8736 New functions.
9aff9b38
EZ
8737 (line-move, line-move-partial): Use them instead of
8738 frame-char-height and window-text-height. This makes scrolling
8739 text smoother when the buffer's default face uses a font that is
8740 different from the frame's default font.
8741
1afb1d07
JD
87422013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8743
8744 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8745 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8746
23de972a
EZ
87472013-07-06 Eli Zaretskii <eliz@gnu.org>
8748
8749 * simple.el (line-move-partial): Adjust the row returned by
8750 posn-at-point for the current window-vscroll. (Bug#14567)
8751
54a42486
MA
87522013-07-06 Michael Albinus <michael.albinus@gmx.de>
8753
8754 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8755 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8756 spaces.
8757
34ada5f4
MR
87582013-07-06 Martin Rudalics <rudalics@gmx.at>
8759
8760 * window.el (window-state-put-stale-windows): New variable.
8761 (window--state-put-2): Save list of windows without matching buffer.
8762 (window-state-put): Remove "bufferless" windows if possible.
8763
11e03d89
JB
87642013-07-06 Juanma Barranquero <lekktu@gmail.com>
8765
8766 * simple.el (alternatives-define): Remove leftover :group keyword.
8767 Tweak docstring.
8768
3504a4be
LL
87692013-07-06 Leo Liu <sdl.web@gmail.com>
8770
8771 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8772 (ido-enable-virtual-buffers): New variable.
8773 (ido-buffer-internal, ido-toggle-virtual-buffers)
8774 (ido-make-buffer-list): Use it.
8775 (ido-exhibit): Support turning on and off virtual buffers
8776 automatically.
8777
61e56e2c
JB
87782013-07-06 Juanma Barranquero <lekktu@gmail.com>
8779
8780 * simple.el (alternatives-define): New macro.
8781
321e1a9c
SM
87822013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8783
8784 * subr.el (read-quoted-char): Use read-key.
8785 (sit-for): Let read-event decode tty input (bug#14782).
8786
d610f6dd
SB
87872013-07-05 Stephen Berman <stephen.berman@gmx.net>
8788
8789 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8790 mode command and externally. Fix various related bugs.
8791 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8792 (todo-delete-file): New command.
8793 (todo-check-file): New function.
8794 (todo-show): Handle external deletion of the file we're trying to
8795 show (bug#14688). Replace called-interactively-p by an optional
8796 prefix argument to avoid problematic interaction with catch form
8797 when byte compiled (bug#14702).
8798 (todo-quit): Handle external deletion of the archive's todo file.
8799 Make sure the buffer that was visiting the archive file is still
8800 live before trying to bury it.
8801 (todo-category-completions): Handle external deletion of any
8802 category completion files.
8803 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8804 of todo files, in case of external deletion.
8805 (todo-add-file): Replace unnecessary setq by let-binding.
8806 (todo-find-archive): Check whether there are any archives.
8807 Replace unnecessary setq by let-binding.
8808 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8809 archive buffer whether or not the archive already exists.
8810 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8811 check if the archive is new; if it is, update list of archives.
8812 (todo-default-todo-file): Allow nil to be a valid value for when
8813 there are no todo files.
8814 (todo-reevaluate-default-file-defcustom): Use corrected definition
8815 of todo-default-todo-file.
8816 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8817 (todo-delete-category, todo-show-categories-table)
8818 (todo-category-number): Clarify comment.
8819 (todo-filter-items): Clarify documentation string.
8820 (todo-show-current-file, todo-display-as-todo-file)
8821 (todo-reset-and-enable-done-separator): Tweak documentation string.
8822 (todo-done-separator): Make separator length window-width, since
8823 bug#2749 is now fixed.
8824
ddbdfd6f
MA
88252013-07-05 Michael Albinus <michael.albinus@gmx.de>
8826
321e1a9c
SM
8827 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8828 Support both "gvfs-monitor-dir" and "inotifywait".
8829 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8830 `tramp-sh-file-notify-process-filter'.
8831 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8832 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8833
96eb829a
LL
88342013-07-05 Leo Liu <sdl.web@gmail.com>
8835
8836 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8837
cf13177e
YM
88382013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8839
8840 * frame.el (display-pixel-height, display-pixel-width)
8841 (display-mm-height, display-mm-width): Mention behavior on
8842 multi-monitor setups in docstrings.
8843 (w32-display-monitor-attributes-list): Declare function.
8844 (display-monitor-attributes-list): Use it.
8845
864c58ca
MA
88462013-07-04 Michael Albinus <michael.albinus@gmx.de>
8847
8848 * filenotify.el: New package.
8849
8850 * autorevert.el (top): Require filenotify.el.
8851 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8852 instead.
8853 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8854 (auto-revert-notify-handler): Use `file-notify-*' functions.
8855
8856 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8857
321e1a9c
SM
8858 * net/tramp.el (tramp-file-name-for-operation):
8859 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8860
8861 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8862 for `file-notify-add-watch' and `file-notify-rm-watch'.
8863 (tramp-process-sentinel): Improve trace.
8864 (tramp-sh-handle-file-notify-add-watch)
8865 (tramp-sh-file-notify-process-filter)
8866 (tramp-sh-handle-file-notify-rm-watch)
8867 (tramp-get-remote-inotifywait): New defuns.
8868
96673afe
JL
88692013-07-03 Juri Linkov <juri@jurta.org>
8870
8871 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8872 call of `occur-read-primary-args' to interactive spec.
8873
8874 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8875 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8876
924494f4
MM
88772013-07-03 Matthias Meulien <orontee@gmail.com>
8878
8879 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8880 `Buffer-menu-multi-occur'. Add it to the menu.
8881 (Buffer-menu-mode): Document it in docstring.
8882 (Buffer-menu-multi-occur): New command. (Bug#14673)
8883
56f75efc
DG
88842013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8885
8886 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8887 keywords and built-ins.
8888
9b057d61
GM
88892013-07-03 Glenn Morris <rgm@gnu.org>
8890
208dee4d
GM
8891 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8892
9b057d61
GM
8893 Make info-xref checks case-sensitive by default
8894 * info.el (Info-find-node, Info-find-in-tag-table)
8895 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8896 Add option for exact case matching of nodes.
8897 * info-xref.el (info-xref): New custom group.
8898 (info-xref-case-fold): New option.
8899 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8900
e01aa29c
LL
89012013-07-03 Leo Liu <sdl.web@gmail.com>
8902
8903 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8904
3086ca2e
DG
89052013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8906
8907 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8908 middle of block statement initially, lower the depth. Remove
8909 FIXME comment, not longer valid. Remove middle of block statement
8910 detection, no need to do that anymore since we've been using
8911 `ruby-parse-region' here.
8912
a3b49114
JD
89132013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8914
8915 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8916
08e5c823 89172013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8918
8919 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8920
2addf922
JB
89212013-07-01 Juanma Barranquero <lekktu@gmail.com>
8922
8923 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8924 (desktop-restore-in-current-display): New customization option.
8925 (desktop--excluded-frame-parameters): Add `font'.
8926 (desktop--save-frames): Rename from desktop--save-windows.
8927 (desktop--restore-in-this-display-p): New function.
8928 (desktop--make-full-frame): Remove unwanted width/height from
8929 full(width|height) frames.
8930 (desktop--restore-frames): Rename from desktop--restore-windows.
8931 Obey desktop-restore-current-display. Do not delete old frames or
8932 select a new frame unless we were able to restore at least one frame.
8933
ef099a94
MN
89342013-06-30 Michal Nazarewicz <mina86@mina86.com>
8935
8936 * files.el (find-file-noselect): Simplify conditional expression.
8937
a12bf61e 8938 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8939 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8940
8941 Add `remember-notes' function to store random notes across Emacs
8942 restarts.
3fcfc4ee
JB
8943 * textmodes/remember.el (remember-data-file): Add :set callback to
8944 affect notes buffer (if any).
ef099a94
MN
8945 (remember-notes): New command.
8946 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8947 New defcustoms for the `remember-notes' function.
8948 (remember-notes-save-and-bury-buffer): New command.
8949 (remember-notes-mode-map): New variable.
8950 (remember-mode): New minor mode.
8951 (remember-notes--kill-buffer-query): New function.
8952 * startup.el (initial-buffer-choice): Add notes to custom type.
8953
0865d506
EZ
89542013-06-30 Eli Zaretskii <eliz@gnu.org>
8955
0ba54312
EZ
8956 * bindings.el (right-char, left-char): Don't call sit-for, this is
8957 no longer needed. Use arithmetic comparison only for numerical
8958 arguments.
8959
ef099a94
MN
8960 * international/mule-cmds.el (select-safe-coding-system):
8961 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8962
2fae38e5
LMI
89632013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8964
8965 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8966 progression on degenerate tables.
ef099a94 8967 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8968
a47cbd64
JB
89692013-06-30 Juanma Barranquero <lekktu@gmail.com>
8970
8971 Some fixes and improvements for desktop frame restoration.
8972 It is still experimental and disabled by default.
8973 * desktop.el (desktop--save-windows): Put the selected frame at
8974 the head of the list.
8975 (desktop--make-full-frame): New function.
8976 (desktop--restore-windows): Try to re-select the frame that was
8977 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8978 just show an error message and continue. Set up maximized frames
8979 so they have default non-maximized dimensions.
a47cbd64 8980
6dbafa30
DG
89812013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8982
ef099a94
MN
8983 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8984 Don't start heredoc inside a string or comment.
6dbafa30 8985
4c672a0f
EZ
89862013-06-29 Eli Zaretskii <eliz@gnu.org>
8987
8988 * bindings.el (visual-order-cursor-movement): New defcustom.
8989 (right-char, left-char): Provide visual-order cursor motion by
8990 calling move-point-visually. Update the doc strings.
8991
50960f36
KH
89922013-06-28 Kenichi Handa <handa@gnu.org>
8993
8994 * international/mule.el (define-coding-system): New coding system
8995 properties :inhibit-null-byte-detection,
8996 :inhibit-iso-escape-detection, and :prefer-utf-8.
8997 (set-buffer-file-coding-system): If :charset-list property of
8998 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8999 appropriate for setting.
9000
c1ea3abf
JB
9001 * international/mule-cmds.el (select-safe-coding-system):
9002 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9003 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
9004
9005 * international/mule-conf.el (prefer-utf-8): New coding system.
9006 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9007 files.
9008
75dbaf9d
IK
90092013-06-28 Ivan Kanis <ivan@kanis.fr>
9010
eadb6068
IK
9011 * net/shr.el (shr-render-region): New function.
9012
75dbaf9d
IK
9013 * net/eww.el: Autoload `eww-browse-url'.
9014
9ea5cf9f
DG
90152013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9016
c1ea3abf
JB
9017 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9018 Adapt to `package-desc-version' being a list.
9019 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
9020 archive element.
9021
39c0e36f
JB
90222013-06-27 Juanma Barranquero <lekktu@gmail.com>
9023
9024 New experimental feature to save&restore window and frame setup.
9025 * desktop.el (desktop-save-windows): New defcustom.
9026 (desktop--saved-states): New var.
9027 (desktop--excluded-frame-parameters): New defconst.
9028 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9029 (desktop--restore-windows, desktop--save-windows): New functions.
9030 (desktop-save): Call `desktop--save-windows'.
9031 (desktop-read): Call `desktop--restore-windows'.
9032
7f13406b
LMI
90332013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9034
ef099a94 9035 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 9036
1e072639
SB
90372013-06-27 Stephen Berman <stephen.berman@gmx.net>
9038
9039 * info.el (Info-try-follow-nearest-node): Move search for footnote
9040 above search for node name to prevent missing a footnote (bug#14717).
9041
f3e2cbde
SB
90422013-06-27 Stephen Berman <stephen.berman@gmx.net>
9043
9044 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9045
99906aa0
LL
90462013-06-27 Leo Liu <sdl.web@gmail.com>
9047
9048 * net/eww.el (eww-read-bookmarks): Check file size.
9049
539f75f4
SM
90502013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9053 advice--pending if newdef is nil or an autoload (bug#13820).
9054 (advice-mapc): New function.
9055
843571cb
LMI
90562013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9057
9058 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9059 probably.
23a75d7f 9060 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9061 (eww-add-bookmark): New command.
9062 (eww-bookmark-mode): New mode and commands.
a285ce99 9063 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9064 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9065
f2136e1e
GM
90662013-06-26 Glenn Morris <rgm@gnu.org>
9067
eab35f39
GM
9068 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9069 (hfy-size): Handle ttys. (Bug#14668)
9070
f2136e1e
GM
9071 * info-xref.el: Update for Texinfo 5 change in *note format.
9072 (info-xref-node-re, info-xref-note-re): New constants.
9073 (info-xref-check-buffer): Use info-xref-note-re.
9074
a49ff80c
SM
90752013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9076
a343d218
SM
9077 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9078
a49ff80c
SM
9079 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9080 nil terminate the loop (bug#14718).
9081
8308f184
LMI
90822013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9083
9084 * net/eww.el: Rework history traversal. When going forward/back,
9085 put these actions into the history, too, so that they can be
9086 replayed.
26bf2b82 9087 (eww-render): Move the history reset to the correct buffer.
8308f184 9088
ec64c273
JL
90892013-06-25 Juri Linkov <juri@jurta.org>
9090
9091 * files-x.el (modify-dir-local-variable): Change the header comment
9092 in the file with directory local variables. (Bug#14692)
9093
e080a9d7
JL
9094 * files-x.el (read-file-local-variable-value): Add `default'.
9095 (Bug#14710)
9096
bfbc93a1
IK
90972013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9098
9099 * net/eww.el (eww-make-unique-file-name): Create a unique file
9100 name before saving to entering `y' accidentally asynchronously.
9101
91022013-06-25 Ivan Kanis <ivan@kanis.fr>
9103
9104 * net/eww.el (eww-download): New command and keystroke.
9105
16f74f10
LMI
91062013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9107
a49ff80c 9108 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9109
9110 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9111 be more consistent with Info and dired.
9112
9113 * net/eww.el (eww-mode-map): Ditto.
9114
12059709
SM
91152013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9116
9117 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9118 packages from archives.
9119 (package-archive-contents): Change format; include obsolete packages.
9120 (package-desc): Use `dir' to mark builtin packages.
9121 (package--from-builtin): Set the `dir' field to `builtin'.
9122 (generated-autoload-file, version-control): Declare.
9123 (package-compute-transaction): Change first arg and return value to be
9124 lists of package-descs. Adjust to new package-archive-contents format.
9125 (package--add-to-archive-contents): Adjust to new
9126 package-archive-contents format.
9127 (package-download-transaction): Arg is now a list of package-descs.
9128 (package-install): If `pkg' is a package name, pass it as
9129 a requirement, so it is subject to the usual (e.g. disabled) checks.
9130 (describe-package): Accept package-desc as well.
9131 (describe-package-1): Describe a specific package-desc. Add links to
9132 other package-descs for the same package name.
9133 (package-menu-describe-package): Pass the actual package-desc.
9134 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9135 works correctly.
9136 (package-desc-status): New function.
9137 (package-menu--refresh): New function, extracted
9138 from package-menu--generate.
9139 (package-menu--generate): Use it.
9140 (package-delete): Update package-alist.
9141 (package-menu-execute): Don't call package-initialize.
9142
9143 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9144 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9145 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9146 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9147 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9148 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9149
8bbdea0f
MR
91502013-06-25 Martin Rudalics <rudalics@gmx.at>
9151
9152 * window.el (window--state-get-1): Workaround for bug#14527.
9153 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9154
e82b0991
LMI
91552013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9156
9157 * net/eww.el (eww-back-url): Implement the history by stashing all
9158 the data into a list.
d3f0f918 9159 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9160
c763842b
SM
91612013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9162
9163 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9164 for values and use read--expression for expressions (bug#14710).
9165 (read-file-local-variable): Avoid setq.
9166 (read-file-local-variable-mode): Use minor-mode-list.
9167
bceff189
RW
91682013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9169
864c58ca 9170 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9171 for DOI URLs.
9172
45f431c6
RW
91732013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9174
864c58ca 9175 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9176 Update imenu-support when dialect changes.
9177
f42d8237
LL
91782013-06-25 Leo Liu <sdl.web@gmail.com>
9179
9180 * ido.el (ido-read-internal): Allow forward slash on windows.
9181
be549ce6
LMI
91822013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9183
9184 * net/eww.el (eww): Start of strings is \\`, not ^.
9185
71d4c19d
IK
91862013-06-24 Ivan Kanis <ivan@kanis.fr>
9187
5196f88a
IK
9188 * net/shr.el (shr-browse-url): Fix interactive spec.
9189
71d4c19d
IK
9190 * net/eww.el (eww): Add a trailing slash to domain names.
9191
ae36ca55
JB
91922013-06-24 Juanma Barranquero <lekktu@gmail.com>
9193
9194 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9195
0ebd92a3
LMI
91962013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9197
bdaa086b
LMI
9198 * net/shr.el (shr-browse-url): Use an external browser if given a
9199 prefix.
9200
c763842b 9201 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9202
b89fc156
IK
92032013-06-24 Ivan Kanis <ivan@kanis.fr>
9204
9205 * net/eww.el (eww): Work more correctly for file: URLs.
9206 (eww-detect-charset): Allow quoted charsets.
9207 (eww-yank-page-url): New command and keystroke.
9208
18eb4bca
DU
92092013-06-24 Daiki Ueno <ueno@gnu.org>
9210
9211 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9212 file name of gpg executable.
9213 (epg-context-program): New function.
9214 (epg-context-home-directory): New function.
9215 (epg-context-set-program): New function.
9216 (epg-context-set-home-directory): New function.
9217 (epg--start): Use `epg-context-program' instead of
9218 'epg-gpg-program'.
9219 (epg--list-keys-1): Likewise.
9220
6c6268c8
LL
92212013-06-24 Leo Liu <sdl.web@gmail.com>
9222
9223 * ido.el (ido-read-internal): Fix bug#14620.
9224
5e400cb3
JB
92252013-06-23 Juanma Barranquero <lekktu@gmail.com>
9226
9227 * faces.el (face-documentation): Simplify.
9228 (read-face-attribute, tty-find-type, x-resolve-font-name):
9229 Use `string-match-p'.
9230 (list-faces-display): Use `string-match-p'. Simplify.
9231 (face-spec-recalc): Check face to avoid face alias loops.
9232 (read-color): Use `string-match-p' and non-capturing parenthesis.
9233
f3f9606c
LMI
92342013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9235
9236 * net/shr.el (shr-rescale-image): Use the new
9237 :max-width/:max-height functionality.
9238
a3ca09b9
IK
92392013-06-23 Ivan Kanis <ivan@kanis.fr>
9240
9241 * net/eww.el (eww-search-prefix): New variable.
9242 (eww): Use it.
f865b474
IK
9243 (eww-external-browser): New variable.
9244 (eww-mode-map): New keystroke.
9245 (eww-browse-with-external-browser): New command.
a3ca09b9 9246
e854cfc7
IK
9247 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9248
18bb9e21
JB
92492013-06-23 Juanma Barranquero <lekktu@gmail.com>
9250
9251 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9252 Don't skip aligning the next header field when padding is 0;
9253 otherwise, field width is not respected unless the title is as
9254 wide as the field.
9255
5b165ade
SM
92562013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9257
9258 * emacs-lisp/package.el (package-el-version): Remove.
9259 (package-process-define-package): Fix inf-loop.
9260 (package-install): Allow symbols as arguments again.
9261
12adebe9
DG
92622013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9263
9264 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9265 add some more keyword-like methods.
9266 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9267
388573ee
JB
92682013-06-22 Juanma Barranquero <lekktu@gmail.com>
9269
9270 * bs.el (bs-buffer-show-mark): Make defvar-local.
9271 (bs-mode): Use setq-local.
9272
9273 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9274 (emacs-lock--try-unlocking): Make defvar-local.
9275
4582a01c 92762013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9277
2663dd23
GM
9278 * play/cookie1.el (cookie-apropos): Minor simplification.
9279
3d94f3ad
GM
9280 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9281
f72e2fdb
DG
92822013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9283
9284 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9285 `regexp-opt', it breaks the build during dumping.
9286
73eab938
DG
92872013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9288
c763842b
SM
9289 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9290 Highlight keyword-like methods on Kernel and Module with
73eab938 9291 font-lock-builtin-face.
5cf8176d
DG
9292 (auto-mode-alist): Consolidate different entries into one regexp
9293 and add more *file-s.
73eab938 9294
d26255f6
SB
92952013-06-21 Stephen Berman <stephen.berman@gmx.net>
9296
9297 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9298
9299 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9300 (diary-entry): Use it in the action of this button type instead of
9301 diary-goto-entry.
9302
9303 * calendar/todo-mode.el: New version.
9304 (todo-add-category): Append new category to end of file and give
9305 it the highest number, instead of putting it at the beginning and
9306 giving it 0. Incorporate noninteractive functionality.
9307 (todo-forward-category): Adapt to 1-based category numbering.
9308 Allow skipping over archived categories.
9309 (todo-backward-category): Derive from todo-forward-category.
9310 (todo-backward-item, todo-forward-item): Make noninteractive and
9311 delegate interactive part to new commands. Make sensitive to done items.
9312 (todo-categories): Make value an alist of category names and
9313 vectors of item counts.
9314 (todo-category-beg): Make a defconst.
9315 (todo-category-number): Use 1 instead of 0 as initial value.
9316 (todo-category-select): Make sensitive to overlays, optional item
9317 highlighting and done items.
9318 (todo-delete-item): Make sensitive to overlays and marked and done items.
9319 (todo-edit-item): Make sensitive to overlays and editing of
9320 date/time header optional. Add format checks.
9321 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9322 no-op if point is not on an item. Advertise using todo-edit-quit.
9323 (todo-edit-mode): Make sensitive to new format, font-locking, and
9324 multiple todo files.
9325 (todo-insert-item, todo-insert-item-here): Derive from
9326 todo-basic-insert-item and extend functionality.
9327 (todo-item-end, todo-item-start): Make sensitive to done items.
9328 (todo-item-string): Don't return text properties. Restore point.
9329 (todo-jump-to-category): Make sensitive to multiple todo files and
9330 todo archives. Use extended category completion.
9331 (todo-lower-item, todo-raise-item): Rename to *-priority and
9332 derive from todo-set-item-priority.
9333 (todo-mode): Derive from special-mode. Make sensitive to new
9334 format, font-locking and multiple todo files. Make read-only.
9335 (todo-mode-map): Don't suppress digit keys, so they can supply
9336 prefix arguments. Add many new key bindings.
9337 (todo-prefix): Insert as an overlay instead of file text.
9338 Change semantics from diary date expression to purely visual mark.
9339 (todo-print): Rename to todo-print-buffer. Make buffer display
9340 features printable. Remove option to restrict number of items
9341 printed. Add option to print to file.
9342 (todo-print-function): Rename to todo-print-buffer-function.
9343 (todo-quit): Extend to handle exiting new todo modes.
9344 (todo-remove-item): Make sensitive to overlays.
9345 (todo-save): Extend to buffers of filtered items.
9346 (todo-show): Make sensitive to done items, multiple todo files and
9347 new todo modes. Offer to convert legacy todo file before creating
9348 first new todo file.
9349 (todo-show-priorities): Rename to todo-top-priorities.
9350 Change semantics of value 0.
9351 (todo-top-priorities): Rename to todo-filter-top-priorities,
9352 derive from todo-filter-items and extend functionality.
9353 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9354 and extend functionality to other types of filtered items.
9355 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9356 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9357 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9358 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9359 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9360 (todo-edit-mode-hook, todo-entry-prefix-function)
9361 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9362 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9363 (todo-initials, todo-insert-threshold, todo-item-string-start)
9364 (todo-line-string, todo-menu, todo-mode-hook)
9365 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9366 (todo-print-priorities, todo-remove-separator)
9367 (todo-save-top-priorities-too, todo-string-count-lines)
9368 (todo-string-multiline-p, todo-time-string-format)
9369 (todo-tmp-buffer-name): Remove.
9370 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9371 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9372 (todo-edit-category-diary-inclusion)
9373 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9374 (todo-edit-file, todo-edit-item-date-day)
9375 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9376 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9377 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9378 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9379 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9380 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9381 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9382 (todo-filter-top-priorities-multifile, todo-find-archive)
9383 (todo-find-filtered-items-file, todo-go-to-source-item)
9384 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9385 (todo-jump-to-archive-category, todo-lower-category)
9386 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9387 (todo-move-category, todo-move-item, todo-next-button)
9388 (todo-next-item, todo-padded-string, todo-powerset)
9389 (todo-previous-button, todo-previous-item)
9390 (todo-print-buffer-to-file, todo-raise-category)
9391 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9392 (todo-set-category-number, todo-set-item-priority)
9393 (todo-set-top-priorities-in-category)
9394 (todo-set-top-priorities-in-file, todo-show-categories-table)
9395 (todo-sort-categories-alphabetically-or-numerically)
9396 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9397 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9398 (todo-toggle-item-header, todo-toggle-item-highlighting)
9399 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9400 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9401 (todo-unarchive-items, todo-unmark-category): New commands.
9402 (todo-absolute-file-name, todo-add-to-buffer-list)
9403 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9404 (todo-basic-insert-item, todo-category-completions)
9405 (todo-category-number, todo-category-string-matcher-1)
9406 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9407 (todo-check-format, todo-clear-matches)
9408 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9409 (todo-current-category, todo-date-string-matcher)
9410 (todo-define-insertion-command, todo-diary-expired-matcher)
9411 (todo-diary-goto-entry, todo-diary-item-p)
9412 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9413 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9414 (todo-done-item-section-p, todo-done-separator)
9415 (todo-done-string-matcher, todo-files, todo-filter-items)
9416 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9417 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9418 (todo-insert-category-line, todo-insert-item-from-calendar)
9419 (todo-insert-sort-button, todo-insert-with-overlays)
9420 (todo-insertion-command-name, todo-insertion-key-bindings)
9421 (todo-label-to-key, todo-longest-category-name-length)
9422 (todo-make-categories-list, todo-mode-external-set)
9423 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9424 (todo-modes-set-3, todo-multiple-filter-files)
9425 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9426 (todo-read-category, todo-read-date, todo-read-dayname)
9427 (todo-read-file-name, todo-read-time)
9428 (todo-reevaluate-category-completions-files-defcustom)
9429 (todo-reevaluate-default-file-defcustom)
9430 (todo-reevaluate-filelist-defcustoms)
9431 (todo-reevaluate-filter-files-defcustom)
9432 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9433 (todo-reset-done-separator, todo-reset-done-separator-string)
9434 (todo-reset-done-string, todo-reset-global-current-todo-file)
9435 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9436 (todo-reset-prefix, todo-set-categories)
9437 (todo-set-date-from-calendar, todo-set-show-current-file)
9438 (todo-set-top-priorities, todo-short-file-name)
9439 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9440 (todo-total-item-counts, todo-update-buffer-list)
9441 (todo-update-categories-display, todo-update-categories-sexp)
9442 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9443 New functions.
9444 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9445 New major modes.
9446 (todo-categories, todo-display, todo-edit, todo-faces)
9447 (todo-filtered): New defgroups.
9448 (todo-archived-only, todo-button, todo-category-string, todo-date)
9449 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9450 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9451 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9452 (todo-add-item-if-new-category, todo-always-add-time-string)
9453 (todo-categories-align, todo-categories-archived-label)
9454 (todo-categories-category-label, todo-categories-diary-label)
9455 (todo-categories-done-label, todo-categories-number-separator)
9456 (todo-categories-todo-label, todo-categories-totals-label)
9457 (todo-category-completions-files, todo-completion-ignore-case)
9458 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9459 (todo-done-separator-string, todo-done-string)
9460 (todo-files-function, todo-filter-done-items, todo-filter-files)
9461 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9462 (todo-initial-category, todo-initial-file, todo-item-mark)
9463 (todo-legacy-date-time-regexp, todo-mode-line-function)
9464 (todo-nondiary-marker, todo-number-prefix)
9465 (todo-print-buffer-function, todo-show-current-file)
9466 (todo-show-done-only, todo-show-first, todo-show-with-done)
9467 (todo-skip-archived-categories, todo-top-priorities-overrides)
9468 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9469 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9470 New defcustoms.
9471 (todo-category-done, todo-date-pattern, todo-date-string-start)
9472 (todo-diary-items-buffer, todo-done-string-start)
9473 (todo-filtered-items-buffer, todo-item-start)
9474 (todo-month-abbrev-array, todo-month-name-array)
9475 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9476 (todo-top-priorities-buffer): New defconsts.
9477 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9478 (todo-categories-with-marks, todo-category-string-face)
9479 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9480 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9481 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9482 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9483 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9484 (todo-font-lock-keywords, todo-global-current-todo-file)
9485 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9486 (todo-insertion-commands-args)
9487 (todo-insertion-commands-args-genlist)
9488 (todo-insertion-commands-names, todo-insertion-map)
9489 (todo-key-bindings-t, todo-key-bindings-t+a)
9490 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9491 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9492 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9493 (todo-visited): New variables.
9494
cad5d1cb
GM
94952013-06-21 Glenn Morris <rgm@gnu.org>
9496
9497 * play/cookie1.el (cookie-apropos): Add optional display argument.
9498 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9499 (psychoanalyze-pinhead): Use cookie-doctor.
9500
9e277302
JB
95012013-06-21 Juanma Barranquero <lekktu@gmail.com>
9502
9503 * emacs-lisp/package.el (tar-get-file-descriptor)
9504 (tar--extract): Declare.
9505
c5b0993e
EW
95062013-06-21 Eduard Wiebe <usenet@pusto.de>
9507
9508 Extend flymake's warning predicate to be a function (bug#14217).
9509 * progmodes/flymake.el (flymake-warning-predicate): New.
9510 (flymake-parse-line): Use it.
9511 (flymake-warning-re): Make obsolete alias to
9512 `flymake-warning-predicate'.
9513
a7d2d465
SM
95142013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9515
9516 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9517 (package-obsolete-list): Remove.
9518 (package-activate): Remove min-version argument. Add `force' argument.
9519 Adjust to new package-alist format.
9520 (package-mark-obsolete): Remove.
9521 (package-unpack): Force reload of the package's autoloads.
9522 (package-installed-p): Check builtins if the installed package is not
9523 recent enough.
9524 (package-initialize): Don't reset package-obsolete-list.
9525 Don't specify which package version to activate.
9526 (package-process-define-package, describe-package-1)
9527 (package-menu--generate): Adjust to new package-alist format.
9528
cedf5c9d
JB
95292013-06-21 Juanma Barranquero <lekktu@gmail.com>
9530
9531 * allout-widgets.el (allout-widgets-mode-off)
9532 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9533 (allout-widgets-post-command-business)
9534 (allout-widgets-after-copy-or-kill-function)
9535 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9536 (allout-decorate-item-and-context)
9537 (allout-graphics-modification-handler): Fix typos in docstrings.
9538 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9539
9540 * cmuscheme.el (scheme-start-file): Doc fix.
9541 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9542 (scheme-input-filter): Use `string-match-p'.
9543
9544 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9545
9546 * dired-x.el: Use Dired consistently in docstrings.
9547
9548 * dired.el: Use Dired consistently in docstrings.
9549 (dired-readin, dired-mode): Use `setq-local'.
9550 (dired-switches-alist): Make defvar-local.
9551 (dired-buffers-for-dir): Use `zerop'.
9552 (dired-safe-switches-p, dired-switches-escape-p)
9553 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9554 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9555 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9556 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9557 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9558 (dired-toggle-marks, dired-mark-files-containing-regexp)
9559 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9560 (dired-flag-auto-save-files, dired-flag-backup-files):
9561 Use `looking-at-p'.
9562 (dired-mark-files-regexp, dired-build-subdir-alist):
9563 Use `string-match-p', `looking-at-p'.
9564
9565 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9566 (direct-print-region-helper): Use `string-match-p'.
9567
aed838b5
LL
95682013-06-21 Leo Liu <sdl.web@gmail.com>
9569
cedf5c9d
JB
9570 * comint.el (comint-redirect-results-list-from-process):
9571 Fix infinite loop.
aed838b5 9572
d80a808f
LMI
95732013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9574
9575 * net/eww.el (eww-update-header-line-format): Quote % characters.
9576
e7a526e3
GM
95772013-06-21 Glenn Morris <rgm@gnu.org>
9578
9579 * play/cookie1.el (cookie): New custom group.
9580 (cookie-file): New option.
9581 (cookie-check-file): New function.
9582 (cookie): Make it interactive. Make start and end messages optional.
9583 Interactively, display the result. Default to cookie-file.
9584 (cookie-insert): Default to cookie-file.
9585 (cookie-snarf): Make start and end messages optional.
9586 Default to cookie-file. Use with-temp-buffer.
9587 (cookie-read): Rename from read-cookie.
9588 Make start and end messages optional. Default to cookie-file.
9589 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9590 Do not autoload it.
e7a526e3
GM
9591 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9592 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9593
62efb35e
LL
95942013-06-21 Leo Liu <sdl.web@gmail.com>
9595
9596 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9597
21e3f963
GM
95982013-06-21 Glenn Morris <rgm@gnu.org>
9599
9600 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9601
fd846ab4
SM
96022013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9603 Daniel Hackney <dan@haxney.org>
9604
9605 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9606 Consolidate the single-file vs tarball code.
9607 (package-desc-suffix): New function.
9608 (package-desc-full-name): Don't bother inlining it.
9609 (package-load-descriptor): Return the new package-desc.
9610 (package-mark-obsolete): Remove unused arg `package'.
9611 (package-unpack): Make it work for single files as well.
9612 Make it update package-alist.
9613 (package--make-autoloads-and-stuff): Rename from
9614 package--make-autoloads-and-compile. Don't compile any more.
9615 (package--compile): New function.
9616 (package-generate-description-file): New function, extracted from
9617 package-unpack-single.
9618 (package-unpack-single): Remove.
9619 (package--with-work-buffer): Add indentation and debugging info.
9620 (package-download-single): Remove.
9621 (package-install-from-archive): Rename from package-download-tar, make
9622 it take a pkg-desc, and make it work for single files as well.
9623 (package-download-transaction): Simplify.
9624 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9625 external tar program.
9626 (package-install-from-buffer): Remove `pkg-desc' argument.
9627 Use package-tar-file-info for tar-mode buffers.
9628 (package-install-file): Simplify accordingly.
9629 (package-archive-base): Change to take a pkg-desc.
9630 * tar-mode.el (tar--check-descriptor): New function, extracted from
9631 tar-get-descriptor.
9632 (tar-get-descriptor): Use it.
9633 (tar-get-file-descriptor): New function.
9634 (tar--extract): New function, extracted from tar-extract.
9635 (tar--extract): Use it.
9636 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9637 case the summary uses non-ascii. Adjust to new calling convention of
9638 package-tar-file-info.
9639
b7deae5e
LL
96402013-06-21 Leo Liu <sdl.web@gmail.com>
9641
fd846ab4
SM
9642 * comint.el (comint-redirect-results-list-from-process):
9643 Fix random delay. (Bug#14681)
b7deae5e 9644
7a65a0b2
JB
96452013-06-21 Juanma Barranquero <lekktu@gmail.com>
9646
9647 * profiler.el (profiler-format-number): Use log, not log10.
9648
1493c2af
JB
96492013-06-20 Juanma Barranquero <lekktu@gmail.com>
9650
9651 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9652
aff6371e
SM
96532013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9656 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9657 yet available.
9658 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9659 (AUTOGENEL): ... here.
9660 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9661 (cl--defsubst-expand): Use it.
9662
89561f72
PE
96632013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9664
9665 * subr.el (log10): Move here from C code, and declare as obsolete.
9666 All uses of (log10 X) replaced with (log X 10).
9667
47199123
JB
96682013-06-20 Juanma Barranquero <lekktu@gmail.com>
9669
9670 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9671 Declare with `defvar-local'.
9672 (tabulated-list-use-header-line, tabulated-list-entries)
9673 (tabulated-list-padding, tabulated-list-printer)
9674 (tabulated-list-sort-key): Declare with `defvar-local'.
9675 (tabulated-list-init-header, tabulated-list-print-fake-header):
9676 Use `setq-local'.
9677
4a172eab
MA
96782013-06-20 Michael Albinus <michael.albinus@gmx.de>
9679
47199123
JB
9680 * arc-mode.el (archive-mode): Add `archive-write-file' to
9681 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9682
5fc0acc0
JB
96832013-06-20 Juanma Barranquero <lekktu@gmail.com>
9684
d5b27848
JB
9685 * cus-edit.el (custom-commands): Fix typos.
9686 (custom-display): Fix tooltip text.
9687 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9688 Fix typos in docstrings.
9689 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9690 (custom-unlispify-menu-entry, custom-magic-value-create)
9691 (custom-add-see-also, custom-group-value-create): Use ?\s.
9692 (custom-guess-type, customize-apropos, editable-field)
9693 (custom-face-value-create): Use `string-match-p'.
9694 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9695
9696 * custom.el (custom-load-symbol): Use `string-match-p'.
9697
a5c581d8
JB
9698 * ansi-color.el: Convert to lexical binding.
9699 (ansi-colors): Fix URL.
9700 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9701 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9702 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9703
970ad972
G
97042013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9705
9706 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9707
9708 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9709
97102013-06-19 Tom Tromey <tromey@redhat.com>
9711
9712 * net/eww.el (eww-top-url): Remove.
9713 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9714 (eww-render): Set new variables. Don't set eww-top-url.
9715 (eww-handle-link): Handle "prev", "home", and "contents".
9716 Downcase the rel text.
9717 (eww-top-url): Choose best top URL.
9718
97192013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9720
9721 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9722 relying in widget.el. Using widget.el leads to too many
9723 user interface inconsistencies.
9724 (eww-self-insert): Implement entering commands in text fields.
9725 (eww-process-text-input): New function to make text input field editing
9726 work.
9727 (eww-submit): Rewrite to use the new-style form methods.
9728 (eww-select-display): Display the correct selected item.
9729 (eww-change-select): Implement changing the select value.
9730 (eww-toggle-checkbox): Implement radio/checkboxes.
9731 (eww-update-field): Fix compilation error.
9732 (eww-tag-textarea): Implement <textarea>.
9733
9734 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9735 we don't shadow mode-specific bindings.
9736
9737 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9738 nothing to push.
9739
9740 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9741
4582a01c 97422013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9743
9744 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9745
15b263dc
MA
97462013-06-19 Michael Albinus <michael.albinus@gmx.de>
9747
9748 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9749 not needed.
9750
9751 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9752
8f5297f7
LMI
97532013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9754
9755 * net/browse-url.el (browse-url-browser-function):
9756 `eww-browse-url' has the right calling signature, `eww' does not.
9757
011c4552
GM
97582013-06-19 Glenn Morris <rgm@gnu.org>
9759
2285bd27
GM
9760 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9761 Only eval autoloaded macros.
9762 (byte-compile-autoload): Only give the macro warning for macros.
9763
1d653303
GM
9764 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9765 (ps-underlined-faces): Declare.
9766
bdd779ec
GM
9767 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9768 (speedbar-add-supported-extension): Declare.
9769
011c4552
GM
9770 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9771 Don't include a date stamp in the header of the generated file;
9772 it leads to needless differences between output files.
9773
e59dfb0e
MA
97742013-06-19 Michael Albinus <michael.albinus@gmx.de>
9775
c763842b
SM
9776 * net/secrets.el (secrets-struct-secret-content-type):
9777 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9778 Some servers do not offer introspection.
e59dfb0e 9779
102626e2
SM
97802013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9781
9782 * electric.el (electric-pair-mode): Improve interaction with
9783 electric-layout-mode.
9784 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9785 (electric-pair-syntax): Use text-mode-syntax-table in comments
9786 and strings.
9787 (electric-pair--insert): New function.
9788 (electric-pair-post-self-insert-function): Use it and
9789 electric--after-char-pos.
9790
ad528125
LL
97912013-06-19 Leo Liu <sdl.web@gmail.com>
9792
9793 * progmodes/octave.el (octave-help): Fix regexp.
9794
924d6997
G
97952013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9796
9797 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9798 (shr-table-horizontal-line): Allow nil as a value, and change the
9799 default.
9800 (shr-insert-table-ruler): Respect the nil value.
9801
98022013-06-18 Tom Tromey <tromey@barimba>
9803
9804 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9805 New defvars.
9806 (eww-open-file): New defun.
9807 (eww-render): Initialize new variables.
9808 (eww-display-html): Handle "link" and "a".
9809 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9810 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9811 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9812 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9813 New defuns.
924d6997 9814
d1bbba4f
DG
98152013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9816
9817 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9818 Distinguish ternary operator tokens from slash symbol and slash
9819 char literal.
9820
14dd22d2
JB
98212013-06-18 Juanma Barranquero <lekktu@gmail.com>
9822
9823 Convert symbol prettification into minor mode and global minor mode.
9824
9825 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9826 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9827 (prettify-symbols--keywords): Rename from
9828 `prog-prettify-symbols-alist' and make a local defvar.
9829 (prettify-symbols--compose-symbol): Rename from
9830 `prog--prettify-font-lock-compose-symbol'.
9831 (prettify-symbols--make-keywords): Rename from
9832 `prog-prettify-font-lock-symbols-keywords' and simplify.
9833 (prog-prettify-install): Remove.
9834 (prettify-symbols-mode): New minor mode, based on
9835 `prog-prettify-install'.
9836 (turn-on-prettify-symbols-mode): New function.
9837 (global-prettify-symbols-mode): New globalized minor mode.
9838
9839 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9840 * progmodes/cfengine.el (cfengine3-mode):
9841 * progmodes/perl-mode.el (perl-mode): Don't call
9842 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9843
292c880c
JL
98442013-06-18 Juri Linkov <juri@jurta.org>
9845
9846 * files-x.el (modify-file-local-variable-message): New function.
9847 (modify-file-local-variable)
9848 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9849 and call `modify-file-local-variable-message' when it's non-nil.
9850 (add-file-local-variable, delete-file-local-variable)
9851 (add-file-local-variable-prop-line)
9852 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9853 and use it. (Bug#9820)
9854
0950aa27
JL
98552013-06-18 Juri Linkov <juri@jurta.org>
9856
9857 * emulation/vi.el (vi-shell-op):
9858 * emulation/vip.el (vip-execute-com, ex-command):
9859 * emulation/viper-cmd.el (viper-exec-bang):
9860 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9861 the call of `shell-command-on-region'. (Bug#14637)
9862
9863 * simple.el (shell-command-on-region): Doc fix.
9864
8fbcca16
SM
98652013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9868 (bug#14633).
9869
dd7426ea
GM
98702013-06-18 Glenn Morris <rgm@gnu.org>
9871
4ba54f7d
GM
9872 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9873
dd7426ea
GM
9874 * newcomment.el (comment-search-forward, comment-search-backward):
9875 Doc fix. (Bug#14376)
9876
58aa805b
JB
98772013-06-18 Juanma Barranquero <lekktu@gmail.com>
9878
9879 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9880 (buffer-face-mode-invoke): Doc fix.
9881
9a08a617
MM
98822013-06-18 Matthias Meulien <orontee@gmail.com>
9883
9884 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9885 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9886
f2f426ca
GM
98872013-06-18 Glenn Morris <rgm@gnu.org>
9888
9445f99b
GM
9889 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9890 Replace obsolete function generic-make-keywords with its expansion.
9891
e0df2d14
GM
9892 * progmodes/python.el (ffap-alist): Declare.
9893
f2f426ca
GM
9894 * textmodes/reftex.el (bibtex-mode-map): Declare.
9895
f7f9a720
SM
98962013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9899 (package-unpack, package-unpack-single): Return the pkg-dir.
9900 (package-download-transaction): Use it to update package-alist.
9901
57ff04e0
LMI
99022013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9903
9904 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9905 possible choice.
9906
c048c022
JL
99072013-06-17 Juri Linkov <juri@jurta.org>
9908
9909 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9910
b5bcaee5
DG
99112013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9912
a020afb9
JB
9913 * emacs-lisp/package.el (package-load-descriptor):
9914 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9915 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9916
551e07e5
JB
99172013-06-17 Juanma Barranquero <lekktu@gmail.com>
9918
9919 * startup.el (command-line): Expand package name returned by
9920 `package--description-file' (bug#14639).
9921
d363bffb
DG
99222013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9923
9924 * emacs-lisp/package.el (package-load-descriptor): Do not call
9925 `emacs-lisp-mode', just use its syntax table.
9926
f612933b
JB
99272013-06-17 Juanma Barranquero <lekktu@gmail.com>
9928
9929 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9930 `font-lock-extra-managed-props' if any prettifying keyword is added.
9931 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9932 (prog-mode): Use `setq-local'.
9933
db3b7db5
SM
99342013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * international/characters.el (standard-case-table): Set syntax of ?»
9937 and ?« to punctuation.
9938
f3d674df
JB
99392013-06-16 Juanma Barranquero <lekktu@gmail.com>
9940
9941 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9942 Save relevant match data before calling `syntax-ppss' (bug#14595).
9943
31489a32
JL
99442013-06-15 Juri Linkov <juri@jurta.org>
9945
9946 * files-x.el (modify-file-local-variable-prop-line): Add local
9947 variables to the end of the existing comment on the first line.
9948 Use `file-auto-mode-skip' to skip interpreter magic line,
9949 and also skip XML declaration.
9950
66bd25ab
SM
99512013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9952
9953 * startup.el (package--builtin-versions): New var.
9954 (package-subdirectory-regexp): Remove.
9955 (package--description-file): Hard code its value instead.
9956
9957 * emacs-lisp/package.el: Don't activate packages older than builtin.
9958 (package-obsolete-list): Rename from package-obsolete-alist, and make
9959 it into a simple list of package-desc.
9960 (package-strip-version): Remove.
9961 (package-built-in-p): Use package--builtin-versions.
9962 (package-mark-obsolete): Simplify.
9963 (package-process-define-package): Mark it obsolete if older than the
9964 builtin version.
9965 (package-handle-response): Use line-end-position.
9966 (package-read-archive-contents, package--download-one-archive):
9967 Simplify.
9968 (package--add-to-archive-contents): Skip if older than the builtin or
9969 installed version.
9970 (package-menu-describe-package): Fix last change.
9971 (package-list-unversioned): New var.
9972 (package-menu--generate): Use it.
9973
9974 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9975 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9976 (autoload-builtin-package-versions): New variable.
9977 (autoload-generate-file-autoloads): Use them.
9978 Remove the list of autoloaded functions/macros from the
9979 (autoload...) comments.
9980
9981 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9982
9583ec36
EZ
99832013-06-15 Eli Zaretskii <eliz@gnu.org>
9984
9985 * simple.el (line-move-partial): Don't jump to the next screen
9986 line as soon as it becomes visible. Instead, continue enlarging
9987 the vscroll until the portion of a tall screen line that's left on
9988 display is about the height of the frame's default font.
9989 (Bug#14567)
9990
f0100d8a
GM
99912013-06-15 Glenn Morris <rgm@gnu.org>
9992
b86a85ca
GM
9993 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9994 compilation-error-regexp-alist void, or local while let-bound.
9995
f0100d8a
GM
9996 * progmodes/make-mode.el (makefile-mode-syntax-table):
9997 Treat "=" as punctuation. (Bug#14614)
9998
05e7ce90
JB
99992013-06-15 Juanma Barranquero <lekktu@gmail.com>
10000
10001 * help-fns.el (describe-variable):
10002 Add extra line for permanent-local variables.
10003
12e5e86e
SH
100042013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10005
10006 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10007 Add export, import, library. (Bug#9164)
10008 (library): Set indent function.
10009
230dcbaf
GM
100102013-06-14 Glenn Morris <rgm@gnu.org>
10011
10012 * term/xterm.el (xterm--query):
10013 Stop after first matching handler. (Bug#14615)
10014
e36b2d20 100152013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
10016
10017 Add support for dired in saveplace.
10018 * dired.el (dired-initial-position-hook): New variable.
10019 (dired-initial-position): Call hook to place cursor position.
10020 * saveplace.el (save-place-to-alist): Add dired position.
10021 (save-place-dired-hook): New function.
10022
0b31660d
SM
100232013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10024
bf1e6ae8
SM
10025 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10026 through a symbol rather than letrec.
10027
1b8dff23
SM
10028 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10029 (package-desc): Add `dir' field.
10030 (package-desc-full-name): New function.
10031 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10032 (package-maybe-load-descriptor): Remove.
10033 (package-load-all-descriptors): Just call package-load-descriptor.
10034 (package--disabled-p): New function.
10035 (package-desc-vers, package-desc-doc): Remove aliases.
10036 (package--dir): Remove function.
10037 (package-activate): Check if a package is disabled.
10038 (package-process-define-package): New function, extracted from
10039 define-package.
10040 (define-package): Turn into a place holder.
10041 (package-unpack-single, package-tar-file-info):
10042 Use package--description-file.
10043 (package-compute-transaction): Use package--disabled-p.
10044 (package-download-transaction): Don't call
10045 package-maybe-load-descriptor since they're all loaded anyway.
10046 (package-install): Change argument to be a pkg-desc.
10047 (package-delete): Use a single pkg-desc argument.
10048 (describe-package-1): Use package-desc-dir instead of package--dir.
10049 Use package-desc property instead of package-symbol.
10050 (package-install-button-action): Adjust accordingly.
10051 (package--push): Rewrite.
10052 (package-menu--print-info): Adjust accordingly. Change the ID format
10053 to be a pkg-desc.
10054 (package-menu-describe-package, package-menu-get-status)
10055 (package-menu--find-upgrades, package-menu-mark-upgrades)
10056 (package-menu-execute, package-menu--name-predicate):
10057 Adjust accordingly.
10058 * startup.el (package--description-file): New function.
10059 (command-line): Use it.
10060 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10061 Use package-desc-version.
10062
0b31660d
SM
10063 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10064 (byte-compile-preprocess): Use it.
10065 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10066 can't quite recognize.
10067 (byte-compile-add-to-list): Remove.
10068 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10069 (cconv-closure-convert): Add assertion.
10070
10071 * emacs-lisp/map-ynp.el: Use lexical-binding.
10072 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10073 Factor out some repeated code.
10074
de0503df
SM
100752013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10076
10077 * subr.el (with-eval-after-load): New macro.
10078 (eval-after-load): Allow form to be a function.
10079 take advantage of lexical-binding.
10080 (do-after-load-evaluation): Use dolist and adjust to new format.
10081 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10082
bc5c8c5a
JL
100832013-06-13 Juri Linkov <juri@jurta.org>
10084
10085 * replace.el (perform-replace): Display "symbol " and other search
10086 modes from `isearch-message-prefix' in the *Help* buffer.
10087
10088 * isearch.el (isearch-query-replace): Add " symbol" and other
10089 possible search modes from `isearch-message-prefix' to the prompt.
10090 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10091 when reading a regexp to collect.
10092
a22289f7
JL
100932013-06-13 Juri Linkov <juri@jurta.org>
10094
10095 * isearch.el (word-search-regexp): Match whitespace if the search
10096 string begins or ends in whitespace. The LAX arg is applied to
10097 both ends of the search string. Use `regexp-quote' and explicit
10098 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10099 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10100 boundaries are replaced with symbol boundaries, and characters
10101 between symbols match non-word non-symbol syntax. (Bug#14602)
10102
cb89acab
JL
101032013-06-13 Juri Linkov <juri@jurta.org>
10104
10105 * isearch.el (isearch-del-char): Don't exceed the length of
10106 `isearch-string' by the prefix arg. (Bug#14563)
10107
6e8cfc81
JL
101082013-06-13 Juri Linkov <juri@jurta.org>
10109
10110 * isearch.el (isearch-yank-word, isearch-yank-line)
10111 (isearch-char-by-name, isearch-quote-char)
10112 (isearch-printing-char, isearch-process-search-char):
10113 Add optional count prefix arg. (Bug#14563)
10114
10115 * international/isearch-x.el
10116 (isearch-process-search-multibyte-characters):
10117 Add optional count prefix arg.
10118
c23d55f4
VS
101192013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10120
10121 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10122 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10123 lexical-binding.
10124
101252013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10126
10127 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10128
ba947bc4
GM
101292013-06-13 Glenn Morris <rgm@gnu.org>
10130
8baeb37a
GM
10131 * startup.el (tty-handle-args):
10132 Don't just discard "--" and anything after. (Bug#14608)
10133
ba947bc4
GM
10134 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10135
9abefce4
MA
101362013-06-13 Michael Albinus <michael.albinus@gmx.de>
10137
10138 Implement changes in Secret Service API. Make it backward compatible.
10139 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10140 (secrets-create-item): Use it. Prefix properties with interface.
10141
5755011f
MH
101422013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10143
10144 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10145 (term-emulate-terminal): Respect term-suppress-hard-newline.
10146
1261d2da
S
101472013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10148
10149 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10150 Only remove a `thumb-file' overlay. (Bug#14548)
10151
868490bb
GJ
101522013-06-12 Grégoire Jadi <daimrod@gmail.com>
10153
10154 * mail/reporter.el (reporter-submit-bug-report):
10155 Handle missing package-name. (Bug#14600)
10156
79d7167f
TH
101572013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10158
10159 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10160 (reftex-citation-prompt, reftex-default-bibliography)
10161 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10162 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10163 (reftex-bib-sort-author, reftex-bib-sort-year)
10164 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10165 (reftex-extract-bib-entries-from-thebibliography)
10166 (reftex-get-bibkey-default, reftex-get-bib-names)
10167 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10168 (reftex-format-bib-entry, reftex-parse-bibitem)
10169 (reftex-format-bibitem, reftex-do-citation)
10170 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10171 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10172 (reftex-insert-bib-matches, reftex-format-citation)
10173 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10174 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10175 existing comments into docstrings.
10176
5f9dbd7a
XF
101772013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10178
10179 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10180
94df41ab
AS
101812013-06-12 Andreas Schwab <schwab@suse.de>
10182
10183 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10184 for auto-save files.
10185
a7f3fecc
GM
101862013-06-12 Glenn Morris <rgm@gnu.org>
10187
001809f6
GM
10188 * ido.el (ido-delete-ignored-files): Remove.
10189 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10190 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10191
834b5ded
EL
101922013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10193
08c73ed2
EL
10194 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10195
834b5ded
EL
10196 * ido.el (ido-delete-ignored-files): New function,
10197 split from ido-make-file-list-1.
10198 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10199 (ido-make-file-list-1): Use ido-delete-ignored-files.
10200
daabf15a
LL
102012013-06-12 Leo Liu <sdl.web@gmail.com>
10202
10203 * progmodes/octave.el (inferior-octave-startup)
10204 (inferior-octave-completion-table)
10205 (inferior-octave-track-window-width-change)
10206 (octave-eldoc-function-signatures, octave-help)
10207 (octave-find-definition): Use single quoted strings.
10208 (inferior-octave-startup-args): Change default value.
10209 (inferior-octave-startup): Do not hard code "-i" and
10210 "--no-line-editing".
10211 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10212 (inferior-octave-directory-tracker): Use it.
10213 (octave-goto-function-definition): Robustify.
10214 (octave-help): Support highlighting operators in 'See also'.
10215 (octave-find-definition): Find subfunctions only in Octave mode.
10216
cf4e5178
SM
102172013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * help-fns.el (help-fns--compiler-macro): If the handler function is
10220 named, then put a link to it.
10221 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10222 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10223 (cl-typep): Use it.
10224 (cl-eval-when): Simplify debug spec.
10225 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10226 compiler-macro function instead of setting `compiler-macro-file'.
10227
99c81280 102282013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10229
10230 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10231 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10232
f56be016
SM
102332013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10234 Daniel Hackney <dan@haxney.org>
10235
10236 First part of Daniel Hackney's patch to package.el.
10237 * emacs-lisp/package.el: Use defstruct.
10238 (package-desc): New, main struct.
10239 (package--bi-desc, package--ac-desc): New structs, used to describe the
10240 format in external files.
10241 (package-desc-vers): Replace with package-desc-version accessor.
10242 (package-desc-doc): Replace with package-desc-summary accessor.
10243 (package-activate-1): Remove `package' arg since the pkg-vec now
10244 includes the name.
10245 (define-package): Use package-desc-from-define.
10246 (package-unpack-single): Change file-name arg to be a symbol.
10247 (package--add-to-archive-contents): Use package-desc-create and new
10248 accessor functions to package--ac-desc.
10249 (package-buffer-info, package-tar-file-info): Return a package-desc.
10250 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10251 arg to be a package-desc.
10252 (package-install-file): Adjust accordingly. Use \' to match EOS.
10253 (package--from-builtin): New function.
10254 (describe-package-1, package-menu--generate): Use it.
10255 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10256 (package-generate-autoloads): Idem and return the name of the file.
10257 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10258 Change pkg-info arg to be a package-desc.
10259 Use package-make-ac-desc.
10260 (package-upload-file): Use \' to match EOS.
10261 * finder.el (finder-compile-keywords): Use package-make-builtin.
10262
31119d63
SM
102632013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10264
931a2762
SM
10265 * vc/vc.el (vc-deduce-fileset): Change error message.
10266 (vc-read-backend): New function.
10267 (vc-next-action): Use it.
10268
5a3eb0c6
SM
10269 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10270
e3eb1bb7
SM
10271 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10272 (prolog-font-lock-keywords): Use regexp-opt instead.
10273 Don't manually highlight strings.
10274 (prolog-mode-variables): Simplify comment-start-skip.
10275 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10276
31119d63
SM
10277 * emacs-lisp/generic.el (generic--normalise-comments)
10278 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10279 (generic-mode-set-comments): Use them.
10280 (generic-bracket-support): Use setq-local.
10281 (generic-make-keywords-list): Declare obsolete.
10282
7de135d0
GM
102832013-06-11 Glenn Morris <rgm@gnu.org>
10284
10285 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10286 Prettify after setting font-lock-defaults. (Bug#14574)
10287
fa6bc6fd
JB
102882013-06-11 Juanma Barranquero <lekktu@gmail.com>
10289
10290 * replace.el (query-replace, occur-read-regexp-defaults-function)
10291 (replace-search):
10292 * subr.el (declare-function, number-sequence, local-set-key)
10293 (substitute-key-definition, locate-user-emacs-file)
10294 (with-silent-modifications, split-string, eval-after-load):
10295 Fix typos, remove unneeded backslashes and reflow some docstrings.
10296
cf1f9b9a
SM
102972013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10298
10299 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10300 default for Elisp files.
10301
56602a4b
GM
103022013-06-11 Glenn Morris <rgm@gnu.org>
10303
10304 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10305 although define-derived-mode was doing this anyway. (Bug#14583)
10306
30ae0b2c
JB
103072013-06-10 Juanma Barranquero <lekktu@gmail.com>
10308
10309 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10310 Fix make-variable-buffer-local call to refer to the correct variable.
10311
fa472906
AG
103122013-06-10 Aidan Gauland <aidalgol@amuri.net>
10313
10314 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10315 (eshell-visual-subcommands, eshell-visual-options):
10316 Add summary line to docstrings. Add cross-references.
fa472906 10317
ff4871b9
GM
103182013-06-10 Glenn Morris <rgm@gnu.org>
10319
10320 * epa.el (epa-read-file-name): New function. (Bug#14510)
10321 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10322
04fcf1b0
AG
103232013-06-09 Aidan Gauland <aidalgol@amuri.net>
10324
10325 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10326 output redirection to be ignored with visual commands.
10327
88b00caa
AG
103282013-06-09 Aidan Gauland <aidalgol@amuri.net>
10329
10330 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10331 (eshell-term-initialize): Move long lambda to separate function
10332 eshell-visual-command-p.
e7b41c4c
JB
10333 * eshell/em-dirs.el (eshell-dirs-initialise):
10334 * eshell/em-script.el (eshell-script-initialize):
10335 Add missing #' to lambda.
88b00caa 10336
fda74125
LL
103372013-06-08 Leo Liu <sdl.web@gmail.com>
10338
10339 * progmodes/octave.el (octave-add-log-current-defun): New function.
10340 (octave-mode): Set add-log-current-defun-function.
10341 (octave-goto-function-definition): Do not move point if not found.
10342 (octave-find-definition): Enhance to try subfunctions first.
10343
467f3b33
GM
103442013-06-08 Glenn Morris <rgm@gnu.org>
10345
10346 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10347 (byte-compile-backward-char, byte-compile-backward-word):
10348 Improve previous change, to handle non-explicit nil.
10349
544badc3
SM
103502013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10351
10352 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10353 (smie--opener/closer-at-point): New function.
10354 (smie--matching-block-data): Use it. Don't match from right after an
10355 opener or right before a closer. Obey smie-blink-matching-inners.
10356 Don't signal a mismatch for repeated inners like "switch..case..case".
10357
a175bf33
LL
103582013-06-07 Leo Liu <sdl.web@gmail.com>
10359
10360 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10361 to t. (Bug#14303)
ce8209d4
LL
10362 (octave-function-header-regexp): Fix. (Bug#14570)
10363 (octave-help-mode-finish-hook, octave-help-mode-finish):
10364 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10365
10366 * newcomment.el (comment-search-backward): Revert last change.
10367 (Bug#14434)
10368
10369 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10370
a822acff
EZ
103712013-06-07 Eli Zaretskii <eliz@gnu.org>
10372
10373 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10374 through xargs, to avoid failure due to MS-Windows limitations on
10375 command-line length.
10376
961166f5
GM
103772013-06-06 Glenn Morris <rgm@gnu.org>
10378
d0341459
GM
10379 * font-lock.el (lisp-font-lock-keywords-2):
10380 Treat user-error like error.
10381
961166f5
GM
10382 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10383 (byte-compile-backward-char, byte-compile-backward-word):
10384 Handle explicit nil arguments. (Bug#14565)
10385
80fa505f
AM
103862013-06-05 Alan Mackenzie <acm@muc.de>
10387
10388 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10389 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10390 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10391 (Bug#9706)
80fa505f 10392
fccdc796
SM
103932013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10394
10395 * autorevert.el (auto-revert-notify-handler): Use memq.
10396 Hide assertion failure.
10397
10398 * skeleton.el: Use cl-lib.
10399 (skeleton-further-elements): Use defvar-local.
10400 (skeleton-insert): Use cl-progv.
10401
9bfff84b
TZ
104022013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10403
10404 * progmodes/prog-mode.el (prog-prettify-symbols)
10405 (prog-prettify-install): Update docstrings.
10406
55577e7c
SM
104072013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10408
10409 * simple.el: Move all the prog-mode code to prog-mode.el.
10410 * progmodes/prog-mode.el: New file.
10411 * loadup.el: Add prog-mode.el.
10412
8fc57765
TZ
104132013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10414
10415 * simple.el (prog-prettify-symbols): Add version.
10416 (prog-prettify-install): Add convenience function to prettify symbols.
10417
10418 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10419 (perl--augmented-font-lock-keywords-1)
10420 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10421 variables and use it.
10422
10423 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10424 (cfengine3-mode): Remove unneeded variable and use it.
10425
10426 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10427 (lisp--augmented-font-lock-keywords-1)
10428 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10429 Remove unneeded variables and use it.
10430
650645d5 104312013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
10432
10433 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 10434 to point when opening the connection. (Bug#14380)
28f5da6d 10435
781b4af6
SM
104362013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10437
10438 * subr.el (load-history-regexp, load-history-filename-element)
10439 (eval-after-load, after-load-functions, do-after-load-evaluation)
10440 (eval-next-after-load, display-delayed-warnings)
10441 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10442 definition of save-match-data.
10443 (overriding-local-map): Remove accidental obsolescence declaration.
10444
10445 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10446
3ca0d0b4
TZ
104472013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10448
10449 Generalize symbol prettify support to prog-mode and implement it
10450 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10451 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10452 (prog--prettify-font-lock-compose-symbol)
10453 (prog-prettify-font-lock-symbols-keywords): New variables and
10454 functions to support symbol prettification.
10455 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10456 (lisp--augmented-font-lock-keywords-1)
10457 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10458 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10459 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
10460 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10461 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
10462 * progmodes/perl-mode.el (perl-prettify-symbols)
10463 (perl--font-lock-compose-symbol)
10464 (perl--font-lock-symbols-keywords): Move to prog-mode.
10465 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10466 (perl-font-lock-keywords-1)
10467 (perl-font-lock-keywords-2): Remove explicit prettify support.
10468 (perl--augmented-font-lock-keywords)
10469 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
10470 (perl--augmented-font-lock-keywords-2, perl-mode):
10471 Implement prettify support.
3ca0d0b4 10472
976cb066
LL
104732013-06-05 Leo Liu <sdl.web@gmail.com>
10474
10475 Re-implement smie matching block highlight using
10476 show-paren-data-function. (Bug#14395)
10477 * emacs-lisp/smie.el (smie-matching-block-highlight)
10478 (smie--highlight-matching-block-overlay)
10479 (smie--highlight-matching-block-lastpos)
10480 (smie-highlight-matching-block)
10481 (smie-highlight-matching-block-mode): Remove.
10482 (smie--matching-block-data-cache): New variable.
10483 (smie--matching-block-data): New function.
10484 (smie-setup): Use smie--matching-block-data for
10485 show-paren-data-function.
10486
10487 * progmodes/octave.el (octave-mode-menu): Fix.
10488 (octave-find-definition): Skip garbage lines.
10489
208d0342
SM
104902013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10491
10492 Fix compilation error with simultaneous dynamic+lexical scoping.
10493 Add warning when a defvar appears after the first let-binding.
10494 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10495 (byte-compile-close-variables): Initialize it.
10496 (byte-compile--declare-var): New function.
10497 (byte-compile-file-form-defvar)
10498 (byte-compile-file-form-define-abbrev-table)
10499 (byte-compile-file-form-custom-declare-variable): Use it.
10500 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10501 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10502 (byte-compile-bind): Handle dynamic bindings that shadow
10503 lexical bindings.
10504 (byte-compile-unbind): Make arg non-optional.
10505 (byte-compile-let): Simplify.
10506 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10507 (cconv--analyse-function, cconv-analyse-form): Populate it.
10508 Protect byte-compile-bound-variables to limit the scope of defvars.
10509 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10510 Remove unneeded rule for `declare'.
10511
10512 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10513 so as to avoid depending on cl-adjoin at run-time.
10514 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10515
10516 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10517 (macroexp--warn-and-return): Use it.
10518
1ac2891e
GM
105192013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10520
a12bf61e 10521 * subr.el: Convert to lexical binding.
1ac2891e
GM
10522 (overriding-local-map): Make obsolete.
10523 (add-to-list): Doc fix. Add compiler macro.
10524 (read-key): Swap values of local maps.
10525
2587b005
LL
105262013-06-05 Leo Liu <sdl.web@gmail.com>
10527
10528 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10529
f1da3c88
LL
105302013-06-04 Leo Liu <sdl.web@gmail.com>
10531
10532 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10533 (compilation-auto-jump): Suppress the "Mark set" message to give
10534 way to exit message.
10535
3caa391f
AM
105362013-06-04 Alan Mackenzie <acm@muc.de>
10537
10538 Remove faulty optimisation from indentation calculation.
10539 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10540 search limit based on 2000 characters back from indent-point.
10541
068922a2
TH
105422013-06-03 Tassilo Horn <tsdh@gnu.org>
10543
10544 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10545
1f8fdd53
SM
105462013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10547
bbcc4d97
SM
10548 * emacs-lisp/lisp.el: Use lexical-binding.
10549 (lisp--local-variables-1, lisp--local-variables): New functions.
10550 (lisp--local-variables-completion-table): New var.
208d0342 10551 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10552
1f8fdd53
SM
10553 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10554 eagerly (bug#14422).
10555
c9628c79
MA
105562013-06-03 Michael Albinus <michael.albinus@gmx.de>
10557
10558 * autorevert.el (auto-revert-notify-enabled)
10559 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10560 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10561 (auto-revert-notify-handler): Handle also gfilenotify.
10562
e7b41c4c 10563 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10564 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10565 Remove.
c9628c79 10566
e5e4a942
JL
105672013-06-03 Juri Linkov <juri@jurta.org>
10568
10569 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10570 `M-s h .'. (Bug#14427)
10571
10572 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10573 command `hi-lock-face-symbol-at-point'.
10574 (hi-lock-face-symbol-at-point): New command.
10575 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10576 (hi-lock-menu): Add `highlight-symbol-at-point'.
10577 (hi-lock-mode): Doc fix.
10578
10579 * isearch.el (isearch-forward-symbol-at-point): New command.
10580 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10581 (isearch-highlight-regexp): Add a regexp which matches
10582 words/symbols for word/symbol mode.
10583
10584 * subr.el (find-tag-default-bounds): New function with the body
10585 mostly moved from `find-tag-default'.
10586 (find-tag-default): Move most code to `find-tag-default-bounds',
10587 call it and apply `buffer-substring-no-properties' afterwards.
10588
26b3353a
TH
105892013-06-03 Tassilo Horn <tsdh@gnu.org>
10590
781b4af6
SM
10591 * eshell/em-term.el (eshell-term-initialize):
10592 Use `cl-intersection' rather than `intersection'.
26b3353a 10593
51b60f53
XF
105942013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10595
fe054b63 10596 * vc/log-view.el: Doc fix.
d3ffe17c 10597 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10598
a0eb10b3 105992013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10600
10601 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10602 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10603 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10604 (eieio-unbound, eieio-default-superclass)
10605 (eieio--define-field-accessors, method-static, method-before)
10606 (method-primary, method-after, method-num-lists)
10607 (method-generic-before, method-generic-primary)
10608 (method-generic-after, method-num-slots)
10609 (eieio-specialized-key-to-generic-key)
10610 (eieio--check-type, class-v, class-p)
10611 (eieio-class-name, define-obsolete-function-alias)
10612 (eieio-class-parents-fast, eieio-class-children-fast)
10613 (same-class-fast-p, class-constructor, generic-p)
10614 (generic-primary-only-p, generic-primary-only-one-p)
10615 (class-option-assoc, class-option, eieio-object-p)
10616 (class-abstract-p, class-method-invocation-order)
10617 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10618 (eieio-class-un-autoload, eieio-defclass)
10619 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10620 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10621 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10622 (eieio-defgeneric-reset-generic-form)
10623 (eieio-defgeneric-form-primary-only)
10624 (eieio-defgeneric-reset-generic-form-primary-only)
10625 (eieio-defgeneric-form-primary-only-one)
10626 (eieio-defgeneric-reset-generic-form-primary-only-one)
10627 (eieio-unbind-method-implementations)
10628 (eieio--defmethod, eieio--typep)
10629 (eieio-perform-slot-validation, eieio-validate-slot-value)
10630 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10631 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10632 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10633 (eieio-slot-name-index, eieio-class-slot-name-index)
10634 (eieio-set-defaults, eieio-initarg-to-attribute)
10635 (eieio-attribute-to-initarg, eieio-c3-candidate)
10636 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10637 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10638 (eieio-class-precedence-list, eieio-generic-call-methodname)
10639 (eieio-generic-call-arglst, eieio-generic-call-key)
10640 (eieio-generic-call-next-method-list)
10641 (eieio-pre-method-execution-functions, eieio-generic-call)
10642 (eieio-generic-call-primary-only, eieiomt-method-list)
10643 (eieiomt-optimizing-obarray, eieiomt-install)
10644 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10645 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10646 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10647 (defclass): Remove `eval-and-compile' from macro.
10648 (call-next-method, shared-initialize): Instead of using
10649 `scoped-class' variable, use new eieio--scoped-class, and
10650 eieio--with-scoped-class.
10651 (initialize-instance): Rename local variable 'scoped-class' to
10652 'this-class' to remove ambiguitity from old global.
10653
10654 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10655 eieio.el.
4f405069
JB
10656 (eieio--scoped-class-stack): New variable.
10657 (eieio--scoped-class): New fcn.
890f7890
DE
10658 (eieio--with-scoped-class): New scoping macro.
10659 (eieio-defclass): Use pushnew instead of add-to-list.
10660 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10661 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10662 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10663 `scoped-class' variable, use new eieio--scoped-class, and
10664 eieio--with-scoped-class.
10665
10666 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10667
d105b0e2
TH
106682013-06-02 Tassilo Horn <tsdh@gnu.org>
10669
10670 * eshell/esh-ext.el (eshell-external-command): Pass args to
10671 `eshell-find-interpreter'.
10672 (eshell-find-interpreter): Add new second parameter ARGS.
10673
10674 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10675 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10676
10677 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10678 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10679
10680 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10681 (eshell-visual-options): New defcustom.
10682 (eshell-escape-control-x): Adapt docstring.
10683 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10684 `eshell-visual-options' in addition to `eshell-visual-commands'.
10685 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10686
f46305c8 106872013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10688
10689 * progmodes/python.el (python-indent-block-enders): Add break,
10690 continue and raise keywords.
10691
d870df21
GM
106922013-06-01 Glenn Morris <rgm@gnu.org>
10693
9133b82e
GM
10694 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10695
02c992ec 10696 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10697 * progmodes/cc-cmds.el (delete-forward-p):
10698 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10699 * progmodes/cc-engine.el (buffer-syntactic-context):
10700 * progmodes/cc-fonts.el (face-property-instance):
10701 * progmodes/cc-mode.el (set-keymap-parents):
10702 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10703 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10704 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10705 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10706 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10707
31e7b090
GM
10708 * progmodes/cc-vars.el (other): Emacs has this widget since
10709 at least 21.1, so don't (re)define it.
10710
d870df21
GM
10711 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10712 Replace the obsolete alias pcomplete-arg-quote-list.
10713
c75c93c7
LL
107142013-06-01 Leo Liu <sdl.web@gmail.com>
10715
10716 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10717 punctuation syntax.
10718 (inferior-octave-minimal-columns)
10719 (inferior-octave-last-column-width): New variables.
10720 (inferior-octave-track-window-width-change): New function.
10721 (inferior-octave-mode): Adjust column width so that Octave output,
10722 for example from 'ls', can fit into the window nicely.
10723
973d1e12
DG
107242013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10725
10726 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10727 Highlight expansions inside regexp literals.
10728
0888c286
GM
107292013-05-31 Glenn Morris <rgm@gnu.org>
10730
e26aac1f
GM
10731 * obsolete/sym-comp.el (symbol-complete):
10732 Replace obsolete completion-annotate-function.
10733
0888c286
GM
10734 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10735
19bb8e62
DG
107362013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10737
781b4af6
SM
10738 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10739 New function, checks if point is inside a literal that allows
19bb8e62
DG
10740 expression expansion.
10741 (ruby-syntax-propertize-expansion): Use it.
10742 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10743 around the body.
10744
01dea85f
JL
107452013-05-30 Juri Linkov <juri@jurta.org>
10746
10747 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10748 to "\M-si".
10749 (isearch-invisible): New variable.
10750 (isearch-forward): Doc fix.
10751 (isearch-mode): Set `isearch-invisible'
10752 to the value of `search-invisible'.
10753 (isearch-toggle-case-fold): Doc fix.
10754 (isearch-toggle-invisible): New command.
10755 (isearch-query-replace): Let-bind `search-invisible'
10756 to the value of `isearch-invisible'.
10757 (isearch-search): Use `isearch-invisible' instead of
10758 `search-invisible'. Let-bind `search-invisible'
10759 to the value of `isearch-invisible'. (Bug#11378)
10760
ab1bdce5
JL
107612013-05-30 Juri Linkov <juri@jurta.org>
10762
10763 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10764 call when `query-flag' is nil and `search-invisible' is non-nil.
10765 (Bug#11746)
10766
d6d236e2
GM
107672013-05-30 Glenn Morris <rgm@gnu.org>
10768
8accd027
GM
10769 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10770
2a8bed1c
GM
10771 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10772 (cc-require): Suppress spurious "noruntime" warnings.
10773 (cc-require-when-compile): Use fboundp, for sake of compiler.
10774
d6d236e2
GM
10775 * progmodes/cc-mode.el: Move load of cc-vars before that of
10776 cc-langs (which in turn loads cc-vars), to quieten compiler.
10777
9190b35b
SM
107782013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * paren.el: Simplify the code.
10781 (show-paren-mode): Always start the timer.
10782 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10783 (show-paren--overlay, show-paren--overlay-1): Rename from
10784 show-paren-overlay and show-paren-overlay-1, and initialize to an
10785 overlay rather than to nil.
10786 (show-paren-function): Misc cleanup and simplifications.
10787
4f8d1cf6
SM
107882013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10789
10790 * paren.el (show-paren-data-function): New hook.
10791 (show-paren--default): New function, extracted from show-paren-function.
10792 (show-paren-function): Use show-paren-data-function.
10793
02d844b5
GM
107942013-05-30 Glenn Morris <rgm@gnu.org>
10795
d209d4a9
GM
10796 * ielm.el (ielm-map, ielm-complete-symbol):
10797 Use completion-at-point rather than obsolete functions.
10798 (inferior-emacs-lisp-mode): Doc fix.
10799 Set completion-at-point-functions, rather than
10800 comint-dynamic-complete-functions.
10801
2082faa6
GM
10802 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10803 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10804 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10805
dd8620de
GM
10806 * image.el (image-animated-p): Tweak definition.
10807
ceca95b1
GM
10808 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10809 (rlogin-process-connection-type): Tweak default. Add set-after.
10810 (rlogin-host): Doc fix.
10811 (rlogin): Tweak prompt.
10812 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10813
ee9f1acc
GM
10814 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10815 * progmodes/tcl.el (inferior-tcl-mode-map):
10816 Use completion-at-point rather than obsolete alias.
10817
45ce222e
GM
10818 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10819
02d844b5
GM
10820 * minibuffer.el (read-file-name-completion-ignore-case):
10821 Move before completion--in-region, for eager macro expansion.
10822
ac44d6c1
JL
108232013-05-29 Juri Linkov <juri@jurta.org>
10824
10825 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10826 for total count of matching lines. Add `global-matches' for total
10827 count of matches. Rename `matches' to `lines' for count of
10828 matching lines. Add `matches' for count of matches.
10829 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10830 to `prev-line' for line number of prev match endpt.
10831 Increment `matches' for every match. Print the number of
10832 matching lines in the header.
10833 (occur-context-lines): Rename `lines' to `curr-line'.
10834 Rename `prev-lines' to `prev-line'. (Bug#14017)
10835
3c9c9d38
JL
108362013-05-29 Juri Linkov <juri@jurta.org>
10837
10838 * replace.el (perform-replace): Add `skip-read-only-count',
10839 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10840 Increment them for corresponding conditions and report the number
10841 of skipped occurrences in the final message. (Bug#11746)
10842 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10843 (replace-string, replace-regexp): Doc fix.
10844
33e249a2
SM
108452013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10846
8e399682
SM
10847 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10848
33e249a2 10849 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10850 prog-mode-map (bug#14504).
33e249a2 10851
f236dd84
LL
108522013-05-29 Leo Liu <sdl.web@gmail.com>
10853
10854 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10855 (octave-help): Small simplification.
10856
10857 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10858 off the highlight first.
10859
3694d13f
GM
108602013-05-29 Glenn Morris <rgm@gnu.org>
10861
03983bdc
GM
10862 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10863 Handle idlwave-last-system-routine-info-cons-cell being nil.
10864
bc74a74a
GM
10865 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10866 (idlwave-write-paths): Simplify via with-temp-buffer.
10867
8b394200
GM
10868 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10869 * emulation/cua-rect.el: Also load cua-base at run time.
10870
3694d13f
GM
10871 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10872 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10873 (cperl-imenu-on-info): Require imenu.
10874
336d7284
AM
108752013-05-28 Alan Mackenzie <acm@muc.de>
10876
10877 Handle "capitalised keywords" correctly.
33e249a2 10878 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10879
cb29c582
AG
108802013-05-28 Aidan Gauland <aidalgol@amuri.net>
10881
781b4af6 10882 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10883
690e44b2
GM
108842013-05-28 Glenn Morris <rgm@gnu.org>
10885
e658d75c
GM
10886 * vc/vc-arch.el (vc-exec-after): Declare.
10887 (vc-switches): Autoload.
10888 * vc/vc-bzr.el: No need to require vc when compiling.
10889 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10890 (vc-resynch-buffer, vc-dir-refresh): Declare.
10891 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10892 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10893 (vc-resynch-buffer): Declare.
10894 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10895 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10896 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10897 (grep-read-regexp, grep-read-files, grep-expand-template)
10898 (vc-dir-refresh): Declare.
10899 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10900 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10901 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10902 * vc/vc-mtn.el (vc-exec-after): Declare.
10903 (vc-switches): Autoload.
10904 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10905 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10906 (vc-file-tree-walk): Declare.
712b9732
GM
10907 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10908 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10909 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10910 * vc/vc-svn.el (vc-exec-after): Declare.
10911 (vc-switches, vc-setup-buffer): Autoload.
10912 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10913 Autoload.
10914 (vc-resynch-buffer): Declare.
10915
98e87fb3
GM
10916 * obsolete/fast-lock.el (byte-compile-warnings):
10917 Don't warn about obsolete features in this obsolete file.
10918
f5379553
GM
10919 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10920 Move definition before use.
10921
7a20ef83
GM
10922 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10923 (dun-unix-verbs): Remove dun-zippy.
10924 (dun-zippy): Remove function.
10925
690e44b2
GM
10926 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10927
3a52ccf7
JL
109282013-05-27 Juri Linkov <juri@jurta.org>
10929
10930 * replace.el (replace-search): New function with code moved out
10931 from `perform-replace'.
10932 (replace-highlight, replace-dehighlight): Move function definitions
10933 up closer to `replace-search'. (Bug#11746)
10934
d289938a
JL
109352013-05-27 Juri Linkov <juri@jurta.org>
10936
10937 * replace.el (perform-replace): Ignore invisible matches.
10938 In addition to checking `query-replace-skip-read-only', also
10939 filter out matches by calling `run-hook-with-args-until-failure'
10940 on `isearch-filter-predicates', and also check `search-invisible'
10941 for t or call `isearch-range-invisible'.
10942 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10943
66fc57e3
JL
109442013-05-27 Juri Linkov <juri@jurta.org>
10945
10946 * isearch.el (isearch-filter-predicates): Rename from
10947 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10948 (isearch-message-prefix): Display text from the property
10949 `isearch-message-prefix' of the currently active filters.
10950 (isearch-search): Don't compare `isearch-filter-predicate' with
10951 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10952 on `isearch-filter-predicates'. Also check `search-invisible' for t
10953 or call `isearch-range-invisible'.
10954 (isearch-filter-visible): Make obsolete.
10955 (isearch-lazy-highlight-search):
10956 Call `run-hook-with-args-until-failure' on
10957 `isearch-filter-predicates' and use `isearch-range-invisible'.
10958
10959 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10960 `isearch-filter-predicates' instead of `funcall'ing
10961 `isearch-filter-predicate'.
10962 (Info-mode): Set `Info-isearch-filter' to
10963 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10964
10965 * dired-aux.el (dired-isearch-filter-predicate-orig):
10966 Remove variable.
10967 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10968 (dired-isearch-filenames-end): Add and remove
10969 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10970 instead of changing the value of `isearch-filter-predicate'.
10971 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10972 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10973 Put property `isearch-message-prefix' to "filename " on
10974 `dired-isearch-filter-filenames'.
10975
10976 * wdired.el (wdired-change-to-wdired-mode):
10977 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10978 locally instead of changing `isearch-filter-predicate'.
10979 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10980
f1a60a0f
DG
109812013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10982
10983 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10984 return the commit hash (Bug#14459). Also set the
10985 `vc-git-detached' property.
10986 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10987 (vc-git-mode-line-string): Use the same help-echo format whether
10988 in detached mode or not, because we know the actual revision now.
10989 When in detached mode, shorten the revision to 7 chars.
10990
7f17cc40
SM
109912013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 * emacs-lisp/easy-mmode.el (define-minor-mode):
10994 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10995 mode hook and provide a docstring.
10996
25c8401c
AM
109972013-05-27 Alan Mackenzie <acm@muc.de>
10998
10999 Remove spurious syntax-table text properties inserted by C-y.
11000 * progmodes/cc-mode.el (c-after-change): Also clear hard
11001 syntax-table property with value nil.
11002
dde84790
MA
110032013-05-27 Michael Albinus <michael.albinus@gmx.de>
11004
11005 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11006 when reading the events; the buffer layout shall not be changed.
11007
837fd9af
LL
110082013-05-27 Leo Liu <sdl.web@gmail.com>
11009
11010 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11011 New variable.
11012 (inferior-octave-directory-tracker): Automatically re-sync
11013 default-directory.
11014 (octave-help): Improve handling of 'See also'.
11015
4fd996b3
SM
110162013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11017
416f1802
SM
11018 * doc-view.el: Minor naming convention tweaks.
11019 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11020
4fd996b3
SM
11021 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11022 even if there's no `display' property yet (bug#14435).
11023
a052ef3b
EZ
110242013-05-25 Eli Zaretskii <eliz@gnu.org>
11025
4fd996b3 11026 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
11027
11028 * Makefile.in (custom-deps, finder-data, autoloads)
11029 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11030 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11031 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11032
c9023370
SM
110332013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11034
11035 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11036 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 11037 Don't burp at EOB.
c9023370 11038
24d699fa
LL
110392013-05-25 Leo Liu <sdl.web@gmail.com>
11040
11041 * comint.el (comint-previous-matching-input): Do not flood the
11042 *Messages* buffer with trivial messages.
11043
17e5c0cc
SM
110442013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11045
11046 * progmodes/flymake.el (flymake-nop): Don't return a string.
11047 (flymake-set-at): Fix typo.
11048
11049 * simple.el (read--expression): New function, extracted from
11050 eval-expression. Set completion-at-point-functions (bug#14465).
11051 (eval-expression, eval-minibuffer): Use it.
11052
5d028165
XF
110532013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11054
11055 * progmodes/flymake.el (flymake-save-buffer-in-file)
11056 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11057 (flymake-selected-frame, flymake-log, flymake-ins-after)
11058 (flymake-set-at, flymake-get-buildfile-from-cache)
11059 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11060 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11061 Refine the doc string.
11062 (flymake-get-file-name-mode-and-masks): Reformat.
11063 (flymake-get-real-file-name-function): Fix a minor bug.
11064
7a1d7ba7
JL
110652013-05-24 Juri Linkov <juri@jurta.org>
11066
11067 * progmodes/grep.el (grep-mode-font-lock-keywords):
11068 Support =linenumber= format used by git-grep for lines with
11069 function names. (Bug#13549)
11070
650cff3d
SM
110712013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11072
11073 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11074 0 after a semi-colon; it works better for smie-auto-fill.
11075 (octave--indent-new-comment-line): New function.
11076 (octave-indent-new-comment-line): Use it (indirectly).
11077 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11078 modify comment-line-break-function.
11079
11080 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11081 (smie-setup): Use add-function to set it.
11082
9631677d
SS
110832013-05-24 Sam Steingold <sds@gnu.org>
11084
11085 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11086 argument (before the `interactive' argument).
11087
50105835
SM
110882013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11089
11090 * image-mode.el (image-mode-winprops): Add winprops to
11091 image-mode-winprops-alist before running
11092 image-mode-new-window-functions.
11093 * doc-view.el (doc-view-new-window-function): Don't delay
11094 doc-view-goto-page via timers (bug#14435).
11095
57b9823e
TH
110962013-05-24 Tassilo Horn <tsdh@gnu.org>
11097
11098 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11099 (doc-view-desktop-save-buffer): New function.
11100 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11101 (desktop-buffer-mode-handlers):
11102 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11103 handler.
11104 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11105 `desktop-save-buffer' function.
11106
91aafa16
MA
111072013-05-24 Michael Albinus <michael.albinus@gmx.de>
11108
11109 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11110 (tramp-gvfs-file-name-handler): Raise a user error when
11111 `tramp-gvfs-enabled' is nil.
11112 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11113 Do not raise a user error when loading package. (Bug#14447)
11114
ec076379
MA
11115 * net/xesam.el: Move to obsolete/.
11116
db785726
GM
111172013-05-24 Glenn Morris <rgm@gnu.org>
11118
af5c7606
GM
11119 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11120
e5d1916a
GM
11121 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11122
ded62b08
GM
11123 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11124 (Info-find-node, Man-getpage-in-background): Declare.
11125
9e614a3f
GM
11126 * mail/unrmail.el (unrmail):
11127 Replace obsolete detect-coding-with-priority.
11128
892f8ca3
GM
11129 * net/socks.el (socks-split-string): Use this rather than split-string.
11130 (socks-nslookup-host): Update for above change.
11131 (dynamic-choice, s5-dynamic-choice-match)
11132 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11133 Comment out unused code.
11134
3c291973
GM
11135 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11136 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11137 (gud-tooltip-echo-area): Make obsolete.
11138 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11139
43cc956b
GM
11140 * progmodes/js.el (js--optimize-arglist): Declare.
11141
dab49a3b
GM
11142 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11143
36b9d085
GM
11144 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11145 (ediff-window-C): Declare.
11146
e354ae76
GM
11147 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11148 Tweak requires to silence compiler.
11149
b8e57bf4
GM
11150 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11151 (he-search-string, he-tried-table, he-expand-list)
11152 (he-init-string, he-string-member, he-substitute-string)
11153 (he-reset-string): Declare.
11154
db785726
GM
11155 * obsolete/options.el (list-options): Use custom-variable-p,
11156 rather than obsolete alias.
11157
b3531901
SS
111582013-05-23 Sam Steingold <sds@gnu.org>
11159
11160 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11161 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11162 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11163
bdda4c66
SM
111642013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11165
11166 * emacs-lisp/smie.el (smie-indent-forward-token)
11167 (smie-indent-backward-token): Handle string tokens (bug#14381).
11168
c43d45f9
TH
111692013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11170
fe1eb856
RS
11171 * ielm.el (ielm-menu): New menu.
11172 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11173
fe1eb856
RS
111742013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11175
a12bf61e 11176 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11177 Fix deactivate action.
11178
a12bf61e 11179 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11180 Add cleveref macros.
074dd971 11181
a12bf61e 11182 * textmodes/reftex-parse.el
c43d45f9
TH
11183 (reftex-locate-bibliography-files): Accept options for
11184 bibliography commands.
a12bf61e 11185 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11186 Add addbibresource. Basic Biblatex support.
11187
7764286e
MA
111882013-05-23 Michael Albinus <michael.albinus@gmx.de>
11189
11190 * net/tramp-gvfs.el (top):
11191 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11192 when loading package. (Bug#14447)
11193
d361bc10
GM
111942013-05-23 Glenn Morris <rgm@gnu.org>
11195
8fa23984
GM
11196 * progmodes/js.el: No need to load comint when compiling.
11197 (ring-insert, comint-send-string, comint-send-input)
11198 (comint-last-input-end, ido-chop): Declare.
11199
a5c7df1a
GM
11200 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11201 * vc/ediff-mult.el: Adjust requires.
11202 (ediff-directories-internal, ediff-directory-revisions-internal)
11203 (ediff-patch-file-internal): Declare.
11204 * vc/ediff-ptch.el: Adjust requires.
11205 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11206 (ediff-find-file): Autoload.
11207 * vc/ediff-util.el: No need to load ediff when compiling.
11208 (ediff-regions-internal): Declare.
11209 * vc/ediff-wind.el: Adjust requires.
11210 (ediff-compute-toolbar-width): Define when compiling.
11211 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11212 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11213 (dired-get-filename, dired-get-marked-files)
11214 (ediff-last-dir-patch, ediff-patch-default-directory)
11215 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11216 (ediff-patch-buffer-internal): Declare.
11217
e2aec513
GM
11218 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11219 (ispell-process, ispell-buffer-local-words, lm-summary)
11220 (lm-section-start, lm-section-end): Declare.
11221 (checkdoc-ispell-init): Simplify.
11222
e68bbd7c
GM
11223 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11224 (he-string-member, he-reset-string, he-substitute-string): Declare.
11225
7efe0991
GM
11226 * eshell/em-ls.el: Adjust requires.
11227 (eshell-glob-regexp): Declare.
f87b1284
GM
11228 * eshell/em-tramp.el: Adjust requires.
11229 (eshell-parse-command): Autoload.
11230 * eshell/em-xtra.el: Adjust requires.
11231 (eshell-parse-command): Autoload.
11232 * eshell/esh-ext.el: Adjust requires.
11233 (eshell-parse-command, eshell-close-handles): Autoload.
11234 * eshell/esh-io.el: Adjust requires.
11235 (eshell-output-filter): Autoload.
11236 * eshell/esh-util.el: No need to load tramp when compiling.
11237 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11238 Declare.
11239 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11240 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11241 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11242 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11243 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11244 * eshell/esh-opt.el, eshell/esh-proc.el:
11245 * eshell/esh-var.el: Adjust requires.
11246 * eshell/eshell.el: Do not require esh-util twice.
11247 (eshell-add-input-to-history): Declare.
11248 (eshell-command): Check history module is active before using it.
11249
d361bc10
GM
11250 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11251
85d090a9
LL
112522013-05-22 Leo Liu <sdl.web@gmail.com>
11253
11254 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11255
5d0acd9d
MA
112562013-05-22 Michael Albinus <michael.albinus@gmx.de>
11257
11258 * autorevert.el (auto-revert-notify-add-watch)
11259 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11260 it indicates changes in file modification time.
11261
0cdffd7d
GM
112622013-05-22 Glenn Morris <rgm@gnu.org>
11263
ca5995ec
GM
11264 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11265 Always delete the autoloaded function from the noruntime and
11266 unresolved functions lists.
11267
6450907e
GM
11268 * allout.el: No need to load epa, epg, overlay when compiling.
11269 (epg-context-set-passphrase-callback, epg-list-keys)
11270 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11271 (epg-key-user-id-list): Declare.
11272
9c6906f6
GM
11273 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11274 (viper-set-parsing-style-toggling-macro)
11275 (viper-set-emacs-state-searchstyle-macros):
11276 Use called-interactively-p on Emacs.
11277 (viper-looking-back): Make it an obsolete alias. Update callers.
11278 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11279 Use looking-back rather than viper-looking-back.
11280 (viper-tmp-insert-at-eob, viper-enlarge-region)
11281 (viper-read-string-with-history, viper-register-to-point)
11282 (viper-append-to-register, viper-change-state-to-vi)
11283 (viper-backward-char-carefully, viper-forward-char-carefully)
11284 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11285 (viper-change-state-to-emacs): Declare.
11286 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11287 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11288 * emulation/viper-mous.el: Do not load viper-cmd.
11289 (viper-backward-char-carefully, viper-forward-char-carefully)
11290 (viper-forward-word, viper-adjust-window): Declare.
11291
5f70c169
GM
11292 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11293
b1b7f300
GM
11294 * progmodes/idlw-help.el (idlwave-help-fontify):
11295 Use called-interactively-p.
11296
f6ebbb46
GM
11297 * term/w32console.el (w32-get-console-codepage)
11298 (w32-get-console-output-codepage): Declare.
11299
0cdffd7d
GM
11300 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11301 Remove unnecessary declarations.
11302 (dframe-message): Doc fix.
11303
11304 * info.el (dframe-select-attached-frame, dframe-current-frame):
11305 Declare.
11306
11307 * speedbar.el (speedbar-message): Make it an obsolete alias.
11308 Update all callers.
11309 (speedbar-with-attached-buffer)
11310 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11311 (speedbar-with-writable): Use backquote.
11312 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11313 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11314 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11315 rather than speedbar- aliases.
11316 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11317 (speedbar-make-specialized-keymap, speedbar-insert-button)
11318 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11319 (speedbar-do-function-pointer): Declare.
11320 (rmail-speedbar-button, rmail-speedbar-find-file)
11321 (rmail-speedbar-move-message):
11322 Use dframe-with-attached-buffer rather than speedbar- alias.
11323 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11324 (dframe-message, speedbar-make-specialized-keymap)
11325 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11326 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11327 (speedbar-insert-button, dframe-select-attached-frame)
11328 (dframe-maybee-jump-to-attached-frame)
11329 (speedbar-change-initial-expansion-list)
11330 (speedbar-previously-used-expansion-list-name): Declare.
11331 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11332 Use dframe-message, dframe-with-attached-buffer rather than
11333 speedbar- aliases.
11334 (gud-sentinel): Silence compiler.
11335 * progmodes/vhdl-mode.el (speedbar-refresh)
11336 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11337 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11338 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11339 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11340 (speedbar-file-lists, speedbar-make-tag-line)
11341 (speedbar-line-directory, speedbar-goto-this-file)
11342 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11343 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11344 (speedbar-make-button, speedbar-reset-scanners)
11345 (speedbar-files-item-info, speedbar-line-text)
11346 (speedbar-find-file-in-frame, speedbar-set-timer)
11347 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11348 (speedbar-with-writable): Do not (re)define it.
11349 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11350 rather than speedbar- alias.
11351
ee44b62a
LL
113522013-05-21 Leo Liu <sdl.web@gmail.com>
11353
11354 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11355 menu items.
11356 (octave-mode): Tweak fill-nobreak-predicate.
11357 (inferior-octave-startup): Check process to avoid infinite loop.
11358 (inferior-octave): Pop to buffer first to show abornmal process
11359 exit information.
11360
640f050f
GM
113612013-05-21 Glenn Morris <rgm@gnu.org>
11362
79458038
GM
11363 * printing.el (pr-menu-bar): Define when compiling.
11364
9cc3e83f
LL
113652013-05-21 Leo Liu <sdl.web@gmail.com>
11366
11367 * progmodes/octave.el (octave-auto-fill): Remove.
11368 (octave-indent-new-comment-line): Improve.
11369 (octave-mode): Use auto fill mode through
4f405069 11370 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11371 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11372 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11373 (octave-help): Show parent directory.
11374
f440830d
GM
113752013-05-21 Glenn Morris <rgm@gnu.org>
11376
11377 * files.el (dired-unmark):
11378 * progmodes/gud.el (gdb-input): Update declarations.
11379
11380 * calculator.el (electric, ehelp): No need to load when compiling.
11381 (Electric-command-loop, electric-describe-mode): Declare.
11382
11383 * doc-view.el (doc-view-current-converter-processes): Move before use.
11384
11385 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11386 Move MODE-set-explicitly definition before use.
11387
11388 * international/mule-diag.el (mule-diag):
11389 Don't use obsolete window-system-version.
11390
11391 * mail/feedmail.el (smtpmail): No need to load when compiling.
11392 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11393
11394 * mail/mail-utils.el (rfc822): No need to load when compiling.
11395 (rfc822-addresses): Autoload it.
11396 (mail-strip-quoted-names): Trivial simplification.
11397
11398 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11399 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11400
11401 * net/snmp-mode.el (tempo): Don't duplicate requires.
11402
11403 * progmodes/prolog.el (info): No need to load when compiling.
11404 (comint): Require before shell requires it.
11405 (Info-goto-node): Autoload it.
11406 (Info-follow-nearest-node): Declare.
11407 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11408
11409 * textmodes/artist.el (picture-mode-exit): Declare.
11410
11411 * textmodes/reftex-parse.el (reftex-parse-from-file):
11412 Trivial rewrite so the compiler can parse it better.
11413
b4da2cbb
LL
114142013-05-20 Leo Liu <sdl.web@gmail.com>
11415
11416 * progmodes/octave.el (octave-help-mode-map)
11417 (octave-help-mode-finish-hook): New variables.
11418 (octave-help-mode, octave-help-mode-finish): New functions.
11419 (octave-help): Use octave-help-mode.
11420
33c0f65b
GM
114212013-05-20 Glenn Morris <rgm@gnu.org>
11422
11423 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11424
1a0a0a8a
DG
114252013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11426
11427 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11428 start at point, so that expansion starting right after opening
11429 slash in a regexp is recognized.
11430 (ruby-syntax-before-regexp-re): New defvar, extracted from
11431 ruby-syntax-propertize-function. Since the value of this regexp
11432 is looked up at runtime now, we should be able to turn
11433 `ruby-syntax-methods-before-regexp' into a defcustom later.
11434 (ruby-syntax-propertize-function): Split regexp matching into two
11435 parts, for opening and closing slashes. That allows us to skip
11436 over string interpolations and support multiline regexps.
11437 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11438 for them, which calls `ruby-syntax-propertize-expansion'.
11439 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11440 call to `ruby-syntax-propertize-function'.
11441 (ruby-syntax-propertize-expansion): Extracted from
11442 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
11443 (ruby-syntax-propertize-percent-literal): Leave point right after
11444 the percent symbol, so that the expression expansion rule can
11445 propertize the contents.
462388b6
DG
11446 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11447 heredoc openers.
11448 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 11449
c1a6c0a4
JL
114502013-05-18 Juri Linkov <juri@jurta.org>
11451
11452 * man.el (Man-default-man-entry): Remove `-' from the end
11453 of the default value. (Bug#14400)
11454
8051fccd
GM
114552013-05-18 Glenn Morris <rgm@gnu.org>
11456
11457 * comint.el (comint-password-prompt-regexp):
11458 Allow "password for XXX" where XXX contains colons (eg https://...).
11459
5e80b74f
LL
114602013-05-18 Leo Liu <sdl.web@gmail.com>
11461
11462 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 11463 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
11464 (octave-source-directories): Don't check process.
11465 (octave-source-directories, octave-find-definition): Doc fix.
11466
521a54c5
GM
114672013-05-18 Glenn Morris <rgm@gnu.org>
11468
86a94b05
GM
11469 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11470 Remove backspace/delete bindings. (Bug#14392)
11471
521a54c5
GM
11472 * cus-dep.el (custom-make-dependencies): Sort the output.
11473 (custom-versions-load-alist): Convert comment to doc.
11474
42caeb89
LL
114752013-05-17 Leo Liu <sdl.web@gmail.com>
11476
11477 * newcomment.el (comment-search-backward): Stricter in finding
11478 comment start. (Bug#14303)
11479
11480 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11481 (octave-comment-start-skip): Properly anchored.
11482
e219dd97
LL
114832013-05-17 Leo Liu <sdl.web@gmail.com>
11484
fe1eb856
RS
11485 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11486 Clean up when turned off. (Bug#14395)
e219dd97
LL
11487 (smie--highlight-matching-block-overlay): No longer buffer-local.
11488 (smie-highlight-matching-block): Adjust.
11489
dc5dcb4b
PE
114902013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11491
11492 Doc string fix for "nanoseconds" (Bug#14406).
11493 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11494 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11495
1db165f0
JB
114962013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11497
11498 * calc/calc-units.el (math-extract-units): Preserve powers
11499 of units.
11500
c7a8fcac
LL
115012013-05-17 Leo Liu <sdl.web@gmail.com>
11502
11503 * subr.el (delete-consecutive-dups): New function.
11504 * ido.el (ido-set-matches-1): Use it.
11505 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11506 * ido.el (ido-remove-consecutive-dups): Remove.
11507
f678b18a
SM
115082013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11511 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11512 regexp-opt's `words'.
11513
ebfe68e8
LL
115142013-05-16 Leo Liu <sdl.web@gmail.com>
11515
11516 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11517 (smie--highlight-matching-block-overlay)
11518 (smie--highlight-matching-block-lastpos)
11519 (smie--highlight-matching-block-timer): New variables.
11520 (smie-highlight-matching-block): New function.
11521 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11522 (smie-setup): Conditionally enable smie-blink-matching-open.
11523
bc8bc17d
WS
115242013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11525
11526 Sync with upstream verilog-mode r840.
11527 * progmodes/verilog-mode.el (verilog-mode-version)
11528 (verilog-mode-release-date): Update.
11529 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11530 (verilog-sig-tieoff): Fix string error on
11531 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11532 (verilog-read-decls): Fix parameters confusing
11533 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11534
df065a0b
EZ
115352013-05-16 Eli Zaretskii <eliz@gnu.org>
11536
11537 * subr.el (reveal-filename): New function.
11538
11539 * loadup.el: Compute Emacs executable versions on MS-Windows,
11540 where executables have the .exe extension. Add a hard link
11541 emacs-XX.YY.ZZ.exe on MS-Windows.
11542
11543 * Makefile.in (XARGS_LIMIT): New variable.
11544 (custom-deps, finder-data, autoloads)
11545 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11546 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11547 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11548 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11549
2d4bf34b
LL
115502013-05-16 Leo Liu <sdl.web@gmail.com>
11551
11552 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11553 (octave-mode-menu, octave-mode-map): Remove its uses.
11554
6b9c2d85
RZ
115552013-05-16 Reto Zimmermann <reto@gnu.org>
11556
11557 Sync with upstream vhdl mode v3.34.2.
11558 * progmodes/vhdl-mode.el: Use `push' throughout.
11559 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11560 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11561 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11562 (vhdl-actual-generic-name): New option to derive actual generic name.
11563 (vhdl-port-paste-signals): Replace formal by actual generics.
11564 (vhdl-beautify): New name for old group vhdl-align. Update users.
11565 (vhdl-beautify-options): New option.
11566 (vhdl-last-input-event): New compat alias. Use throughout.
11567 (vhdl-goto-line): Replace user level function `goto-line'.
11568 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11569 vhdl-fix-statement-buffer.
11570 (vhdl-create-mode-menu): Add some entries.
11571 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11572 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11573 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11574 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11575 to force statements on one line.
11576 (vhdl-remove-trailing-spaces-region):
11577 New, split from vhdl-remove-trailing-spaces.
11578 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11579 Respect vhdl-beautify-options.
11580 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11581 (vhdl-update-sensitivity-list): Not add with index if exists without.
11582 Not include array index with signal. Ignore keywords in comments.
11583 (vhdl-get-visible-signals): Regexp tweaks.
11584 (vhdl-template-component-inst): Handle empty library.
11585 (vhdl-template-type): Add template for 'enum' type.
11586 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11587 Use vhdl-replace-string.
11588 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11589 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11590 (vhdl-speedbar-initialize): Update for above name change.
11591 (vhdl-compose-wire-components): Fix in handling of constants.
11592 (vhdl-error-regexp-emacs-alist): New variable.
11593 (vhdl-error-regexp-add-emacs): New function;
11594 adds support for new compile.el (Emacs 22+)
11595 (vhdl-generate-makefile-1): Change target order for single lib. units.
11596 Allow use of absolute file names.
11597
9df4ec5e
LL
115982013-05-16 Leo Liu <sdl.web@gmail.com>
11599
11600 * simple.el (prog-indent-sexp): Indent enclosing defun.
11601
f5ba00a6
GM
116022013-05-15 Glenn Morris <rgm@gnu.org>
11603
ed8be7ff
GM
11604 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11605 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11606 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11607 (whitespace-highlight): Move to whitespace group.
11608
11609 * comint.el (comint-source):
11610 * pcmpl-linux.el (pcmpl-linux):
11611 * shell.el (shell-faces):
11612 * eshell/esh-opt.el (eshell-opt):
11613 * international/ccl.el (ccl): Remove empty custom groups.
11614
11615 * completion.el (dynamic-completion-mode):
11616 * jit-lock.el (jit-lock-debug-mode):
11617 * minibuffer.el (completion-in-region-mode):
11618 * type-break.el (type-break-mode-line-message-mode)
11619 (type-break-query-mode):
11620 * emulation/tpu-edt.el (tpu-edt-mode):
11621 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11622 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11623 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11624
11625 * term/xterm.el (xterm): Change parent group to terminals.
11626
11627 * master.el (master): Remove empty custom group.
11628 (master-mode): Remove unused :group argument.
11629 * textmodes/refill.el (refill): Remove empty custom group.
11630 (refill-mode): Remove unused :group argument.
11631
11632 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11633
82a7c41b
GM
11634 * cus-dep.el: Provide a feature.
11635 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11636 Don't mistakenly ignore files whose basenames match a basename
11637 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11638 Add a fallback method for getting :group.
f5ba00a6 11639
6d65486d
JL
116402013-05-15 Juri Linkov <juri@jurta.org>
11641
da547b32
JL
11642 * isearch.el (isearch-char-by-name): Rename from
11643 `isearch-insert-char-by-name'. Doc fix.
11644 (isearch-forward): Mention `isearch-char-by-name' in
11645 the docstring. (Bug#13348)
11646
6d65486d
JL
11647 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11648 `exit-minibuffer' instead of
11649 `isearch-nonincremental-exit-minibuffer'.
11650 (isearch-edit-string): Remove mention of
11651 `isearch-nonincremental-exit-minibuffer' from docstring.
11652 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11653 (isearch-forward-exit-minibuffer)
11654 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11655
c9990474
SM
116562013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11657
6e911150
SM
11658 * loadup.el: Just use unversioned DOC.
11659
c9990474
SM
11660 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11661 literals as extending to EOB.
11662 (nxml-last-fontify-end): Remove unused variable.
11663 (nxml-after-change1): Use with-silent-modifications.
11664 (nxml-extend-after-change-region): Simplify.
11665 (nxml-extend-after-change-region1): Remove function.
11666 (nxml-after-change1): Don't adjust for dependent regions.
11667 (nxml-fontify-matcher): Simplify.
11668 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11669 (xmltok-add-dependent): Remove function.
11670 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11671 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11672 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11673 unclosed <[[, <?, comment, and other literals as extending to EOB.
11674 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11675 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11676 Remove functions.
11677 (rng-do-some-validation-1): Don't mark dependent regions.
11678 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11679 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11680 (nxml-clear-dependent-regions): Remove functions.
11681 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11682 (nxml-ensure-scan-up-to-date):
11683 Don't clear&mark dependent regions.
11684
e3772e98
LL
116852013-05-15 Leo Liu <sdl.web@gmail.com>
11686
c9990474
SM
11687 * progmodes/octave.el (octave-goto-function-definition):
11688 Improve and fix callers.
e3772e98 11689
5ac2eb34
SM
116902013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11691
c46c57b0
SM
11692 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11693 the setter (bug#14387).
11694
5ac2eb34
SM
11695 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11696 surrounding group (bug#14402).
11697
180ed218
JL
116982013-05-14 Juri Linkov <juri@jurta.org>
11699
11700 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11701 (Bug#14390)
11702
0ac0fecb
GM
117032013-05-14 Glenn Morris <rgm@gnu.org>
11704
11705 * progmodes/f90.el (f90-imenu-generic-expression):
11706 Fix typo in 2013-05-08 change. (Bug#14402)
11707
2e78e6a7
JPG
117082013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11709
5ac2eb34
SM
11710 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11711 Remove signals for which replies are never received.
2e78e6a7 11712
53267cca
JPG
117132013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11714
11715 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11716 (gdb-handler-alist, gdb-handler-number): Remove variables.
11717 (gdb-handler-list): New variable.
11718 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11719 (gdb-pending-handler-p, gdb-handle-reply)
11720 (gdb-remove-all-pending-triggers): New functions.
11721 (gdb-discard-unordered-replies): New defcustom.
11722 (gdb-handler): New defstruct.
11723 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11724 instead of gdb-pending-triggers. Update docstring.
11725 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11726 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11727 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11728 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11729 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11730 (gdb-frame-handler): Pending triggers are now automatically managed.
11731 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11732 Remove argument.
11733 (gdb-input): Automatically handles pending triggers. Update docstring.
11734 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11735 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11736 Update comments.
11737 (gdb-done-or-error): Now use gdb-handle-reply.
11738
d04ce803
JPG
117392013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11740
11741 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11742 gdb-debug-log.
11743
0114073a
GM
117442013-05-14 Glenn Morris <rgm@gnu.org>
11745
11746 * subr.el (user-emacs-directory-warning): New option.
11747 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11748
4d25fd7e
LL
117492013-05-14 Leo Liu <sdl.web@gmail.com>
11750
11751 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11752 during redisplay.
11753 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11754 (octave-font-lock-texinfo-comment): Fix invalid search bound
11755 error: wrong side of point.
4d25fd7e 11756
27c8b6eb
GM
117572013-05-14 Glenn Morris <rgm@gnu.org>
11758
61aaeb01
GM
11759 * progmodes/flymake.el (flymake-xml-program): New option.
11760 (flymake-xml-init): Use it.
11761
5bf90bc5
GM
11762 * term/xterm.el: Provide a feature.
11763
11764 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11765
f4c7dfd2
GM
117662013-05-13 Glenn Morris <rgm@gnu.org>
11767
11768 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11769 Add compat aliases as a hack workaround. (Bug#14384)
11770
2aeb3a1d
LL
117712013-05-13 Leo Liu <sdl.web@gmail.com>
11772
b0e069c2
LL
11773 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11774 ###, and %!.
f5a9432f
LL
11775 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11776 C-M-q.
b0e069c2
LL
11777 (octave-comment-start-skip): Include %!.
11778 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11779
30ea8374
LL
117802013-05-12 Leo Liu <sdl.web@gmail.com>
11781
11782 * progmodes/octave.el (inferior-octave-startup): Store the value
11783 of __octave_srcdir__ for octave-source-directories.
11784 (inferior-octave-check-process): New function refactored out of
11785 inferior-octave-send-list-and-digest.
11786 (octave-source-directories)
11787 (octave-find-definition-filename-function): New variables.
11788 (octave-source-directories)
11789 (octave-find-definition-default-filename): New functions.
11790 (octave-find-definition): Improve to find functions implemented in C++.
11791
472a3834
GM
117922013-05-12 Glenn Morris <rgm@gnu.org>
11793
11794 * calendar/diary-lib.el (diary-outlook-format-1):
11795 Don't include dayname in the output. (Bug#14349)
11796
3191b52f
GM
117972013-05-11 Glenn Morris <rgm@gnu.org>
11798
0060ac73
GM
11799 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11800
3191b52f
GM
11801 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11802 Treat cc-provide like provide.
11803
e065ba74
KR
118042013-05-11 Kevin Ryde <user42@zip.com.au>
11805
11806 * cus-dep.el (custom-make-dependencies):
11807 Use generated-autoload-load-name for the sake of files such
11808 such cedet/semantic/bovine/c.el, where the base file name
11809 is not in load-path. (Bug#5277)
11810
36f84c37
GM
118112013-05-11 Glenn Morris <rgm@gnu.org>
11812
11813 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11814 Provide features.
11815
c8730c3a
LL
118162013-05-11 Leo Liu <sdl.web@gmail.com>
11817
11818 * progmodes/octave.el (octave-indent-comment): Improve.
11819 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11820 (octave-eldoc-function-signatures, octave-eldoc-function):
11821 New functions.
c8730c3a
LL
11822 (octave-mode, inferior-octave-mode): Add eldoc support.
11823
212e29f2
RS
118242013-05-11 Richard Stallman <rms@gnu.org>
11825
11826 * epa.el (epa-decrypt-file): Take output file name as argument
11827 and read it using `interactive'.
11828
083fe0d7
LL
118292013-05-11 Leo Liu <sdl.web@gmail.com>
11830
11831 * progmodes/octave.el (octave-beginning-of-line)
11832 (octave-end-of-line): Check before using up-list because it jumps
11833 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11834 (octave-indent-comment): New function.
11835 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11836 (octave-begin-keywords, octave-end-keywords)
11837 (octave-reserved-words, octave-smie-bnf-table)
11838 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11839
8582e4c4
GM
118402013-05-11 Glenn Morris <rgm@gnu.org>
11841
f20def1f
GM
11842 * faces.el (internal-face-x-get-resource):
11843 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11844 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11845 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11846 Fix declarations.
f20def1f 11847
445f95e2
GM
11848 * calc/calc-menu.el: Make it loadable in isolation.
11849
11850 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11851 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11852 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11853 (eudc-bbdb-query-internal): Require 'bbdb.
11854
99fb2756
GM
11855 * lpr.el (lpr-headers-switches):
11856 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11857
11858 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11859
0da7ad96
GM
11860 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11861
8582e4c4
GM
11862 * term.el (term-set-escape-char): Make it idempotent.
11863
f71c50d0
LL
118642013-05-10 Leo Liu <sdl.web@gmail.com>
11865
5ac2eb34
SM
11866 * progmodes/octave.el (inferior-octave-completion-table):
11867 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11868 completion due to bug#11906.
11869 (octave-beginning-of-defun): Re-write to be more general.
11870
d5837773
GM
118712013-05-10 Glenn Morris <rgm@gnu.org>
11872
11873 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11874
027c0f75
SM
118752013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11876
11877 * comint.el (comint-redirect-send-command-to-process): Use :around
11878 rather than :override for comint-redirect-filter.
11879 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11880 Call it instead of comint-redirect-original-filter-function (which
11881 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11882
4465bfb4
JD
118832013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11884
11885 * frame.el (display-monitor-attributes-list): Add NS case.
11886 (ns-display-monitor-attributes-list): Declare.
11887
2d809ffa 118882013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11889
11890 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11891
e54eeb9b
GM
118922013-05-09 Glenn Morris <rgm@gnu.org>
11893
56cd351d
GM
11894 * international/fontset.el (vertical-centering-font-regexp):
11895 Set standard-value.
11896
d84b6108
GM
11897 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11898
a931698a
GM
11899 * bookmark.el (bookmark-search-delay):
11900 * cus-start.el (vertical-centering-font-regexp):
11901 * ps-mule.el (ps-mule-font-info-database-default):
11902 * ps-print.el (ps-default-fg, ps-default-bg):
11903 * type-break.el (type-break-good-break-interval):
11904 * whitespace.el (whitespace-indentation-regexp)
11905 (whitespace-space-after-tab-regexp):
11906 * emacs-lisp/testcover.el (testcover-1value-functions)
11907 (testcover-noreturn-functions, testcover-progn-functions)
11908 (testcover-prog1-functions):
11909 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11910 * eshell/em-glob.el (eshell-glob-translate-alist):
11911 * play/tetris.el (tetris-tty-colors):
11912 * progmodes/cpp.el (cpp-face-default-list):
11913 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11914 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11915 (idlwave-help-browser-generic-args):
11916 * progmodes/make-mode.el (makefile-special-targets-list):
11917 * progmodes/python.el (python-shell-virtualenv-path):
11918 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11919 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11920 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11921 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11922 * textmodes/reftex-vars.el (reftex-format-label-function):
11923 * textmodes/remember.el (remember-diary-file): Fix custom types.
11924
e54eeb9b
GM
11925 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11926 Add :version.
11927
455851dd
LL
119282013-05-09 Leo Liu <sdl.web@gmail.com>
11929
11930 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11931 Restore file completion. (Bug#14300)
455851dd
LL
11932 (inferior-octave-startup): Fix incorrect highlighting for the
11933 first prompt.
11934
a9e4425b
SM
119352013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11936
11937 * progmodes/ruby-mode.el: First cut at SMIE support.
11938 (ruby-use-smie): New var.
11939 (ruby-smie-grammar): New constant.
11940 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11941 (ruby-smie--forward-token, ruby-smie--backward-token)
11942 (ruby-smie-rules): New functions.
11943 (ruby-mode-variables): Setup SMIE if applicable.
11944
060ca408
EZ
119452013-05-08 Eli Zaretskii <eliz@gnu.org>
11946
11947 * simple.el (line-move-visual): Signal beginning/end of buffer
11948 only if vertical-motion moved less than it was requested. Avoids
11949 silly incorrect error messages when there are display strings with
11950 multiple newlines at EOL.
11951
1d5963cc
SM
119522013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11955 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11956 (prolog-char-quote-workaround):
11957 * progmodes/cperl-mode.el (cperl-under-as-char):
11958 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11959 Mark as obsolete.
11960 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11961 their declaration.
11962 (vhdl-mode-syntax-table-init): Remove.
11963
c9990474
SM
11964 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11965 last change.
1d5963cc
SM
11966
11967 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11968 syntax for "_".
11969 (ld-script-font-lock-keywords):
11970 Change regexps to use things like \_< and \_>.
11971
11972 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11973 Change all regexps to use things like \_< and \_>.
11974
11975 * progmodes/autoconf.el (autoconf-definition-regexp)
11976 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11977 Handle a _ with symbol syntax.
11978 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11979
c9990474
SM
11980 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11981 Consolidate declaration.
1d5963cc
SM
11982 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11983 the declaration.
11984 (ada-create-syntax-table): Remove.
11985 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11986 already has the right syntax nowadays.
11987 (ada-goto-next-word): Don't change the syntax of "_".
11988
11989 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11990 with-wrapper-hook.
11991
72d3cfca
SS
119922013-05-08 Sam Steingold <sds@gnu.org>
11993
11994 * thingatpt.el (thing-at-point): Accept optional second argument
11995 NO-PROPERTIES to strip the text properties from the return value.
11996 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11997 to `thing-at-point' instead of stripping the properties ourselves.
11998 Also, when `thing-at-point' fails to find a url, prepend "http://"
11999 to the filename at point on the assumption that the user is
12000 pointing at something like gnu.org/gnu.
12001
5cb15713
JB
120022013-05-08 Juanma Barranquero <lekktu@gmail.com>
12003
12004 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12005 * faces.el (crm-separator):
12006 Silence byte-compiler.
12007
12008 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12009 (tool-bar-map): Remove unneeded defvars.
12010
ea78b95b
LL
120112013-05-08 Leo Liu <sdl.web@gmail.com>
12012
12013 Re-work a fix for bug#10994 based on Le Wang's patch.
12014 * ido.el (ido-remove-consecutive-dups): New helper.
12015 (ido-completing-read): Use it.
12016 (ido-chop): Revert fix for bug#10994.
12017
dc7466df
AS
120182013-05-08 Adam Spiers <emacs@adamspiers.org>
12019
12020 * cus-edit.el (custom-save-variables):
12021 Pretty-print long values. (Bug#14187)
12022
9ecf672a
GM
120232013-05-08 Glenn Morris <rgm@gnu.org>
12024
12025 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12026 (m4-mode-syntax-table): Init in the defvar.
12027 (m4-mode-abbrev-table): Let define-derived-mode define it.
12028
3f555be8
TT
120292013-05-08 Tom Tromey <tromey@redhat.com>
12030
12031 * progmodes/m4-mode.el (m4-mode-syntax-table):
12032 Do not treat "_" as word constituent. (Bug#14167)
12033
7cc8ae06
GM
120342013-05-07 Glenn Morris <rgm@gnu.org>
12035
4f58bc06
GM
12036 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12037 Remove explicit eshell-isearch-cancel-map.
12038
7cc8ae06
GM
12039 * progmodes/f90.el (f90-smart-end-names): New option.
12040 (f90-smart-end): Doc fix.
12041 (f90-end-block-optional-name): New constant.
12042 (f90-block-match): Respect f90-smart-end-names.
12043
ceb57e59
SM
120442013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12045
12046 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12047 about implicit semi-colons (bug#14218).
12048
4e3f9230
YM
120492013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12050
12051 * frame.el (display-monitor-attributes-list)
12052 (frame-monitor-attributes): New functions.
12053
203a5572
LL
120542013-05-06 Leo Liu <sdl.web@gmail.com>
12055
12056 * progmodes/octave.el (octave-syntax-propertize-function): Change
12057 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12058 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12059 (octave-completion-at-point): Rename from
203a5572
LL
12060 octave-completion-at-point-function.
12061 (inferior-octave-directory-tracker): Robustify.
12062 (octave-text-functions): Remove and fix its uses. No such things
12063 any more.
12064
ee6cff99
SM
120652013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * emacs-lisp/trace.el (trace--display-buffer): New function.
12068 (trace-make-advice): Use it.
12069
32985194
JL
120702013-05-06 Juri Linkov <juri@jurta.org>
12071
12072 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12073 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12074 Doc fix.
12075 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12076 in the help string. (Bug#12985)
12077
a1c700de
KD
120782013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12079
12080 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12081
c67c0839
SM
120822013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12083
323885fd
SM
12084 * progmodes/perl-mode.el: Add support for here documents.
12085 (perl-syntax-propertize-function): Match here-doc markers.
12086 (perl-syntax-propertize-special-constructs): Find their end.
12087 (perl-imenu-generic-expression): Use [:alnum:].
12088
c67c0839
SM
12089 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12090 (advice--add-function): Refresh the advice if already present
12091 (bug#14317).
12092
d491e7a8
IA
120932013-05-06 Ivan Andrus <darthandrus@gmail.com>
12094
12095 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12096
ddf9925e
GM
120972013-05-06 Glenn Morris <rgm@gnu.org>
12098
7cc3af27
GM
12099 * w32-fns.el (w32-charset-info-alist): Declare.
12100
16e343d6
GM
12101 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12102 of its defcustom properties.
12103 (eshell-cmpl-initialize): No need to load pcomplete.
12104
7d889a47
GM
12105 * generic-x.el: No need to require comint when compiling.
12106
ddf9925e
GM
12107 * net/eudc-export.el: Make it loadable without bbdb.
12108 (top-level): Use require rather than load-library.
12109 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12110 (eudc-batch-export-records-to-bbdb)
12111 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12112 Require bbdb.
12113
1e2c18df
SM
121142013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12115
12116 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12117 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12118 some tweaks, instead.
12119
02502a5f
LL
121202013-05-05 Leo Liu <sdl.web@gmail.com>
12121
12122 * progmodes/octave.el (octave-font-lock-keywords)
12123 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12124 (inferior-octave-send-list-and-digest): Improve error message.
12125 (octave-mode, inferior-octave-mode): Use setq-local.
12126 (octave-help): Set info-lookup-mode.
12127
0dc04f42
RS
121282013-05-05 Richard Stallman <rms@gnu.org>
12129
6c54491c
RS
12130 * vc/compare-w.el (compare-windows-whitespace):
12131 Treat no-break space as whitespace.
12132
0dc04f42
RS
12133 * mail/rmailsum.el (rmail-summary-rmail-update):
12134 Detect empty summary and don't change selected message.
12135 (rmail-summary-goto-msg): Likewise.
12136
df8f35df
RS
12137 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12138 Doc fixes, rename args.
12139
5356e1a3
AM
121402013-05-05 Alan Mackenzie <acm@muc.de>
12141
12142 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12143
d44014cb
JL
121442013-05-05 Juri Linkov <juri@jurta.org>
12145
12146 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12147 to not add the length of the summary segment to the return value.
12148 (Bug#14125)
12149
c129b51f
LL
121502013-05-05 Leo Liu <sdl.web@gmail.com>
12151
12152 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12153 (inferior-octave-output-filter): Remove.
12154 (octave-send-region, inferior-octave-startup): Fix callers.
12155 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12156 (octave-binary-file-extensions): New user variable.
12157 (octave-find-definition): Confirm if opening binary files.
12158 (octave-help-file): Use octave-find-definition to get the binary
12159 confirmation.
12160 (octave-help): Adjust for octave-help-file change.
12161
aa7dab97
SM
121622013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12163
12164 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12165 Merge the two entries that handle function definitions.
12166 (pascal--syntax-propertize): New const.
12167 (pascal-mode): Use it. Use setq-local.
12168
fd3a9a6b
GM
121692013-05-04 Glenn Morris <rgm@gnu.org>
12170
12171 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12172 (diary-from-outlook): Respect diary-from-outlook-function.
12173
30c7e542
SM
121742013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12175
12176 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12177 Move the declaration from C.
12178 (read-minibuffer, eval-minibuffer): Move from C.
12179 (completion-setup-function): Avoid minibuffer-completion-contents.
12180
b54f978b
LL
121812013-05-03 Leo Liu <sdl.web@gmail.com>
12182
12183 * progmodes/octave.el (octave-font-lock-keywords): Do not
12184 dehighlight 'end' in comments or strings.
30c7e542
SM
12185 (octave-completing-read, octave-goto-function-definition):
12186 New helpers.
d4d0f9b3
LL
12187 (octave-help-buffer): New user variable.
12188 (octave-help-file, octave-help-function): New button types.
12189 (octave-help): New command and bind it to C-h ;.
12190 (octave-find-definition): New command and bind it to M-.
d74a1581 12191 (user-error): Alias to error if not defined.
b54f978b 12192
27135018
LL
121932013-05-02 Leo Liu <sdl.web@gmail.com>
12194
12195 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12196 for \. (bug#14332)
12197 (octave-font-lock-keywords): Include [ and {.
12198
0d634d3a
LL
121992013-05-02 Leo Liu <sdl.web@gmail.com>
12200
12201 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12202 (inferior-octave): Remove calling comint-mode and return the buffer.
12203 (inferior-octave-startup): Cosmetic changes.
12204
b4c8295e
LL
122052013-05-02 Leo Liu <sdl.web@gmail.com>
12206
30c7e542
SM
12207 * progmodes/octave.el (octave-syntax-propertize-function):
12208 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12209
f12ad6ec
GM
122102013-05-02 Glenn Morris <rgm@gnu.org>
12211
12212 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12213 * desktop.el (vc-dir-mode): Just autoload it here.
12214
30cac1e0
AM
122152013-05-02 Alan Mackenzie <acm@muc.de>
12216
12217 Eliminate variable c-standard-font-lock-fontify-region-function.
12218 * progmodes/cc-mode.el
12219 (c-standard-font-lock-fontify-region-function): Remove.
12220 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12221
d8ef28b1
LL
122222013-05-01 Leo Liu <sdl.web@gmail.com>
12223
2640d52e 12224 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12225 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12226 variables were removed from Octave in 2007.
d8ef28b1
LL
12227 (inferior-octave-startup): Fix uses.
12228 (comint-line-beginning-position): Remove compatibility code for
12229 emacs 21.
12230
ac63ec89
JL
122312013-05-01 Juri Linkov <juri@jurta.org>
12232
12233 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12234
9e9be37c
JL
122352013-05-01 Juri Linkov <juri@jurta.org>
12236
12237 * comint.el (comint-previous-matching-input): Don't print message
12238 "History item: %d" when `isearch-mode' is active.
12239 (comint-history-isearch-message): Print message "History item: %d"
12240 when `comint-input-ring-index' is not empty and this function is
12241 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12242
9b92c13b
LL
122432013-05-01 Leo Liu <sdl.web@gmail.com>
12244
12245 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12246 definitions. Use completion-at-point to insert keywords.
12247 (octave-abbrev-start): Remove.
12248 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12249
b12d33d7
LL
122502013-04-30 Leo Liu <sdl.web@gmail.com>
12251
12252 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12253 change.
12254
3d1c39fa
AM
122552013-04-30 Alan Mackenzie <acm@muc.de>
12256
12257 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12258 * progmodes/cc-engine.el (c-back-over-member-initializers):
12259 new function.
3d1c39fa
AM
12260 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12261 (most) member init lists.
12262
5147fc17
RS
122632013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12264
12265 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12266 variable.
12267
5b78d7fc
LL
122682013-04-30 Leo Liu <sdl.web@gmail.com>
12269
12270 * progmodes/octave.el (octave-variables): Remove. No builtin
12271 variables any more. All converted to functions.
12272 (octave-font-lock-keywords, octave-completion-at-point-function):
12273 Fix uses.
12274 (octave-font-lock-texinfo-comment): New user variable.
12275 (octave-texinfo-font-lock-keywords): New variable for texinfo
12276 comment block.
12277 (octave-function-comment-block): New face.
12278 (octave-font-lock-texinfo-comment): New function.
12279 (octave-mode): Font lock texinfo comment block.
12280
38d8527b
LL
122812013-04-29 Leo Liu <sdl.web@gmail.com>
12282
12283 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12284 indexing expression.
12285 (octave-continuation-string): Do not use \.
12286 (inferior-octave-complete-impossible): Remove.
12287 (inferior-octave-completion-table)
12288 (inferior-octave-completion-at-point): Remove its uses.
12289 (inferior-octave-startup): completion_matches was introduced to
12290 Octave in 1996 so safe to assume it.
12291 (octave-function-file-comment): Improve to follow how Octave does it.
12292 (octave-update-function-file-comment): Tweak.
12293
2ec12cb0
LL
122942013-04-29 Leo Liu <sdl.web@gmail.com>
12295
12296 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12297 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12298 (octave-function-file-comment): Fix typo.
12299 (octave-sync-function-file-names): Use read-char-choice.
12300
6eaed048
JB
123012013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12302
12303 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12304 to t for the less important warnings.
12305
3ffa2d4f
DH
123062013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12307
12308 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12309
685c9501
GM
123102013-04-27 Glenn Morris <rgm@gnu.org>
12311
12312 * vc/log-view.el (log-view-current-entry):
12313 Treat "---" separator lines as part of the following rev. (Bug#14169)
12314
0208ede7
JL
123152013-04-27 Juri Linkov <juri@jurta.org>
12316
12317 * subr.el (read-number): Doc fix about using it by interactive
12318 code letter `n'. (Bug#14254)
12319
5db9dace
JL
123202013-04-27 Juri Linkov <juri@jurta.org>
12321
12322 * desktop.el (desktop-auto-save-timeout): New option.
12323 (desktop-file-checksum): New variable.
12324 (desktop-save): Add optional arg `auto-save' and don't auto-save
12325 if nothing changed.
12326 (desktop-auto-save-timer): New variable.
12327 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12328 (after-init-hook): Call `desktop-auto-save-set-timer'.
12329 Suggested by Reuben Thomas <rrt@sc3d.org> in
12330 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12331
b7260dd4
LL
123322013-04-27 Leo Liu <sdl.web@gmail.com>
12333
12334 * progmodes/octave.el (octave-function-file-p)
12335 (octave-skip-comment-forward, octave-function-file-comment)
12336 (octave-update-function-file-comment): New functions.
12337 (octave-mode-map): Bind C-c ; to
12338 octave-update-function-file-comment.
12339 (octave-mode-menu): Add octave-update-function-file-comment.
12340 (octave-mode, inferior-octave-mode): Fix doc-string.
12341 (octave-insert-defun): Conform to Octave's coding convention.
12342 (Bug#14285)
12343
12344 * files.el (basic-save-buffer): Don't let errors in
12345 before-save-hook prevent saving buffer.
12346
c46da669
RW
123472013-04-20 Roland Winkler <winkler@gnu.org>
12348
12349 * faces.el (read-face-name): Use completing-read if arg multiple
12350 is nil.
12351
a81ee1eb
IL
123522013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12353
12354 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12355 displayed, move point to after the totals line.
12356 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12357 for the details.
12358
4fac34ce
SM
123592013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12360
12361 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12362 Add current dir to the load-path.
12363 (package-generate-autoloads): Don't rely on
12364 autoload-ensure-default-file.
12365
f6bfc063
RT
123662013-04-26 Reuben Thomas <rrt@sc3d.org>
12367
d40ab5cf
BG
12368 * textmodes/remember.el (remember-store-in-files): Document that
12369 the file name format is passed to `format-time-string'.
f6bfc063 12370
e55d3b04
LL
123712013-04-26 Leo Liu <sdl.web@gmail.com>
12372
12373 * progmodes/octave.el (octave-sync-function-file-names): New function.
12374 (octave-mode): Use it in before-save-hook.
12375
e53052d3
SM
123762013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12377
140ef50c
SM
12378 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12379 (bug#14274).
12380
e53052d3
SM
12381 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12382 \n and comment, even if it's not an implicit ; (bug#14218).
12383
af80458d 123842013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12385
12386 * subr.el (read-number): Once more use `read' rather than
12387 `string-to-number', to trap non-numeric input. (Bug#14254)
12388
af80458d 123892013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12390
12391 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12392 Use `syntax-multiline' text property consistently instead of
8a621d53 12393 `font-lock-multiline'. (Bug#14237)
70203c2e 12394
e6ea1f6c
GM
123952013-04-26 Glenn Morris <rgm@gnu.org>
12396
12397 * emacs-lisp/shadow.el (list-load-path-shadows):
12398 No longer necessary to check for duplicate simple.el, since
12399 2012-07-07 change to init_lread to not include installation lisp
12400 directories in load-path when running uninstalled. (Bug#14270)
12401
070ccca4
LL
124022013-04-26 Leo Liu <sdl.web@gmail.com>
12403
12404 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12405 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12406 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12407 octave-in-string-or-comment-p.
12408 (octave-in-comment-p, octave-in-string-p)
12409 (octave-in-string-or-comment-p): Replace defsubst with defun.
12410
9d1c5fb6
PE
124112013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12412
12413 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12414
c034abda
BG
124152013-04-25 Bastien Guerry <bzg@gnu.org>
12416
12417 * textmodes/remember.el (remember-data-directory)
12418 (remember-directory-file-name-format): Fix custom types.
12419
584ea277
LL
124202013-04-25 Leo Liu <sdl.web@gmail.com>
12421
e53052d3
SM
12422 * progmodes/octave.el (octave-completion-at-point-function):
12423 Make use of inferior octave process.
584ea277
LL
12424 (octave-initialize-completions): Remove.
12425 (inferior-octave-completion-table): New function.
12426 (inferior-octave-completion-at-point): Use it.
12427 (octave-completion-alist): Remove.
12428
1693b06a
SM
124292013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12430
12431 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12432 (opascal-mode-syntax-table): New var.
12433 (opascal-literal-kind, opascal-is-literal-end)
12434 (opascal-literal-token-at): Rewrite.
12435 (opascal--literal-start-re, opascal-font-lock-keywords)
12436 (opascal--syntax-propertize): New constants.
12437 (opascal-font-lock-defaults): Adjust.
12438 (opascal-mode): Use them. Set comment-<foo> variables as well.
12439 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12440 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12441 (delphi-other-face, opascal-other-face): Remove face variables.
12442 (opascal-save-state): Remove macro.
12443 (opascal-fontifying-progress-step): Remove constant.
12444 (opascal--ignore-changes): Remove var.
12445 (opascal-set-token-property, opascal-parse-next-literal)
12446 (opascal-is-stable-literal, opascal-complete-literal)
12447 (opascal-is-literal-start, opascal-face-of)
12448 (opascal-parse-region, opascal-parse-region-until-stable)
12449 (opascal-fontify-region, opascal-after-change)
12450 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12451 (opascal-debug-parse-region, opascal-debug-parse-window)
12452 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12453 (opascal-debug-fontify-buffer): Remove.
12454 (opascal-debug-mode-map): Adjust accordingly.
12455
be64c05d
LL
124562013-04-25 Leo Liu <sdl.web@gmail.com>
12457
12458 Merge octave-mod.el and octave-inf.el into octave.el with some
12459 cleanups.
12460 * progmodes/octave.el: New file renamed from octave-mod.el.
12461 * progmodes/octave-inf.el: Merged into octave.el.
12462 * progmodes/octave-mod.el: Renamed to octave.el.
12463
d79d37bd
TH
124642013-04-25 Tassilo Horn <tsdh@gnu.org>
12465
12466 * textmodes/reftex-vars.el
12467 (reftex-label-ignored-macros-and-environments): New defcustom.
12468
12469 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12470
ced3fc5d
SM
124712013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12472
12473 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12474 (smie-indent-keyword): Improve the check to ensure that the next
12475 comment is really on the same line.
12476 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12477
12478 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12479 semi-colons if the line is not otherwise empty (bug#14218).
12480
1c141dad
GM
124812013-04-25 Glenn Morris <rgm@gnu.org>
12482
12483 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12484
5058062a
SM
124852013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12486
12487 * progmodes/opascal.el (opascal-set-token-property): Rename from
12488 opascal-set-text-properties and only set `token' (bug#14134).
12489 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12490 (opascal-literal-text-properties): Remove.
12491 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12492 Adjust callers.
12493
5db9dace 124942013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12495
12496 * textmodes/remember.el (remember-handler-functions): Add an
12497 option for a new handler `remember-store-in-files'.
12498 (remember-data-directory, remember-directory-file-name-format):
12499 New options.
12500 (remember-store-in-files): New function to store remember notes
12501 as separate files within a directory.
12502
4391916c
MH
125032013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12504
12505 * progmodes/compile.el (compilation-next-error-function):
12506 Pass "formats" to compilation-find-file (bug#11777).
12507
bb7cdf58
GM
125082013-04-24 Glenn Morris <rgm@gnu.org>
12509
3b8fe752 12510 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12511 * vc/vc-hg.el (vc-hg-print-log):
12512 * vc/vc-svn.el (vc-svn-print-log):
12513 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12514
bb7cdf58
GM
12515 * vc/vc-bzr.el (vc-bzr-print-log):
12516 * vc/vc-cvs.el (vc-cvs-print-log):
12517 * vc/vc-git.el (vc-git-print-log):
12518 * vc/vc-hg.el (vc-hg-print-log):
12519 * vc/vc-mtn.el (vc-mtn-print-log):
12520 * vc/vc-rcs.el (vc-rcs-print-log):
12521 * vc/vc-sccs.el (vc-sccs-print-log):
12522 * vc/vc-svn.el (vc-svn-print-log):
12523 * vc/vc.el (vc-print-log-internal): Doc fixes.
12524
b46a056e
GM
125252013-04-23 Glenn Morris <rgm@gnu.org>
12526
12527 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12528 Remove venerable code attempting to avoid substitute-command-keys.
12529
0aecf718
TH
125302013-04-23 Tassilo Horn <tsdh@gnu.org>
12531
4391916c
MH
12532 * textmodes/reftex-vars.el (reftex-label-regexps):
12533 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12534
117f94cf
SM
125352013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12536
4391916c 12537 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12538 Use lexical-binding.
12539 (jit-lock-force-redisplay): Use markers, check buffer's continued
12540 existence and beware narrowed buffers.
12541 (jit-lock-fontify-now): Adjust call accordingly.
12542
1d829c64
SM
125432013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12546 to avoid misleading the user.
12547
72d548a9
LL
125482013-04-22 Leo Liu <sdl.web@gmail.com>
12549
12550 * info-look.el: Prefer latex2e.info. (Bug#14240)
12551
d0853629
MA
125522013-04-22 Michael Albinus <michael.albinus@gmx.de>
12553
12554 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12555
12556 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12557 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12558 (tramp-set-completion-function, tramp-parse-putty):
12559 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12560 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12561 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12562 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12563 (tramp-call-local-coding-command): Use `tramp-call-process'
12564 instead of `tramp-compat-call-process'.
12565
12566 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12567 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12568 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 12569 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12570 (tramp-maybe-send-script): Check for Perl binary.
12571 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12572
38cc0210
DU
125732013-04-22 Daiki Ueno <ueno@gnu.org>
12574
12575 * epg.el (epg-context-pinentry-mode): New function.
12576 (epg-context-set-pinentry-mode): New function.
12577 (epg--start): Pass --pinentry-mode option to gpg command.
12578
cc641ee1
XF
125792013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12580
02d844b5 12581 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12582 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12583 `completion-at-point'. (Bug#13774)
5d4e5c31 12584
cc641ee1
XF
12585 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12586 default key binding for `describe-distribution' has been moved to
12587 `C-h C-o'. (Bug#13970)
12588
1b42ee43
GM
125892013-04-21 Glenn Morris <rgm@gnu.org>
12590
12591 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12592 Add doc strings.
12593 (vc-print-log): Clarify interactive prompt.
12594
a6d63d97
GM
125952013-04-20 Glenn Morris <rgm@gnu.org>
12596
12597 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12598 No longer include timestamp etc information.
12599
d7f5c16f
RW
126002013-04-20 Roland Winkler <winkler@gnu.org>
12601
12602 * faces.el (read-face-name): Bug fix, return just one face if arg
12603 multiple is nil. (Bug#14209)
12604
bcd7a0a4
SM
126052013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12606
12607 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12608 (remove-function): Autoload.
12609
12610 * comint.el (comint-redirect-original-filter-function): Remove.
12611 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12612 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12613 (vc-cvs-annotate-command):
bcd7a0a4
SM
12614 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12615 * progmodes/prolog.el (prolog-consult-compile):
12616 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12617 Use add/remove-function instead.
12618 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12619 (gud-tooltip-process-output, gud-tooltip-tips):
12620 Use add/remove-function instead.
12621 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12622 (scheme-interaction-mode, exit-scheme-interaction-mode):
12623 Use add/remove-function instead.
12624
12625 * vc/vc-dispatcher.el: Use lexical-binding.
12626 (vc--process-sentinel): Rename from vc-process-sentinel.
12627 Change last arg to be the code to run. Don't use vc-previous-sentinel
12628 and vc-sentinel-commands any more.
12629 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12630 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12631
e36b2d20 126322013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12633
bcd7a0a4 12634 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12635 Handle function names with a single character. (Bug#14111)
4d3268ba 12636
781b4af6 126372013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12638
12639 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12640 for subroutines defined in an eval (bug#14182).
12641
7d688336
TV
126422013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12643
12644 * bookmark.el (bookmark-completing-read): Improve handling of empty
12645 string (bug#14176).
12646
31dcede0
SM
126472013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12648
12649 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12650
adc31213
FEG
126512013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12652
12653 New faster Imenu implementation (bug#14058).
12654 * progmodes/python.el:
12655 (python-imenu-prev-index-position):
12656 (python-imenu-format-item-label-function)
12657 (python-imenu-format-parent-item-label-function)
12658 (python-imenu-format-parent-item-jump-label-function):
12659 New vars.
12660 (python-imenu-format-item-label)
12661 (python-imenu-format-parent-item-label)
12662 (python-imenu-format-parent-item-jump-label)
12663 (python-imenu--put-parent, python-imenu--build-tree)
12664 (python-imenu-create-index, python-imenu-create-flat-index)
12665 (python-util-popn): New functions.
12666 (python-mode): Set imenu-create-index-function to
12667 python-imenu-create-index.
12668
cdca8255
SM
126692013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12670
12671 * winner.el (winner-active-region): Use region-active-p, activate-mark
12672 and deactivate-mark (bug#14225).
12673
12674 * simple.el (deactivate-mark): Don't inline it.
12675
beb42340
MA
126762013-04-18 Michael Albinus <michael.albinus@gmx.de>
12677
12678 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12679
fc7f4d7e
TH
126802013-04-18 Tassilo Horn <tsdh@gnu.org>
12681
12682 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12683 file extensions from the archive-mode entry in order to prefer
12684 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12685
29f47822
LL
126862013-04-18 Leo Liu <sdl.web@gmail.com>
12687
12688 * bindings.el (help-event-list): Add ?\?.
12689
d36ed1c8
SM
126902013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12691
12692 * subr.el (with-wrapper-hook): Declare obsolete.
12693 * simple.el (filter-buffer-substring-function): New hook.
12694 (filter-buffer-substring): Use it.
12695 (filter-buffer-substring-functions): Mark obsolete.
12696 * minibuffer.el (completion-in-region-function): New hook.
12697 (completion-in-region): Use it.
12698 (completion-in-region-functions): Mark obsolete.
12699 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12700 * abbrev.el (abbrev-expand-function): New hook.
12701 (expand-abbrev): Use it.
12702 (abbrev-expand-functions): Mark obsolete.
12703 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12704 and :filter-return.
12705
04754d36
FEG
127062013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12707
12708 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12709 and do not care about match data.
12710
dd8791e9
SM
127112013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12712
12713 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12714 completion tables when completing error conditions and
12715 `declare' arguments.
12716 (lisp-complete-symbol, field-complete): Mark as obsolete.
12717 (check-parens): Unmatched parens are user errors.
12718 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12719
ffe54a13
AM
127202013-04-17 Michal Nazarewicz <mina86@mina86.com>
12721
dd8791e9
SM
12722 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12723 command changed buffer (ie. `flyspell-pre-buffer' is not current
12724 buffer), which prevents making decisions based on invalid value of
12725 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12726 cause an error when `flyspell-pre-point' was nil after switching
12727 buffers.
12728 (flyspell-post-command-hook): No longer needs to change buffers when
12729 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12730
ec7e39f2
AM
127312013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12732
12733 * textmodes/ispell.el (ispell-add-per-file-word-list):
12734 Fix `flyspell-correct-word-before-point' error when accepting
12735 words and `coment-padding' is an integer by using
12736 `comment-normalize-vars' (Bug #14214).
12737
083850a6
FEG
127382013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12739
12740 New defun movement commands.
12741 * progmodes/python.el (python-nav--syntactically)
12742 (python-nav--forward-defun, python-nav-backward-defun)
12743 (python-nav-forward-defun): New functions.
12744
619ed6e1
FEG
127452013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12746
12747 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12748 (python-syntax-context): Use named compiler-macro for backwards
12749 compatibility with Emacs 24.x.
12750
7a1beb6c
LL
127512013-04-17 Leo Liu <sdl.web@gmail.com>
12752
12753 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12754 octave-hide-process-buffer.
12755
2d3fa3e5
SM
127562013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12757
12758 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12759 (bug#14216).
12760
7ce5be54
JPG
127612013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12762
12763 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12764 Fix adjustment of offset when receiving incomplete responses from GDB
12765 (bug#14129).
12766
351edece
SM
127672013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12768
12769 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12770 python-mode-abbrev-table.
12771 (python-skeleton-define): Adjust accordingly.
12772 (python-mode-abbrev-table): New table that inherits from it so that
12773 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12774
12775 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12776 (abbrev-symbol): Use it.
12777 (abbrev--before-point): Use it since we already handle inheritance.
12778
613f9481
LL
127792013-04-16 Leo Liu <sdl.web@gmail.com>
12780
12781 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12782 binding to info-lookup-symbol.
12783
51646b62
JB
127842013-04-16 Juanma Barranquero <lekktu@gmail.com>
12785
12786 * minibuffer.el (completion--twq-all):
12787 * term/ns-win.el (ns-initialize-window-system):
12788 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12789
efb3f01d
SM
127902013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12791
36c0a301
SM
12792 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12793 global bindings.
12794
efb3f01d
SM
12795 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12796
fb549d64
DG
127972013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12798
12799 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12800 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12801 to nil.
12802 (ruby-end-of-defun): Remove the unused arg, change the docstring
12803 to reflect that this function is only used as the value of
12804 `end-of-defun-function'.
12805 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12806 to reflect an earlier change that beginning/end-of-defun functions
12807 jump between methods in a class definition, as well as top-level
12808 functions.
12809
21e8fe2f
SM
128102013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * minibuffer.el (minibuffer-complete): Don't just scroll
12813 a *Completions* that's been iconified.
12814 (minibuffer-force-complete): Make sure repetitions do cycle when going
12815 through completion-in-region -> minibuffer-complete.
12816
20e527d0
AM
128172013-04-15 Alan Mackenzie <acm@muc.de>
12818
12819 Correct the placement of c-cpp-delimiters when there're #s not at
12820 col 0.
12821
12822 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12823 place a submatch around the #.
21e8fe2f
SM
12824 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12825 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12826 on the #, not BOL.
12827
dabefae5
SM
128282013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12829
12830 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12831 (advice--member-p): New arg `name'.
12832 (advice--add-function, advice-member-p): Use it (bug#14202).
12833
85c9ab64
AM
128342013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12835
12836 Reformulate java imenu-generic-expression.
12837 The old expression contained ill formed regexps.
12838
12839 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12840 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12841 (cc-imenu-java-method-arg-regexp): New defconsts.
12842 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12843 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12844 handling of spaces in the regexp.
12845
0f821d99
AM
128462013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12847
12848 * textmodes/ispell.el (ispell-command-loop): Remove
12849 flyspell highlight of a word when ispell accepts it (bug #14178).
12850
eb922adf
MA
128512013-04-15 Michael Albinus <michael.albinus@gmx.de>
12852
12853 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12854 uses code from the previous `ange-ftp-run-real-handler'.
12855 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12856 only in case that function exist. This is needed for proper
12857 unloading of Tramp.
12858
4d9a0979
TH
128592013-04-15 Tassilo Horn <tsdh@gnu.org>
12860
12861 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12862
12863 * textmodes/reftex.el (reftex-compile-variables): Use it.
12864
a829b0dc
SM
128652013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12866
91e8293c
SM
12867 * files.el (normal-mode): Only use default major-mode if no other mode
12868 was specified.
12869
830aed4d
SM
12870 * emacs-lisp/trace.el (trace-values): New function.
12871
a829b0dc
SM
12872 * files.el: Allow : in local variables (bug#14089).
12873 (hack-local-variable-regexp): New var.
12874 (hack-local-variables-prop-line, hack-local-variables): Use it.
12875
7ae9f0fb
RW
128762013-04-13 Roland Winkler <winkler@gnu.org>
12877
12878 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12879 data before it gets modified by bibtex-beginning-of-entry.
12880
6646e848
RW
128812013-04-13 Roland Winkler <winkler@gnu.org>
12882
12883 * textmodes/bibtex.el (bibtex-url): Doc fix.
12884
128852013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12886
12887 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12888 does not visit a BibTeX file, exclude it from the list of buffers
12889 returned by bibtex-initialize.
12890
0aa3616e
SB
128912013-04-13 Stephen Berman <stephen.berman@gmx.net>
12892
12893 * window.el (split-window): Remove interactive form, since as a
12894 command this function is a special case of split-window-below.
12895 Correct doc string.
12896
011cddd6
RW
128972013-04-12 Roland Winkler <winkler@gnu.org>
12898
12899 * faces.el (read-face-name): Do not override value of arg default.
12900 Allow single faces and strings as default values. Remove those
12901 elements from return value that are not faces.
12902 (describe-face): Simplify.
12903 (face-at-point): New optional args thing and multiple so that this
12904 function can provide the same functionality previously provided by
12905 read-face-name.
12906 (make-face-bold, make-face-unbold, make-face-italic)
12907 (make-face-unitalic, make-face-bold-italic, invert-face)
12908 (modify-face, read-face-and-attribute): Use face-at-point.
12909
12910 * cus-edit.el (customize-face, customize-face-other-window)
12911 * cus-theme.el (custom-theme-add-face)
12912 * face-remap.el (buffer-face-set)
12913 * facemenu.el (facemenu-set-face): Use face-at-point.
12914
f24e0036
MA
129152013-04-12 Michael Albinus <michael.albinus@gmx.de>
12916
12917 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12918
da3cda2d
TH
129192013-04-10 Tassilo Horn <tsdh@gnu.org>
12920
12921 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12922 off leading { and trailing } from field values.
12923
15e54145
SM
129242013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12925
78ce603d
SM
12926 * emacs-lisp/timer.el (timer--check): New function.
12927 (timer--time, timer-set-function, timer-event-handler): Use it.
12928 (timer-set-idle-time): Simplify.
12929 (timer--activate): CSE.
12930 (timer-event-handler): Give more info in error message.
12931 (internal-timer-start-idle): New function, moved from C.
12932
15e54145
SM
12933 * mpc.el (mpc-proc): Add `restart' argument.
12934 (mpc-proc-cmd): Use it.
12935 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12936 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12937 less often.
12938
7144c627
MY
129392013-04-10 Masatake YAMATO <yamato@redhat.com>
12940
12941 * progmodes/sh-script.el: Implement `sh-mode' own
12942 `add-log-current-defun-function' (bug#14112).
12943 (sh-current-defun-name): New function.
12944 (sh-mode): Use the function.
12945
b39792eb
BG
129462013-04-09 Bastien Guerry <bzg@gnu.org>
12947
12948 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12949
8acdeb71
SM
129502013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12951
6fcdab68
SM
12952 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12953
8acdeb71
SM
12954 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12955 timer (bug#14156).
12956
e3e7b504
NF
129572013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12958
12959 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12960 declaration.
12961
201bb296
LL
129622013-04-07 Leo Liu <sdl.web@gmail.com>
12963
12964 * pcmpl-x.el: New file.
12965
ebb19708
DA
129662013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12967
12968 Do not set x-display-name until X connection is established.
12969 This is needed to prevent from weird situation described at
12970 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12971 * frame.el (make-frame): Set x-display-name after call to
12972 window system initialization function, not before.
12973 * term/x-win.el (x-initialize-window-system): Add optional
12974 display argument and use it.
12975 * term/w32-win.el (w32-initialize-window-system):
12976 * term/ns-win.el (ns-initialize-window-system):
12977 * term/pc-win.el (msdos-initialize-window-system):
12978 Add compatible optional display argument.
12979
33bb237a
EZ
129802013-04-06 Eli Zaretskii <eliz@gnu.org>
12981
12982 * files.el (normal-backup-enable-predicate): On MS-Windows and
12983 MS-DOS compare truenames of temporary-file-directory and of the
12984 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12985 don't fail comparison by compare-strings. Also, compare file
12986 names case-insensitively on MS-Windows and MS-DOS.
12987
134abf1f
SM
129882013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12989
12990 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12991 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12992
d695cb94
DG
129932013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12994
e3e7b504
NF
12995 * whitespace.el (whitespace-color-on, whitespace-color-off):
12996 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12997
f4ad7ea1 129982013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12999
13000 * ispell.el (ispell-set-spellchecker-params):
13001 Really set `ispell-args' for all equivs.
13002
632556e4
SM
130032013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13004
13005 * ido.el (ido-completions): Use extra elements of ido-decorations
13006 (bug#14143).
13007 (ido-decorations): Update docstring.
13008
2a417372
MA
130092013-04-05 Michael Albinus <michael.albinus@gmx.de>
13010
13011 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13012 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13013 nil during initialization, in order not to miss changes since the
13014 file was opened. (Bug#14140)
13015
fc164b0c
LL
130162013-04-05 Leo Liu <sdl.web@gmail.com>
13017
13018 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13019
0ccecc08
JB
130202013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13021
13022 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13023
51af1aa2
GM
130242013-04-04 Glenn Morris <rgm@gnu.org>
13025
13026 * electric.el (electric-pair-inhibit-predicate): Add :version.
13027
b208ebc6
SM
130282013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13029
13030 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13031 when a package is required several times (bug#14082).
13032
f3d3eaf0
RW
130332013-04-04 Roland Winkler <winkler@gnu.org>
13034
13035 * faces.el (read-face-name): Behave as promised by the docstring.
13036 Assume that arg default is a list of faces.
13037 (describe-face): Call read-face-name with list of default faces.
13038
2575da50
TV
130392013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13040
13041 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13042 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13043 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13044 the header.
13045 (bookmark-exit-hook-internal): Save even if list is empty.
13046
397703b4
YH
130472013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13048
13049 * emacs-lisp/package.el (package-pinned-packages): New var.
13050 (package--add-to-archive-contents): Obey it (bug#14118).
13051
691e26ae
AM
130522013-04-03 Alan Mackenzie <acm@muc.de>
13053
8a621d53
JB
13054 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13055 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
13056
13057 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13058 parameter `not-in-delimiter'. Handle being inside comment opener.
13059 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13060 character in case we're typing a '*' after a '/'.
13061 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13062 instead by passing the parameter to c-state-pp-to-literal.
13063
13064 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13065 for elt. 7 of a parse state.
13066
4b725a70
PE
130672013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13068
13069 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13070 * international/latin1-disp.el, international/mule-util.el:
13071 * language/cyril-util.el, language/european.el, language/ind-util.el:
13072 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13073 * language/tibetan.el, language/viet-util.el:
13074 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13075
15c579f0
SM
130762013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13077
13078 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13079 (electric-pair-post-self-insert-function): Use it.
13080 (electric-pair-default-inhibit): New function, extracted from
13081 electric-pair-post-self-insert-function.
13082
a77e2924
RW
130832013-03-31 Roland Winkler <winkler@gnu.org>
13084
13085 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13086
2bd8a4a8
SM
130872013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13088
13089 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13090
8d3655be 130912013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13092
13093 Un-indent after "pass" and "return" statements (Bug#13888)
13094 * progmodes/python.el (python-indent-block-enders): New var.
13095 (python-indent-calculate-indentation): Use it.
13096
8d3655be 130972013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13098
13099 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13100 defun. Defining it as defalias could introduce too eager
13101 byte-compiler optimization. (Bug#14030)
13102
8d3655be 131032013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13104
13105 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13106
0b1619da
LL
131072013-03-30 Leo Liu <sdl.web@gmail.com>
13108
13109 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13110 (kmacro-execute-from-register): Pass the keyboard macro to
13111 kmacro-call-macro or repeating won't work correctly.
13112
0b938190
TZ
131132013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13114
13115 * progmodes/subword.el: Back to using `forward-symbol'.
13116
13117 * subr.el (forward-whitespace, forward-symbol)
13118 (forward-same-syntax): Move from thingatpt.el.
13119
35710234
LL
131202013-03-29 Leo Liu <sdl.web@gmail.com>
13121
13122 * kmacro.el (kmacro-to-register): New command.
13123 (kmacro-execute-from-register): New function.
13124 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13125
efc0bb73
SM
131262013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13127
13128 * mpc.el: Use defvar-local and setq-local.
13129 (mpc--proc-connect): Connection failures are not bugs.
13130 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13131 (mpc-volume-map): Bind to the up-events.
13132
75a2f981
TZ
131332013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13134
13135 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13136 instead of `forward-symbol'.
13137
17c781d1
SM
131382013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13139
13140 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13141 (edebug--recursive-edit): Use it.
13142 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13143 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13144
f67bfbcf
LL
131452013-03-28 Leo Liu <sdl.web@gmail.com>
13146
13147 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13148
b59f639d
EZ
131492013-03-27 Eli Zaretskii <eliz@gnu.org>
13150
13151 * facemenu.el (list-colors-callback): New defvar.
13152 (list-colors-redisplay): New function.
13153 (list-colors-display): Install list-colors-redisplay as the
13154 revert-buffer-function. (Bug#14063)
13155
f557c1b1
SM
131562013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13157
b1da2957
SM
13158 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13159 and suffixes don't overlap (bug#14061).
13160
f557c1b1
SM
13161 * case-table.el: Use lexical-binding.
13162 (case-table-get-table): New function.
13163 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13164
002668e1
TZ
131652013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13166
13167 * progmodes/subword.el: Add `superword-mode' to do word motion
13168 over symbol_words (parallels and leverages `subword-mode' which
13169 does word motion inside MixedCaseWords).
13170
73572c72
AG
131712013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13172
78b8f320 13173 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13174 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13175
69b2c07e
SM
131762013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13177
13178 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13179 Change return value to be a sexp. Delay `get-buffer' to after
13180 restoring the desktop (bug#13951).
13181
08bb5ee2
LL
131822013-03-26 Leo Liu <sdl.web@gmail.com>
13183
13184 * register.el: Move semantic tag handling back to
13185 cedet/semantic/senator.el. (Bug#14052)
13186
8d4c974e
SM
131872013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13188
13189 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13190 into the prompt either (bug#13963).
13191
b234d92c
SM
131922013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13193
13194 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13195 part of "(error-foo)".
13196
ddfa3cb4
JL
131972013-03-24 Juri Linkov <juri@jurta.org>
13198
13199 * replace.el (list-matching-lines-prefix-face): New defcustom.
13200 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13201 `occur-engine' if `face-differs-from-default-p' returns t.
13202 (occur-engine): Add `,' inside backquote construct to evaluate
13203 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13204 Pass `prefix-face' to the functions `occur-context-lines' and
13205 `occur-engine-add-prefix'.
13206 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13207 `prefix-face' and propertize the prefix with `prefix-face'.
13208 (Bug#14017)
13209
7b0e2f85
LL
132102013-03-24 Leo Liu <sdl.web@gmail.com>
13211
13212 * nxml/rng-valid.el (rng-validate-while-idle)
13213 (rng-validate-quick-while-idle): Guard against deleted buffer.
13214 (Bug#13999)
13215
13216 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13217 is the last entry in kill-buffer-hook.
13218
13219 * files.el (kill-buffer-hook): Doc fix.
13220
b3082f49
DG
132212013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13222
b234d92c
SM
13223 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13224 Make it safe-local.
bde73d27 13225
b3082f49
DG
13226 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13227
a320a2db
LL
132282013-03-23 Leo Liu <sdl.web@gmail.com>
13229
7e74b0fb
LL
13230 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13231 Remove.
13232
13233 * nxml/rng-valid.el (rng-validate-mode)
13234 (rng-after-change-function, rng-do-some-validation):
13235 * nxml/rng-maint.el (rng-validate-buffer):
13236 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13237 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13238 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13239 (nxml-extend-after-change-region): Use with-silent-modifications.
13240
a320a2db
LL
13241 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13242 timer-idle-list.
13243
13244 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13245 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13246 timer-idle-list. (Bug#13999)
13247
e38e6780
JL
132482013-03-23 Juri Linkov <juri@jurta.org>
13249
13250 * info.el (info-index-match): New face.
13251 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13252 main pattern and add text properties with the new face to matches
13253 in index entries relative to the beginning of the index entry.
13254 (Bug#14015)
13255
e8cc7880
DE
132562013-03-21 Eric Ludlam <zappo@gnu.org>
13257
39c87140 13258 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13259 Inhibit read only while inserting objects.
13260
9bb0d822
TZ
132612013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13262
13263 * progmodes/cfengine.el: Update docs to mention
13264 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13265 symbol motion. Remove "_" from the word syntax.
13266
aa703640
TZ
132672013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13268
13269 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13270 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13271
afff09d0
JL
132722013-03-20 Juri Linkov <juri@jurta.org>
13273
13274 * info.el (Info-next-reference-or-link)
13275 (Info-prev-reference-or-link): New functions.
13276 (Info-next-reference, Info-prev-reference): Use them.
13277 (Info-try-follow-nearest-node): Handle footnote navigation.
13278 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13279
9a1ff164
SM
132802013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13281
13282 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13283 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13284
2667d15d
PE
132852013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13286
13287 Suppress unnecessary non-ASCII chatter during build process.
13288 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13289 (batch-skkdic-convert): Suppress most of the chatter.
13290 It's not needed so much now that machines are faster,
13291 and its non-ASCII component was confusing; see Dmitry Gutov in
13292 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13293
438b0579
LL
132942013-03-20 Leo Liu <sdl.web@gmail.com>
13295
13296 * ido.el (ido-chop): Fix bug#10994.
13297
c128ab07
DG
132982013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13299
13300 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13301 Remove vars.
9a1ff164
SM
13302 (whitespace-color-on, whitespace-color-off):
13303 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13304
0e6008c5
SM
133052013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13306
13307 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13308 remapping in mode-line.
13309 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13310
627b52b0
DG
133112013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13312
13313 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13314 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13315 (whitespace-font-lock-keywords): Change description.
13316 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13317 the constructed keywords instead.
13318 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13319
50c3a20b
LL
133202013-03-19 Leo Liu <sdl.web@gmail.com>
13321
13322 * progmodes/compile.el (compilation-display-error): New command.
13323 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13324 C-o. (Bug#13992)
13325
2aa2157b
PE
133262013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13327
13328 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13329
e477dbfa
JD
133302013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13331
13332 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13333
64ab82d1
MA
133342013-03-18 Michael Albinus <michael.albinus@gmx.de>
13335
13336 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13337
13338 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13339 * net/tramp-gvfs.el (top):
13340 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13341 (tramp-handle-shell-command): Use it.
13342 (tramp-dissect-file-name): Raise an error when hostname is a
13343 method name, and neither method nor user is specified.
13344
13345 * net/trampver.el: Update release number.
13346
33cef733
LL
133472013-03-18 Leo Liu <sdl.web@gmail.com>
13348
13349 Make sure eldoc can be turned off properly.
13350 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13351 eldoc-mode.
13352 (eldoc-display-message-p): Revert last change.
13353 (eldoc-display-message-no-interference-p)
13354 (eldoc-print-current-symbol-info): Tweak.
13355
2167b7b2
TH
133562013-03-18 Tassilo Horn <tsdh@gnu.org>
13357
13358 * doc-view.el (doc-view-new-window-function): Check the new window
13359 overlay's display property instead the char property of the
13360 buffer's first char. Use `with-selected-window' instead of
13361 `save-window-excursion' with `select-window'.
13362 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13363 display property instead the char property of the buffer's first char.
2167b7b2 13364
982efbcd
PE
133652013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13366
13367 Automate the build of ja-dic.el (Bug#13984).
13368 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13369 from the input, rather than assume that it's been done for us by the
13370 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13371 the current date into a ja-dic.el comment, as that complicates
13372 regression testing.
13373
2fcc7665
SM
133742013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13375
13376 * whitespace.el: Fix double evaluation.
13377 (whitespace-space, whitespace-hspace, whitespace-tab)
13378 (whitespace-newline, whitespace-trailing, whitespace-line)
13379 (whitespace-space-before-tab, whitespace-indentation)
13380 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13381 obsolete defvars.
13382 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13383 (whitespace-color-on): Use a single font-lock-add-keywords call.
13384 Fix double-evaluation of face variables.
13385
67c0a6e6
MA
133862013-03-17 Michael Albinus <michael.albinus@gmx.de>
13387
2fcc7665
SM
13388 * net/tramp-adb.el (tramp-adb-parse-device-names):
13389 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13390 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13391
69489f1d
LL
133922013-03-17 Leo Liu <sdl.web@gmail.com>
13393
13394 Extend eldoc to display info in the mode-line. (Bug#13978)
13395 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13396 (eldoc-mode-line-string): New variable.
13397 (eldoc-minibuffer-message): New function.
13398 (eldoc-message-function): New variable.
13399 (eldoc-message): Use it.
13400 (eldoc-display-message-p)
2fcc7665
SM
13401 (eldoc-display-message-no-interference-p):
13402 Support eldoc-post-insert-mode.
69489f1d
LL
13403
13404 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13405 (eval-expression): Run it.
13406
9c44569e
RW
134072013-03-17 Roland Winkler <winkler@gnu.org>
13408
13409 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13410 strings in the list of return values.
13411
327f1f6f
JB
134122013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13413
13414 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13415 radix before checking for HMS forms.
13416
67ed8fcd
LL
134172013-03-16 Leo Liu <sdl.web@gmail.com>
13418
13419 * progmodes/scheme.el: Add indentation and font-locking for λ.
13420 (Bug#13975)
13421
78be8b64 134222013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
13423
13424 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13425 token before point (bug#13942).
13426
78be8b64 134272013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 13428
95b43468 13429 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 13430
98e775e6
EZ
134312013-03-16 Eli Zaretskii <eliz@gnu.org>
13432
13433 * startup.el (command-line-normalize-file-name): Fix handling of
13434 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13435 <xfq.free@gmail.com> in
13436 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13437
2edd6029
MA
134382013-03-15 Michael Albinus <michael.albinus@gmx.de>
13439
13440 Sync with Tramp 2.2.7.
13441
13442 * net/trampver.el: Update release number.
13443
d35f5864
TH
134442013-03-14 Tassilo Horn <tsdh@gnu.org>
13445
e903c210 13446 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
13447 (doc-view-insert-image): Don't modify overlay associated to
13448 non-live windows, and implement horizontal centering of image in
13449 case it's smaller than the window.
13450 (doc-view-new-window-function): Force redisplay of new windows on
13451 doc-view buffers.
d35f5864 13452
1c4a85ed
KF
134532013-03-13 Karl Fogel <kfogel@red-bean.com>
13454
13455 * saveplace.el (save-place-alist-to-file): Don't sort
13456 `save-place-alist', just pretty-print it (bug#13882).
13457
85b66a21
MA
134582013-03-13 Michael Albinus <michael.albinus@gmx.de>
13459
a020afb9
JB
13460 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13461 Check whether `default-file-name-coding-system' is bound.
13462 It isn't in XEmacs.
85b66a21 13463
175600da
SM
134642013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13465
e7f7cb1a
SM
13466 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13467 backquotes for `obsolete' (bug#13929).
13468
175600da
SM
13469 * international/mule.el (find-auto-coding): Include file name in
13470 obsolescence warning (bug#13922).
13471
ca68a22e
TZ
134722013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13473
13474 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13475 for CFEngine 3-specific indentation.
13476 (cfengine3-indent-line): Use it. Fix up category regex.
13477 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13478
940e5099
SM
134792013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13480
13481 * type-break.el (type-break-file-name):
13482 * textmodes/remember.el (remember-data-file):
13483 * strokes.el (strokes-file):
13484 * shadowfile.el (shadow-initialize):
13485 * saveplace.el (save-place-file):
13486 * ps-bdf.el (bdf-cache-file):
13487 * progmodes/idlwave.el (idlwave-config-directory):
13488 * net/quickurl.el (quickurl-url-file):
13489 * international/kkc.el (kkc-init-file-name):
13490 * ido.el (ido-save-directory-list-file):
13491 * emulation/viper.el (viper-custom-file-name):
13492 * emulation/vip.el (vip-startup-file):
13493 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13494 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13495
cc725808
PE
134962013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13497
13498 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13499 * language/thai-word.el: Switch to UTF-8.
13500
a020afb9 13501See ChangeLog.16 for earlier changes.
e3d51b27
MR
13502
13503;; Local Variables:
13504;; coding: utf-8
e3d51b27
MR
13505;; End:
13506
ba318903 13507 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13508
13509 This file is part of GNU Emacs.
13510
13511 GNU Emacs is free software: you can redistribute it and/or modify
13512 it under the terms of the GNU General Public License as published by
13513 the Free Software Foundation, either version 3 of the License, or
13514 (at your option) any later version.
13515
13516 GNU Emacs is distributed in the hope that it will be useful,
13517 but WITHOUT ANY WARRANTY; without even the implied warranty of
13518 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13519 GNU General Public License for more details.
13520
13521 You should have received a copy of the GNU General Public License
13522 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.