In doc/, use add-hook rather than setq for hooks
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9c9e18e8
JB
12014-02-24 Juanma Barranquero <lekktu@gmail.com>
2
3 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
4 Fix docstring typos.
5
c848881f
MA
62014-02-24 Michael Albinus <michael.albinus@gmx.de>
7
8 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
9
0e38ae05
NR
102014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11
12 * minibuffer.el (completion--try-word-completion):
13 Fix error when completing M-x commands (bug#16808).
14
8ee4c296
LL
152014-02-24 Leo Liu <sdl.web@gmail.com>
16
17 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
18
7d4bd627
JB
192014-02-24 Juanma Barranquero <lekktu@gmail.com>
20
21 * apropos.el (apropos-print): Avoid formatting error when
22 apropos-do-all and apropos-compact-layout are both t.
23
e918e27f
JB
242014-02-23 Juanma Barranquero <lekktu@gmail.com>
25
26 * apropos.el (apropos-property, apropos-all-words-regexp)
27 (apropos-true-hit, apropos-variable, apropos-print):
28 Fix docstring typos, and remove obsolete comment.
29
85c01f80
MA
302014-02-23 Michael Albinus <michael.albinus@gmx.de>
31
32 * net/tramp-sh.el (tramp-sh-handle-file-truename):
33 Preserve trailing "/". (Bug#16851)
34
62f95022
DG
352014-02-23 Dmitry Gutov <dgutov@yandex.ru>
36
37 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
38 after `=>' (bug#16811).
dfdb365c
DG
39 (ruby-smie-rules): Handle the inconsistent second element of the
40 list returned by `smie-indent--parent'.
41 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
42 method call.
62f95022 43
025f2c81
JB
442014-02-23 Juanma Barranquero <lekktu@gmail.com>
45
46 * elec-pair.el (electric-pair-text-syntax-table)
47 (electric-pair-syntax-info, electric-pair--syntax-ppss)
48 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
49 (electric-pair--looking-at-unterminated-string-p): Doc fix.
50 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
51
123c84f9
GM
522014-02-22 Glenn Morris <rgm@gnu.org>
53
612c3e46
GM
54 * imenu.el (imenu--generic-function): Doc fix.
55
123c84f9
GM
56 * register.el (frame-configuration-to-register): Make obsolete.
57
e59fa9ad
JB
582014-02-22 Juanma Barranquero <lekktu@gmail.com>
59
60 * desktop.el (desktop-save-buffer-p): Do not fail when
61 desktop-files-not-to-save is nil. Return t for true result
62 as the doc says.
63
4e652634
DC
642014-02-22 Daniel Colascione <dancol@dancol.org>
65
66 * net/secrets.el (secrets-create-item,secrets-search-items): Check
67 that attribute values are strings, avoiding the construction of
68 invalid dbus messages.
69
f35affb6
JB
702014-02-21 Juanma Barranquero <lekktu@gmail.com>
71
72 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
73 defun-declarations-alist.
74
3d136b1b
SM
752014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
78 (bug#16829).
79
612ddfc0
JB
802014-02-21 Juanma Barranquero <lekktu@gmail.com>
81
82 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
83 (whitespace-newline, whitespace-trailing, whitespace-line)
84 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
85 (whitespace-space-after-tab): Fix typo in docstrings.
86
c8481b1b
DG
872014-02-21 Dmitry Gutov <dgutov@yandex.ru>
88
cb8f50a7
DG
89 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
90
c8481b1b
DG
91 * electric.el (electric-indent-functions-without-reindent):
92 Add `yaml-indent-line'.
93
bed5126f
JB
942014-02-21 Juanma Barranquero <lekktu@gmail.com>
95
34b71457
JB
96 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
97 It has done nothing for years; should be removed after the release.
98
bed5126f
JB
99 * simple.el (choose-completion): Fix docstring typo.
100 (read-quoted-char-radix): Remove unneeded * in docstring.
101 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
102 Don't escape parentheses unnecessarily in docstrings.
103
8dd3e94f
MR
1042014-02-21 Martin Rudalics <rudalics@gmx.at>
105
106 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
107 * window.el (window--dump-window, window--dump-frame):
108 New functions.
109 (window--min-size-1): Account for window dividers.
110 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
111 sum of the window components has been calculated.
112 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
113 nil make sure at least one text line and two text columns remain
114 fully visible.
115 (window-resize): Signal an error when window-resize-apply fails.
116 (window--resize-child-windows): Fix calculation of by how many
117 pixels a window can still be shrunk via window-new-normal.
118 (adjust-window-trailing-edge): Call window--resizable with
119 correct TRAIL argument.
120
2ed94e04
MR
121 (with-temp-buffer-window): Don't evaluate BODY within
122 with-current-buffer (Bug#16816).
123
0e5324c4
MA
1242014-02-21 Michael Albinus <michael.albinus@gmx.de>
125
126 * net/tramp.el (tramp-check-cached-permissions):
127 Call `file-attributes' with `suffix' being a symbol but a string.
128
48198420
DC
1292014-02-21 Daniel Colascione <dancol@dancol.org>
130
131 * net/dbus.el (dbus-init-bus-1): Declare new subr.
132 (dbus-init-bus): New function: call into dbus-init-bus-1
133 and installs a handler for the disconnect signal.
134 (dbus-call-method): Rewrite to look for result in cons.
135 (dbus-call-method-handler): Store result in cons.
136 (dbus-check-event): Recognize events with nil sender as valid.
137 (dbus-handle-bus-disconnect): New function. React to bus
138 disconnection signal by synthesizing dbus error for each
139 pending synchronous or asynchronous call.
140 (dbus-notice-synchronous-call-errors): New function.
141 (dbus-handle-event): Raise errors directly only when `dbus-debug'
142 is true, not all the time.
143
99e15133
JB
1442014-02-21 Juanma Barranquero <lekktu@gmail.com>
145
e48983a6
JB
146 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
147 Remove obsolescence declarations, these variables do not exist anymore.
148
fdcfd745
JB
149 * savehist.el (savehist-save-minibuffer-history)
150 (savehist-additional-variables, savehist-file, savehist-mode-hook)
151 (savehist-save-hook, savehist-coding-system, savehist-loaded)
152 (savehist-load, savehist-install, savehist-autosave): Fix typos;
153 mostly, refer to "Savehist mode" when talking about the mode,
154 and not the function.
155
99e15133
JB
156 * saveplace.el (save-place): Remove redundant info in docstring.
157 (save-place-forget-unreadable-files, toggle-save-place)
158 (save-place-forget-unreadable-files, save-place-dired-hook):
159 Fix typos and remove unneeded backslashes.
160
f5bee33b
MA
1612014-02-20 Michael Albinus <michael.albinus@gmx.de>
162
163 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
164 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
165
166 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 167 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
168 (tramp-gvfs-handle-insert-directory): Remove function.
169
170 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
171 Call `tramp-handle-insert-directory'.
172
ee0761ca
JB
1732014-02-20 Juanma Barranquero <lekktu@gmail.com>
174
175 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
176 before the start of buffer/region (bug#16799).
177
4d49cc65
GM
1782014-02-20 Glenn Morris <rgm@gnu.org>
179
180 * isearch.el (search-invisible): Doc fix.
181
eee0d650
TK
1822014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
183
184 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
185 (bug#16657).
186
94e5e202
JB
1872014-02-19 Juanma Barranquero <lekktu@gmail.com>
188
189 * frameset.el (frameset-restore): Delay removing an old frame's
190 duplicate id until the new frame has been correctly created.
191
50bfdd5d
MA
1922014-02-19 Michael Albinus <michael.albinus@gmx.de>
193
194 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
195 (tramp-check-cached-permissions): Call `file-attributes' if the
196 cache is empty.
197
198 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 199 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
200
201 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 202 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
203 (tramp-gvfs-maybe-open-connection): Set always connection
204 properties, even if target is mounted already.
205
206 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
207 Set tramp-autoload cookie.
208 (tramp-get-remote-touch): New defun.
209 (tramp-sh-handle-set-file-times): Use it.
210 (tramp-sh-handle-directory-files-and-attributes):
211 Use `tramp-handle-directory-files-and-attributes' if neither stat
212 nor perl are available on the remote host.
213
214 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
215 "/". Write long listing only when "l" belongs to the switches.
216
217 * net/trampver.el: Update release number.
218
f097a3d2
JB
2192014-02-19 Juanma Barranquero <lekktu@gmail.com>
220
221 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
222
8e009b78
MR
2232014-02-19 Martin Rudalics <rudalics@gmx.at>
224
225 * window.el (window-state-put): Allow WINDOW to refer to an
226 internal window (Bug#16793).
227
95160c90
GM
2282014-02-19 Glenn Morris <rgm@gnu.org>
229
230 * textmodes/remember.el: Move provide statement to end.
231 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
232 (remember-notes): Doc fixes.
233
b28df58c
SM
2342014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * delsel.el (delete-char): Restore incorrectly erased property
237 (bug#16795).
238
7108e1c0
JB
2392014-02-18 Juanma Barranquero <lekktu@gmail.com>
240
241 * frameset.el (frameset--restore-frame): When a frame is being reused
242 and its root window is not alive, delete all the frame's windows before
243 restoring the window state. This works around the issue in bug#16793.
244
c863b6ad
GM
2452014-02-18 Glenn Morris <rgm@gnu.org>
246
a73fae1f
GM
247 * textmodes/remember.el (remember-data-directory)
248 (remember-directory-file-name-format, remember-store-in-files)
249 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
250 (remember-notes-save-and-bury-buffer)
251 (remember-notes--kill-buffer-query): Doc fixes.
252
c863b6ad
GM
253 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
254
29238d28
AM
2552014-02-17 Alan Mackenzie <acm@muc.de>
256
257 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 258 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 259 to electric-indent-{,local-}-mode.
b28df58c
SM
260 (c-basic-common-init): Set electric-indent-inhibit.
261 Initialise c-electric-flag from electric-indent-mode.
29238d28 262 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 263 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
264
265 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 266 hit, toggle electric-indent-local-mode.
29238d28 267
b28df58c
SM
268 * electric.el (electric-indent-mode-has-been-called):
269 New variable.
29238d28 270
c6463340
JB
2712014-02-17 Juanma Barranquero <lekktu@gmail.com>
272
273 * frameset.el (frameset-cfg-id): New function.
274 (frameset--reuse-frame, frameset-restore): Use it.
275 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
276
94912b88
SM
2772014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
278
279 * ido.el (ido-file-internal): Remove unused var `d'.
280 Use \` for to match BoS. Fit within 80n columns.
281
26ea164c
DC
2822014-02-17 Daniel Colascione <dancol@dancol.org>
283
284 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
285 dbus-call-method check for completion using a busy-wait loop with
286 gradual backoff.
287
dd7691b7
MA
2882013-10-02 Michael Albinus <michael.albinus@gmx.de>
289
290 Sync with Tramp 2.2.9.
291
292 * net/trampver.el: Update release number.
293
17d1b51b
DG
2942014-02-16 Dmitry Gutov <dgutov@yandex.ru>
295
296 * ido.el (ido-file-internal): Don't add the name of an existing
297 directory twice. (Bug#16747)
298
5bcad689
GM
2992014-02-16 Glenn Morris <rgm@gnu.org>
300
301 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
302 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
303
3042014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
305
306 * progmodes/sql.el: Version 3.4
307 (sql-oracle-options): New default value ("-L").
94912b88 308 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7
MM
309 (sql-placeholders-filter): Correct placeholder pattern.
310 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
311 (sql-login-delay): New variable.
312 (sql-product-interactive): Use it.
313
285f1858
JB
3142014-02-15 Juanma Barranquero <lekktu@gmail.com>
315
316 * frameset.el (frameset--jump-to-register): Check that buffer is live
317 (bug#16749).
318
5d645ea4
GM
3192014-02-15 Glenn Morris <rgm@gnu.org>
320
321 * info.el (info-initialize): Revert 2014-01-10 change.
322
48c4f9b1
GM
3232014-02-14 Glenn Morris <rgm@gnu.org>
324
b8630261
GM
325 * replace.el (map-query-replace-regexp)
326 (read-regexp-defaults-function, read-regexp): Doc fixes.
327
b2bf2a25
GM
328 * dired.el (dired-read-regexp):
329 * faces.el (list-faces-display):
330 * misearch.el (multi-isearch-read-matching-buffers)
331 (multi-isearch-read-matching-files):
332 * play/cookie1.el (cookie-apropos):
333 * progmodes/grep.el (grep-read-regexp): Doc fixes.
334
48c4f9b1
GM
335 * textmodes/remember.el (remember): Use frameset-to-register
336 rather than frame-configuration-to-register.
337
2804e0bd
JB
3382014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
339
340 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
341 incorrect keybinding.
342
0b87142f
DC
3432014-02-13 Daniel Colascione <dancol@dancol.org>
344
345 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
346 when adding overlays so that line numbers from compiler match line
347 numbers we use.
348
47a73eb0
GM
3492014-02-13 Glenn Morris <rgm@gnu.org>
350
8abcfd51
GM
351 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
352
47a73eb0
GM
353 * jit-lock.el (jit-lock-mode): Doc fix.
354
c9b6b262
JB
3552014-02-13 Juanma Barranquero <lekktu@gmail.com>
356
357 * apropos.el (apropos-read-pattern): When the user passes an empty
358 string, give a more helpful error message than "Wrong type
359 argument: stringp, nil".
360
eb4c6947
SM
3612014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
364
0dab5068
GM
3652014-02-13 Glenn Morris <rgm@gnu.org>
366
367 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
368
59075dcf
SM
3692014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
370
371 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
372 shift-select commands.
373
5af9fbad
DG
3742014-02-12 Dmitry Gutov <dgutov@yandex.ru>
375
376 * progmodes/js.el (js-indent-line): Don't widen.
377 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
378
a215930c
GM
3792014-02-12 Glenn Morris <rgm@gnu.org>
380
a8cb4247
GM
381 * icomplete.el (icomplete): Add info-link to defgroup.
382 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
383 (icomplete-minibuffer-map, icomplete-mode)
384 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
385
a215930c
GM
386 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
387 (package-menu-filter): Rename from package-menu-filter-interactive.
388 Doc fix.
389
26c5ecd9
JB
3902014-02-11 Juanma Barranquero <lekktu@gmail.com>
391
392 * frameset.el (frameset--jump-to-register): Select the required
393 window and buffer before restoring position (bug#16696).
394
fcd58a02
LI
3952014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
396
397 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
398
bacb3380
GM
3992014-02-10 Glenn Morris <rgm@gnu.org>
400
401 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
402
881329dc
EZ
4032014-02-10 Eli Zaretskii <eliz@gnu.org>
404
02328db9
EZ
405 * w32-common-fns.el (x-get-selection): Doc fix.
406 * select.el (x-get-selection): Doc fix. (Bug#15109)
407
881329dc
EZ
408 * face-remap.el (face-remap-add-relative)
409 (face-remap-remove-relative, face-remap-reset-base)
410 (face-remap-set-base): Call force-mode-line-update to redisplay
411 the current buffer due to potential change in faces. (Bug#16709)
412
c7db4c06
MA
4132014-02-10 Michael Albinus <michael.albinus@gmx.de>
414
415 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
416 script more robustly.
417
6abe4589
LI
4182014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
419
7602b5c3
LI
420 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
421
e3692ee0
LI
422 * simple.el (choose-completion): Doc fix (bug#14160).
423
41015524
LI
424 * subr.el (event-start): Say what a nil EVENT value means.
425
87c79dcb
LI
426 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
427 (bug#14197).
428
3ab49e2c
LI
429 * progmodes/grep.el (find-program): Doc fix (bug#14289).
430
f3c60241
LI
431 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
432
3bd1d8a8
LI
433 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
434
6abe4589
LI
435 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
436 predicate function (bug#15455).
437
a11463de
DG
4382014-02-10 Dmitry Gutov <dgutov@yandex.ru>
439
440 * ielm.el (inferior-emacs-lisp-mode): Instead of
441 `comment-use-global-state', set `comment-use-syntax'.
442
2ab0ad85
GM
4432014-02-10 Glenn Morris <rgm@gnu.org>
444
445 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
446
411141fb
AM
4472014-02-09 Alan Mackenzie <acm@muc.de>
448
449 Fix c-invalidate-state-cache on narrowed buffers.
450 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
451 Widen when setting and clearing the CPP delimiter properties.
452
d6d5fdf8
LI
4532014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
454
92c70367
LI
455 * help.el (describe-bindings): Doc fix (bug#9888).
456
468ef484
LI
457 * files.el (save-buffer): Use ARG as the parameter name for
458 consistency (bug#10346).
7e34193f 459 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 460
fc2b1ffa 461 * cus-edit.el (customize-apropos): Fix error string.
382fd368 462 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 463 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 464
790aceec
LI
465 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
466
a54a7552 467 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 468 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 469
dd163123
LI
470 * font-lock.el (font-lock-value-in-major-mode): Clarify the
471 meaning of the parameter (bug#12282).
472
9e108fe6
LI
473 * files.el (find-file-noselect): Clarify prompt when changing
474 readedness (bug#13261).
5a836f58
LI
475 (locate-file): Suffixes aren't returned, so don't say that they
476 are (bug#12674).
2356b316 477 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 478
20dda930
LI
479 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
480 before we actually start to delete things (bug#16331).
481
d6d5fdf8
LI
482 * subr.el (event-start): Doc fix (bug#14228).
483 (event-end): Ditto.
484
2abd71e5
GM
4852014-02-09 Glenn Morris <rgm@gnu.org>
486
487 * emacs-lisp/warnings.el (lwarn):
488 Empower help-enable-auto-load. (Bug#15940)
489
c1b5900b
AS
4902014-02-08 Andreas Schwab <schwab@linux-m68k.org>
491
492 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
493 (Bug#16690)
494
429b93bd
MA
4952014-02-08 Michael Albinus <michael.albinus@gmx.de>
496
497 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
498 Insert output at end of buffer. (Bug#16120)
499
b772a699
LI
5002014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
501
18c6aa8c
LI
502 * simple.el (choose-completion-string-functions): Document new
503 calling convention (bug#14153).
54dd147a 504 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 505
dce8463b
LI
506 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
507
b772a699 508 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 509 (find-grep-dired): Doc fix (bug#14288).
b772a699 510
2423c8d5
JL
5112014-02-08 Juri Linkov <juri@jurta.org>
512
513 * isearch.el (isearch-quote-char): Check character validity
514 like in `quoted-insert' (bug#16677).
515
518f26c2
LI
5162014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
517
893cc908
LI
518 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
519
9165ffc0
LI
520 * isearch.el (isearch-hide-immediately): Doc clarification
521 (bug#14723).
522
6ef4f3ce
LI
523 * simple.el (line-move): Document utility function used many
524 places in the Emacs sources (bug#14843).
525
be58a238 526 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 527 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 528 (dired-up-directory): Doc fix (bug#14848).
be58a238 529
dd7aafbb
LI
530 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
531
15cb9968
LI
532 * files.el (file-relative-name): Doc fix (bug#15159).
533
9788effd
LI
534 * fringe.el (fringe-styles): Doc fix (bug#15239).
535
c96411bd
LI
536 * isearch.el (isearch-filter-predicate): Documentation typo fix
537 (bug#15474).
538
ea838c36
LI
539 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
540
0d8a4ae7
LI
541 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
542
f7a17bb3
LI
543 * replace.el (replace-match-maybe-edit): Doc clarification
544 (bug#15632).
545
1bde5c3b
LI
546 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
547
518f26c2
LI
548 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
549
dd8e49fd
GM
5502014-02-08 Glenn Morris <rgm@gnu.org>
551
552 * help-fns.el (describe-variable):
553 Check {file,dir}-local-variables-alist, and buffer-file-name,
554 in the correct buffer.
555
7e088b29
IL
5562014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
557
558 * help-fns.el (describe-variable): Fix the case where
559 a value is directory-local with no dir-locals file. (Bug#16635)
560
41a4a82f
GM
5612014-02-08 Glenn Morris <rgm@gnu.org>
562
563 * abbrev.el (edit-abbrevs-mode):
564 Derive from fundamental-mode. (Bug#16682)
565
e255a703
JB
5662014-02-07 Juanma Barranquero <lekktu@gmail.com>
567
568 * simple.el (quoted-insert): Check character validity (bug#16677).
569
c99cf5ee
JL
5702014-02-07 Juri Linkov <juri@jurta.org>
571
572 * desktop.el (desktop-read): Claim the lock when the owner is not
573 the current process. (Bug#16157)
574
7d7a68d8
JL
5752014-02-07 Juri Linkov <juri@jurta.org>
576
577 * desktop.el (desktop-buffers-not-to-save): Change default from nil
578 to "\\` ". (Bug#16651)
579
2b777cd9
JL
5802014-02-07 Juri Linkov <juri@jurta.org>
581
582 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
583 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
584 (desktop-auto-save-cancel-timer): New function with some code from
585 `desktop-auto-save-set-timer'.
586 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
587 Instead of setting `desktop-save-mode' to nil, call
588 `desktop-save-mode' with arg 0. (Bug#16630)
589
60eabbb9
GM
5902014-02-07 Glenn Morris <rgm@gnu.org>
591
99cf3859
GM
592 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
593 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
594 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
595
2b568bc9
GM
596 * obsolete/iswitchb.el: Move to obsolete/.
597 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
598 since obsolete/ is not scanned for autoloads.
599 * emacs-lisp/authors.el (authors-valid-file-names):
600 Add iswitchb.el.
601
60eabbb9
GM
602 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
603 Disable now non-functional find-file-hook.
604
629de968
MA
6052014-02-06 Michael Albinus <michael.albinus@gmx.de>
606
607 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
608 instead of ";" in order to avoid additional prompts. Let heredoc
609 scripts read from tty. (Bug#16582)
610 (tramp-send-command): No special handling of heredocs, it isn't
611 necessary anymore.
612
29127376
SM
6132014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
616 with a space (bug#16664). Limit the symbols considered to the ones
617 that are bound or fbound (bug#16646).
618
79b6e0a9
GM
6192014-02-06 Glenn Morris <rgm@gnu.org>
620
621 * epa.el (epa-mail-aliases): Doc fix.
622
a333e4d2
DG
6232014-02-06 Dmitry Gutov <dgutov@yandex.ru>
624
29127376
SM
625 * emacs-lisp/lisp.el (lisp-completion-at-point):
626 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
627 (bug#16604).
628
629 * minibuffer.el (completion-table-merge): New function.
630
9a83b32b
MA
6312014-02-05 Michael Albinus <michael.albinus@gmx.de>
632
633 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
634 (tramp-sh-handle-set-file-acl)
635 (tramp-sh-handle-start-file-process)
636 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
637 (tramp-find-executable, tramp-send-command): Use it.
638
451ea3e6
GM
6392014-02-05 Glenn Morris <rgm@gnu.org>
640
9a83b32b 641 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 642
dd27d13b
FEG
6432014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
644
645 * progmodes/python.el (python-shell-send-string):
646 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
647
08e41897
AL
6482014-02-04 Anders Lindgren <andlind@gmail.com>
649
650 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
651 the names (bug#16620).
652
764ec9e5
MR
6532014-02-03 Martin Rudalics <rudalics@gmx.at>
654
08e41897
AL
655 * faces.el (window-divider): New default value. Rewrite doc-string.
656 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 657
6da8227c
DG
6582014-02-03 Dmitry Gutov <dgutov@yandex.ru>
659
660 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
661 `protected' and `public' can also be called without arguments.
662
6a6b8e40
GM
6632014-02-03 Glenn Morris <rgm@gnu.org>
664
7bcbca40
GM
665 * register.el (window-configuration-to-register)
666 (frame-configuration-to-register): Unadvertise unused argument.
667 * frameset.el (frameset-to-register): Remove unused argument.
668
719d965d 669 * frameset.el (frameset-to-register):
6a6b8e40
GM
670 * kmacro.el (kmacro-to-register):
671 * register.el (increment-register):
672 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
673 (calc-append-to-register, calc-prepend-to-register):
674 * play/gametree.el (gametree-layout-to-register)
675 (gametree-apply-register-layout):
676 * textmodes/picture.el (picture-clear-rectangle-to-register)
677 (picture-yank-rectangle-from-register):
678 * vc/emerge.el (emerge-combine-versions-register):
679 Use register-read-with-preview to read registers.
680
5dca7759
JT
6812014-02-03 João Távora <joaotavora@gmail.com>
682
683 * elec-pair.el (electric-pair-backward-delete-char): Don't error
684 when at beginning of (possibly narrowed) buffer.
685
709085b9
DC
6862014-02-02 Daniel Colascione <dancol@dancol.org>
687
c295fc18 688 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 689 Also try to display local help from just before point.
709085b9 690
99f7b0a6
AM
6912014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
692
693 c-parse-state. Don't "append-lower-brace-pair" in certain
694 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
695 recognised as a comment.
696
697 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
698 as well as normal comment starter.
699 (c-parse-state-get-strategy): Extra return possibility
700 'back-and-forward.
701 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
702 return value list to indicate replacement of a brace-pair cons
703 with its car.
704 (c-parse-state-1): With 'back-and-forward, only call
705 c-append-lower-brace-pair-to state-cache when cons-separated.
706
f0a10576
JD
7072014-02-02 Jan Djärv <jan.h.d@swipnet.se>
708
709 * term/ns-win.el (ns-suspend-error): New function.
710 (ns-initialize-window-system): Add ns-suspend-error to
711 suspend-hook (Bug#16612).
712
b8d552c2
DC
7132014-02-02 Daniel Colascione <dancol@dancol.org>
714
715 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
716
f2b7d123
DC
7172014-02-02 Daniel Colascione <dancol@dancol.org>
718
719 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
720
4472a196
GM
7212014-02-02 Glenn Morris <rgm@gnu.org>
722
723 * register.el (register-read-with-preview, point-to-register)
724 (window-configuration-to-register, frame-configuration-to-register)
725 (jump-to-register, number-to-register, view-register, insert-register)
726 (copy-to-register, append-to-register, prepend-to-register)
727 (copy-rectangle-to-register): Doc fixes.
728
70e5a261
SM
7292014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
732 * emacs-lisp/find-func.el (find-function-C-source): Idem.
733 * emacs-lisp/nadvice.el (advice--cd*r): New function.
734 * help-fns.el (describe-function-1): Use it.
735
7c324762
GM
7362014-02-02 Glenn Morris <rgm@gnu.org>
737
738 * register.el (register-preview-default): New function,
739 split from register-preview.
740 (register-preview-function): Rename from register-preview-functions,
741 make it not a hook.
742 (register-preview): Use register-preview-function.
743 (register-read-with-preview): Error on non-character event. (Bug#16595)
744
a09beb3d
DG
7452014-02-01 Dmitry Gutov <dgutov@yandex.ru>
746
747 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
748 `:' before binary operators (bug#16609). Don't check for `:'
749 before `[' and `(', or their syntax status. A percent literal
750 can't end with either.
68e004e0
DG
751 (ruby-font-lock-keywords): For built-ins that require arguments,
752 check that they're followed by something that looks like argument
753 (bug#16610).
a09beb3d 754
ed4d2875
LI
7552014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
756
757 * subr.el (butlast): Document what an omitted N means (bug#13437).
758 (nbutlast): Ditto.
759
dba6e3ec
LI
7602014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
761
762 * net/shr.el (shr-generic): Make into a defsubst to make the stack
763 depth shallower (bug#16587).
cc477daa
LI
764 (shr-tag-svg): Respect `shr-inhibit-images'.
765 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 766
e2a67bd0
DG
7672014-01-31 Dmitry Gutov <dgutov@yandex.ru>
768
769 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
770 (ruby-smie-grammar): Make "." right-associative. Make its priority
771 lower than the ternary and all binary operators.
772 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
773 parent, or the first "." parent at indentation.
774 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
775 (Bug#16593)
776
bd21bf41
JL
7772014-01-31 Juri Linkov <juri@jurta.org>
778
779 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
780 from `make-hash-table'.
781
782 * textmodes/ispell.el (ispell-init-process): Change message format
783 to be consistent with other messages.
784
b7e615b9
GM
7852014-01-31 Glenn Morris <rgm@gnu.org>
786
a69ecd19
GM
787 * delsel.el (delete-selection-mode): Doc fix.
788
9997d7e3
GM
789 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
790 (trace-function-background): Doc fixes.
791
fbb764b8
GM
792 * ido.el (ido-use-virtual-buffers): Doc fix.
793 Reset :version, since the default value has not changed.
794
da942af1
GM
795 * register.el (register-preview-delay, register-read-with-preview):
796 Doc fixes.
797
b7e615b9
GM
798 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
799 do not mess with mail-buffer position (fixes 2009-11-03 change).
800 * progmodes/cc-mode.el (c-submit-bug-report):
801 Check auto-fill-mode is bound. (Bug#16592)
802
0a25002d
DH
8032014-01-31 Darren Hoo <darren.hoo@gmail.com>
804
805 * startup.el (fancy-splash-image-file): New function,
806 split from fancy-splash-head.
807 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
808 so that we are both using the same image. (Bug#16574)
809
ad78f432
GM
8102014-01-30 Glenn Morris <rgm@gnu.org>
811
6bbc0c84
GM
812 * simple.el (eval-expression): Doc fix.
813
ad78f432
GM
814 * hexl.el (hexl-mode-hook):
815 * ielm.el (ielm-mode-hook):
816 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
817 (lisp-interaction-mode-hook):
818 * progmodes/cfengine.e (cfengine3-documentation-function):
819 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
820
7b2f049c
SM
8212014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
824 is a symbol (bug#16584).
825
0c633f13
GM
8262014-01-30 Glenn Morris <rgm@gnu.org>
827
828 * help.el (help-for-help-internal): Add "P" to text.
829
5e61c1ef
GM
8302014-01-29 Glenn Morris <rgm@gnu.org>
831
832 * simple.el (just-one-space, cycle-spacing): Doc fixes.
833
1dcb169c
MR
8342014-01-28 Martin Rudalics <rudalics@gmx.at>
835
836 * window.el (fit-frame-to-buffer): Fix calculations for margins and
837 height constraints.
838
a9128931
LL
8392014-01-28 Luke Lee <luke.yx.lee@gmail.com>
840
841 * progmodes/hideif.el: Extend to full CPP expression syntax.
842 (hif-token-alist): Add missing tokens.
843 (hif-token-regexp): Add support for float/octal/hex immediates.
844 (hif-string-literal-regexp): New const.
845 (hif-tokenize): Recognize strings and float/octal/hex immediates.
846 (hif-exprlist): New function.
847 (hif-parse-if-exp): Use it.
848 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
849 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
850 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
851 (hif-logxor, hif-comma): New functions.
852
a22359a7
GM
8532014-01-28 Glenn Morris <rgm@gnu.org>
854
793ffe81
GM
855 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
856
e3bd7eed
GM
857 * indent.el (tab-stop-list): Doc fix. Add :version.
858
a22359a7
GM
859 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
860 (cvs-append-to-ignore): Add compatibility alias.
861
52695556 8622014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 863
bac524e0
GM
864 * dired.el (dired-hide-details-mode): Don't autoload it,
865 since it cannot be used outside Dired buffers anyway.
866
52695556 867 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 868
52695556
GM
869 * dired.el (dired-hide-details-hide-symlink-targets)
870 (dired-hide-details-hide-information-lines)
871 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
872
873 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
874 * strokes.el (strokes-file): Doc fix. Bump :version.
875 (strokes-help): Doc fix.
876 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
877 * emulation/viper.el (viper): Doc fix for custom group.
878 (top-level): Remove oh-so-no-longer-relevant text about vip.
879 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
880
881 * ido.el (ido-save-directory-list-file):
882 * saveplace.el (save-place-file):
883 * calendar/timeclock.el (timeclock-file):
884 * net/quickurl.el (quickurl-url-file):
885 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
886 * progmodes/idlwave.el (idlwave-config-directory):
887 * textmodes/remember.el (remember-data-file):
888 Bump :version.
889
169d6004
GM
8902014-01-26 Glenn Morris <rgm@gnu.org>
891
de6a923b
GM
892 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
893 Doc fix. Make obsolete.
894 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
895
169d6004
GM
896 * sort.el (delete-duplicate-lines): Doc fix.
897
ed85dee6
RS
8982014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
899
900 * progmodes/ada-mode.el (ada):
901 * woman.el (woman): Link to info manual and Commentary section.
902
903 * progmodes/flymake.el (flymake):
904 * nxml/nxml-mode.el (nxml):
905 * net/eww.el (eww):
906 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
907 * htmlfontify.el (htmlfontify):
908 * ses.el (ses):
909 * epa.el (epa):
910 * ido.el (ido): Link to info manual.
911
e0c67e1d
LL
9122014-01-25 Leo Liu <sdl.web@gmail.com>
913
914 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
915
35408b1a
AS
9162014-01-25 Adam Sjøgren <asjo@koldfront.dk>
917
918 * net/shr.el (shr-tag-img): Prefer the title over the alt text
919 (bug#16537).
920
76c3fa95
JB
9212014-01-24 Juanma Barranquero <lekktu@gmail.com>
922
f77c7a99
JB
923 * net/eww.el (eww-download-callback):
924 Fix reference to eww-download-directory.
925
76c3fa95
JB
926 * emacs-lisp/bytecomp.el (byte-compile-file):
927 Remove unused local variable `file-name'.
928
1e548e40
GM
9292014-01-24 Glenn Morris <rgm@gnu.org>
930
03f3b318
GM
931 * woman.el (woman-default-faces, woman-monochrome-faces):
932 Fix obsolescence specification.
933
1e548e40
GM
934 * subr.el (with-demoted-errors): Doc fix.
935
d4f0427b
SM
9362014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
937
938 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
939 (cl--macroexp-fboundp): New function.
940 (cl--make-type-test): Use it.
941
1670e27f
GM
9422014-01-23 Glenn Morris <rgm@gnu.org>
943
944 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
945 * simple.el (eval-expression): Doc fixes.
946
80efa207
GM
9472014-01-22 Glenn Morris <rgm@gnu.org>
948
949 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
950
29afcbab
SM
9512014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
952
953 * emacs-lisp/package.el: Write files silently.
954 (package-autoload-ensure-default-file, package--write-file-no-coding)
955 (package-generate-description-file, package--download-one-archive)
956 (package-install-from-archive): Tell `write-region' to stay quiet.
957 (package-menu-mode, package-menu--print-info): Omit the Archive column
958 if there's only one archive.
959 (package-all-keywords, package--has-keyword-p): Remove dead code.
960
2a5bce4f
GM
9612014-01-22 Glenn Morris <rgm@gnu.org>
962
edace89f
GM
963 * version.el (emacs-bzr-version-bzr): Fix typo.
964
2a5bce4f
GM
965 * version.el (emacs-repository-get-version):
966 Check either .bzr or .git, but not both.
967 Make the git case actually use the DIR argument, and return nil
968 rather than the empty string.
983664c0 969 Avoid error if .git exists but the git executable is not found.
2a5bce4f 970
6cb4da45
MR
9712014-01-22 Martin Rudalics <rudalics@gmx.at>
972
973 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
974 * window.el (window-total-size, window-size): New argument ROUND.
975 (window--min-delta-1, window-min-delta, window--max-delta-1):
976 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
977 columns a window can shrink (Bug#16430).
978 (fit-window-to-buffer): Simplify code.
979 * term.el (term-window-width): Call window-body-width again.
980
cc0f2ece
GM
9812014-01-22 Glenn Morris <rgm@gnu.org>
982
7b997b14
GM
983 * image.el (image-format-suffixes): Doc fix.
984
44e76f9d
GM
985 * international/quail.el (quail-define-package): Doc fix.
986
73c1c6d7
GM
987 * emacs-lisp/authors.el (authors-valid-file-names):
988 (authors-renamed-files-alist): Additions.
7bfc1caa 989
85a5f61f
GM
990 * vc/vc-git.el (vc-git-print-log): Remove --follow;
991 reverts 2014-01-09 change. (Bug#16422)
992
cc0f2ece
GM
993 * calc/calc-embed.el (thing-at-point-looking-at):
994 * emacs-lisp/map-ynp.el (x-popup-dialog):
995 * obsolete/lmenu.el (x-popup-dialog):
996 * emacs-lisp/package.el (url-recreate-url):
997 * mail/mailclient.el (clipboard-kill-ring-save):
998 * subr.el (x-popup-dialog): Update declaration.
999 * mail/rmail.el (rmail-mime-message-p):
1000 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1001
00d2a6bb
DC
10022014-01-21 Daniel Colascione <dancol@dancol.org>
1003
1004 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1005 Correctly detect when we're inside an arithmetic expansion form
1006 containing nested parenthesis.
c295fc18 1007 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
1008 to detect cases where we shouldn't expand "<<" to a heredoc
1009 skeleton.
1010
dd9d2e9d
SM
10112014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1014 (eldoc--message-command-p): New function.
1015 (eldoc-display-message-p): Use it.
1016 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1017 message is not automatically erased for us.
1018 (eldoc-print-current-symbol-info): Erase previous message, if any.
1019
e7d807ca
TH
10202014-01-21 Tassilo Horn <tsdh@gnu.org>
1021
4ff0a0e5
TH
1022 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1023 specify it's an interactive function.
1024
dd9d2e9d
SM
1025 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1026 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
1027 citations with optional arguments.
1028
87503791
LL
10292014-01-21 Leo Liu <sdl.web@gmail.com>
1030
1031 * simple.el (read--expression): Don't enable eldoc-mode.
1032
6cc750ee
SM
10332014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1034
1035 * simple.el (move-beginning-of-line): Make sure we don't move forward
1036 (bug#16497).
1037
71f16bda
JL
10382014-01-20 Juri Linkov <juri@jurta.org>
1039
1040 * saveplace.el (toggle-save-place, save-place-to-alist)
1041 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1042 'dired-mode) before checking for dired-directory. (Bug#16477)
1043
3c5a4839
JL
10442014-01-20 Juri Linkov <juri@jurta.org>
1045
1046 * indent.el (indent-line-to): Use backward-to-indentation
1047 instead of back-to-indentation. (Bug#16461)
1048
f952002e
PE
10492014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1050
1051 Revert some of the CANNOT_DUMP fix (Bug#16494).
1052 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1053 but fixing this can wait until after the next release.
1054 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1055
93675500
MA
10562014-01-19 Michael Albinus <michael.albinus@gmx.de>
1057
1058 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1059 Use `password-word-equivalents'.
1060 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1061 to t. (Bug#5664, Bug#13124)
1062
e3af763f
AM
10632014-01-19 Alan Mackenzie <acm@muc.de>
1064
1065 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1066 points.
1067 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 1068 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
1069 * progmodes/cc-mode.el (c-before-change, c-after-change)
1070 (c-font-lock-fontify-region): Bind it here.
1071
4ff6d92d
MR
10722014-01-19 Martin Rudalics <rudalics@gmx.at>
1073
1074 * term.el (term-window-width): Call window-text-width instead of
1075 window-width (Bug#16470).
1076
9a685cf6
PE
10772014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1078
1079 * simple.el (password-word-equivalents): Remove duplicates.
1080 Sort, to make this easier next time.
1081 Downcase. Omit ": " after "jelszó".
1082
5aa78c2d
JD
10832014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1084
1085 * term/common-win.el (saved-region-selection): Defvar it.
1086 (x-select-text): Set saved-region-selection (Bug#16382).
1087
cabb250c
GM
10882014-01-18 Glenn Morris <rgm@gnu.org>
1089
1090 * emacs-lisp/authors.el (authors-aliases)
1091 (authors-renamed-files-alist): Add some entries.
1092
a1340440
MA
10932014-01-17 Michael Albinus <michael.albinus@gmx.de>
1094
93675500
MA
1095 * net/tramp.el (tramp-password-prompt-regexp):
1096 Use `password-word-equivalents' if available.
a1340440
MA
1097 (tramp-action-password, tramp-process-one-action)
1098 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1099
681ce5d2
CY
11002014-01-17 Chong Yidong <cyd@gnu.org>
1101
1102 * simple.el (password-word-equivalents): New defcustom.
1103 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1104 to 24.4.
1105 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1106 to t. (Bug#13124)
1107
fb3d479c
DG
11082014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1109
1110 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
1111 (ruby-align-to-stmt-keywords): Change the default value.
1112 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
1113 choices.
1114 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1115 keywords, check against the value of `ruby-alignable-keywords'
1116 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1117
0d613483
GM
11182014-01-17 Glenn Morris <rgm@gnu.org>
1119
fc23fe2d
GM
1120 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1121
0d613483
GM
1122 Make M-x authors return zero *Authors Errors* from current logs.
1123 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1124 (authors-ignored-files): Add some entries, remove others.
1125 (authors-ambiguous-files, authors-valid-file-names):
1126 Add some entries.
1127 (authors-renamed-files-alist): Add, remove, and adjust entries.
1128 (authors-renamed-files-regexps): Add some entries.
1129 Remove some very broad ones. Make some entries `lax'.
1130 (authors-lax-changelogs): New constant.
1131 (authors-disambiguate-file-name): Treat top-level specially.
1132 (authors-lax-changelog-p): New function.
1133 (authors-canonical-file-name): Check file as written against
1134 authors-valid-file-names. Do not special-case etc/.
1135 Handle `lax' logs and authors-renamed-files-regexps elements.
1136
2dbf4ffd
DG
11372014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1138
1139 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
1140 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1141 callers.
2dbf4ffd 1142
87b2a7f2
SM
11432014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1144
1145 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1146 Assume we're already in the proper buffer.
1147 Inspired by Anders Lindgren <andlind@gmail.com>.
1148 (follow-post-command-hook): Call it from the right buffer.
1149 (follow-comint-scroll-to-bottom): Adjust call.
1150 (follow-all-followers): Use get-buffer-window-list.
1151
93acfb0e
DC
11522014-01-15 Daniel Colascione <dancol@dancol.org>
1153
1154 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1155 `buffer-file-name' in interactive-form so that we don't leave
1156 pathless file names in `file-name-history'.
1157
ccc6b208
JL
11582014-01-15 Juri Linkov <juri@jurta.org>
1159
1160 * indent.el (indent-rigidly): Set deactivate-mark to nil
1161 in transient indentation mode. (Bug#16438)
1162
5c92e00d
DG
11632014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1164
1165 * emacs-lisp/package.el (package-desc-keywords): New function
1166 (Bug#16222).
1167 (describe-package-1, package-all-keywords)
1168 (package--has-keyword-p): Use it.
1169
dac69660
NR
11702014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1171
1172 * simple.el (define-alternatives): When creating the
1173 COMMAND-alternatives variable, assign COMMAND as its definition
1174 name so that `describe-variable' can relocate it.
1175
8b63edf8
ML
11762014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1177
1178 * font-lock.el (font-lock-keywords): Fix typo in docstring
1179 (bug#16307).
1180
c6a0b8eb
AM
11812014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1182
1183 * ispell.el (ispell-region): Reset `in-comment' for new line
1184 instead of wrongly reset `add-coment' (bug#13577).
1185
02bf443d
DU
11862014-01-14 Daiki Ueno <ueno@gnu.org>
1187
1188 * epa-file.el (epa-file-write-region): Encode the region according
1189 to `buffer-file-format'. Problem reported at:
1190 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1191
fd7fde15
SM
11922014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1195 so it applies in the right buffer (bug#16410).
1196
c176054f
DC
11972014-01-13 Daniel Colascione <dancol@dancol.org>
1198
1199 * textmodes/rst.el (rst-define-key): Provide deprecated
1200 keybindings through named functions instead of anonymous ones so
1201 that "??" doesn't appear in describe-mode output.
1202
e3f33e5d
BG
12032014-01-13 Bastien Guerry <bzg@gnu.org>
1204
1205 * simple.el (define-alternatives): Call the selected command
1206 interactively. When setting `COMMAND--implementation' for the
1207 first time, tell the user how to chose another implementation.
1208 Enhance the docstring.
1209
c055d654
SM
12102014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1213 (log-edit--match-first-line): New function.
1214 (log-edit-font-lock-keywords): Use it.
1215 (log-edit-mode): Make jit-lock-defer-multiline work.
1216
d791cc3b
BG
12172014-01-13 Bastien Guerry <bzg@gnu.org>
1218
1219 * rect.el (rectangle-mark-mode): When the region is not active,
1220 display a message saying that the mark as been set and that
1221 rectangle mode is in use.
1222 (rectangle--highlight-for-redisplay): Only put an overlay with a
1223 visible vertical bar when (display-graphic-p) is non-nil.
1224 This partially fixes Bug#16403.
1225
3c0c4562
JL
12262014-01-13 Juri Linkov <juri@jurta.org>
1227
1228 * info.el (Info-find-file): Go to DIR before displaying the error
1229 about a nonexistent file if no previous Info file is visited.
1230 Use `user-error' instead of `error' for "Info file %s does not exist".
1231 (Info-find-node-2): In case of a nonexistent node in unwind forms
1232 go to the Top node if there is no previous node to revert to.
1233 (Bug#16405)
1234
25a700d0
MR
12352014-01-13 Martin Rudalics <rudalics@gmx.at>
1236
1237 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
1238 * window.el (fit-frame-to-buffer): Fix doc-string.
1239 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
1240 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1241 when avoiding that frame goes partially off-screen.
1242 (fit-window-to-buffer): Respect window-min-height/-width
1243 (Bug#14096).
1244
6ae948d8
SM
12452014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1246
1247 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1248 after an empty line.
1249
6137cb82
SM
12502014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * net/shr.el (shr-render-region): Autoload.
1253
e6344e17
XF
12542014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1255
1256 * net/eww.el (eww-download-directory): Rename from
1257 `eww-download-path' (Bug#16419).
1258
3b922c70
LL
12592014-01-12 Leo Liu <sdl.web@gmail.com>
1260
1261 * dired-x.el (dired-mode-map): Fix last change.
1262
1263 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1264
4fa51741
PE
12652014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1266
1267 Spelling fixes.
1268 * emacs-lisp/generic.el (generic--normalize-comments):
1269 Rename from generic--normalise-comments. All uses changed.
1270 * play/bubbles.el (bubbles--neighborhood-score):
1271 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1272 (bubbles--neighborhood-available)
1273 (bubbles--update-neighborhood-score):
1274 Rename from names with 'neighbourhood'. All uses changed.
1275
9b335362
LL
12762014-01-12 Leo Liu <sdl.web@gmail.com>
1277
1278 Re-implement the feature of showing eldoc info after editing.
1279 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1280 (eldoc-edit-message-commands): New function.
1281 (eldoc-print-after-edit): New variable.
1282 (eldoc-pre-command-refresh-echo-area): Emit message only by
1283 eldoc-message-commands.
1284 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1285 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 1286 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 1287 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 1288
e2a095b1
GM
12892014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1290 Eric S. Raymond <esr@thyrsus.com>
9685190b 1291
841a6d0c 1292 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 1293 function works correctly in either a Bazaar or Git repo.
0abf4134 1294
e2a095b1
GM
12952014-01-11 Eric S. Raymond <esr@thyrsus.com>
1296
6137cb82
SM
1297 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1298 Goes with removal of the joke manpages from /etc.
9685190b 1299
c295fc18 13002014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 1301
6137cb82
SM
1302 * mail/rmail.el (rmail-get-coding-system):
1303 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 1304
d2f16e93
GM
13052014-01-10 Glenn Morris <rgm@gnu.org>
1306
1307 * emacs-lisp/authors.el (authors-fixed-entries):
1308 Update for files that no longer exist.
1309
7e03bb32
ER
13102014-01-10 Eric S. Raymond <esr@thyrsus.com>
1311
1312 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 1313 24.3 (Tested).
7e03bb32 1314
dd806710
BB
13152014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1316
1317 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1318 and Podfile.
1319
ed6ec139
EZ
13202014-01-10 Eli Zaretskii <eliz@gnu.org>
1321
1322 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1323
cc33cac9
CY
13242014-01-10 Chong Yidong <cyd@gnu.org>
1325
6137cb82 1326 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 1327
d9d836b5
AL
13282014-01-10 Anders Lindgren <andlind@gmail.com>
1329
1330 * follow.el (follow-cache-command-list): Include right-char and
1331 left-char.
1332
06827ec8
PE
13332014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1334
1335 Spelling fixes.
1336 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1337 * woman.el (woman-mark-horizontal-position):
1338 Rename from woman-mark-horizonal-position. Use changed.
1339
458dbf5e
GM
13402014-01-10 Glenn Morris <rgm@gnu.org>
1341
dad6fae7
GM
1342 * info.el (info-initialize): If running uninstalled, ensure our
1343 own info files are always found first, even if INFOPATH is set.
1344
458dbf5e
GM
1345 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1346
05e0afce
DE
13472014-01-09 David Engster <deng@randomsample.de>
1348
1349 * emacs-lisp/eieio-custom.el:
1350 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1351 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1352 * emacs-lisp/eieio.el: Regenerate autoloads.
1353
f29778b3
ER
13542014-01-09 Eric S. Raymond <esr@thyrsus.com>
1355
1356 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 1357 following renames. (Bug#8756)
f29778b3 1358
684d44ef
SM
13592014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1362 (bug#16382).
1363 (activate-mark): Add `no-tmm' argument.
1364 (set-mark, push-mark-command): Use it instead of running
1365 activate-mark-hook by hand.
1366
9475054f
ER
13672014-01-08 Eric S. Raymond <esr@thyrsus.com>
1368
1369 In preparation for the move to git, sanitize out some
1370 Bazaar-specific names.
1371
38942b9c
GM
1372 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1373
9475054f 1374 * version.el (emacs-bzr-version): Name changed to
689c9ca5 1375 emacs-repository-version. Obsolete-variable alias made.
9475054f 1376 * loadup.el: Follow through on this name change.
a12bf61e 1377 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
1378 assumption about the version control system in use.
1379
0f918d96 13802014-01-08 David Engster <deng@randomsample.de>
abb82152 1381
684d44ef
SM
1382 * help-fns.el (help-fns-describe-function-functions):
1383 New variable to call functions for augmenting help buffers.
abb82152
DE
1384 (describe-function-1): Remove explicit calls to
1385 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
1386 `help-fns--obsolete'. Put them in above new variable instead, and
1387 call them through `run-hook-with-args'.
1388 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1389 `eieio-describe-class'. Not meant for interactive use anymore,
1390 but to augment existing help buffers. Remove optional second
684d44ef
SM
1391 argument. Create proper button for file location.
1392 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
1393 possible.
1394 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1395 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
1396 (describe-method, describe-generic, eieio-describe-method):
1397 Remove aliases.
0f918d96
DE
1398 (eieio-help-constructor, eieio-help-generic): Rename from
1399 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1400 Rewrite to use `insert' in the current buffer and use proper help
1401 buttons.
1402 (eieio-help-find-method-definition)
1403 (eieio-help-find-class-definition): Also accept symbols as
1404 arguments.
1405 (eieio-help-mode-augmentation-maybee): Remove.
1406 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
1407 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1408 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 1409
136b74c5
PE
14102014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1411
1412 Spelling fixes.
1413 * language/china-util.el (hz-ascii-designation):
1414 Rename from hz-ascii-designnation.
1415 (hz-ascii-designation): Rename from hz-ascii-designnation.
1416 All uses changed.
1417
ec6c7de2
SM
14182014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1421 package-alist.
1422
d6262c7c
BG
14232014-01-08 Bastien Guerry <bzg@gnu.org>
1424
4b9e6087
GM
1425 * emacs-lisp/package.el (package-delete):
1426 Correctly delete the package from package-alist.
d6262c7c 1427
0a3eec32
DU
14282014-01-08 Daiki Ueno <ueno@gnu.org>
1429
1430 * emacs-lisp/package.el (url-recreate-url): Declare.
1431 (url-http-target-url): Declare.
4b9e6087 1432 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
1433 (package--check-signature): Don't re-signal errors from
1434 package--with-work-buffer. Suggested by Stefan Monnier.
1435
68f0bb97
BG
14362014-01-07 Bastien Guerry <bzg@gnu.org>
1437
1438 * minibuffer.el (completion--try-word-completion): When both a
1439 hyphen and a space are possible candidates for the character
1440 following a word, display both candidates. (Bug#15980)
1441
7e1899d7
MR
14422014-01-07 Martin Rudalics <rudalics@gmx.at>
1443
1444 * window.el (balance-windows-2): While rounding don't give a
c295fc18 1445 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 1446
0030ec15
GM
14472014-01-07 Glenn Morris <rgm@gnu.org>
1448
1449 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1450 (menu-bar-help-menu): Use view-external-packages instead.
1451
2b6b4f20
BG
14522014-01-07 Bastien Guerry <bzg@gnu.org>
1453
1454 * emacs-lisp/package.el (package-delete): Also delete the package
1455 name from `package-alist', not its description only.
1456
e9be0a13
GM
14572014-01-07 Glenn Morris <rgm@gnu.org>
1458
1459 * help.el (view-external-packages):
1460 * menu-bar.el (menu-bar-help-extra-packages):
1461 Visit efaq.info rather than etc/MORE.STUFF.
1462
e4f74da9
JL
14632014-01-07 Juri Linkov <juri@jurta.org>
1464
1465 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1466 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1467
1468 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1469 that shadows RET. (Bug#16342)
1470
de7ce2d1
CY
14712014-01-07 Chong Yidong <cyd@gnu.org>
1472
1473 * isearch.el (isearch-yank-char, isearch-yank-word)
1474 (isearch-yank-line): Doc fix.
1475
6bdd9204
SM
14762014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1479 * emacs-lisp/elint.el (elint-find-builtins):
1480 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1481 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1482 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1483 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1484 * apropos.el (apropos-safe-documentation):
1485 * subr.el (symbol-file): Remove redundant fboundp.
1486 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1487
daccca97
BG
14882014-01-06 Bastien Guerry <bzg@gnu.org>
1489
1490 * hl-line.el (global-hl-line-overlay): Make a local variable.
1491 (global-hl-line-overlays): New variable to store all overlays.
1492 (global-hl-line-mode): Don't delete overlays from the current
1493 buffer when `global-hl-line-sticky-flag' is non-nil.
1494 (global-hl-line-highlight): Add new overlays to
1495 `global-hl-line-overlays'.
1496 (global-hl-line-unhighlight-all): New function to delete all
1497 overlays when turning off `global-hl-line-mode'.
1498 This fixes Bug#16183.
1499
ec00f20f
SM
15002014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * subr.el (set-transient-map): Fix nested case and docstring.
1503
a0031f97
TH
15042014-01-06 Tassilo Horn <tsdh@gnu.org>
1505
1506 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1507 `Texinfo' entry.
1508
bf6a77f3
DC
15092014-01-06 Daniel Colascione <dancol@dancol.org>
1510
1511 Fix defun navigation in vc log view.
1512
1513 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1514 like `beginning-of-defun'.
c295fc18 1515 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
1516 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1517 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 1518 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 1519 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 1520
d5081c1e
PE
15212014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1522
1523 Spelling fixes.
1524 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1525 * emacs-lisp/debug.el (cancel-debug-on-entry):
1526 * epg.el (epg-error-to-string):
1527 * files.el (recover-file):
1528 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1529 * mail/emacsbug.el (report-emacs-bug-hook):
1530 * mail/sendmail.el (mail-recover):
1531 * ses.el (ses-yank-resize):
1532 * term/ns-win.el (ns-print-buffer):
1533 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1534 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1535 All uses changed.
1536 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1537
53f6b148
LL
15382014-01-06 Leo Liu <sdl.web@gmail.com>
1539
1540 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 1541 to avoid shadowing global key. (Bug#16354)
53f6b148 1542
b82ace2f
DC
15432014-01-06 Daniel Colascione <dancol@dancol.org>
1544
1545 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1546 rst-mode.
1547
3669b636
MR
15482014-01-05 Martin Rudalics <rudalics@gmx.at>
1549
1550 * window.el (balance-windows): Add mising t to fix Bug#16351.
1551
1a29adc2
LMI
15522014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1553
1554 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1555 (bug#16285).
3d95a0f4
LMI
1556 (shr-insert): If we have a word that's longer than `shr-width',
1557 break after it anyway. Otherwise we'll do no breaking once we get
1558 such a long word.
1a29adc2 1559
f4018140
KN
15602014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1561
3fcfc4ee 1562 * net/eww.el (eww): Support single/double quote for search.
c295fc18 1563 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
1564 (eww-history-quit): Delete and use quit-window.
1565 (eww-history-kill): Delete, because it doesn't work well and
1566 not necessary.
1567 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 1568
4e619754
PE
15692014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1570
73dbf960
PE
1571 Fix misspelling of 'chinese' in rx (Bug#16237).
1572 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1573 chinese-two-byte.
1574
4e619754
PE
1575 Change subword regexps back to vars (Bug#16296).
1576 * progmodes/subword.el (subword-forward-regexp)
1577 (subword-backward-regexp): Change these back to variables.
1578
e18b70fc
SM
15792014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1582 syntax-begin-function (bug#16247).
1583
0d53f628
CY
15842014-01-03 Chong Yidong <cyd@gnu.org>
1585
1586 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1587 (advice--docstring): Delete variable.
1588 (advice--make-1): Leave the docstring empty.
1589 (advice-add): Use function-documentation for advised docstring.
1590
1591 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1592 Ignore function-documentation property when getting documentation.
1593 (ad-activate-advised-definition): Use function-documentation
1594 generate the docstring.
1595 (ad-make-advised-definition): Don't call
1596 ad-make-advised-definition-docstring.
1597 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1598 Delete functions.
1599
1600 * progmodes/sql.el (sql-help): Use function-documentation instead
1601 of dynamic-docstring-function property. No need to autoload now.
1602 (sql--help-docstring): New variable.
1603 (sql--make-help-docstring): Use it.
1604
6f547583
SM
16052014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1606
6ef9aed8
SM
1607 * ielm.el (ielm-tab): Retarget.
1608 (ielm-map): Use ielm-tab for tab.
1609 (ielm-complete-filename): Use comint-filename-completion.
1610 (ielm-complete-symbol): Remove.
1611 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1612 remove ielm-tab from completion-at-point-functions (bug#16224).
1613
6f547583
SM
1614 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1615 Beware signals raised by predicates (bug#16201).
1616
a574edbe
RS
16172014-01-02 Richard Stallman <rms@gnu.org>
1618
e831604d
RS
1619 * dired-aux.el (dired-do-print): Handle printer-name.
1620
6f547583
SM
1621 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1622 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
1623 (rmail-epa-decrypt): Turn off mime processing.
1624
3fcfc4ee 1625 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
1626 Add parens in message-id.
1627
1628 * mail/rmail.el (rmail-get-coding-function): Variable.
1629 (rmail-get-coding-system): Use it.
1630
04311a16
KH
16312013-12-31 Eli Zaretskii <eliz@gnu.org>
1632
1633 * international/mule-conf.el: Unify the charset indian-is13194.
1634 (indian-is13194): Specify unify-map.
1635
c8d89778
LL
16362013-12-31 Leo Liu <sdl.web@gmail.com>
1637
1638 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1639
e63ace37
DC
16402013-12-30 Daniel Colascione <dancol@dancol.org>
1641
9e0bf19a
DC
1642 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1643 of printing a useless when we resume from sleep.
1644
e63ace37 1645 * progmodes/sh-script.el
c295fc18 1646 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
1647 in indentation code. (Bug#16233)
1648
e9d6c46a
JT
16492013-12-28 João Távora <joaotavora@gmail.com>
1650
6f547583
SM
1651 * elec-pair.el (electric-pair-post-self-insert-function):
1652 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 1653
bf7bea5d
EZ
16542013-12-28 Eli Zaretskii <eliz@gnu.org>
1655
1656 * frame.el (window-system-for-display): Don't allow to create a
1657 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1658
8449dd1f
GM
16592013-12-28 Glenn Morris <rgm@gnu.org>
1660
9c5a5c77
GM
1661 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1662 Update callers.
1663
1664 * apropos.el (apropos-match-face):
1665 * calculator.el (calculator-displayer):
1666 * dabbrev.el (dabbrev-search-these-buffers-only):
1667 * face-remap.el (buffer-face-mode-face):
1668 * simple.el (yank-handled-properties):
1669 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1670 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1671 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1672 (hashcash-double-spend-database):
1673 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1674 (ruby-deep-indent-paren-style):
1675 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1676 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1677 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1678 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1679 Specify custom types.
1680
bb098075
GM
1681 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1682 * bookmark.el (bookmark-bmenu-use-header-line):
1683 * doc-view.el (doc-view-scale-internally):
1684 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1685 * register.el (register-preview-delay):
1686 * net/shr.el (shr-bullet):
1687 * progmodes/cfengine.el (cfengine-cf-promises)
1688 (cfengine-parameters-indent):
1689 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1690 * textmodes/reftex-vars.el (reftex-label-regexps):
1691 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1692
9c61f806
GM
1693 * net/tls.el (tls-certtool-program): Fix default value.
1694
1695 * desktop.el (desktop-restore-in-current-display):
1696 * newcomment.el (comment-empty-lines):
1697 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1698 (idlwave-pad-keyword):
1699 * progmodes/tcl.el (tcl-tab-always-indent):
1700 * textmodes/reftex-vars.el (reftex-index-default-tag):
1701 * elec-pair.el (electric-pair-skip-whitespace):
1702 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1703
8449dd1f
GM
1704 * emacs-lisp/authors.el (authors-ignored-files)
1705 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1706
fdadeb49
JC
17072013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1708
72140a0f
GM
1709 * shell.el (shell-dynamic-complete-command): Doc fix.
1710 (shell--command-completion-data): Shell completion now matches
1711 executable filenames from the current buffer's directory, on
da5ecfa9 1712 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 1713
e572a7d8
LI
17142013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1715
1716 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1717
7514d3f8
SM
17182013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1719
a4151f3b
SM
1720 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1721 (bug#16251).
1722
7514d3f8
SM
1723 * electric.el: Move all electric-pair-* to elec-pair.el.
1724 * elec-pair.el: New file, split from electric.el.
1725
ac5758d1
LI
17262013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1727
1728 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1729 indentation level is larger than the width, because that will
1730 infloop.
1731 (shr-insert): Fill repeatedly long texts, so that Japanese is
1732 formatted correctly (bug#16263).
24a6b65e
LI
1733 (shr-find-fill-point): Off by one error in comparison with the
1734 indentation.
ac5758d1 1735
7514d3f8 17362013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
1737
1738 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 1739 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
1740 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1741 if that keeps or improves their balance in buffers.
1742 (electric-pair-delete-adjacent-pairs): Delete the pair when
1743 backspacing over adjacent matched delimiters.
1744 (electric-pair-open-extra-newline): Open extra newline when
1745 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
1746 (electric--sort-post-self-insertion-hook):
1747 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
1748 minor-modes are activated.
1749 * simple.el (newline-and-indent): Call newline with interactive
1750 set to t.
1751 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
1752 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1753 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1754 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
1755 electric-pair-open-newline-between-pairs to nil.
1756
fbcc63a3
FEG
17572013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1758
1759 * progmodes/python.el: Use lexical-binding.
1760 (python-nav-beginning-of-defun): Stop searching ASAP.
1761
ed78d16c
XF
17622013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1763
1764 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1765 Fix interactive spec. Doc fix. (Bug#15754)
1766
38b2c142
KY
17672013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1768
1769 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 1770 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
1771 Fix edebug spec (bug#16184).
1772
3c856c14
LI
17732013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1774
83fa295c 1775 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
1776 (shr-insert): Don't infloop if we can't find a good place to break
1777 the line (bug#16256).
3c856c14 1778
01379221
FEG
17792013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1780
1781 * progmodes/python.el:
1782 (python-nav--lisp-forward-sexp): New function.
1783 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1784 python-nav-lisp-forward-sexp-safe.
1785 (python-nav--forward-sexp): New argument SAFE allows switching
1786 forward sexp movement behavior for parens.
1787 (python-nav-forward-sexp): Throw errors on unterminated parens
1788 (Bug#16191).
1789 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1790 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
1791 (python-shell-buffer-substring):
1792 Use `python-nav-forward-sexp-safe'.
01379221 1793
99e4926f
LI
17942013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1795
1796 * net/shr.el (shr-find-fill-point): Don't break lines before a
1797 quotation mark.
c6c20584
LI
1798 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1799 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 1800 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 1801
fec0e828
KN
18022013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1803
1804 * net/eww.el (eww-form-textarea): Use a different face for
1805 textareas than text input since they have different keymaps
1806 (bug#16142).
1807
89c868ad
FEG
18082013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1809
7514d3f8
SM
1810 * progmodes/python.el (python-nav-beginning-of-statement):
1811 Speed up (Bug#15295).
89c868ad 1812
eeef121a
LI
18132013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1814
1815 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1816 the window configuration.
1817
121ea65f
EZ
18182013-12-24 Eli Zaretskii <eliz@gnu.org>
1819
1820 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1821 we run on MS-Windows or MS-DOS.
1822
18cee9ec
MR
18232013-12-24 Martin Rudalics <rudalics@gmx.at>
1824
1825 * window.el (balance-windows-area): Call window-size instead of
1826 window-height and window-width. Bug#16241.
1827
58f2b9a5
LI
18282013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1829
1830 * net/eww.el (eww-bookmark-quit): Remove.
1831 (eww-bookmark-browse): Restore the window configuration when you
1832 choose a bookmark (bug#16144).
1833
d64b6308
DC
18342013-12-24 Daniel Colascione <dancol@dancol.org>
1835
1836 * icomplete.el: Remove redundant :group arguments to `defcustom'
1837 throughout.
1838 (icomplete-show-matches-on-no-input): New customizable variable.
1839 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1840 we have something to show.
7514d3f8 1841 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 1842
0da54898
DC
18432013-12-23 Daniel Colascione <dancol@dancol.org>
1844
1845 * icomplete.el: Move `provide' to end of file.
1846
b90aa4f4
TZ
18472013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1848
1849 * net/gnutls.el (gnutls-verify-error): Add version tag.
1850
8cd22a08
CY
18512013-12-23 Chong Yidong <cyd@gnu.org>
1852
1853 * subr.el (set-transient-map): Rename from
1854 set-temporary-overlay-map. Doc fix.
1855
1856 * face-remap.el (text-scale-adjust):
1857 * indent.el (indent-rigidly):
1858 * kmacro.el (kmacro-call-macro):
1859 * minibuffer.el (minibuffer-force-complete):
1860 * repeat.el (repeat):
1861 * simple.el (universal-argument--mode):
1862 * calendar/todo-mode.el (todo-insert-item--next-param):
1863 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1864
7510b021
CY
1865 * indent.el (indent-rigidly): Use substitute-command-keys.
1866
72140a0f 18672013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
1868
1869 * net/eww.el (eww-tag-select): Add text-property to jump to next
1870 select field.
e9dc713d 1871 (eww): Add non-supported ftp error.
56890ecd 1872
1f87a56c
DG
18732013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1874
1875 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1876 comments. Handle electric indent after typing `?' and `!'.
1877
dca38cf9
CY
18782013-12-22 Chong Yidong <cyd@gnu.org>
1879
1880 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
1881 applicable to a frame, fall back on the defface spec.
1882 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 1883
f2351498
DG
18842013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1885
1886 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1887 after `{'. We need it after block openers, and it doesn't seem
1888 to hurt after hash openers.
1889
6cddebc1
DG
18902013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1891
1892 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1893 extracted from `ruby-smie-rules'.
1894 (ruby--electric-indent-chars): New variable.
1895 (ruby--electric-indent-p): New function.
1896 (ruby-mode): Use `electric-indent-functions' instead of
1897 `electric-indent-chars'.
1898
65a1da00
DG
18992013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1900
1901 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1902 docstring.
1903 (ruby-smie-rules): Indent plus one level after `=>'.
1904
b51ad4cf
RS
19052013-12-21 Richard Stallman <rms@gnu.org>
1906
1907 * simple.el (newline): Doc fix.
1908
72140a0f 19092013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 1910
e9dc713d 1911 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
1912 (eww-history-browse, eww-history-quit, eww-history-kill)
1913 (eww-history-mode-map, eww-history-mode): New command and
1914 functions to list browser histories.
e9dc713d
JB
1915 (eww-form-text): Support text form with disabled
1916 and readonly attributes.
1917 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 1918
5e1901c1
RS
19192013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1920
1921 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1922 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1923 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1924 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1925 Use `user-error'.
1926 (eww-bookmark-mode-map): Add menu.
1927 (eww-render, eww-mode): Use `setq-local'.
1928 (eww-tool-bar-map): New variable.
1929 (eww-mode): Set `tool-bar-map'.
1930 (eww-view-source): Check for `html-mode' with `fboundp'.
1931
073d5cfd
LMI
19322013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1933
1934 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1935 elements with text inside. Also remove debugging.
1936
41cf3d11
JD
19372013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1938
1939 * cus-start.el (all): Add ns-use-srgb-colorspace.
1940
aac2b673
CY
19412013-12-21 Chong Yidong <cyd@gnu.org>
1942
1943 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1944 undefined. Thus, theme settings for undefined faces do not take
1945 effect until the faces are defined with defface, the same as with
1946 theme variables.
1947
1948 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1949 (face-spec-reset-face): Don't assign extra properties in temacs.
1950 (face-spec-recalc): Apply X resources too.
1951
bacb0e77
CY
19522013-12-21 Chong Yidong <cyd@gnu.org>
1953
1954 * faces.el (face-spec-set):
1955 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1956 * custom.el (defface): Doc fixes (Bug#16203).
1957
77221051
CY
1958 * indent.el (indent-rigidly-map): Add docstring, and move commands
1959 into named functions.
1960 (indent-rigidly-left, indent-rigidly-right)
1961 (indent-rigidly-left-to-tab-stop)
1962 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1963 indentation direction based on bidi direction, and accumulate
1964 sequential commands in a single undo boundary.
1965 (indent-rigidly--pop-undo): New utility function.
1966
e0eb0550
JB
19672013-12-20 Juanma Barranquero <lekktu@gmail.com>
1968
1969 * faces.el (read-face-name): Require crm.el when using crm-separator.
1970
3282bd2e
DC
19712013-12-20 Daniel Colascione <dancol@dancol.org>
1972
1973 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1974 so that we don't reflow comments into the shebang line.
1975
1d42e5b6
JL
19762013-12-20 Juri Linkov <juri@jurta.org>
1977
1978 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1979 a position when `dired-directory' is non-nil. Check integer
1980 positions with `integerp'.
1981 (toggle-save-place, save-places-to-alist): Add check for
1982 `dired-directory'.
1983 (save-place-find-file-hook): Check integer positions with
1984 `integerp'.
1985 (save-place-dired-hook): Use `dired-goto-file' when
1986 `dired-filename' is found in the assoc list. Check integer
1987 positions with `integerp'.
1988 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1989
1990 * dired.el (dired-initial-position-hook): Rename back from
1991 `dired-initial-point-hook'.
1992 (dired-initial-position): Rename `dired-initial-point-hook' to
1993 `dired-initial-position-hook'.
1994 (dired-file-name-at-point): Doc fix. (Bug#15329)
1995
24da7273
JL
19962013-12-20 Juri Linkov <juri@jurta.org>
1997
1998 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1999 (read-regexp-suggestions): New function.
2000 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2001 Use `read-regexp-suggestions'. Add non-empty default to history
2002 for empty input.
2003 (occur-read-regexp-defaults-function): Remove function.
2004 (occur-read-primary-args): Use `regexp-history-last' instead of
2005 `occur-read-regexp-defaults-function'.
2006
2007 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2008 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2009 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2010 `hi-lock-read-regexp-defaults-function'. Doc fix.
2011 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2012 with `find-tag-default-as-symbol-regexp'. Doc fix.
2013 (hi-lock-read-regexp-defaults): Remove function.
2014 (hi-lock-regexp-okay): Add check for null.
2015
2016 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2017 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2018
2019 * subr.el (find-tag-default-as-symbol-regexp): New function.
2020 (find-tag-default-as-regexp): Move symbol regexp formatting to
2021 `find-tag-default-as-symbol-regexp'.
2022
137f57c8
S
20232013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2024
2025 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2026 (Bug#14179)
2027
f3a66082
SB
20282013-12-20 Stephen Berman <stephen.berman@gmx.net>
2029
2030 * calendar/todo-mode.el: New implementation of item insertion
2031 commands and key bindings.
2032 (todo-key-prompt): New face.
2033 (todo-insert-item): New command.
2034 (todo-insert-item--parameters): New defconst, replacing defvar
2035 todo-insertion-commands-args-genlist.
2036 (todo-insert-item--param-key-alist): New defconst, replacing
2037 defvar todo-insertion-commands-arg-key-list.
2038 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2039 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2040 (todo-insert-item--next-param): New functions.
2041 (todo-insert-item--args, todo-insert-item--argleft)
2042 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2043 New variables.
2044 (todo-key-bindings-t): Change binding of "i" from
2045 todo-insertion-map to todo-insert-item.
2046 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2047 (todo-insertion-command-name, todo-insertion-commands-names)
2048 (todo-define-insertion-command, todo-insertion-commands)
2049 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2050
2f99433b
SB
20512013-12-20 Stephen Berman <stephen.berman@gmx.net>
2052
2053 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2054 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2055 eval-when-compile.
2056 (todo-move-category): Allow choosing a non-existing todo file to
2057 move the category to, and create that file.
2058 (todo-default-priority): New user option.
2059 (todo-set-item-priority): Use it.
2060 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2061 (desktop-restore-file-buffer): Declare.
2062 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2063 (todo-modes-set-2): Locally set desktop-save-buffer to
2064 todo-desktop-save-buffer.
2065 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2066 (auto-mode-alist): Add autoload cookie.
2067
131e4695
BB
20682013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2069
2070 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2071 helpers.el was a poor choice of name.
3cbfb935
BB
2072 (string-remove-prefix): New function.
2073 (string-remove-suffix): New function.
131e4695 2074
c44de18d
MR
20752013-12-20 Martin Rudalics <rudalics@gmx.at>
2076
2077 Fix assignment for new window total sizes.
2078 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
2079 (window--pixel-to-total-1, window--pixel-to-total):
2080 Fix calculation of new total sizes.
c44de18d 2081
ca65efcc
VS
20822013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2083
2084 * comint.el (comint-output-filter): Fix rear-nonsticky property
2085 placement (Bug#16010).
2086
a9574eb7
CY
20872013-12-20 Chong Yidong <cyd@gnu.org>
2088
2089 * faces.el (read-color): Minor fix for completion function.
2090
b520f210
DG
20912013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2092
e0eb0550
JB
2093 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2094 New option. (Bug#16182)
b520f210
DG
2095 (ruby-smie--indent-to-stmt-p): Use it.
2096 (ruby-smie-rules): Revert the logic in the handling of `when'.
2097 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2098 (ruby-deep-arglist, ruby-deep-indent-paren)
2099 (ruby-deep-indent-paren-style): Update docstrings to note that the
2100 vars don't have any effect with SMIE.
2101
26b75b45
JB
21022013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2103
2104 * calc/calc.el (calc-enter, calc-pop): Use the variable
2105 `calc-context-sensitive-enter'.
2106
cf91cee7
LMI
21072013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2108
2109 * net/shr.el (shr-insert): Protect against infloops in degenerate
2110 tables.
2111
51d971b4
RS
21122013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2113
2114 * progmodes/octave.el (octave): Add link to manual and octave
2115 homepage.
2116 (octave-mode-menu): Link to octave-mode manual.
2117
8c2e462a
LL
21182013-12-20 Leo Liu <sdl.web@gmail.com>
2119
2120 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2121 insertion using skeleton-end-newline. (Bug#16138)
2122
501158bc
JL
21232013-12-20 Juri Linkov <juri@jurta.org>
2124
2125 * replace.el (occur-engine): Use `add-face-text-property'
2126 to add the face property to matches and titles. (Bug#14645)
2127
2128 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2129 the palette of other hi-lock colors.
2130 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2131
50ab1da6
JL
21322013-12-19 Juri Linkov <juri@jurta.org>
2133
2134 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2135 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2136 (minibuffer-history-symbol): Move variable declaration closer to
2137 its usage.
2138
2139 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2140 (Bug#14785)
2141
3d6e95e7
JL
21422013-12-19 Juri Linkov <juri@jurta.org>
2143
2144 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2145 New function.
2146 (log-edit-hook): Add it to :options. (Bug#16170)
2147
b41594fd
JL
21482013-12-19 Juri Linkov <juri@jurta.org>
2149
2150 * simple.el (eval-expression-print-format): Don't check for
2151 command names and the last command. Always display additional
2152 formats of the integer result in the echo area, and insert them
2153 to the current buffer only with a zero prefix arg.
2154 Display character when char-displayable-p is non-nil.
2155 (eval-expression): With a zero prefix arg, set `print-length' and
2156 `print-level' to nil, and insert the integer values from
2157 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2158
2159 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2160 `eval-last-sexp-arg-internal'. Doc fix.
2161 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2162 `eval-last-sexp-print-value'. Doc fix.
2163 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2164 Set `print-length' and `print-level' to nil when arg is zero.
2165 (eval-last-sexp): Doc fix.
2166 (eval-defun-2): Print the integer values from
2167 `eval-expression-print-format' at the end.
2168
2169 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2170 values from `eval-expression-print-format' at the end.
2171
2172 * ielm.el (ielm-eval-input): Print the integer
2173 values from `eval-expression-print-format' at the end.
2174
8f2be364
TZ
21752013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2176
2177 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2178 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2179
2230a6e3
SM
21802013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2183 (hl-line-highlight, global-hl-line-highlight): Use it.
2184 (hl-line-overlay): Use defvar-local.
2185
1269a680
JD
21862013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2187
2188 * term/ns-win.el: Require dnd.
2189 (global-map): Remove drag items.
2190 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
2191 (ns-set-background-at-mouse):
2192 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2193 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2194 New functions.
1269a680 2195
049638ad
GM
21962013-12-19 Glenn Morris <rgm@gnu.org>
2197
2198 * emacs-lisp/ert.el (ert-select-tests):
2199 Fix string/symbol mixup. (Bug#16121)
2200
ce41edb4
DG
22012013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2202
2203 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2204 keywords to their parent.
2205
7e1549c9
DG
22062013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2207
2208 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2209 first arg to be a string (fixed dead code), or an operator symbol.
2210 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2211 operator symbols.
2212 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2213 did nothing. Don't respond to `(:after ".")', it will be called
2214 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2215 change anything. Only return indentation for binary operators
2216 when they are hanging. De-dent opening paren when its parent is
2217 `.', otherwise it looks bad when the dot is not at bol or eol
2218 (bug#16182).
2219
3ee4cd64
JL
22202013-12-19 Juri Linkov <juri@jurta.org>
2221
2222 * replace.el (query-replace-read-args): Split a non-negative arg
2223 and a negative arg into separate elements.
2224 (query-replace, query-replace-regexp, replace-string)
2225 (replace-regexp): Add arg `backward'. Doc fix.
2226 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2227 move point to the beginning of the match.
2228 (replace-search, replace-highlight): Use new arg `backward'
2229 to set the value of `isearch-forward'.
2230 (perform-replace): Add arg `backward' and use it to perform
2231 replacement backward. (Bug#14979)
2232
2233 * isearch.el (isearch-query-replace): Use a negative prefix arg
2234 to call `perform-replace' with a non-nil arg `backward'.
2235
0cda6b7b
JL
22362013-12-18 Juri Linkov <juri@jurta.org>
2237
2238 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2239 to the default list. Move `log-edit-show-files' to the end.
2240 Add more available functions to options.
2241 (log-edit): Move default specific settings to
2242 `log-edit-insert-message-template'. Don't move point.
2243 (log-edit-insert-message-template): New function.
2244 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2245 (Bug#16170)
2246
b216f0a6
JL
22472013-12-18 Juri Linkov <juri@jurta.org>
2248
2249 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2250 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2251
1d1c55dc
LL
22522013-12-18 Leo Liu <sdl.web@gmail.com>
2253
e9dc713d
JB
2254 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2255 (Bug#16186)
1d1c55dc 2256
64e4c76e
EZ
22572013-12-18 Eli Zaretskii <eliz@gnu.org>
2258
2259 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2260 formats for displaying file sizes when the -s switch is given.
2261 Instead, compute a separate format for displaying the size in
2262 blocks, which is displayed in addition to the "regular" size.
2263 When -h is given in addition to -s, produce size in blocks in
2264 human-readable form as well. (Bug#16179)
2265
b2984e39
TH
22662013-12-18 Tassilo Horn <tsdh@gnu.org>
2267
2230a6e3
SM
2268 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2269 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 2270
50ff2e06
CY
22712013-12-18 Chong Yidong <cyd@gnu.org>
2272
0081bc84
CY
2273 * cus-edit.el (custom-magic-alist): Fix "themed" description
2274 (Bug#14348).
2275
a7ee9424
CY
2276 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2277 is non-nil, do not create a new entry in the symbol's theme-value
2278 or theme-face property; update theme-settings only (Bug#14664).
18874304 2279 (custom-available-themes): Doc fix.
a7ee9424 2280
8f942537
CY
2281 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2282 (Bug#15674).
2283
50ff2e06
CY
2284 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2285
83c60f60
KI
22862013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2287
2288 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2289 (Bug#13914).
2290
e0eb0550 22912013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
2292
2293 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2294
1f41ee56
GM
22952013-12-18 Glenn Morris <rgm@gnu.org>
2296
2297 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 2298 * cus-start.el (load-prefer-newer): New option.
1f41ee56 2299
e82134b1
LW
23002013-12-18 Le Wang <l26wang@gmail.com>
2301
2230a6e3
SM
2302 * comint.el (comint-previous-matching-input-from-input):
2303 Retain point (Bug#13404).
e82134b1 2304
33f5d4c1
CY
23052013-12-18 Chong Yidong <cyd@gnu.org>
2306
2307 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2308
ccc9f6dc
GM
23092013-12-18 Glenn Morris <rgm@gnu.org>
2310
2311 * mail/emacsbug.el (report-emacs-bug):
2312 Only mention enable-multibyte-characters if non-standard.
2313
33dd8e95
JL
23142013-12-17 Juri Linkov <juri@jurta.org>
2315
2316 * arc-mode.el (archive-extract-by-file): Check if directory exists
2317 before deletion to not show irrelevant errors if it doesn't exist.
2318
7a409b30
JL
23192013-12-17 Juri Linkov <juri@jurta.org>
2320
2321 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2322 (Bug#14751)
2323
2324 * net/eww.el (browse-web): Add alias to `eww'.
2325 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2326 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2327
2328 * net/browse-url.el (browse-url-browser-function): Move `eww'
2329 closer to similar functions.
2330
2331 * startup.el (fancy-startup-screen, fancy-about-screen):
2332 Set browse-url-browser-function to eww-browse-url locally.
2333 (Bug#14751)
2334
2d6b6005
SM
23352013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * window.el (window--pixel-to-total): Remove unused `mini' var.
2338 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2339 (split-window): Remove unused `new' var.
2340 (window--display-buffer): Remove unused `frame' and `delta' vars.
2341 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2342 and display-width'.
2343
cf2b7efc
MR
23442013-12-17 Martin Rudalics <rudalics@gmx.at>
2345
2346 * dired.el (dired-mark-pop-up):
2347 * register.el (register-preview): Don't bind
2348 split-height-threshold here since it's now done in
2349 display-buffer-below-selected.
2350
ed3af8a7 23512013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2352
2353 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2354 xterm-rgb-convert-to-16bit.
2355 (rxvt-register-default-colors): Standardize with
2356 xterm-register-default-colors (Bug#14078).
2357
76da3455
DK
23582013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2359
2360 * simple.el (kill-region): Pass mark first, then point, so that
2361 kill-append works right (Bug#12819).
2362 (copy-region-as-kill, kill-ring-save): Likewise.
2363
2b84d763
LL
23642013-12-17 Leo Liu <sdl.web@gmail.com>
2365
2366 * net/rcirc.el (rcirc-add-face):
2367 * eshell/em-prompt.el (eshell-emit-prompt):
2368 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2369 (Bug#16167)
2370
e2f6a0bc
CY
23712013-12-17 Chong Yidong <cyd@gnu.org>
2372
2373 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2374 Suggested by Xue Fuqiao.
2375
35b249a6
DG
23762013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2377
2378 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2379
e9145444
SM
23802013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * net/shr.el (shr-insert-document): Remove unused var
2383 `shr-preliminary-table-render'.
2384 (shr-rescale-image): Remove unused arg `force'.
2385 (shr-put-image): Update calls accordingly.
2386 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2387
5556c0ce
DG
23882013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2389
2390 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2391 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2392 :close-all, to see which indentation method to use (Bug#16116).
2393 (smie-rules-function): Document the method :close-all.
2394
11bade0a
LMI
23952013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2396
1c4b1e61
LMI
2397 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2398
11bade0a
LMI
2399 * net/eww.el (eww-display-html): If we can't find the anchor we're
2400 looking for, then go to point-min.
2401
8fb8c4f3
PE
24022013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2403
2404 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2405 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2406 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2407 Expand dir too, in case it's relative.
2408
6c8e0ae6
JL
24092013-12-16 Juri Linkov <juri@jurta.org>
2410
2411 * desktop.el (desktop-auto-save-timeout): Change default to
2412 `auto-save-timeout'. Doc fix.
2413 (desktop-save): Skip the timestamp in desktop-saved-frameset
2414 when checking for auto-save changes.
2415 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2416 `desktop-auto-save' is called repeatedly by the idle timer.
2417 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2418 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2419 (Bug#15331)
2420
2178e858
JL
24212013-12-16 Juri Linkov <juri@jurta.org>
2422
2423 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2424 (Bug#16035)
2425 (isearch-pre-command-hook): Check `this-command' for symbolp.
2426
39cb42c6
SM
24272013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2430
5b9b750a
TZ
24312013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2432
2433 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2434 (cfengine3--current-function): Bring in the current-function
2435 functionality from `cfengine3--current-word'.
2436 (cfengine3-completion-function): Bring in the
2437 bounds-of-current-word functionality from
2438 `cfengine3--current-word'.
2439
d144ef06
MR
24402013-12-16 Martin Rudalics <rudalics@gmx.at>
2441
39cb42c6
SM
2442 * window.el (display-buffer-below-selected):
2443 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 2444
a8bbe298
LL
24452013-12-16 Leo Liu <sdl.web@gmail.com>
2446
2447 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2448 Remove NOMSG arg and all uses changed.
2449
2013a2f9
SM
24502013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2453 (cua--deactivate-rectangle): Don't deactivate the mark.
2454 (cua-set-rectangle-mark): Don't set mark-active since
2455 cua--activate-rectangle already does it for us.
2456 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2457 non-rectangular region.
2458
2459 * emulation/cua-base.el (cua-repeat-replace-region):
2460 Use with-current-buffer.
2461
2462 * net/gnutls.el: Use cl-lib.
2463 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2464
5ae811dd
TZ
24652013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2466
2467 * emacs-lisp/package.el (package-built-in-p): Support both
2468 built-in and the package.el converted package descriptions.
2469 (package-show-package-list): Allow keywords.
2470 (package-keyword-button-action): Use it instead of
2471 `finder-list-matches'.
2472 (package-menu-filter-interactive): Interactive filtering (by
2473 keyword) function.
2474 (package-menu--generate): Support keywords and change keymappings
2475 and headers when they are given.
2476 (package--has-keyword-p): Helper function.
2477 (package-menu--refresh): Use it.
2478 (package--mapc): Helper function.
2479 (package-all-keywords): Use it.
2480 (package-menu-mode-map): Set up menu items and keybindings to
2481 provide a filtering UI.
2482
31b4827e
TZ
24832013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2484
2485 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2486 the behavior when a certificate fails validation. Defaults to
2487 old behavior: never abort, just warn.
2488 (gnutls-negotiate): Use it.
2489
f93cc74f
MR
24902013-12-14 Martin Rudalics <rudalics@gmx.at>
2491
2492 * window.el (display-buffer-below-selected): Never split window
2493 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2494
f77d7d17
TW
24952013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2496
2497 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2498 (package-buffer-info): Use it (bug#15108).
aa2bddd7 2499
7514d3f8
SM
25002013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2501
aa2bddd7 2502 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 2503 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 2504
276bc333
DG
25052013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2506
2507 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2508 open-paren tokens when preceded by a open-paren, too.
2509 (ruby-smie-rules): Handle virtual indentation after open-paren
2510 tokens specially. If there is code between it and eol, return the
2511 column where is starts (Bug#16118).
2512
d43957f3
TZ
25132013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2514
a5c1ac0c 2515 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 2516 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
2517 (cfengine3--current-word): Fix parameters.
2518 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
2519 (cfengine3-completion-function, cfengine3--current-function):
2520 Use `assq' for symbols.
d43957f3
TZ
2521 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2522
06a4f110
GM
25232013-12-13 Glenn Morris <rgm@gnu.org>
2524
2525 * loadup.el (load-path): Warn if site-load or site-init changes it.
2526 No more need to reset it when bootstrapping.
2527
978a5fda
TZ
25282013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2529
2530 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2531 locations for cf-promises.
2532 (cfengine-mode-syntax-functions-regex): New caching variable.
2533 (cfengine3-fallback-syntax): Fallback syntax for cases where
2534 cf-promises doesn't run.
2535 (cfengine3--current-word): Reimplement using
2536 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
2537 (cfengine3-completion-function, cfengine3--current-function):
2538 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
2539 (cfengine3-clear-syntax-cache): New function.
2540 (cfengine3-make-syntax-cache): Simplify and create
2541 `cfengine-mode-syntax-functions-regex' on demand.
2542 (cfengine3-format-function-docstring): Don't call
2543 `cfengine3-make-syntax-cache' explicitly.
2544
71e6691e
MR
25452013-12-13 Martin Rudalics <rudalics@gmx.at>
2546
2547 Fix windmove-find-other-window broken after pixelwise resizing
2548 (Bug#16017).
2549 * windmove.el (windmove-other-window-loc): Revert change from
2550 2013-12-04.
2551 (windmove-find-other-window): Call window-in-direction.
2552 * window.el (window-in-direction): New arguments SIGN, WRAP and
2553 MINI to emulate original windmove-find-other-window behavior.
2554
84c73ba0
DG
25552013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2556
2557 * simple.el (blink-matching--overlay): New variable.
2558 (blink-matching-open): Instead of moving point, highlight the
2559 matching paren with an overlay
2560 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2561
2562 * faces.el (paren-showing-faces, show-paren-match)
2563 (show-paren-mismatch): Move from paren.el.
2564
b9e20952
LL
25652013-12-13 Leo Liu <sdl.web@gmail.com>
2566
2567 * indent.el (indent-region): Disable progress reporter in
2568 minibuffer. (Bug#16108)
2569
2570 * bindings.el (visual-order-cursor-movement): Fix version.
2571
ce030451
FEG
25722013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2573
2574 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2575 Also match after beginning of line.
2576 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 2577 files. Thanks to Russell Sim. (Bug#15378)
ce030451 2578
4a9c6865
JL
25792013-12-13 Juri Linkov <juri@jurta.org>
2580
2581 * simple.el <Keypad support>: Remove key bindings duplicated
2582 with bindings.el. (Bug#14397)
2583
2bc170c3
JL
25842013-12-13 Juri Linkov <juri@jurta.org>
2585
2586 * comint.el (comint-mode-map): Replace `delete-char' with
2587 `delete-forward-char'. (Bug#16109)
2588
bc9222c9
FEG
25892013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2590
aa2bddd7 2591 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 2592 Fix de-denters cornercase. (Bug#15731)
bc9222c9 2593
cb3a1380
SM
25942013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2597 (advice--make): Pay attention to `depth'.
2598 (advice--make-1): Don't autoload commands eagerly.
2599 * emacs-lisp/elp.el (elp-instrument-function):
2600 * emacs-lisp/trace.el (trace-function-internal):
2601 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2602
2603 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2604
01633a17
EZ
26052013-12-12 Eli Zaretskii <eliz@gnu.org>
2606
2607 * term/w32-win.el (w32-handle-dropped-file):
2608 * startup.el (normal-top-level):
2609 * net/browse-url.el (browse-url-file-url):
2610 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2611 decode file names using 'utf-8' rather than
2612 file-name-coding-system.
2613
09faee72
FEG
26142013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2615
2616 * progmodes/python.el (python-indent-context)
2617 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 2618 behavior for comment blocks. (Bug#15916)
09faee72 2619
f4f84024 26202013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 2621
cb3a1380
SM
2622 * progmodes/python.el (python-indent-calculate-indentation):
2623 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
2624 operators when they are just string constituents. (Bug#15812)
2625
d5ccb7be
JL
26262013-12-12 Juri Linkov <juri@jurta.org>
2627
2628 * uniquify.el (uniquify-buffer-name-style): Change default to
2629 `post-forward-angle-brackets'.
2630
2631 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2632 `uniquify'. Change default to `post-forward-angle-brackets'.
2633
7b3f5679
GM
26342013-12-11 Glenn Morris <rgm@gnu.org>
2635
2636 * emacs-lisp/package.el (finder-list-matches):
2637 Autoload rather than falsely declaring.
2638
f4fe8fdd
TZ
26392013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2640
2641 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2642 (eww-mode-map): Use them.
2643
3c29190f
MR
26442013-12-11 Martin Rudalics <rudalics@gmx.at>
2645
2646 * window.el (display-buffer-in-side-window): Fix doc-string
2647 (Bug#16115).
2648
0cd616a2
JB
26492013-12-11 Juanma Barranquero <lekktu@gmail.com>
2650
2651 * vc/vc-git.el: Silence byte-compiler warnings.
2652 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2653 (log-edit-set-header): Declare.
2654
3ef8e0d1
EZ
26552013-12-11 Eli Zaretskii <eliz@gnu.org>
2656
2657 * Makefile.in (custom-deps, finder-data): Run output file names
2658 through unmsys--file-name. (Bug#16099)
2659
afdadaf7
SM
26602013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2661
7ae3ae39 2662 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 2663 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 2664
5b4f37ab
SM
2665 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2666 instead of deleting the selection "by hand" (bug#16098).
2667 Rely on insert-for-yank to yank rectangles.
2668 (cua-highlight-region-shift-only): Mark obsolete.
2669 (cua-mode): Don't enable/disable transient-mark-mode,
2670 shift-select-mode (cua-mode works both with and without them), and
2671 pc-selection-mode (obsolete).
2672 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2673 (cua--deactivate-rectangle): Deactivate it.
2674
4b72c12b
SM
2675 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2676 (delete-selection-helper): Make sure yank starts at the top of the
2677 deleted region.
2678 (minibuffer-keyboard-quit): Use region-active-p.
2679
e82af72d
SM
2680 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2681
afdadaf7
SM
2682 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2683 to `delete' (bug#16109).
2684
ed4bc201
RS
26852013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2686
2687 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2688 info manual and show keybindings and set `:group' keyword.
2689
bb8097b9
JL
26902013-12-11 Juri Linkov <juri@jurta.org>
2691
2692 * delsel.el (delete-active-region): Let-bind `this-command'
2693 to prevent `kill-region' from changing its original value.
2694 (delete-selection-helper): Handle `overwrite-mode' for the type
2695 `kill' exactly the same way as for the type `t'.
2696 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2697 Support more commands. (Bug#13312)
2698
c1916ff5
JL
26992013-12-11 Juri Linkov <juri@jurta.org>
2700
2701 * bindings.el: Map kp keys to non-kp keys systematically
2702 with basic modifiers control, meta and shift. (Bug#14397)
2703
7514d3f8 27042013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
2705
2706 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2707 "Close browser" menu items. Fix wrong function of "List
2708 bookmarks".
2709
4cc51eaf
JL
27102013-12-11 Juri Linkov <juri@jurta.org>
2711
2712 * misearch.el (multi-isearch-buffers): Set the value of
2713 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2714 arg of isearch-forward to t.
2715 (multi-isearch-buffers-regexp): Set the value of
2716 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2717 arg of isearch-forward-regexp to t.
2718 (multi-isearch-files): Set the value of
2719 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2720 arg of isearch-forward to t.
2721 (multi-isearch-files-regexp): Set the value of
c295fc18 2722 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
2723 arg of isearch-forward-regexp to t. (Bug#16035)
2724
2725 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2726 arg of isearch-forward to t.
2727 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2728 arg of isearch-forward-regexp to t.
2729 (dired-isearch-filter-filenames): Remove unnecessary check for
2730 `dired-isearch-filenames'.
2731
2732 * comint.el (comint-history-isearch-backward):
2733 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2734 (comint-history-isearch-backward-regexp):
2735 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2736
ceac12b7
EZ
27372013-12-10 Eli Zaretskii <eliz@gnu.org>
2738
2739 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2740 unmsys--file-name. (Bug#16099)
2741
5a565782
TZ
27422013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2743
cb3a1380
SM
2744 * emacs-lisp/package.el (package-keyword-button-action):
2745 Remove finder.el require dependency.
5a565782 2746
a81fc7ba
TZ
27472013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2748
2749 * emacs-lisp/package.el: Require finder.el.
2750 (describe-package-1): Add keyword buttons.
2751 (package-make-button): New convenience function.
2752 (package-keyword-button-action): Keyword button action using
e0eb0550 2753 `finder-list-matches'.
a81fc7ba 2754
6aaca951
EZ
27552013-12-09 Eli Zaretskii <eliz@gnu.org>
2756
2757 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2758 last commit.
2759
a1099a91
MA
27602013-12-09 Michael Albinus <michael.albinus@gmx.de>
2761
2762 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2763 symlinked files.
2764
8212d9c0
DG
27652013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2766
2767 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2768 after the end of a percent literal.
2769
8f48d131
CD
27702013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2771
cb3a1380
SM
2772 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2773 Handle caret-delimited strings (Bug#16079).
8f48d131 2774
ff8c9764
DG
27752013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2776
cb3a1380
SM
2777 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2778 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
2779 `ruby-parse-partial' (Bug#16078).
2780
d64643b4
LL
27812013-12-09 Leo Liu <sdl.web@gmail.com>
2782
2783 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2784
47e59c66
DG
27852013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2786
2787 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2788 (js-switch-indent-offset): New option.
2789 (js--proper-indentation): Use it. And handle the case when
2790 "default" is actually a key in an object literal.
2791 (js--same-line): New function.
2792 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
2793 (js--indent-in-array-comp, js--array-comp-indentation):
2794 New functions.
47e59c66
DG
2795 (js--proper-indentation): Use them, to handle array comprehension
2796 continuations.
2797
974ebc9c
LL
27982013-12-08 Leo Liu <sdl.web@gmail.com>
2799
2800 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2801 (flymake-make-overlay): Remove arg MOUSE-FACE.
2802 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2803
27262e39
SM
28042013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2805
2806 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2807 New function.
2808 (redisplay-highlight-region-function): Use it.
2809
2810 * emulation/cua-base.el (cua--explicit-region-start)
2811 (cua--last-region-shifted): Remove.
2812 (cua--deactivate): Use deactivate-mark.
2813 (cua--pre-command-handler-1): Don't handle shift-selection.
2814 (cua--post-command-handler-1): Don't change transient-mark-mode.
2815 (cua--select-keymaps): Use region-active-p rather than
2816 cua--explicit-region-start or cua--last-region-shifted.
2817 (cua-mode): Enable shift-select-mode.
2818
6407822c
LL
28192013-12-08 Leo Liu <sdl.web@gmail.com>
2820
27262e39
SM
2821 * progmodes/flymake.el (flymake-popup-current-error-menu):
2822 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
2823 (flymake-posn-at-point-as-event, flymake-popup-menu)
2824 (flymake-make-emacs-menu): Remove. (Bug#16077)
2825
00a2b823
SM
28262013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2827
02033d49
SM
2828 * rect.el (rectangle-mark-mode): Activate mark even if
2829 transient-mark-mode is off (bug#16066).
2830 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2831 is > mark and at bolp.
2832
6f8dfccf
SM
2833 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2834 (region-extract-function): Use it.
2835 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2836 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2837 Delete functions.
2838 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2839 kill-ring-save, kill-region, delete-char, delete-forward-char.
2840 Ignore self-insert-iso.
2841
2842 * emulation/cua-gmrk.el (cua--init-global-mark):
2843 Ignore `self-insert-iso'.
2844
2845 * emulation/cua-base.el (cua--prefix-copy-handler)
2846 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2847 checking cua--rectangle.
2848 (cua-delete-region): Use region-extract-function.
2849 (cua-replace-region): Delete function.
2850 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2851 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2852 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2853 (cua--init-keymaps): Don't remap delete-selection commands.
2854 (cua-mode): Use delete-selection-mode instead of rolling our own
2855 (bug#16085).
2856
2857 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2858 Obey region-extract-function.
2859
00a2b823
SM
2860 Make registers and delete-selection-mode work on rectangles.
2861 * register.el (describe-register-1): Don't modify the register's value.
2862 (copy-to-register): Obey region-extract-function.
2863 * delsel.el (delete-active-region): Obey region-extract-function.
2864
a92fa5f1
LL
28652013-12-08 Leo Liu <sdl.web@gmail.com>
2866
2867 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2868 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2869 (flymake-compilation-prevents-syntax-check)
2870 (flymake-start-syntax-check-on-newline)
2871 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2872 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2873 (flymake-xml-program, flymake-master-file-dirs)
2874 (flymake-master-file-count-limit)
2875 (flymake-allowed-file-name-masks): Relocate.
2876 (flymake-makehash, flymake-float-time)
2877 (flymake-replace-regexp-in-string, flymake-split-string)
2878 (flymake-get-temp-dir): Remove.
2879 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2880 (flymake-current-row, flymake-selected-frame)
2881 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2882 related functions. (Bug#16077)
2883
73c8ceea
BB
28842013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2885
2886 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2887
faec28d9
TH
28882013-12-07 Tassilo Horn <tsdh@gnu.org>
2889
2890 * help-fns.el (describe-function-1): Use new advice-* functions
2891 rather than old ad-* functions. Fix function type description and
2892 source links for advised functions and subrs.
2893
e330b646
LMI
28942013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2895
00a2b823 2896 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 2897
4803595d
MA
28982013-12-06 Michael Albinus <michael.albinus@gmx.de>
2899
2900 * progmodes/compile.el (compilation-start):
2901 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2902
2903 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2904 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2905
fa834a93
DG
29062013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2907
00a2b823
SM
2908 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2909 Touch up the last change.
fa834a93 2910
b2856a6f
LL
29112013-12-06 Leo Liu <sdl.web@gmail.com>
2912
2913 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2914 (inferior-octave-startup): Always use "octave> " for prompt.
2915 (octave-goto-function-definition)
2916 (octave-sync-function-file-names)
2917 (octave-find-definition-default-filename): Remove redundant backquotes.
2918
af67e79a
DG
29192013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2920
2921 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2922 syntax for `?'.
2923 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2924 where appropriate already.
2925 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2926 end of method names (Bug#15874).
2927
bf093209
JL
29282013-12-06 Juri Linkov <juri@jurta.org>
2929
2930 * isearch.el (isearch--saved-overriding-local-map):
2931 New internal variable.
2932 (isearch-mode): Set it to the initial value of
2933 `overriding-terminal-local-map'.
2934 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2935 with `isearch--saved-overriding-local-map'. (Bug#16035)
2936
16588fad
DG
29372013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2938
00a2b823
SM
2939 * progmodes/octave.el (inferior-octave-completion-table):
2940 Turn back into function, use `completion-table-with-cache'
16588fad
DG
2941 (Bug#11906). Update all references.
2942
2943 * minibuffer.el (completion-table-with-cache): New function.
2944
bf4906d7
CD
29452013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2946
2947 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2948
ff69c18f
TZ
29492013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2950
2951 * net/eww.el (eww-current-source): New variable to store page
2952 source.
2953 (eww-display-html, eww-mode, eww-save-history)
2954 (eww-restore-history): Use it.
2955 (eww-view-source): New command to view page source.
2956 Opportunistically uses `html-mode' to highlight the buffer.
2957 (eww-mode-map): Install it.
2958
b85eff45
MA
29592013-12-05 Michael Albinus <michael.albinus@gmx.de>
2960
2961 * net/dbus.el (dbus-unregister-service)
2962 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2963 Fix docstring.
2964 (dbus-unregister-service): Skip :serial entries in
2965 `dbus-registered-objects-table'.
2966 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2967
39eb0899
TZ
29682013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2969
2970 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2971 around keywords with extra `split-string' argument.
2972
456760a5
MR
29732013-12-04 Martin Rudalics <rudalics@gmx.at>
2974
2975 * windmove.el (windmove-other-window-loc): Handle navigation
2976 between windows (excluding the minibuffer window - Bug#16017).
2977
81961e4c
MA
29782013-12-04 Michael Albinus <michael.albinus@gmx.de>
2979
2980 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2981 in D-Bus type syntax.
2982 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2983 preserve unibyte strings. (Bug#16048)
2984
8497f938
SM
29852013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2988 Call force-mode-line-update is the proper buffer (bug#16042).
2989
dda61916
DG
29902013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2991
2992 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2993 `log-edit-remember-comment', make argument optional. Adjust all
2994 callers.
2995 (log-edit-mode): Add `log-edit-remember-comment' to
2996 `kill-buffer-hook' locally.
2997 (log-edit-kill-buffer): Don't remember comment explicitly since
2998 the buffer is killed anyway.
2999
c085e5b9
JL
30002013-12-04 Juri Linkov <juri@jurta.org>
3001
3002 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3003 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3004
e0eb0550 30052013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
3006
3007 * notifications.el (notifications-close-notification): Call the
81961e4c 3008 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 3009
39fa32d6
KY
30102013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3011
3012 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3013
9139632a
JL
30142013-12-03 Juri Linkov <juri@jurta.org>
3015
3016 * progmodes/compile.el (compilation-start): Rename window alist
3017 entry `no-display-ok' to `allow-no-window'.
3018
3019 * simple.el (shell-command): Add window alist entry
3020 `allow-no-window' to `display-buffer'.
3021 (async-shell-command): Doc fix.
3022
3023 * window.el (display-buffer-no-window): New action function.
3024 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3025
0f457a37
DG
30262013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3027
3028 * vc/log-edit.el (log-edit-set-header): Extract from
3029 `log-edit-toggle-header'.
3030 (log-edit-extract-headers): Separate the summary, when extracted
3031 from header, from the rest of the message with an empty line.
3032
3033 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3034 line, if present, to the Summary header.
3035
0962f376
SM
30362013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3037
3038 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3039 in current-buffer (bug#16029).
3040
f345395c
HE
30412013-12-02 Helmut Eller <eller.helmut@gmail.com>
3042
3043 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3044 (debugger-mode-map): Bind it.
3045 (debugger--backtrace-base): New function.
3046 (debugger-eval-expression): Use it.
3047 (debugger-frame-number): Skip local vars when present.
3048 (debugger--locals-visible-p, debugger--insert-locals)
3049 (debugger--show-locals, debugger--hide-locals): New functions.
3050
a8a15d9d
MA
30512013-12-02 Michael Albinus <michael.albinus@gmx.de>
3052
3053 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3054 "LC_ALL".
3055 (tramp-get-remote-locale): New defun.
3056 (tramp-open-connection-setup-interactive-shell): Use it.
3057
0518b057
LL
30582013-12-02 Leo Liu <sdl.web@gmail.com>
3059
3060 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3061
3062 * progmodes/sh-script.el (sh-shell-process):
3063 * progmodes/octave.el (inferior-octave-process-live-p):
3064 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3065 (gdb-inferior-io-sentinel):
3066 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3067
3adc9c6d
DG
30682013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3069
3070 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3071 `save-selected-window' to `log-edit-hide-buf'. This makes
3072 `log-edit-show-files' idempotent.
3073 (log-edit-show-files): Mark the new window as dedicated.
3074
47e8b74e
DG
30752013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3076
3077 * vc/log-edit.el (log-edit-mode-map): Add binding for
3078 `log-edit-kill-biffer'.
3079 (log-edit-hide-buf): Add a FIXME comment.
3080 (log-edit-add-new-comment): New function, extracted from
3081 `log-edit-done'.
3082 (log-edit-done, log-edit-add-to-changelog): Use it.
3083 (log-edit-kill-buffer): New command.
3084
1f6e1bb0
LMI
30852013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3086
3087 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3088 instead of killing the buffer.
3089
fb651d15
SM
30902013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3093
8feacce0
RS
30942013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3095
fb651d15 3096 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 3097 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
3098 (eww-form-checkbox, eww-toggle-checkbox):
3099 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3100
e0eb0550 3101 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 3102 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 3103 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
3104 no :src tag was specified.
3105
fb651d15 3106 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
3107 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3108 Use \\` to match beginning of string instead of ^.
3109 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 3110 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 3111
177948a5
RS
3112 * net/shr.el (shr-tag-video): Display content for video if no
3113 poster is available.
eb2dd24d 3114 (shr-tag-audio): Add support for <audio> tag.
177948a5 3115
e0eb0550 3116 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
3117 (eww-process-text-input): Treat input types in
3118 `eww-text-input-types' as text.
3119
8feacce0
RS
3120 * net/shr.el (shr-tag-table): Fix comment typo.
3121
513562a1
LMI
31222013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3123
3124 * net/eww.el (eww-follow-link): New command to avoid reloading
3125 pages when we follow #target links (bug#15243).
de8a5633 3126 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 3127
9dd99753
KN
31282013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3129
3130 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3131 forms.
3132
3e9876de
LMI
31332013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3134
3135 * net/eww.el (eww-restore-history): Update the window title after
3136 moving in the history.
ab6dea82 3137 (eww-current-dom): New variable used to save the current DOM.
3e9876de 3138
52789f7f
DG
31392013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3140
3141 * vc/log-edit.el (log-edit-mode-map): Add binding for
3142 `log-edit-beginning-of-line'.
3143 (log-edit-setup-add-author): New user option.
3144 (log-edit-beginning-of-line): New command.
3145 (log-edit): Move major mode call above the contents setup so that
3146 the local variable values are already applied.
3147 (log-edit): Only insert "Author: " when
3148 `log-edit-setup-add-author' is non-nil.
3149 (log-edit): When SETUP is non-nil, position point after ": "
3150 instead of point-min.
3151
2e6710c3
GM
31522013-12-01 Glenn Morris <rgm@gnu.org>
3153
3154 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3155
fadec31f
EZ
31562013-11-30 Eli Zaretskii <eliz@gnu.org>
3157
3158 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 3159 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
3160 visible. (Bug#16014)
3161
10634b40 31622013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
3163
3164 Support resizing frames and windows pixelwise.
3165 * cus-start.el (frame-resize-pixelwise)
3166 (window-resize-pixelwise): New entries.
3167 * emacs-lisp/debug.el (debug): Use window-total-height instead
3168 of window-total-size.
3169 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3170 * help.el (describe-bindings-internal): Call help-buffer
3171 (temp-buffer-max-width): New option.
3172 (resize-temp-buffer-window, help-window-setup)
3173 (with-help-window): Rewrite.
3174 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3175 dragging dividers.
3176 * window.el (frame-char-size, window-min-pixel-height)
3177 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3178 (window-min-pixel-width, window-safe-min-pixel-size)
3179 (window-combination-p, window-safe-min-size)
3180 (window-resizable-p, window--size-to-pixel)
3181 (window--pixel-to-size, window--resize-apply-p): New functions.
3182 (window-safe-min-height): Fix doc-string.
3183 (window-size, window-min-size, window--min-size-1)
3184 (window-sizable, window-sizable-p, window--min-delta-1)
3185 (window-min-delta, window--max-delta-1, window-max-delta)
3186 (window--resizable, window--resizable-p, window-resizable)
3187 (window-full-height-p, window-full-width-p, window-at-side-p)
3188 (window--in-direction-2, window-in-direction)
3189 (window--resize-reset-1, window--resize-mini-window)
3190 (window-resize, window-resize-no-error)
3191 (window--resize-child-windows-normal)
3192 (window--resize-child-windows, window--resize-siblings)
3193 (window--resize-this-window, window--resize-root-window)
3194 (window--resize-root-window-vertically)
3195 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3196 (maximize-window, minimize-window, delete-window)
3197 (quit-restore-window, window-split-min-size, split-window)
3198 (balance-windows-2, balance-windows)
3199 (balance-windows-area-adjust, balance-windows-area)
3200 (window--state-get-1, window-state-get, window--state-put-1)
3201 (window--state-put-2, window-state-put)
fb651d15
SM
3202 (display-buffer-record-window, window--display-buffer):
3203 Make functions handle pixelwise sizing of windows.
880e6158 3204 (display-buffer--action-function-custom-type)
fb651d15
SM
3205 (display-buffer-fallback-action):
3206 Add display-buffer-in-previous-window.
880e6158
MR
3207 (display-buffer-use-some-window): Resize window to height it had
3208 before.
3209 (fit-window-to-buffer-horizontally): New option.
3210 (fit-frame-to-buffer): Describe new values.
3211 (fit-frame-to-buffer-bottom-margin): Replace with
3212 fit-frame-to-buffer-margins.
3213 (window--sanitize-margin): New function.
3214 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3215 using window-text-pixel-size.
3216
f9b697dd
GM
32172013-11-30 Glenn Morris <rgm@gnu.org>
3218
3e2fb4db
GM
3219 * emacs-lisp/bytecomp.el (byte-compile-form):
3220 Make the `interactive-only' warning like the `obsolete' one.
3221 * comint.el (comint-run):
3222 * files.el (insert-file-literally, insert-file):
3223 * replace.el (replace-string, replace-regexp):
3224 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3225 (goto-line, insert-buffer, next-line, previous-line):
3226 Tweak `interactive-only' spec.
3227
f9b697dd
GM
3228 Stop keeping (most) generated cedet grammar files in the repository.
3229 * Makefile.in (semantic): New.
3230 (compile-main): Depend on semantic.
3231
da048127
SM
32322013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3233
7784b779
SM
3234 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3235 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3236
4e36a6a6
SM
3237 * uniquify.el (uniquify-buffer-name-style): Change default.
3238
3239 * loadup.el: Preload "uniquify".
3240
e0ba1308
SM
3241 * time.el (display-time-update): Update all mode lines (bug#15999).
3242
da048127
SM
3243 * electric.el (electric-indent-mode): Enable by default.
3244 * loadup.el: Preload "electric".
3245
015b3b3e
BB
32462013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3247
3248 * emacs-lisp/helpers.el (string-empty-p): New function.
3249 (string-blank-p): New function.
3250
7efb806d
AP
32512013-11-29 Andreas Politz <politza@hochschule-trier.de>
3252
3253 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3254 (Bug#14029).
3255
c8f0efc2
AP
32562013-11-29 Andreas Politz <politza@fh-trier.de>
3257 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3258 allow non-lambda lists as functions.
3259 (imenu--in-alist): Don't recurse into non-subalists.
3260 (imenu): Don't pass function itself as an argument (Bug#14029).
3261
bd15d9d1
SM
32622013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * progmodes/python.el (python-mode-map): Remove binding for ":".
3265 (python-indent-electric-colon): Remove command.
3266 (python-indent-post-self-insert-function): Integrate the previous code
3267 of python-indent-electric-colon. Make it conditional on
3268 electric-indent-mode.
3269 (python-mode): Add ?: to electric-indent-chars.
3270 Move python-indent-post-self-insert-function to the end of
3271 post-self-insert-hook.
3272
1b10adb6
SM
32732013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3274
655ab9a3
SM
3275 * doc-view.el (doc-view-goto-page): Update mode-line.
3276
1b10adb6
SM
3277 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3278
7e3bf78c
GM
32792013-11-27 Glenn Morris <rgm@gnu.org>
3280
3281 * international/charprop.el, international/uni-bidi.el:
3282 * international/uni-category.el, international/uni-combining.el:
3283 * international/uni-comment.el, international/uni-decimal.el:
3284 * international/uni-decomposition.el, international/uni-digit.el:
3285 * international/uni-lowercase.el, international/uni-mirrored.el:
3286 * international/uni-name.el, international/uni-numeric.el:
3287 * international/uni-old-name.el, international/uni-titlecase.el:
3288 * international/uni-uppercase.el:
3289 Remove generated files from VCS repository.
3290
fb6a5d68
EZ
32912013-11-27 Eli Zaretskii <eliz@gnu.org>
3292
3293 * filenotify.el (file-notify-add-watch): Don't special-case
3294 w32notify when computing the directory to watch.
3295
cb6c95a3
GM
32962013-11-27 Glenn Morris <rgm@gnu.org>
3297
20372d0c
GM
3298 Make bootstrap without generated uni-*.el files possible again.
3299 * loadup.el: Update command-line-args checking for unidata-gen.
3300 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3301 * composite.el, international/characters.el:
3302 Handle unicode tables being undefined.
3303
52d6635f 3304 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
3305 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3306 (compile-main): Depend on leim rule.
3307 (leim): New rule.
3308 * loadup.el: Move leim-list.el to leim/ subdirectory.
3309 * startup.el (normal-top-level): No more leim directory.
3310 * international/ja-dic-cnv.el (skkdic-convert):
3311 Disable version-control and autoloads in output files.
3312 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3313 Disable version-control and autoloads in output files.
3314 * leim/quail: Move here from ../leim.
3315 * leim/quail/hangul.el (hangul-input-method-activate):
3316 Add autoload cookie.
3317 (generated-autoload-load-name): Set file-local value.
3318 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3319 (generated-autoload-load-name): Set file-local value.
3320
7514d3f8 33212013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 3322
e0eb0550 3323 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 3324 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 3325 (eww-quit): Ask confirmation before quitting eww.
e47112ee 3326
0e2c793f
EZ
33272013-11-26 Eli Zaretskii <eliz@gnu.org>
3328
3329 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3330 reading output from Diff on MS-Windows and MS-DOS.
3331
447bdcb8
BB
33322013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3333
3334 * emacs-lisp/helpers.el (string-reverse): New function.
3335
5fbf6856
MA
33362013-11-26 Michael Albinus <michael.albinus@gmx.de>
3337
3338 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3339 names on MS Windows, like "/[::1]:".
3340
3341 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3342 SWITCHES.
3343
624780f0
GM
33442013-11-26 Glenn Morris <rgm@gnu.org>
3345
0bf3f0fa
GM
3346 * progmodes/python.el (python-indent-guess-indent-offset):
3347 Avoid corner-case error. (Bug#15975)
3348
624780f0
GM
3349 Preload leim-list.el. (Bug#4789)
3350 * loadup.el: Load leim-list.el when found.
3351 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3352
4301875e 33532013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
3354
3355 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3356
4301875e
BB
3357 * emacs-lisp/helpers.el (string-join): New function.
3358
1633a815 33592013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
3360
3361 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3362 Mark as obsolete and replace it with a symbol property.
3363 (byte-compile-form): Use new 'interactive-only property.
3364 * comint.el, files.el, replace.el, simple.el:
3365 Apply new 'interactive-only properly.
3366
00139435
MR
33672013-11-25 Martin Rudalics <rudalics@gmx.at>
3368
3369 * window.el (display-buffer-at-bottom): Make sure that
3370 split-window-sensibly creates the new window on bottom
3371 (Bug#15961).
3372
5f5b128d
DK
33732013-11-23 David Kastrup <dak@gnu.org>
3374
3375 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3376 on the conflict markers when available.
3377 (smerge--get-marker): New function.
3378 (smerge-end-re, smerge-base-re): Add subgroup.
3379
623891e5
SM
33802013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3382 * frame.el (handle-focus-in, handle-focus-out): Add missing
3383 interactive spec.
3384
05ca27d8
MA
33852013-11-25 Michael Albinus <michael.albinus@gmx.de>
3386
3387 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3388 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3389
511fa0d3
SM
33902013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3391
e82ad66c
SM
3392 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3393 (gomoku--last-pos): New var.
3394 (gomoku--intangible-chars): New const.
3395 (gomoku--intangible): New function.
3396 (gomoku-mode): Use it. Derive from special-mode.
3397 (gomoku-move-up): Adjust line count.
3398 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3399 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3400 Simplify accordingly.
3401
511fa0d3
SM
3402 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3403 Remove blink-cursor code.
3404 (blink-cursor-timer-function, blink-cursor-suspend):
3405 Don't special-case GUIs.
3406 (blink-cursor-mode): Use focus-in/out-hook.
3407
6f20dd03
DG
34082013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3409
3410 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3411 work when annotation is invisible (Bug#13886).
3412
431dec31 34132013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
3414
3415 * json.el (json-alist-p): Only return non-nil if the alist has
3416 simple keys (Bug#13518).
3417
431dec31 34182013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
3419
3420 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3421 when control-statement is the first statement in a buffer (Bug#15956).
3422
ee4f0261
DG
34232013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3424
3425 * imenu.el (imenu-generic-skip-comments-and-strings):
3426 New option (Bug#15560).
3427 (imenu--generic-function): Use it.
3428
c484f866
JS
34292013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3430
e9dc713d
JB
3431 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3432 (Bug#13898)
c484f866 3433
41ce6f70
BB
34342013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3435
b55aea38
BB
3436 * emacs-lisp/helpers.el: Add some string helpers.
3437 (string-trim-left): Removes leading whitespace.
3438 (string-trim-right): Removes trailing whitespace.
3439 (string-trim): Removes leading and trailing whitespace.
3440
41ce6f70
BB
3441 * subr.el (string-suffix-p): New function.
3442
3cfb6af3
GM
34432013-11-23 Glenn Morris <rgm@gnu.org>
3444
3445 * progmodes/python.el (python-shell-send-file):
3446 Add option to delete file when done. (Bug#15647)
3447 (python-shell-send-string, python-shell-send-region): Use it.
3448
c27924b7
IS
34492013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3450
e1b01c7f
IS
3451 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3452 to set buffer-read-only to t, never to nil. (Bug#15938)
3453
c27924b7
IS
3454 * textmodes/tex-mode.el (latex-noindent-environments):
3455 Add safe-local-variable property. (Bug#15936)
3456
17e0445b
GM
34572013-11-23 Glenn Morris <rgm@gnu.org>
3458
92f78ea3
GM
3459 * textmodes/enriched.el (enriched-mode): Doc fix.
3460 * emacs-lisp/authors.el (authors-renamed-files-alist):
3461 Add enriched.doc -> enriched.txt.
3462
17e0445b
GM
3463 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3464
965bb23a
LL
34652013-11-22 Leo Liu <sdl.web@gmail.com>
3466
3467 * progmodes/octave.el (inferior-octave-startup): Spit out error
3468 message.
3469
d19ffd64
BB
34702013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3471
3472 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3473 Improve docstring.
15ba2182
BB
3474 Add :version.
3475 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 3476
7a7567d2
LL
34772013-11-22 Leo Liu <sdl.web@gmail.com>
3478
3479 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3480 (Bug#15076)
8c09f64b
LL
3481 (octave-help-mode): Adapt to change to help-mode-finish to use
3482 derived-mode-p on 2013-09-17.
3483 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 3484 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 3485
724bc265
LL
34862013-11-22 Leo Liu <sdl.web@gmail.com>
3487
3488 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3489 (inferior-octave-startup, inferior-octave-check-process)
3490 (inferior-octave-track-window-width-change)
3491 (octave-completion-at-point, octave-eldoc-function): Use it.
3492 (octave-kill-process): Provide confirmation. (Bug#10564)
3493
38637cca
LL
34942013-11-21 Leo Liu <sdl.web@gmail.com>
3495
511fa0d3
SM
3496 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3497 Fix obsolete variable comment-use-global-state.
38637cca 3498
06e752b4
RS
34992013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3500
511fa0d3
SM
3501 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3502 Add `octave-source-file'.
06e752b4
RS
3503 (octave-source-file): New function. (Bug#15935)
3504
7514d3f8 35052013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
3506
3507 * net/eww.el (eww-local-regex): New variable.
3508 (eww): Use it to detect localhost and similar.
3509
b6ffa04a
LL
35102013-11-21 Leo Liu <sdl.web@gmail.com>
3511
3512 Add completion for command `ag'.
2021a200
LL
3513 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3514 (pcomplete/ag): New function.
e9dc713d 3515 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 3516
d1a6bccc
SM
35172013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3520 (bug#14646).
3521 (make-obsolete): Remove interactive spec.
3522
2df10228
GM
35232013-11-21 Glenn Morris <rgm@gnu.org>
3524
3525 * startup.el (command-line-1): Use path-separator with -L.
3526
86fd16b6
TZ
35272013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3528
3529 * emacs-lisp/package.el (describe-package-1): Add package archive
3530 to shown fields.
3531
0449d6cd 35322013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
3533
3534 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3535 Change default to "# encoding: %s" to differentiate it from the
3536 default Ruby encoding comment template.
3537
dc7e8c17 35382013-11-20 era eriksson <era+emacsbugs@iki.fi>
3539
3540 * ses.el (ses-mode): Doc fix. (Bug#14748)
3541
f0cfa5fe
LL
35422013-11-20 Leo Liu <sdl.web@gmail.com>
3543
3544 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3545
826dc7b6
DN
35462013-11-19 Dan Nicolaescu <dann@gnu.org>
3547
3548 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3549 when rebase or bisect are in progress.
3550
a6e3a5d5
XF
35512013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3552
3553 * filenotify.el (file-notify-add-watch): Doc fix.
3554
f130cb76
LL
35552013-11-19 Leo Liu <sdl.web@gmail.com>
3556
e0855d7d
LL
3557 * obsolete/rcompile.el: Mark obsolete.
3558
f130cb76 3559 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
3560 (compilation-goto-locus, compilation-find-file):
3561 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
3562 (Bug#13594)
3563
3564 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
3565 new parameter no-display-ok. Return either a window or nil
3566 but never a non-window value.
f130cb76 3567
1f35d401
SM
35682013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3569
25158c76
SM
3570 * electric.el (electric-indent-mode-map): Remove.
3571 (electric-indent-mode): Change the global-map instead (bug#15915).
3572
3573 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3574 Use add-function.
1f35d401 3575
9bc67baa
SM
35762013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3577
986545b5
SM
3578 * emacs-lisp/nadvice.el (remove-function): Align with
3579 add-function's behavior.
3580
9bc67baa
SM
3581 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3582 (gdb--string-regexp): New constant.
3583 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3584 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3585 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3586 submatch 1.
3587 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3588 Adjust use accordingly.
3589 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3590
56cd894e
AS
35912013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3592
3593 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3594 interpolation curlies (Bug#15914).
3595
014690de
JB
35962013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3597
3598 * calc/calc.el (calc-context-sensitive-enter): New variable.
3599 (calc-enter): Use `calc-context-sensitive-enter'.
3600
7e26a6c3
TZ
36012013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3602
3603 * progmodes/cfengine.el: Version bump.
3604 (cfengine-cf-promises): New defcustom to locate cf-promises.
3605 (cfengine3-vartypes): Add new "data" type.
3606 (cfengine3--current-word): New function to get current name-like
3607 word or its bounds.
3608 (cfengine3--current-function): New function to look up a CFEngine
3609 function's definition.
3610 (cfengine3-format-function-docstring): New function.
3611 (cfengine3-make-syntax-cache): New function.
3612 (cfengine3-documentation-function): New function: ElDoc glue.
3613 (cfengine3-completion-function): New function: completion glue.
3614 (cfengine3-mode): Set `compile-command',
3615 `eldoc-documentation-function', and add to
3616 `completion-at-point-functions'.
3617
355204dd
MA
36182013-11-16 Michael Albinus <michael.albinus@gmx.de>
3619
3620 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3621 `tramp-current-connection'.
3622
43cebc23
DG
36232013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3624
3625 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3626 nil/self/true/false with "end of symbol".
3627
a3fed6ff
BB
36282013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3629
3630 * subr.el (version-regexp-alist): Fix a typo.
3631
e675b3e4
MA
36322013-11-15 Michael Albinus <michael.albinus@gmx.de>
3633
3634 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3635 "en_US.utf8" and "LC_CTYPE" to "".
3636 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3637 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3638
a1f03e89
LL
36392013-11-15 Leo Liu <sdl.web@gmail.com>
3640
3641 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3642
5d9d9451
SM
36432013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3644
58362662
CS
3645 * progmodes/gud.el (ctl-x-map):
3646 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
3647 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3648
6c1bf086
BB
36492013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3650
0d5363c4
BB
3651 * subr.el (version-regexp-alist):
3652 Recognize hg, svn and darcs versions as snapshot versions.
3653
4e9fc48c
BB
3654 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3655 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3656 (ruby--encoding-comment-required-p): Extract from
3657 `ruby-mode-set-encoding'.
3658 (ruby-mode-set-encoding): Add the ability to always insert an
3659 utf-8 encoding comment. Fix and simplify coding comment update
3660 logic.
6c1bf086 3661
2f7e72f8
MA
36622013-11-14 Michael Albinus <michael.albinus@gmx.de>
3663
3664 * net/tramp-gvfs.el (top): Run init code only when
3665 `tramp-gvfs-enabled' is not nil.
3666 (tramp-gvfs-enabled): Check also :system bus.
3667
0f137a73
SM
36682013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3669
3670 Sync with upstream verilog-mode revision 78e66ba.
3671 * progmodes/verilog-mode.el (verilog-end-of-defun)
3672 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3673 (verilog-get-end-of-defun): Remove unused argument.
3674 (verilog-comment-depth): Remove unused local `e'.
3675 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3676 Don't pass arg to verilog-get-end-of-defun.
3677
1c276bdd
GM
36782013-11-14 Glenn Morris <rgm@gnu.org>
3679
3680 * obsolete/assoc.el (aget): Prefix dynamic variable.
3681
3682 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3683
ff6ec81d
SM
36842013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * widget.el, hfy-cmap.el: Remove bogus package version number.
3687
75f777b6
GM
36882013-11-13 Glenn Morris <rgm@gnu.org>
3689
1d43dba1
GM
3690 * replace.el (replace-eval-replacement):
3691 Try to give more helpful error message. (Bug#15836)
3692
ff4b7bd5
GM
3693 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3694 (archive-7z-update): Avoid custom type mismatches.
3695
75f777b6
GM
3696 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3697
11151a06
MA
36982013-11-13 Michael Albinus <michael.albinus@gmx.de>
3699
e675b3e4 3700 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
3701 address can be empty.
3702
3703 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3704 Accept nil SWITCHES.
3705 (tramp-gvfs-handle-write-region): Implement APPEND.
3706
7b08f97e
DG
37072013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3708
3709 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
3710 binary "|" operator and closing block args delimiter.
3711 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
3712 (ruby-smie--implicit-semi-p): Not after "|" operator.
3713 (ruby-smie--closing-pipe-p): New function.
3714 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3715 (ruby-smie-rules): Indent after "|".
3716
f201cf3a
GM
37172013-11-12 Glenn Morris <rgm@gnu.org>
3718
3719 * ps-print.el (ps-face-attribute-list):
3720 Handle anonymous faces. (Bug#15827)
3721
e6f759f9
MR
37222013-11-12 Martin Rudalics <rudalics@gmx.at>
3723
3724 * window.el (display-buffer-other-frame): Fix doc-string.
3725 (Bug#15868)
3726
ecda65d4
SM
37272013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3730
7ce8fcc3
MA
37312013-11-11 Michael Albinus <michael.albinus@gmx.de>
3732
3733 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3734 (tramp-sh-handle-file-local-copy): Don't write a message when
3735 saving temporary files.
3736
3737 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3738 both directories are remote.
3739 (tramp-smb-handle-directory-files): Do not return double entries.
3740 Do not expand full file names.
3741 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3742 (tramp-smb-handle-write-region): Implement APPEND.
3743 (tramp-smb-get-stat-capability): Fix a stupid bug.
3744
7818df11
SM
37452013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3748
608c2085
NT
37492013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3750
3751 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3752 throwing error over malformed let/let* (bug#15814).
3753
122a7e46
SM
37542013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * iswitchb.el (iswitchb-mode): Mark obsolete.
3757
766284d9
GM
37582013-11-11 Glenn Morris <rgm@gnu.org>
3759
3760 * international/uni-bidi.el, international/uni-category.el:
3761 * international/uni-name.el, international/uni-numeric.el:
3762 Regenerate for Unicode 6.3.0.
3763
7072a4e9
MA
37642013-11-10 Michael Albinus <michael.albinus@gmx.de>
3765
3766 * net/tramp.el (tramp-methods):
3767 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3768 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3769
c9df215b
AS
37702013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3771
608c2085
NT
3772 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3773 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 3774
fa47d796
DG
37752013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3776
3777 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 3778 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
3779 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3780 (ispell-complete-word): Call `ispell-lookup-words' with the value
3781 independent of `ispell-look-p'.
3782
1629a329
DG
37832013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3784
3785 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3786 Not after "||".
3787 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3788 their parent.
3789
ad16897c
SM
37902013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3793 (ruby-font-lock-keywords): Use backquote.
3794
ffa2df72
DG
37952013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3796
3797 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3798 (ruby-smie--backward-token): Only consider full-string matches.
3799
5b97b4c0
JD
38002013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3801
3802 * faces.el (describe-face): Add distant-foreground.
3803
71731c03
BB
38042013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3805
4e9fc48c
BB
3806 * progmodes/ruby-mode.el: Improve encoding comment handling.
3807 (ruby-encoding-magic-comment-style): New option.
3808 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
3809 (ruby--insert-coding-comment, ruby--detect-encoding):
3810 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
3811 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3812 to control the style of the auto-inserted encoding comment.
71731c03 3813
da3b328d
DG
38142013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3815
ad16897c
SM
3816 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3817 Use `smie-backward-sexp' with token argument.
da3b328d 3818
1606c2d3
MA
38192013-11-08 Michael Albinus <michael.albinus@gmx.de>
3820
3821 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3822 Remove instrumentation code.
3823
b0f4c320
GM
38242013-11-08 Glenn Morris <rgm@gnu.org>
3825
3826 * progmodes/autoconf.el (autoconf-mode):
3827 Tweak comment-start-skip. (Bug#15822)
3828
43668fb1
SM
38292013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3830
3831 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3832 at bobp (bug#15826).
3833 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3834
daddb3fd
DH
38352013-11-08 Darren Hoo <darren.hoo@gmail.com>
3836
3837 * man.el (Man-start-calling): New macro, extracted from
3838 Man-getpage-in-background.
3839 (Man-getpage-in-background): Use it.
3840 (Man-update-manpage): New command.
3841 (Man-mode-map): Bind it.
3842
1f923923
DG
38432013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3844
3845 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3846 of "and", "or", "&&" and "||".
3847 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3848 argument. Prohibit opening curly brace because it could only be a
3849 block opener in that position.
daddb3fd
DH
3850 (ruby-smie--forward-token, ruby-smie--backward-token):
3851 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
3852 arguments.
3853 (ruby-smie--indent-to-stmt): New function, seeks the end of
3854 previous statement or beginning of buffer.
3855 (ruby-smie-rules): Use it.
3856 (ruby-smie-rules): Check if there's a ":" before a curly block
3857 opener candidate; if there is, it's a hash.
3858
3220d527
SM
38592013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3860
3861 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3862 (cl--block-wrapper): Fix last accidental change.
3863
1eb1f9e0
MA
38642013-11-07 Michael Albinus <michael.albinus@gmx.de>
3865
3866 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3867 Instrument, in order to hunt failure on hydra.
3868
e6e4db3c
NT
38692013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3870
3871 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3872 malformed bindings form (bug#15814).
3873
b420ccfc
DG
38742013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3875
3876 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
3877 "." compared to " @ ". This incidentally fixes some indentation
3878 examples with "do".
e6e4db3c 3879 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
3880 (ruby-smie-grammar): New tokens: "and" and "or".
3881 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3882 Exclude "and" and "or". Remove "do" in order to work around token
3883 priorities.
3884 (ruby-smie-rules): Add all infix tokens. Handle the case of
3885 beginning-of-buffer.
b420ccfc 3886
6b4ac03e
GM
38872013-11-06 Glenn Morris <rgm@gnu.org>
3888
3889 * Makefile.in (setwins_almost, setwins_for_subdirs):
3890 Avoid accidental matches.
3891
5ca114d1
SM
38922013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3893
3894 * menu-bar.el (popup-menu): Use key-binding.
3895
f72552bd
EZ
38962013-11-06 Eli Zaretskii <eliz@gnu.org>
3897
3898 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3899 menus, support also the menus produced by minor modes.
3900 (Bug#15817)
3901
5d5c701e
LL
39022013-11-06 Leo Liu <sdl.web@gmail.com>
3903
3904 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 3905 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 3906
0a8b75e2
GM
39072013-11-06 Glenn Morris <rgm@gnu.org>
3908
3909 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
3910 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3911 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 3912
a35287ea
SM
39132013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3914
feca4e2d
SM
3915 * electric.el (electric-indent-just-newline): New command.
3916 (electric-indent-mode-map): New keymap.
3917 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3918 Re-add :group which weren't redundant.
3919
a35287ea
SM
3920 * electric.el (electric-indent-local-mode): New minor mode.
3921 (electric-indent-functions-without-reindent): New var.
3922 (electric-indent-post-self-insert-function): Use it.
3923 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3924
375761b2
EZ
39252013-11-05 Eli Zaretskii <eliz@gnu.org>
3926
9a6ad735
EZ
3927 * international/quail.el (quail-help): Be more explicit about the
3928 meaning of the labels shown on the keys. (Bug#15800)
3929
375761b2
EZ
3930 * startup.el (normal-top-level): Load the subdirs.el files before
3931 setting the locale environment. (Bug#15805)
3932
520a6e4a
SM
39332013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3934
0acfafef
SM
3935 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3936 via arguments so as to get the right ones (bug#15418).
3937
520a6e4a
SM
3938 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3939
15826261
MA
39402013-11-05 Michael Albinus <michael.albinus@gmx.de>
3941
3942 Fix problems found while writing a test suite.
3943
3944 * net/tramp-compat.el (tramp-compat-load): New defun.
3945 * net/tramp.el (tramp-handle-load): Use it.
3946
3947 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3948 "(numberp ok-if-already-exists)" correctly.
3949
d35f31a4
XF
39502013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3951
3952 * international/characters.el (glyphless-char-display-control):
3953 Add usage note.
3954
ae93bc74
BB
39552013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3956
520a6e4a
SM
3957 * progmodes/python.el (python-mode):
3958 * progmodes/scheme.el (scheme-mode):
3959 * progmodes/prolog.el (prolog-mode):
3960 * progmodes/ruby-mode.el (ruby-mode):
3961 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3962 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 3963
0ade65b5
SM
39642013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3965
a0d5f7a4
SM
3966 * rect.el (rectangle--highlight-for-redisplay):
3967 * emacs-lisp/smie.el (smie--next-indent-change):
3968 Use buffer-chars-modified-tick.
3969
c93f3f5c
SM
3970 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3971
0ade65b5
SM
3972 * electric.el (electric-indent-post-self-insert-function):
3973 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3974
ef9dd188
HE
39752013-11-04 Helmut Eller <eller.helmut@gmail.com>
3976
3977 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3978
306e7308
NT
39792013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3980
3981 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3982 (bug#15786).
3983
e5afbcac
SM
39842013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3985
1d01ad41
SM
3986 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3987
e5afbcac
SM
3988 * progmodes/python.el: Fix up last change.
3989 (python-shell--save-temp-file): New function.
3990 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3991 `string' comes from the current buffer.
3992 (python-shell-send-string-no-output): Remove `msg' arg.
3993 (python--use-fake-loc): New var.
3994 (python-shell-buffer-substring): Obey it. Try to compensate for the
3995 extra coding line added by python-shell--save-temp-file.
3996 (python-shell-send-region): Use python-shell--save-temp-file and
3997 python-shell-send-file directly. Add `nomain' argument.
3998 (python-shell-send-buffer): Use python-shell-send-region.
3999 (python-electric-pair-string-delimiter): New function.
4000 (python-mode): Use it.
4001
d0065ff1
EZ
40022013-11-04 Eli Zaretskii <eliz@gnu.org>
4003
4004 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4005 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4006 environment and decoding all of the default-directory's to here
4007 from command-line.
4008 (command-line): Decode also argv[0].
4009
4010 * loadup.el: Error out if default-directory is a multibyte string
4011 when we are dumping.
4012
4013 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4014
7397c587
TZ
40152013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4016
4017 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
4018 (package-menu--print-info, package-menu--archive-predicate):
4019 Add Archive column to package list.
7397c587 4020
b27cc9fc
MA
40212013-11-04 Michael Albinus <michael.albinus@gmx.de>
4022
4023 Fix problems found while writing a test suite.
4024
4025 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4026 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4027 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4028 to nil when running original file name handler. Otherwise,
4029 there are problems with constructs like "$$FOO".
4030
4031 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4032 for `localname'.
4033
d8c4f18a
BB
40342013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4035
7b530552
BB
4036 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4037
4038 * subr.el (version<, version<=, version=):
4039 Update docstrings with information for snapshot versions.
4040
d8c4f18a
BB
4041 * helpers.el: New library for misc helper functions.
4042 (hash-table-keys): New function returning a list of hash keys.
4043 (hash-table-values): New function returning a list of hash values.
4044
dca01b09
DG
40452013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4046
4047 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4048 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4049
0a749fa0
MN
40502013-11-04 Michal Nazarewicz <mina86@mina86.com>
4051
4052 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4053 checking whether point is after a 1-letter word.
4054
40552013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
4056
4057 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4058 Don't infloop when expanding region over `multiline' syntax-type that
4059 begins a line (bug#15778).
4060
4aca7145
SM
40612013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4062
4063 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4064 Make it into a proper minor mode.
4065 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4066 (rectangle-mark-mode-map): New keymap.
4067 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4068
a0833f62
GM
40692013-11-04 Glenn Morris <rgm@gnu.org>
4070
4071 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4072
e61845c1
SM
40732013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4074
4075 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4076 (ruby-smie-rules): Use smie-rule-parent instead.
4077
4078 * emacs-lisp/smie.el (smie-rule-parent): Always call
4079 smie-indent-virtual rather than only for hanging tokens.
4080 (smie--next-indent-change): New helper command.
4081
62942f89
GM
40822013-11-03 Glenn Morris <rgm@gnu.org>
4083
4084 * Makefile.in (abs_srcdir): Remove.
4085 (emacs): Unset EMACSLOADPATH.
4086
b0b9e592
GM
40872013-11-02 Glenn Morris <rgm@gnu.org>
4088
18ba6a33 4089 * Makefile.in (EMACS): Use a relative filename.
8061810d 4090 (abs_top_builddir): Remove.
18ba6a33
GM
4091 (custom-deps, finder-data, autoloads): Use --chdir.
4092
6a8b929e
GM
4093 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4094
c617f3d0
GM
4095 Use relative filenames in TAGS files.
4096 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4097 (lisptagsfiles4, TAGS): Use relative file names.
4098 (TAGS-LISP): Remove.
4099 (maintainer-clean): No more TAGS-LISP file.
4100
b0b9e592
GM
4101 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4102 (lisptagsfiles4): Use absolute filenames again.
4103 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4104 Remove all *loaddefs files, not just the first. Remove esh-groups.
4105 (maintainer-clean): Delete TAGS, TAGS-LISP.
4106
d1c0ea6a
BB
41072013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4108
e61845c1
SM
4109 * emacs-lisp/package.el (package-version-join):
4110 Recognize snapshot versions.
d1c0ea6a 4111
684d71c6
BB
41122013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4113
4114 * subr.el (version-regexp-alist): Add support for snapshot versions.
4115
3d42b968
DG
41162013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4117
e61845c1
SM
4118 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4119 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
4120 skip over our direct parent if it's an assignment token..
4121 (ruby-smie-rules): Use it.
4122
7ffd3721
DG
41232013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4124
8449dd1f 4125 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
4126 unconditionally. Remove now unnecessary forward declarations.
4127 Remove XEmacs-specific setup.
4128 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4129 (ruby-font-lock-syntactic-keywords)
4130 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4131 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4132 (ruby-here-doc-end-syntax): Remove.
4133 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4134 defined as function.
4135
a3996a2e
BB
41362013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4137
4138 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4139
6f9260e8
BB
41402013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4141
4142 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4143 table and abbrev table, `define-derived-mode' does that for us
4144 anyway.
4145
6014de84
GM
41462013-11-01 Glenn Morris <rgm@gnu.org>
4147
4148 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4149 files is atomic for some time, so no parallel compilation issues).
4150
3c334c14
JD
41512013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4152
4153 * faces.el (face-x-resources): Add :distant-foreground.
4154 (region): Use :distant-foreground for gtk and ns.
4155
9bc236c8
TH
41562013-11-01 Tassilo Horn <tsdh@gnu.org>
4157
5246583b 4158 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
4159 BibTeX.
4160 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4161 (reftex-locate-bibliography-files): Us it.
4162
d14c81ee
CB
41632013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4164
0e7690de
CB
4165 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4166 allow comments in pbm files.
4167
d14c81ee
CB
4168 * term/w32-win.el (dynamic-library-alist): Support newer versions
4169 of libjpeg starting with v7: look only for the DLL from the
4170 version against which Emacs was built.
ac1bf374 4171 Support versions of libpng beyond 1.4.x.
019c8218 4172 Support libtiff v4.x.
d14c81ee 4173
983d0df5
BB
41742013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4175
4176 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4177 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4178 Add property :safe.
4179 (ruby-deep-arglist): Add property :type.
4180
47f58d85
GM
41812013-10-31 Glenn Morris <rgm@gnu.org>
4182
4183 * Makefile.in (custom-deps, finder-data): No need to setq the target
4184 variables, we are in the right directory and the defaults work fine.
4185
4f85b479
GM
41862013-10-30 Glenn Morris <rgm@gnu.org>
4187
ca7dd4cd
GM
4188 * Makefile.in (autoloads): Do not use abs_lisp.
4189
4f85b479
GM
4190 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4191 `newline' does not respect `standard-output', so use `princ'.
4192
cf59e41c
AA
41932013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4194
4195 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4196 * buff-menu.el (Buffer-menu--unmark): New function.
4197 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4198
74cf04fb
GM
41992013-10-30 Glenn Morris <rgm@gnu.org>
4200
b040b60e
GM
4201 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4202
f53d3815
GM
4203 * emacs-lisp/package.el (lm-homepage): Declare.
4204
5413d873
GM
4205 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4206 Fix doc typos.
4207
cecedb36
GM
4208 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4209
74cf04fb
GM
4210 * Makefile.in (finder-data, autoloads, update-subdirs)
4211 (compile-main, compile-clean, compile-always, bootstrap-clean):
4212 Check return value of cd.
4213 (compile-calc): Remove.
4214
195ee2f0
SM
42152013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4216
ae4002ce
SM
4217 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4218
4219 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4220 (byte-compile-and-folded): New function.
4221 (=, <, >, <=, >=): Use it.
4222
4223 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4224 (path-separator, null-device, buffer-file-coding-system)
4225 (lpr-headers-switches): Check system-type before modifying them.
4226 (find-buffer-file-type-coding-system): Mark obsolete.
4227 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4228 find-file-not-found-set-buffer-file-coding-system.
4229 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4230 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4231 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4232 (w32-direct-print-region-helper, w32-direct-print-region-function)
4233 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4234 * startup.el (normal-top-level-add-subdirs-to-load-path):
4235 * ps-print.el (ps-print-region-function):
4236 * lpr.el (print-region-function): Use new name.
4237
53b39e89
SM
4238 * subr.el (custom-declare-variable-early): Remove function.
4239 (custom-declare-variable-list): Remove var.
4240 (error, user-error): Remove `while' loop.
4241 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4242 (user-emacs-directory-warning, locate-user-emacs-file):
4243 Move to files.el.
4244 * simple.el (read-quoted-char-radix, read-quoted-char):
4245 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4246 Move from subr.el.
4247 * custom.el (custom-declare-variable-list): Don't process
4248 custom-declare-variable-list.
4249
195ee2f0
SM
4250 * progmodes/python.el (python-shell-get-buffer): New function.
4251 (python-shell-get-process): Use it.
4252 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4253 Python which encoding was used. Don't split-string since we only care
4254 about the first line. Return the temp-file, if applicable.
4255 (python-shell-send-region): Tell compile.el how to turn locations in
4256 the temp-file into locations in the source buffer.
4257
7e3561ee
SM
42582013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4259
4c9797cb
SM
4260 * subr.el (undefined): Add missing behavior from the C code for
4261 unbound keys.
4262
3472b6c6
SM
4263 * rect.el: Use lexical-binding. Add new rectangular region support.
4264 (rectangle-mark): New command.
4265 (rectangle--region): New var.
4266 (deactivate-mark-hook): Reset rectangle--region.
4267 (rectangle--extract-region, rectangle--insert-for-yank)
4268 (rectangle--highlight-for-redisplay)
4269 (rectangle--unhighlight-for-redisplay): New functions.
4270 (region-extract-function, redisplay-unhighlight-region-function)
4271 (redisplay-highlight-region-function): Use them to handle
4272 rectangular region.
4273 * simple.el (region-extract-function): New var.
4274 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4275 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4276 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4277 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4278 (redisplay-unhighlight-region-function)
4279 (redisplay-highlight-region-function): New vars.
4280 (redisplay--update-region-highlight): New function.
4281 (pre-redisplay-function): Use it.
4282 (exchange-point-and-mark): Don't deactivate the mark before
4283 reactivate-it anyway.
4284 * comint.el (comint-kill-region): Remove yank-handler argument.
4285 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4286 (delete-char): Remove property, since it's now part of their
4287 default behavior.
4288 (self-insert-iso): Remove property since this command doesn't exist.
4289
7e3561ee
SM
4290 * emacs-lisp/package.el (package--download-one-archive)
4291 (describe-package-1): Don't query the user about final newline.
4292
b9bef71f
DC
42932013-10-29 Daniel Colascione <dancol@dancol.org>
4294
4295 * net/tramp.el (tramp-methods): Document new functionality.
4296 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4297 tramp-hostname-checker if method provides one instead of scanning
4298 argument list for "%h" to decide hostname acceptability.
4299
4efc33f0
MA
43002013-10-28 Michael Albinus <michael.albinus@gmx.de>
4301
4302 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4303 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4304 Handle COPY-CONTENTS. (Bug#15737)
4305
ed42a877
DU
43062013-10-28 Daiki Ueno <ueno@gnu.org>
4307
4308 * epa-file.el
7e3561ee
SM
4309 (epa-file-cache-passphrase-for-symmetric-encryption):
4310 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 4311
18c9f8a2
XF
43122013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4313
7a4bc7be
XF
4314 * image.el (defimage):
4315 (image-load-path): Doc fixes.
18c9f8a2 4316
b1e8e010
AM
43172013-10-27 Alan Mackenzie <acm@muc.de>
4318
4319 Indent statements in macros following "##" correctly.
7e3561ee
SM
4320 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4321 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 4322
73d40d1e 43232013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
4324
4325 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4326
c8c605ac
DG
43272013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4328
4329 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4330 after `=' is probably a new expression.
4331
ca7e59d4
RS
43322013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4333
4334 * man.el (man-imenu-title): New option.
4335 (Man-mode-map): Add menu. (Bug#15722)
4336 (Man-mode): Add imenu to menu.
4337
bae91342
DG
43382013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4339
4340 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4341 specific in what the first arg can be: a non-keyword word,
4342 string/regexp/percent literal opener, opening paren, or unary
4343 operator followed directly by word.
4344
eb89dc14
SM
43452013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4346
4347 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4348 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4349 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4350 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4351 Remove vars, they do not apply any more.
4352 (prolog-mode-abbrev-table): Remove redundant declaration.
4353 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4354 (prolog-use-smie): Remove.
4355 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4356 supported by prolog-electric-if-then-else-flag.
4357 (prolog-mode-variables, prolog-menu): Use setq-local.
4358 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4359 Remove binding to `Backspace' since this key doesn't exist anyway.
4360 Remove bindings for electric self-inserting keys.
4361 (prog-mode): Assume it's defined.
4362 (prolog-post-self-insert): New function.
4363 (prolog-mode): Use it.
4364 (prolog-indent-line, prolog-indent-level)
4365 (prolog-find-indent-of-matching-paren)
4366 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4367 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4368 (prolog-goto-next-paren, prolog-in-string-or-comment)
4369 (prolog-tokenize, prolog-inside-mline-comment)
4370 (prolog-find-start-of-mline-comment): Remove functions.
4371 (prolog-find-unmatched-paren, prolog-clause-end)
4372 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4373 (prolog-electric--if-then-else): Rename from
4374 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4375 (prolog-tokenize-searchkey): Remove const.
4376 (prolog-clause-info): Use forward-sexp.
4377 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4378 (prolog-electric-if-then-else): Remove commands.
4379 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4380 for use in post-self-insert-hook.
4381 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4382 for use in post-self-insert-hook.
4383 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4384 for use in post-self-insert-hook.
4385 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4386 adapt it for use in post-self-insert-hook.
4387
3dab0a83
MA
43882013-10-25 Michael Albinus <michael.albinus@gmx.de>
4389
4390 * emacs-lisp/ert.el (ert-run-tests-interactively):
4391 Use `completing-read'. (Bug#9756)
4392
fbfd0e1d
EZ
43932013-10-25 Eli Zaretskii <eliz@gnu.org>
4394
4395 * simple.el (line-move): Call line-move-1 instead of
4396 line-move-visual when the current window hscroll is zero, but
4397 temporary-goal-column indicates we will need to hscroll as result
4398 of the movement. (Bug#15712)
4399
963ce636
DG
44002013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4401
4402 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
4403 capitalization. Use :visible instead of :active.
4404 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
4405 commands that are used with SMIE.
4406 (ruby-do-end-to-brace): Insert space after `{'.
4407
a0be396a
JA
44082013-10-25 John Anthony <john@jo.hnanthony.com>
4409
f73754c9
JA
4410 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4411
4412 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 4413
f5bf77df
GM
44142013-10-25 Glenn Morris <rgm@gnu.org>
4415
4416 * vc/vc.el (vc-print-log): Don't use a working revision unless
4417 one was explicitly specified. (Bug#15322)
4418
37241f62
SM
44192013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * subr.el (add-to-list): Preserve return value in compiler-macro
4422 (bug#15692).
4423
6408a65d
RS
44242013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4425
4426 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4427 result. Ask user to retry using '-all' flag. (Bug#15701)
4428
71e3276b
SM
44292013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4430
4431 * emacs-lisp/smie.el: New smie-config system.
4432 (smie-config): New defcustom.
4433 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4434 (smie-config-guess, smie-config-save): New commands.
4435 (smie-config--mode-local, smie-config--buffer-local)
4436 (smie-config--trace, smie-config--modefuns): New vars.
4437 (smie-config--advice, smie-config--mode-hook)
4438 (smie-config--setter, smie-config-local, smie-config--get-trace)
4439 (smie-config--guess-value, smie-config--guess): New functions.
4440 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4441 text properties. Treat "string fence" syntax like string syntax.
4442
4443 * progmodes/sh-script.el (sh-use-smie): Change default.
4444 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4445 (sh-var-value): Simplify by CSE.
4446 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4447 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4448 is used.
4449 (sh-guess-basic-offset): Use cl-incf.
4450 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4451
60db713e
HE
44522013-10-24 Helmut Eller <eller.helmut@gmail.com>
4453
4454 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4455 (bug#15699).
4456
8b251df6
GM
44572013-10-24 Glenn Morris <rgm@gnu.org>
4458
4459 * Makefile.in (abs_top_srcdir): Remove.
4460 (update-subdirs): Use relative path to update-subdirs.
4461
6be0e22b
EZ
44622013-10-24 Eli Zaretskii <eliz@gnu.org>
4463
4464 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4465 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
4466 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4467 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 4468
50b5b857
MA
44692013-10-24 Michael Albinus <michael.albinus@gmx.de>
4470
4471 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4472 (ert-test-skipped): New error.
4473 (ert-skip, ert-stats-skipped): New defuns.
4474 (ert--skip-unless): New macro.
4475 (ert-test-skipped): New struct.
4476 (ert--run-test-debugger, ert-test-result-type-p)
4477 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4478 (ert--stats-set-test-and-result, ert-char-for-test-result)
4479 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 4480 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 4481 Handle skipped tests. (Bug#9803)
50b5b857 4482
6f317c2f
GM
44832013-10-24 Glenn Morris <rgm@gnu.org>
4484
e43817c1
GM
4485 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4486
6f317c2f
GM
4487 * Makefile.in (abs_top_srcdir): New, set by configure.
4488 (update-subdirs): Correct build-aux location.
4489
369bbf71
DG
44902013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4491
8297b2cf
DG
4492 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4493 value, whether we could auto-deduce `backend', or not.
4494
369bbf71
DG
4495 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4496 with parameters" example. Simplify the "is it block or is it
4497 hash" check, but also make it more thorough.
4498
d5f1282f
MF
44992013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4500
4501 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4502
bc4aaa31
SM
45032013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4504
03d44565
SM
4505 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4506 { if it is hanging.
4507
bc4aaa31
SM
4508 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4509 :before ";".
4510
f493ff19
JB
45112013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4512
4513 * progmodes/compile.el (compilation-directory-matcher)
4514 (compilation-page-delimiter):
4515 Support GNU Make-4.0 directory quoting. (Bug#15678)
4516
c744a3b9
LL
45172013-10-23 Leo Liu <sdl.web@gmail.com>
4518
4519 * ido.el (ido-tidy): Handle read-only text.
4520
b8e3b0a9
GM
45212013-10-23 Glenn Morris <rgm@gnu.org>
4522
4523 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4524 (emacs, compile, compile-always):
4525 Quote entities that might contain whitespace.
4526 (custom-deps, finder-data, autoloads): Use abs_lisp.
4527 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4528 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4529 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4530
ee4282cd
DG
45312013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4532
bc4aaa31
SM
4533 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4534 Use `following-char'.
7790a270 4535
ee4282cd 45362013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
4537
4538 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4539 * progmodes/ruby-mode.el (ruby-smie-rules):
4540 Remove corresponding workaround. Fix indentation rule of ";" so it
4541 also applies when ";" is the parent.
4542
d40a46d7
XF
45432013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4544
4545 * frame.el (display-screens, display-pixel-height)
4546 (display-pixel-width, display-mm-width, display-backing-store)
4547 (display-save-under, display-planes, display-color-cells)
7790a270
SM
4548 (display-visual-class, display-monitor-attributes-list):
4549 Mention the optional ‘display’ argument in doc strings.
d40a46d7 4550
a0f143c9
MG
45512013-10-22 Michael Gauland <mikelygee@amuri.net>
4552
4553 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4554 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4555
18cacc39
DG
45562013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4557
4558 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4559 TODO. Add "." after " @ ".
4560 (ruby-smie--at-dot-call): New function. Checks if point at method
4561 call with explicit target.
4562 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4563 to the method name tokens when it precedes them.
4564 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4565 (ruby-smie-rules): Add rule for indentation before and after "."
4566 token.
4567
df74c4be
SM
45682013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4569
c6dab55f
SM
4570 * textmodes/remember.el (remember-diary-extract-entries):
4571 Avoid add-to-list.
4572
df74c4be
SM
4573 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4574 an instruction.
4575
8c1ae481
DG
45762013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4577
e9dc713d
JB
4578 * progmodes/ruby-mode.el (ruby-smie-grammar):
4579 Add (almost) all infix operators.
cfef16c0
DG
4580 (ruby-smie--implicit-semi-p): Add new operator chars.
4581
8c1ae481
DG
4582 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4583 `smie-down-list'.
4584 (ruby-smie--args-separator-p): Check that there's no newline
4585 between method call and its arguments.
4586
87756ca9
AM
45872013-10-20 Alan Mackenzie <acm@muc.de>
4588
4589 Allow comma separated lists after Java "implements".
4590
df74c4be
SM
4591 * progmodes/cc-engine.el (c-backward-over-enum-header):
4592 Parse commas.
87756ca9
AM
4593 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4594 from a "disallowed" list in enum fontification.
4595
c25f8957
JB
45962013-10-20 Johan Bockgård <bojohan@gnu.org>
4597
df74c4be 4598 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 4599
c25f8957
JB
4600 * progmodes/verilog-mode.el (verilog-mode): Don't set
4601 comment-indent-function globally.
4602
aca5fcdc
JD
46032013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4604
5f161884
JD
4605 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4606 Move Info menu item creation to ns-win.el.
4607
4608 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4609 in menu bar.
4610
a6c4680a 4611 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
4612
4613 * term/ns-win.el (ns-initialize-window-system): ... to here.
4614
914b7f98
SM
46152013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * simple.el (newline): Only run post-self-insert-hook when
4618 called interactively.
4619
846ffe77
JB
46202013-10-19 Johan Bockgård <bojohan@gnu.org>
4621
4622 * icomplete.el (icomplete-with-completion-tables): Add :version.
4623
033f22dd
AM
46242013-10-19 Alan Mackenzie <acm@muc.de>
4625
4626 Fix fontification bugs with constructors and const.
4627
4628 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4629 CASE 2) Remove the check for the absence of a suffix construct
4630 after a function declaration with only types (no identifiers) in
4631 the parentheses. Also, accept a function declaration with just a
4632 type inside the parentheses, if this type can be positively
4633 recognised as such, or if a prefix keyword like "explicit" nails
4634 down the construct as a declaration.
4635
58ce0cfc
EZ
46362013-10-19 Eli Zaretskii <eliz@gnu.org>
4637
4638 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4639 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4640 the problem whereby selecting a menu item that leads to a
4641 minibuffer prompt moves the cursor out of the minibuffer window,
4642 making it hard to type at the prompt. Suggested by Stefan Monnier
4643 <monnier@iro.umontreal.ca>.
4644
50e28e7d
JD
46452013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4646
4647 * menu-bar.el: Don't make Services menu.
4648
7deed4bf
RS
46492013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4650
4651 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4652 (ffap-alist): Use ffap-c++-mode for c++-mode.
4653 (ffap-c++-path): New variable.
4654 (ffap-c++-mode): New function.
4655
7bcb455b
JVJ
46562013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4657
4658 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4659
f0ff1cd5
MA
46602013-10-18 Michael Albinus <michael.albinus@gmx.de>
4661
4662 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4663 introduced on 2013-09-08, which results in an infinite loop
4664 requesting a password.
4665
d64da4b7
GM
46662013-10-18 Glenn Morris <rgm@gnu.org>
4667
4668 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4669
ea89ff08
WS
46702013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4671
4672 Sync with upstream verilog-mode revision 1a6ecec7.
4673 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4674 (verilog-mode-release-date): Remove.
4675 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4676 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4677 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4678 (verilog-auto-tieoff-ignore-regexp)
4679 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4680 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4681 (verilog-signals-with, verilog-dir-cache-preserving)
4682 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4683 Doc fixes.
4684 (verilog-case-fold): New option, to control case folding in
4685 regexp searches, bug597.
4686 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4687 (verilog-string-match-fold, verilog-in-paren-count)
4688 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4689 (verilog-at-close-struct-p): New functions.
4690 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4691 (verilog-forward-sexp, verilog-set-auto-endcomments):
4692 (verilog-leap-to-case-head): Handle "unique0" case.
4693 (verilog-in-constraint-re): New constant.
4694 (verilog-keywords, verilog-type-font-keywords):
4695 Add some SystemVerilog 1800-2012 keywords.
4696 (verilog-label-be): Remove unimplemented argument, bug669.
4697 (verilog-batch-execute-func): When batch expanding clear
4698 create-lockfiles to prevent spurious user locks when a file ends
4699 up not changing.
4700 (verilog-calculate-indent, verilog-calc-1)
4701 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4702 (verilog-do-indent): Fix indentation of nested constraints
4703 and structures.
4704 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4705 (verilog-auto-inst-param): Use verilog-string-match-fold.
4706 (verilog-read-inst-module-matcher):
4707 Fix AUTOINST on gate primitives with #1.
4708 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4709 Reads all user-defined typed variables.
4710 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4711 (verilog-signals-matching-regexp)
4712 (verilog-signals-not-matching-regexp, verilog-auto):
4713 Respect verilog-case-fold.
4714 (verilog-diff-report): Fix line count.
4715 (verilog-auto-assign-modport): Remove unused local `modi'.
4716 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4717 better handle multidimensional arrays.
4718 Fix packed array ports misadding bit index in AUTOINST, bug637.
4719 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4720 to not double-declare existing outputs and inputs, respectively.
4721 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4722 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4723 (verilog-sk-uvm-component): New skeleton.
4724 (verilog-submit-bug-report): Add verilog-case-fold,
4725 remove verilog-mode-release-date.
4726
ef566920
BR
47272013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4728
a12bf61e 4729 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
4730 as before.
4731
29df8a0b
RT
47322013-10-18 Reuben Thomas <rrt@sc3d.org>
4733
e0eb0550 4734 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
4735 remember buffers (bug#13566).
4736
04a19a79
DC
47372013-10-18 Daniel Colascione <dancol@dancol.org>
4738
4739 When evaluating forms in ielm, direct standard output to ielm
4740 buffer. Add new ielm-return-for-effect command. Remove trailing
4741 whitespace throughout.
4742
4743 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4744 (ielm-return-for-effect): New command.
4745 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
4746 (ielm-eval-input): Accept optional `for-effect' parameter.
4747 Bind `standard-output' to stream we create using
04a19a79
DC
4748 `ielm-standard-output-impl'. Suppress printing result when
4749 `for-effect'.
4750 (ielm-standard-output-impl): New function.
4751 (inferior-emacs-lisp-mode): Explain new features in documentation.
4752
4c1f03ef
MA
47532013-10-17 Michael Albinus <michael.albinus@gmx.de>
4754
4755 Code cleanup.
4756
4757 * net/tramp.el (tramp-debug-message): Do not check for connection
4758 buffer.
4759 (tramp-message): Use "vector" connection property.
4760
4761 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4762 (tramp-equal-remote, tramp-eshell-directory-change)
4763 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4764 (tramp-adb-handle-rename-file)
4765 * net/tramp-cmds.el (tramp-list-remote-buffers)
4766 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4767 * net/tramp-compat.el (tramp-compat-process-running-p)
4768 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4769 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4770 (tramp-gvfs-handle-rename-file)
4771 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4772 (tramp-set-file-uid-gid)
4773 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4774 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4775 of `file-remote-p'.
4776
4777 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4778 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4779 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4780 (tramp-gw-open-network-stream): Suppress unrelated traces.
4781
4782 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4783 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4784 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4785 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4786 connection property.
4787
4788 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 4789 persistency file.
4c1f03ef
MA
4790
4791 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4792 Refactor common code. Improve debug message.
4793 (tramp-maybe-open-connection)
4794 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4795 connection buffer too early.
4796
4797 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4798 from `tramp-smb-actions-with-acl'.
4799 (tramp-smb-actions-set-acl): New defconst.
4800 (tramp-smb-handle-copy-directory)
4801 (tramp-smb-action-get-acl): New defun, renamed from
4802 `tramp-smb-action-with-acl'.
4803 (tramp-smb-action-set-acl): New defun.
4804 (tramp-smb-handle-set-file-acl): Rewrite.
4805
642eb8b6
GM
48062013-10-17 Glenn Morris <rgm@gnu.org>
4807
4808 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4809
85527ff3
SM
48102013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4811
921c1d62
SM
4812 * skeleton.el (skeleton-newline): Remove.
4813 (skeleton-internal-1): Use (insert "\n") instead.
4814
e333fb10
SM
4815 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4816 let-bindings.
4817
85527ff3
SM
4818 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4819 forward-sexp-function while we redo its job (bug#15613).
4820
c8722a97
JB
48212013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4822
4823 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4824 represented by lists.
4825
7a550bbb
GM
48262013-10-16 Glenn Morris <rgm@gnu.org>
4827
4828 * tmm.el (tmm--history): New dynamic variable.
4829 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4830
f19da8ad
MA
48312013-10-16 Michael Albinus <michael.albinus@gmx.de>
4832
4833 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4834 (tramp-smb-errors): Add error messages.
4835 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 4836 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
4837 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4838 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4839 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4840 (tramp-smb-get-stat-capability): Fix tests.
4841
a24b9961
DK
48422013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4843
4844 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4845 (bug#15580).
4846
62ad85e6
GM
48472013-10-16 Glenn Morris <rgm@gnu.org>
4848
0283d6b0
GM
4849 * ansi-color.el (ansi-color-drop-regexp):
4850 Add 1J, 1K, 2K. (Bug#15617)
4851
012e2f9f
GM
4852 * files.el (hack-local-variables--warned-lexical): New.
4853 (hack-local-variables):
4854 Warn about misplaced lexical-binding. (Bug#15616)
4855
62ad85e6
GM
4856 * net/eww.el (eww-render): Always set eww-current-url,
4857 and update header line. (Bug#15622)
4858 (eww-display-html): ... Rather than just doing it here.
4859
6456c0ea
EZ
48602013-10-15 Eli Zaretskii <eliz@gnu.org>
4861
4862 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4863 menu navigations commands.
4864
c2de5588
DK
48652013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4866
4867 * progmodes/subword.el (subword-capitalize): Be careful when
4868 the search for [[:alpha:]] fails (bug#15580).
4869
ccd4a783
EZ
48702013-10-14 Eli Zaretskii <eliz@gnu.org>
4871
4872 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4873 to commands that scroll the menu.
4874
1eda1d8d
DG
48752013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4876
c2de5588
DK
4877 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4878 Handle methods ending with `?' and `!'.
1eda1d8d 4879
e70181b8
AM
48802013-10-14 Akinori MUSHA <knu@iDaemons.org>
4881
4882 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4883 `japanese-cp932' to `cp932' to fix the problem where saving a
4884 source file written in Shift_JIS twice would end up having
4885 `coding: japanese-cp932' which Ruby could not recognize.
4886 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4887 in `ruby-encoding-map'.
4888 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4889 doesn't need to be explicitly declared in magic comment.
4890 (ruby-encoding-map): Add type declaration for better customize UI.
4891
9148ee92
GM
48922013-10-13 Glenn Morris <rgm@gnu.org>
4893
a5d38e34
GM
4894 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4895 Occur buffers are read-only. http://bugs.debian.org/720775
4896
9148ee92
GM
4897 * emacs-lisp/authors.el (authors-fixed-entries):
4898 Comment out old alpha stuff.
4899
a9ba094b
DG
49002013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4901
4902 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4903 to `after-save-hook' instead of `before-save-hook'.
4904 (ruby-mode-set-encoding): Use the value of coding system used to
4905 write the file. Call `basic-save-buffer-1' after modifying the
4906 buffer.
4907
7a068717
AM
49082013-10-13 Alan Mackenzie <acm@muc.de>
4909
4910 Fix indentation/fontification of Java enum with
4911 "implements"/generic.
4912
c2de5588
DK
4913 * progmodes/cc-engine.el (c-backward-over-enum-header):
4914 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
4915 (c-inside-bracelist-p): Uses new function above.
4916 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4917 function above.
4918 (c-font-lock-enum-tail): Uses new function above.
4919
85b64f02
KH
49202013-10-13 Kenichi Handa <handa@gnu.org>
4921
4922 * international/mule-cmds.el (select-safe-coding-system): Remove a
4923 superfluous condition in chekcing whether a coding system is safe
4924 or not.
4925
fc7f501b
OK
49262013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4927
4928 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4929
fdcb2049
AP
49302013-10-13 Andreas Politz <politza@hochschule-trier.de>
4931
4932 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4933
8c106d17
GM
49342013-10-13 Glenn Morris <rgm@gnu.org>
4935
feab892d
GM
4936 * menu-bar.el (menu-bar-update-buffers):
4937 Unify Buffers menu prompt string. (Bug#15576)
4938
b22d0686
GM
4939 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4940
8c106d17
GM
4941 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4942 Add some entries.
4943 (authors-fixed-entries): Use accented form of name.
4944
1b12c797
SM
49452013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4946
650fa7bf 4947 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 4948 method calls (bug#15594).
650fa7bf
SM
4949 (ruby-smie--args-separator-p): New function.
4950 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4951 recognize paren-free method calls.
4952
1b12c797
SM
4953 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4954 internals of universal-argument.
4955
029619c8
EZ
49562013-10-11 Eli Zaretskii <eliz@gnu.org>
4957
4958 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
4959 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4960 dropped menu on second mouse click on the menu bar.
029619c8 4961
dd070019
SM
49622013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4965 (explicit-shell-file-name): Declare.
4966 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4967 (sh-completion-at-point-function): New function.
4968 (sh-mode): Use it.
4969 (sh-smie--keyword-p): Remove unused argument.
4970 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4971 vars.
4972 (sh-set-shell): Always setup SMIE, even if we use the
4973 old indentation code.
4974
0922b826
DG
49752013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4976
b68e2926
DG
4977 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4978 cases of ? and =.
4979 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4980 predicate would return nil are almost non-existent.
4981 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4982
0922b826
DG
4983 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4984 cache also after commands that modify the buffer but don't move
4985 point.
4986
ee041f2d
SM
49872013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4988
4989 * env.el (substitute-env-in-file-name): New function.
4990 (substitute-env-vars): Extend the meaning of the optional arg.
4991
a5dab159
EZ
49922013-10-10 Eli Zaretskii <eliz@gnu.org>
4993
4994 * term/w32-win.el (dynamic-library-alist): Define separate lists
4995 of GIF DLLs for versions before and after 5.0.0 of giflib.
4996 (Bug#15531)
4997
0449d6cd 49982013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4999
5000 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5001 not locked, use last revision and current source as
5002 defaults. (Bug#15569)
5003
2f6e161e
MY
50042013-10-10 Masatake YAMATO <yamato@redhat.com>
5005
5006 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5007 menu-bar is hidden.
5008
6c8413fc
MR
50092013-10-10 Martin Rudalics <rudalics@gmx.at>
5010
5011 * window.el (pop-to-buffer-same-window): Fix doc-string.
5012 (Bug#15492)
5013
20832de0
SM
50142013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5015
5016 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5017
c6e8ae77
AC
50182013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5019
5020 * calendar/icalendar.el (icalendar-import-file):
5021 Fix interactive spec. (Bug#15482)
5022
9db13baf
GM
50232013-10-10 Glenn Morris <rgm@gnu.org>
5024
9271e90e
GM
5025 * desktop.el (desktop-save): Default to saving in .emacs.d,
5026 since PWD is no longer in desktop-path by default. (Bug#15319)
5027
9db13baf
GM
5028 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5029 now that text mode has a menu with the same entry.
5030 (menu-bar-text-mode-auto-fill): Remove now unused func.
5031 * textmodes/text-mode.el (text-mode-map):
5032 Use auto-fill help text from menu-bar.el.
5033
a0be396a 50342013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
5035
5036 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5037
2edcd3c7
JL
50382013-10-09 Juri Linkov <juri@jurta.org>
5039
5040 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5041 instead of this-command-keys. Add universal-argument-more and
5042 universal-argument-minus to the list of prefix commands. (Bug#15568)
5043
574411d0
GM
50442013-10-09 Glenn Morris <rgm@gnu.org>
5045
14afa541
GM
5046 * vc/vc-svn.el (vc-svn-create-repo):
5047 Expand paths in file://... url. (Bug#15446)
5048
574411d0
GM
5049 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5050 Add some entries.
5051 (authors): Remove unused local variables.
5052
79804536
SM
50532013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5054
5055 * profiler.el: Create a more coherent calltree from partial backtraces.
5056 (profiler-format): Hide the tail with `invisible' so that C-s can still
5057 find the hidden elements.
5058 (profiler-calltree-depth): Don't recurse so enthusiastically.
5059 (profiler-function-equal): New hash-table-test.
5060 (profiler-calltree-build-unified): New function.
5061 (profiler-calltree-build): Use it.
5062 (profiler-report-make-name-part): Indent the calltree less.
5063 (profiler-report-mode): Add visibility specs for profiler-format.
5064 (profiler-report-expand-entry, profiler-report-toggle-entry):
5065 Expand the whole subtree when provided with a prefix arg.
5066
238150c8
DG
50672013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5068
5069 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5070 iuwu-mod token.
5071 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5072 hanging iuwu-mod token.
5073 (ruby-smie--forward-token): Do not include a dot after a token in
5074 that token.
5075 (ruby-smie--backward-token): Likewise.
5076
b0949cc4
JL
50772013-10-08 Juri Linkov <juri@jurta.org>
5078
5079 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5080 to isearch-other-control-char.
5081 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5082 and isearch-post-command-hook to post-command-hook.
5083 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5084 and isearch-post-command-hook from post-command-hook.
5085 (isearch-unread-key-sequence)
5086 (isearch-reread-key-sequence-naturally)
5087 (isearch-lookup-scroll-key, isearch-other-control-char)
5088 (isearch-other-meta-char): Remove functions.
5089 (isearch-pre-command-hook, isearch-post-command-hook):
5090 New functions based on isearch-other-meta-char rewritten
5091 relying on the new behavior of overriding-terminal-local-map
5092 that does not replace the local keymaps any more. (Bug#15200)
5093
4ed77415
EZ
50942013-10-08 Eli Zaretskii <eliz@gnu.org>
5095
5096 Support menus on text-mode terminals.
5097 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5098 functionality.
5099
5100 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5101
c2de5588
DK
5102 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5103 Move here from mouse.el.
4ed77415
EZ
5104 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5105 and arrow keys.
5106 (tty-menu-navigation-map): New map for TTY menu navigation.
5107
5108 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5109
5110 * frame.el (display-mouse-p): Report text-mode mouse as available
5111 on w32.
5112 (display-popup-menus-p): Report availability if mouse is
5113 available; don't condition on window-system.
5114
5115 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5116 (tty-menu-selected-face): New faces.
5117
b7d5bd82
TL
51182013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5119
06286513
SM
5120 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5121 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5122 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5123 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5124 New constants.
5125 (lisp-mode-variables): New `elisp' argument.
5126 (emacs-lisp-mode): Use it.
5127 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5128 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5129
b7d5bd82
TL
5130 * indent.el: Use lexical-binding.
5131 (indent-region): Add progress reporter.
5132 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5133 last step.
5134 (indent--next-tab-stop): New function to implement this behavior.
5135 (tab-to-tab-stop, move-to-tab-stop): Use it.
5136
51372013-10-08 Teemu Likonen <tlikonen@iki.fi>
5138
5139 * indent.el (indent-rigidly--current-indentation): New function.
5140 (indent-rigidly-map): New var.
5141 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5142
5ea75d23
BG
51432013-10-08 Bastien Guerry <bzg@gnu.org>
5144
f2726fa2 5145 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 5146
cc5da1ec
SM
51472013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5148
8ffa1a0b
SM
5149 * progmodes/perl-mode.el: Use lexical-binding.
5150 Remove redundant :group args.
5151 (perl-nochange): Change default to be closer to other major modes's
5152 standard behavior.
5153 (perl-indent-line): Don't consider text on current line as a
5154 valid beginning of function from which to indent.
5155
f2223371
SM
5156 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5157 with more than one argument (bug#15538).
5158
44256060
SM
5159 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5160
cc5da1ec
SM
5161 * vc/pcvs.el: Use lexical-binding.
5162 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5163 environment of `eval'.
5164 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5165 than a list of expressions. Adjust callers.
5166 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5167
0ea1599d
DG
51682013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5169
5170 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 5171 case of the dot in a chained method call being on the following line.
0ea1599d 5172
da3e5ebb
SM
51732013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5174
2abb4e65
SM
5175 * electric.el (electric-indent-inhibit): New var.
5176 (electric-indent-post-self-insert-function): Use it.
5177 * progmodes/python.el (python-mode): Set it.
5178
d2e0e795
SM
5179 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5180 open braces.
5181
5182 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5183
bdc6b4c8
SM
5184 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5185 (css-mode): Use electric-indent-chars.
5186
da3e5ebb
SM
5187 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5188 (font-lock-beg, font-lock-end): Move before first use.
5189 (nxml-mode): Use syntax-propertize-function.
5190 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5191 (nxml-extend-after-change-region): Remove.
5192 * nxml/xmltok.el: Use lexical-binding.
5193 (xmltok-save): Use `declare'.
5194 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5195 * nxml/nxml-util.el: Use lexical-binding.
5196 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5197 Use `declare'.
5198 * nxml/nxml-ns.el: Use lexical-binding.
5199 (nxml-ns-save): Use `declare'.
5200 (nxml-ns-prefixes-for): Avoid add-to-list.
5201 * nxml/rng-match.el: Use lexical-binding.
5202 (rng--ipattern): Use cl-defstruct.
5203 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5204 (rng-cons-group-after, rng-subst-group-after)
5205 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5206 Use closures instead of `(lambda...).
5207
f8f91d5d
MA
52082013-10-07 Michael Albinus <michael.albinus@gmx.de>
5209
5210 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5211 of BEG and END.
5212
da3e5ebb
SM
5213 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5214 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
5215 (tramp-gvfs-handle-insert-file-contents): Remove function.
5216
da3e5ebb
SM
5217 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5218 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
5219
5220 * net/trampver.el: Update release number.
5221
7ccae3b1
SM
52222013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5223
55ca2c0d
SM
5224 * progmodes/compile.el (compilation-parse-errors):
5225 Use compilation--put-prop.
5226 (compilation--ensure-parse): Check compilation-multiline.
5227
731fc3ae
SM
5228 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5229
da3e5ebb
SM
5230 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5231 lexical-binding.
a5833280 5232
2e7ba2c2
SM
5233 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5234
7ccae3b1
SM
5235 * progmodes/ruby-mode.el: Fix recently added tests.
5236 (ruby-smie-grammar): Add - and +.
5237 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5238 (ruby-smie--backward-id): New functions.
5239 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5240 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5241 any more.
5242
85698d63
LL
52432013-10-07 Leo Liu <sdl.web@gmail.com>
5244
5245 * register.el (register-preview-delay)
5246 (register-preview-functions): New variables.
5247 (register-read-with-preview, register-preview)
5248 (register-describe-oneline): New functions.
5249 (point-to-register, window-configuration-to-register)
5250 (frame-configuration-to-register, jump-to-register)
5251 (number-to-register, view-register, insert-register)
5252 (copy-to-register, append-to-register, prepend-to-register)
5253 (copy-rectangle-to-register): Use register-read-with-preview to
5254 read register. (Bug#15525)
5255
3986af6c
DS
52562013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5257
5258 * net/network-stream.el (network-stream-open-starttls): Don't add
5259 --insecure if it's already present, because that gnutls-cli
5260 rejects getting that parameter twice.
5261
5cd9cda9
DG
52622013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5263
5264 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5265 keyword, too.
5266
da9ea6d9
DG
52672013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5268
5269 * newcomment.el (comment-use-global-state): Change default value
5270 to t, mark obsolete (Bug#15251).
5271 (comment-beginning): In addition to `comment-to-syntax', check the
5272 value of `comment-use-global-state'.
5273
34d1a133
SM
52742013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5275
5276 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5277 (ruby-comment-column): Follow the global default, by default.
5278 (ruby-smie-grammar): Add assignment syntax.
5279 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5280 open-paren, a comma, or a \.
5281 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5282 and line continuations.
5283 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5284 followed by implicit semi-colons. Add rule for string concatenation
5285 and for indentation at BOB.
5286 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5287
5288 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5289 calling next-sexp, since next-token may have skipped chars which
5290 next-sexp doesn't know should be skipped!
5291
6f6ab820
LL
52922013-10-05 Leo Liu <sdl.web@gmail.com>
5293
34d1a133
SM
5294 * progmodes/octave.el (octave-send-region):
5295 Call compilation-forget-errors.
6f6ab820 5296
34ca0f4c
XF
52972013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5298
5299 * vc/vc-svn.el (vc-svn-find-admin-dir):
5300 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5301 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5302 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5303 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5304
a27c1b72
SM
53052013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5306
5307 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5308
258ab3bc
SM
53092013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5310
5311 * subr.el (read-passwd): Hide chars even when called within a context
5312 where after-change-functions is disabled (bug#15501).
5313 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5314 until we removed ourself from overriding-terminal-local-map.
5315
939fb29c
LL
53162013-10-04 Leo Liu <sdl.web@gmail.com>
5317
258ab3bc
SM
5318 * progmodes/octave.el (inferior-octave-mode):
5319 Call compilation-forget-errors.
939fb29c 5320
63bd7f35
XF
53212013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5322
5323 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5324
9e6229fa
MA
53252013-10-04 Michael Albinus <michael.albinus@gmx.de>
5326
5327 * net/secrets.el (secrets-create-collection): Add optional
5328 argument ALIAS. Use proper Label keyword. Append ALIAS as
5329 dbus-call-method argument. (Bug#15516)
5330
1dab32a3
LL
53312013-10-04 Leo Liu <sdl.web@gmail.com>
5332
5333 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5334 (inferior-octave-compilation-font-lock-keywords): New variables.
5335 (compilation-error-regexp-alist)
5336 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5337 (inferior-octave-mode): Use compilation-shell-minor-mode.
5338
6cad7ba3
JS
53392013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5340
5341 * minibuffer.el (completion--replace): Be careful that `end' might be
5342 a marker.
5343
acbadd00
DU
53442013-10-03 Daiki Ueno <ueno@gnu.org>
5345
5346 Add support for package signature checking.
5347 * emacs-lisp/package.el (url-http-file-exists-p)
5348 (epg-make-context, epg-context-set-home-directory)
5349 (epg-verify-string, epg-context-result-for)
5350 (epg-signature-status, epg-signature-to-string)
5351 (epg-check-configuration, epg-configuration)
5352 (epg-import-keys-from-file): Declare.
5353 (package-check-signature): New user option.
5354 (package-unsigned-archives): New user option.
5355 (package-desc): Add `signed' field.
5356 (package-load-descriptor): Set `signed' field if .signed file exists.
5357 (package--archive-file-exists-p): New function.
5358 (package--check-signature): New function.
5359 (package-install-from-archive): Check package signature.
5360 (package--download-one-archive): Check archive signature.
5361 (package-delete): Remove .signed file.
5362 (package-import-keyring): New command.
5363 (package-refresh-contents): Import default keyring.
5364 (package-desc-status): Add "unsigned" status.
5365 (describe-package-1, package-menu--print-info)
5366 (package-menu-mark-delete, package-menu--find-upgrades)
5367 (package-menu--status-predicate): Support "unsigned" status.
5368
adf2aa61
SM
53692013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5372 the new compilation scheme using the new byte-codes.
5373
5374 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5375 (byte-pophandler): New byte codes.
5376 (byte-goto-ops): Adjust accordingly.
5377 (byte-compile--use-old-handlers): New var.
5378 (byte-compile-catch): Use new byte codes depending on
5379 byte-compile--use-old-handlers.
5380 (byte-compile-condition-case--old): Rename from
5381 byte-compile-condition-case.
5382 (byte-compile-condition-case--new): New function.
5383 (byte-compile-condition-case): New function that dispatches depending
5384 on byte-compile--use-old-handlers.
5385 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5386 when we can.
5387
5388 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5389 Optimize under `condition-case' and `catch' if
5390 byte-compile--use-old-handlers is nil.
5391 (disassemble-offset): Handle new bytecodes.
5392
328a8179
SM
53932013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5394
5395 * subr.el (error): Use `declare'.
5396 (decode-char, encode-char): Use advertised-calling-convention instead
5397 of the docstring to discourage use of the `restriction' arg.
5398
15a1e936
DU
53992013-10-03 Daiki Ueno <ueno@gnu.org>
5400
5401 * epg.el (epg-verify-file): Add a comment saying that it does not
5402 notify verification error as a return value nor a signal.
5403 (epg-verify-string): Ditto.
5404
376f862a
KR
54052013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5406
5407 * progmodes/compile.el (compilation-start): Try globbing the arg to
5408 `cd' (bug#15417).
5409
a2f93a5f
MA
54102013-10-02 Michael Albinus <michael.albinus@gmx.de>
5411
5412 Sync with Tramp 2.2.8.
5413
5414 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5415 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5416 * net/trampver.el: Update release number.
5417
0daa0804
JD
54182013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5419
5420 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5421 and default-process-coding-system for darwin only.
5422
abd1ae34
SM
54232013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5426
be4e325d
MH
54272013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5428
5429 * vc/vc-git.el (vc-git-grep): Disable pager.
5430
e9155c4a
DG
54312013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5432
494e898b
DG
5433 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5434 Use :url instead of :homepage, as per
5435 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5436
e9155c4a
DG
5437 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5438 non-nil, use `syntax-ppss' (Bug#15251).
5439
481a8e0f
RS
54402013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5441
be4e325d
MH
5442 * progmodes/octave.el (inferior-octave-startup-file):
5443 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 5444
056453c6
DG
54452013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5446
be4e325d
MH
5447 * emacs-lisp/package.el (package-desc-from-define):
5448 Accept additional arguments as plist, convert them to an alist and store
5449 them in the `extras' slot.
056453c6
DG
5450 (package-generate-description-file): Convert extras alist back to
5451 plist and append to the `define-package' form arguments.
5452 (package--alist-to-plist): New function.
5453 (package--ac-desc): Add `extras' slot.
5454 (package--add-to-archive-contents): Check if the archive-contents
5455 vector is long enough, and if it is, pass its `extras' slot value
5456 to `package-desc-create'.
5457 (package-buffer-info): Call `lm-homepage', pass the returned value
5458 to `package-desc-from-define'.
5459 (describe-package-1): Render the homepage button (Bug#13291).
5460
be4e325d
MH
5461 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5462 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 5463
832966e5
JD
54642013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5465
5466 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5467 and default-process-coding-system to utf-8-unix (Bug#15402).
5468
6cfe977d
XF
54692013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5470
5471 * subr.el (looking-back): Do not recommend using looking-back.
5472
38de11bd
AM
54732013-09-28 Alan Mackenzie <acm@muc.de>
5474
5475 Fix indentation/fontification of Java enum with "implements".
5476
5477 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5478 regexp which matches "implements", etc., in Java.
5479 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5480 specifier clauses coming after "enum".
5481 * progmodes/cc-fonts.el (c-font-lock-declarations)
5482 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5483 after "enum".
5484
1610938f
JD
54852013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5486
5487 * faces.el (region): Change ns_selection_color to
5488 ns_selection_fg_color, add ns_selection_bg_color.
5489
e090f499
LL
54902013-09-28 Leo Liu <sdl.web@gmail.com>
5491
4d2e94d1
LL
5492 * progmodes/octave.el (inferior-octave-completion-table)
5493 (inferior-octave-completion-at-point): Minor tweaks.
5494
e090f499
LL
5495 * textmodes/ispell.el (ispell-lookup-words): Rename from
5496 lookup-words. (Bug#15460)
5497 (lookup-words): Obsolete.
5498 (ispell-complete-word, ispell-command-loop): All uses changed.
5499
7e138a62
RS
55002013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5501
a12bf61e 5502 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
5503 (octave-mode-menu): Add octave-send-buffer.
5504 (octave-send-buffer): New function.
5505
5af5ed08
RS
55062013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5507
a12bf61e 5508 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
5509 octave-lookfor.
5510 (octave-mode-menu): Add octave-lookfor.
5511 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5512 octave-lookfor.
5513 (octave-lookfor): New function.
5514
3b7b2692
SM
55152013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5516
5517 * emacs-lisp/cl-macs.el:
5518 (cl--loop-destr-temps): Remove.
5519 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5520 its convention.
5521 (cl--loop-set-iterator-function): New function.
5522 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5523 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5524 Bind `it' with `let' instead of substituting it with `cl-subst'.
5525 (cl--unused-var-p): New function.
5526 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5527 Eliminate some unused variable warnings (bug#15326).
5528
529fb53f
TH
55292013-09-27 Tassilo Horn <tsdh@gnu.org>
5530
5531 * doc-view.el (doc-view-scale-reset): Rename from
5532 `doc-view-reset-zoom-level'.
5533 (doc-view-scale-adjust): New command.
5534 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5535 `doc-view-scale-adjust'.
5536
0550c95a
TH
55372013-09-26 Tassilo Horn <tsdh@gnu.org>
5538
5539 * doc-view.el (doc-view-reset-zoom-level): New command.
5540 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5541 zoom commands (bug#15466).
5542
6950f152
KH
55432013-09-26 Kenichi Handa <handa@gnu.org>
5544
5545 * international/quail.el (quail-help): Make it not a command.
5546
39587580
LL
55472013-09-26 Leo Liu <sdl.web@gmail.com>
5548
5549 * minibuffer.el (completion-all-sorted-completions): Make args
5550 optional as they are.
5551
00578659
DC
55522013-09-25 Daniel Colascione <dancol@dancol.org>
5553
5554 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5555 specs are and that they're not evaluated.
5556
0c173878
SS
55572013-09-24 Sam Steingold <sds@gnu.org>
5558
5559 * midnight.el (clean-buffer-list-kill-regexps)
5560 (clean-buffer-list-kill-buffer-names): Update for the new Man
5561 buffer naming which includes the object name.
5562
84998447
SM
55632013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5566 (eshell-parse-command, eshell-parse-pipeline): Use it since
5567 eshell-separate-commands requires a dynamic scoped var.
5568 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5569
33215353
LL
55702013-09-23 Leo Liu <sdl.web@gmail.com>
5571
5572 * autoinsert.el (auto-insert-alist): Make the value of
5573 lexical-binding match its file setting.
5574
57b16162
JB
55752013-09-23 Juanma Barranquero <lekktu@gmail.com>
5576
c8af4e67
JB
5577 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5578
57b16162
JB
5579 * autoarg.el (autoarg-kp-digit-argument):
5580 * electric.el (Electric-command-loop):
5581 * kmacro.el (kmacro-step-edit-insert):
5582 Do not set universal-argument-num-events.
5583
7186ba60
LL
55842013-09-22 Leo Liu <sdl.web@gmail.com>
5585
5586 * files.el (interpreter-mode-alist): Add octave.
5587
ece15004
AM
55882013-09-21 Alan Mackenzie <acm@muc.de>
5589
5590 C++: fontify identifier in declaration following "public:" correctly.
5591 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5592 to match "public", etc.
5593 (c-decl-prefix-re): Add ":" into the C++ value.
5594 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5595 bit. Add a check for a ":" preceded by "public", etc.
5596
75d83e22
EZ
55972013-09-21 Eli Zaretskii <eliz@gnu.org>
5598
5599 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5600 recognized by GDB 7.5 and later.
5601
d052d3bd
XF
56022013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5603
5604 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5605
31dca772
R
56062013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5607
5608 * subr.el (internal--call-interactively): New const.
5609 (called-interactively-p): Use it (bug#3984).
5610
98ccf24e
XF
56112013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5612
5613 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
5614 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5615 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 5616
c39cc7d1
SM
56172013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5620 (eshell-ls-orig-insert-directory): Remove.
5621 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5622 (eshell-ls-use-in-dired): Use advice-add/remove.
5623 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5624 Add `orig-fun' arg for use in :around advice.
5625 Make it check (redundantly) eshell-ls-use-in-dired.
5626
9a0289a2
GM
56272013-09-19 Glenn Morris <rgm@gnu.org>
5628
a2c501b8
GM
5629 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5630
c440407a
GM
5631 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5632
9a0289a2
GM
5633 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5634
85e05915
MA
56352013-09-19 Michael Albinus <michael.albinus@gmx.de>
5636
5637 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5638 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5639 (tramp-get-remote-python): New defuns.
5640 (tramp-get-remote-uid-with-perl)
5641 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5642 contributed by yary <not.com@gmail.com> (tiny change).
5643 (tramp-get-remote-uid-with-python)
5644 (tramp-get-remote-gid-with-python): New defuns. Python code
5645 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5646 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5647
ce503312
GM
56482013-09-19 Glenn Morris <rgm@gnu.org>
5649
f7544773
GM
5650 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5651
72fd2877
GM
5652 * eshell/em-unix.el (eshell-remove-entries):
5653 Rename argument to avoid name-clash with global `top-level'.
5654
336b5a56
GM
5655 * eshell/esh-proc.el (eshell-kill-process-function):
5656 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5657 (eshell-reset-after-proc): Remove unused arg `proc'.
5658
57a3a53d
GM
5659 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5660 (directory-files-and-attributes): Mark unused arg.
5661
3261d4af
GM
5662 * eshell/em-unix.el (eshell-remove-entries):
5663 Remove unused arg `path'. Update callers.
5664
8e51b5d0
GM
5665 * eshell/em-hist.el (eshell-hist-parse-arguments):
5666 Remove unused arg `silent'. Update callers.
5667
ce503312
GM
5668 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5669 Fix (f)boundp mix-up.
5670
5671 * eshell/em-smart.el (eshell-smart-scroll-window)
5672 (eshell-disable-after-change):
336b5a56 5673 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 5674
ee3ce8a7
AM
56752013-09-18 Alan Mackenzie <acm@muc.de>
5676
5677 Fix fontification of type when followed by "const".
5678 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5679 "known" types from fontification.
5680
ec9177ba
GM
56812013-09-18 Glenn Morris <rgm@gnu.org>
5682
7bb3e768
GM
5683 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5684 (chart-face-list): Drop Emacsen without display-color-p.
5685
5148da15
GM
5686 * net/eww.el (libxml-parse-html-region): Declare.
5687 (eww-display-html): Explicit error if no libxml2 support.
5688
2f68e157
GM
5689 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5690
9019d095
GM
5691 * image.el (image-type-from-buffer, image-multi-frame-p):
5692 Remove --without-x warning/error.
67645389 5693
5f30349b 5694 * mouse.el (mouse-yank-primary):
45069b2e 5695 * term.el (term-mouse-paste):
5f30349b
GM
5696 Reorder to silence --without-x compilation.
5697
cd8edbbe
GM
5698 * mpc.el (doc-view-mode): Silence --without-x compilation.
5699
8a78544e
GM
5700 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5701 Silence --without-x compilation.
5702
12679bfd
GM
5703 * progmodes/gud.el (gud-find-file, gud-mode):
5704 Silence --without-x compilation.
5705 (tooltip-mode): Declare.
30810a05 5706
f0047cb9
GM
5707 * wdired.el (dired-backup-overwrite): Remove declaration.
5708 (wdired-mode-map): Add doc string.
5709
e740f9d2
GM
5710 * custom.el (x-get-resource): Declare.
5711
92d77c89
GM
5712 * eshell/em-glob.el (ange-cache):
5713 * eshell/em-unix.el (ange-cache): Declare.
5714
76e69577
GM
5715 * faces.el (x-display-list, x-open-connection, x-get-resource):
5716 Declare.
7e58af4b
GM
5717
5718 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5719 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5720 Declare.
76e69577 5721
4bd4c0af 5722 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 5723
ffb82dbd
GM
5724 * net/gnutls.el (gnutls-log-level): Declare.
5725
986ed135
GM
5726 * net/shr.el (image-size, image-animate): Declare.
5727
e740f9d2
GM
5728 * simple.el (font-info): Declare.
5729
d2f3e9f8
GM
5730 * subr.el (x-popup-dialog): Declare.
5731
047a1a4c
GM
5732 * term/common-win.el (x-select-enable-primary)
5733 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5734 Declare.
5735
f4a1d572
GM
5736 * term/ns-win.el (x-handle-args): Declare.
5737
e843de77
GM
5738 * term/x-win.el (x-select-enable-clipboard): Declare.
5739
5fa89513
GM
5740 * term/w32-win.el (create-default-fontset): Declare.
5741
38702b5b
GM
5742 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5743 Declare.
5744
e740f9d2
GM
5745 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5746 (fit-frame-to-buffer): Explicit error if --without-x.
5747 (mouse-autoselect-window-select): Silence compiler.
5748
49a053fc
GM
5749 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5750
5751 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5752 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5753 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 5754 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
5755 Remove unused local variables.
5756
5757 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5758
ec9177ba
GM
5759 * textmodes/two-column.el: Make 2C-split work for --without-x.
5760 (scroll-bar-columns): Autoload.
5761 (top-level): Require fringe when compiling.
5762
9f25cb77
LL
57632013-09-18 Leo Liu <sdl.web@gmail.com>
5764
5765 * subr.el (add-hook): Robustify to handle closure as well.
5766
2b42da98
GM
57672013-09-17 Glenn Morris <rgm@gnu.org>
5768
5769 * simple.el (messages-buffer-mode-map): Unbind "g".
5770
e8b66a6a
SM
57712013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5772
9c0ad4f7
SM
5773 * help-mode.el (help-mode-finish): Use derived-mode-p.
5774 Remove obsolete highlighting.
5775
7a806dfb
SM
5776 * play/life.el (life-mode): Use define-derived-mode. Derive from
5777 special-mode.
5778 (life): Let-bind inhibit-read-only.
5779 (life-setup): Avoid `setq'. Use `life-mode'.
5780
96dbf5a8
SM
5781 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5782 which should not be needed any more.
5783 (package-menu-refresh, package-menu-describe-package): Use user-error.
5784
e8b66a6a
SM
5785 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5786 (eshell-post-rewrite-command-hook): Make obsolete.
5787 (eshell-parse-command): Simplify.
5788 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5789 (eshell--cmd): Declare.
5790 (eshell-parse-pipeline): Remove unused var `final-p'.
5791 Pass a dynvar to eshell-post-rewrite-command-hook.
5792 Implement the new eshell-post-rewrite-command-function.
5793 (eshell-invoke-directly): Remove unused arg `input'.
5794 * eshell/esh-io.el (eshell-io-initialize):
5795 Use eshell-post-rewrite-command-function (bug#15399).
5796 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5797 adjust to new calling convention.
5798 (eshell-create-handles): Rename args to avoid clashing with dynvar
5799 `standard-output'.
5800
90582f05
GM
58012013-09-17 Glenn Morris <rgm@gnu.org>
5802
5803 * simple.el (messages-buffer-mode): New major mode.
5804 (messages-buffer): New function.
5805 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5806 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 5807 (ert-run-test): Use `messages-buffer' function.
90582f05 5808 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
5809 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5810 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 5811
39eb0cb5 58122013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
5813
5814 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5815
1d42e5b6 5816 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 5817
70568a90
SM
58182013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5819
504a0381
SM
5820 * icomplete.el (icomplete-in-buffer): New var.
5821 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5822 vars and replace them with functions.
5823 (icomplete-minibuffer-setup): Adjust accordingly.
5824 (icomplete--completion-table, icomplete--completion-predicate)
5825 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5826 New functions.
5827 (icomplete-forward-completions, icomplete-backward-completions)
5828 (icomplete-simple-completing-p, icomplete-exhibit)
5829 (icomplete-completions): Use them.
5830 (icomplete--in-region-buffer): New var.
5831 (icomplete--in-region-setup): New function.
5832 (icomplete-mode): Use it.
5833
70568a90
SM
5834 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5835 (bug#15379).
5836 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5837 return args and options.
5838 (eshell-eval-using-options): Use the new return value of
5839 eshell--do-opts to set the options's vars in their scope.
5840 (eshell--set-option): Rename from eshell-set-option.
5841 Add arg `opt-vals'.
5842 (eshell--process-option): Rename from eshell-process-option.
5843 Add arg `opt-vals'.
5844 (eshell--process-args): Use an `opt-vals' alist to store the options's
5845 values during their processing and return them additionally to the
5846 remaining args.
5847
578c21bc
DG
58482013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5849
5850 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5851 continuation character an operator, as far as indentation is
5852 concerned (Bug#15369).
5853
c089653d
MR
58542013-09-15 Martin Rudalics <rudalics@gmx.at>
5855
5856 * window.el (window--state-put-2): Don't process buffer state
5857 when buffer doesn't exist any more (Bug#15382).
5858
1e53bb4b
GM
58592013-09-15 Glenn Morris <rgm@gnu.org>
5860
30753242
GM
5861 * eshell/em-unix.el (eshell/rm):
5862 Make -f ignore missing files. (Bug#15373)
5863
1e53bb4b
GM
5864 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5865 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5866 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5867
0d8863b3
GM
58682013-09-14 Glenn Morris <rgm@gnu.org>
5869
5870 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5871
d3fc6549
GM
58722013-09-13 Glenn Morris <rgm@gnu.org>
5873
5874 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5875 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5876
fcd42c11
DA
58772013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5878
5879 * frame.el (x-focus-frame): Mark as declared in frame.c.
5880
7830899f
SM
58812013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5882
5883 * ls-lisp.el: Use advice-add.
5884 (original-insert-directory): Remove.
5885 (ls-lisp--insert-directory): Rename from insert-directory; add
5886 `orig-fun' argument.
5887 (insert-directory): Advise.
5888
84387cd2
EZ
58892013-09-13 Eli Zaretskii <eliz@gnu.org>
5890
5891 * term.el (term-emulate-terminal): Decode the command string
5892 before passing it to term-command-hook. (Bug#15337)
5893
35ffc6ba
GM
58942013-09-13 Glenn Morris <rgm@gnu.org>
5895
5c3f9bcc
GM
5896 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5897
2ada368a
GM
5898 * eshell/esh-ext.el (eshell-search-path): Declare.
5899
fcef2e13
GM
5900 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5901 Otherwise an error occurs if eshell-dirs module not loaded.
5902
35ffc6ba
GM
5903 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5904
35c3d36e
MA
59052013-09-13 Michael Albinus <michael.albinus@gmx.de>
5906
5907 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5908 `tramp-check-proper-host'. Check for a valid method name.
5909
5910 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5911 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5912 * net/tramp-sh.el (tramp-maybe-open-connection):
5913 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5914
5915 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5916 also for hash values.
5917
ae5e4c48
SM
59182013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5919
379add74
SM
5920 * term/ns-win.el (parameters): Don't declare as dynamic.
5921 (before-make-frame-hook): Don't add ineffective function.
5922
ae5e4c48
SM
5923 * eshell/*.el: Use lexical-binding (bug#15231).
5924
b5623270
KH
59252013-09-12 Kenichi Handa <handa@gnu.org>
5926
ae5e4c48 5927 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 5928
30213927
GM
59292013-09-12 Glenn Morris <rgm@gnu.org>
5930
be94d713 5931 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 5932 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 5933
44915370
GM
5934 * subr.el (do-after-load-evaluation): Also give compiler warnings
5935 when obsolete files are used (except by obsolete files).
5936
a6ae021f
GM
5937 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5938 in the status output, assume `filename' is the first. (Bug#15322)
5939
40e64f0c
GM
5940 * vc/vc.el (vc-deduce-fileset): Doc fix.
5941
16d9f896
GM
5942 * calc/calc-help.el (Info-goto-node):
5943 * progmodes/cperl-mode.el (Info-find-node):
5944 * vc/ediff.el (Info-goto-node): Update declarations.
5945
dea01c6e
GM
5946 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5947
759880bf 5948 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
5949 (vc-bzr-pull): Require vc-dispatcher.
5950 * vc/vc-git.el (vc-compilation-mode): Declare.
5951 (vc-git-pull): Require vc-dispatcher.
5952
08d66420
GM
5953 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5954
30b626e9
GM
5955 * progmodes/octave.el (help-button-action): Declare.
5956
8c05cb10
GM
5957 * shell.el (shell-directory-tracker): Output error as a message
5958 rather than just returning it as a string.
5959 (shell-process-pushd): Remove useless use of message.
5960
30213927
GM
5961 * dframe.el (dframe-timer-fn):
5962 * files.el (dir-locals-read-from-file):
5963 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5964 (mpc-format):
5965 * reveal.el (reveal-post-command):
5966 * saveplace.el (load-save-place-alist-from-file):
5967 * shell.el (shell-resync-dirs):
5968 * w32-common-fns.el (x-get-selection-value):
5969 * emacs-lisp/copyright.el (copyright-find-copyright):
5970 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5971 * emulation/tpu-edt.el (tpu-copy-keyfile):
5972 * play/bubbles.el (bubbles--mark-neighbourhood):
5973 * progmodes/executable.el
5974 (executable-make-buffer-file-executable-if-script-p):
5975 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5976
d3b049e6
SM
59772013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5978
170266d0
SM
5979 Cleanup Eshell to rely less on dynamic scoping.
5980 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5981 last-value, and ext-command here. Bind `args' closer to `body'.
5982 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5983 (eshell--args): Declare new dynamic var.
5984 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5985 last-value, and ext-command. Pass `args' to `body'.
5986 (eshell-process-args): Bind eshell--args.
5987 (eshell-set-option): Use eshell--args.
5988 * eshell/eshell.el (eshell): Use derived-mode-p.
5989 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5990 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5991 (eshell-glob-function): Declare.
5992 * eshell/esh-util.el: Require cl-lib.
5993 (eshell-read-hosts-file): Avoid add-to-list.
5994 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5995 `err'.
5996 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5997 Declare.
5998 (eshell/diff): Remove unused var `err'.
5999 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6000 `killflag'.
6001 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6002 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6003 first use.
6004 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6005 Move declaration before first use.
6006 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
6007 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6008 rely on cl-return.
6009
56834f3b
GM
60102013-09-12 Glenn Morris <rgm@gnu.org>
6011
6012 * term/ns-win.el (global-map): Remove binding for ispell-next,
6013 deleted 1999-05-29. (Bug#15357)
6014
5c91a2b8
GM
60152013-09-11 Glenn Morris <rgm@gnu.org>
6016
da712f22
GM
6017 * echistory.el (electric-command-history): Remove call to deleted func.
6018
512e4cdc
GM
6019 * play/landmark.el (landmark-mode): Fix typos.
6020
d3506ca5
GM
6021 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6022 Check cvs-sort-ignore-file is bound.
6023
5c91a2b8
GM
6024 * savehist.el: No need for cl when compiling on Emacs.
6025
feeff482
SM
60262013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6027
656bd483
SM
6028 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6029 (bug#15338).
d3b049e6
SM
6030 (eshell-self-insert-command, eshell-send-invisible):
6031 Remove unused argument.
656bd483
SM
6032 (eshell-handle-control-codes): Remove unused var `orig'.
6033 Avoid delete-backward-char.
6034
feeff482
SM
6035 * files.el (set-auto-mode): Simplify a bit further.
6036
2a08047a
GM
60372013-09-11 Glenn Morris <rgm@gnu.org>
6038
6039 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6040 (set-auto-mode): Don't regexp-quote elements.
6041 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6042 * progmodes/cc-mode.el (interpreter-mode-alist):
6043 * progmodes/ruby-mode.el (interpreter-mode-alist):
6044 Revert previous change.
6045
34675540
SM
60462013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6047
1b3b87df
SM
6048 * play/snake.el (snake-mode):
6049 * play/mpuz.el (mpuz-mode):
6050 * play/landmark.el (lm-mode):
6051 * play/blackbox.el (blackbox-mode):
6052 * play/5x5.el (5x5-mode):
6053 * obsolete/options.el (Edit-options-mode):
6054 * net/quickurl.el (quickurl-list-mode):
6055 * net/newst-treeview.el (newsticker-treeview-mode):
6056 * mail/rmailsum.el (rmail-summary-mode):
6057 * mail/mspools.el (mspools-mode):
6058 * locate.el (locate-mode):
6059 * ibuffer.el (ibuffer-mode):
6060 * emulation/ws-mode.el (wordstar-mode):
6061 * emacs-lisp/debug.el (debugger-mode):
6062 * array.el (array-mode):
6063 * net/eudc.el (eudc-mode): Use define-derived-mode.
6064 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6065 Move initialization into declaration.
6066 (mairix-searches-mode): Use define-derived-mode.
6067 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6068 (eudc-edit-hotlist): Use dolist.
6069 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6070 (Man-mode): Use define-derived-mode.
6071 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6072 (Info-edit-mode): Use define-derived-mode.
6073 (Info-cease-edit): Use Info-mode.
6074 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6075 into declaration.
6076 (eshell-mode): Use define-derived-mode.
6077 * chistory.el (command-history-mode-map): Rename from
6078 command-history-map.
6079 (command-history-mode): Use define-derived-mode.
da712f22 6080 (Command-history-setup): Remove function.
1b3b87df
SM
6081 * calc/calc.el (calc-trail-mode-map): New var.
6082 (calc-trail-mode): Use define-derived-mode.
6083 (calc-trail-buffer): Set calc-main-buffer manually.
6084 * bookmark.el (bookmark-insert-annotation): New function.
6085 (bookmark-edit-annotation): Use it.
6086 (bookmark-edit-annotation-mode): Make it a proper major mode.
6087 (bookmark-send-edited-annotation): Use derived-mode-p.
6088 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6089 closer to its ideal place. Use \' to match EOS.
6090
34675540
SM
6091 * profiler.el (profiler-calltree-find): Use function-equal.
6092
6a5c15d9
GM
60932013-09-10 Glenn Morris <rgm@gnu.org>
6094
1af4c220
GM
6095 * files.el (interpreter-mode-alist): Convert to regexps.
6096 (set-auto-mode): Adapt for this. (Bug#15306)
6097 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6098 Comment out unused variable.
6099 * progmodes/cc-mode.el (interpreter-mode-alist):
6100 * progmodes/python.el (interpreter-mode-alist):
6101 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6102 * progmodes/sh-script.el (sh-set-shell):
6103 No longer use interpreter-mode-alist to get list of shells.
6104
6a5c15d9
GM
6105 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6106
8c27f5ff
SM
61072013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6108
02ef6c1a 6109 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 6110 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
6111 Bind switch-frame explicitly. Replace universal-argument-minus with
6112 a conditional binding.
6113 (universal-argument-num-events, saved-overriding-map): Remove.
6114 (restore-overriding-map): Remove.
6115 (universal-argument--mode): Rename from save&set-overriding-map,
6116 and rewrite.
6117 (universal-argument, universal-argument-more, negative-argument)
6118 (digit-argument): Adjust accordingly.
6119 (universal-argument-minus): Remove.
6120 (universal-argument-other-key): Remove.
6121
8c27f5ff
SM
6122 * subr.el (with-demoted-errors): Add `format' argument.
6123
6480194c
MA
61242013-09-10 Michael Albinus <michael.albinus@gmx.de>
6125
6126 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6127 `tramp-cleanup-connection'.
6128
6129 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6130 parameters KEEP-DEBUG and KEEP-PASSWORD.
6131
6132 * net/tramp.el (tramp-file-name-handler):
6133 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6134 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6135 (tramp-maybe-open-connection):
8c27f5ff
SM
6136 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6137 Use `tramp-cleanup-connection'.
6480194c 6138
8c27f5ff
SM
6139 * net/tramp-sh.el (tramp-maybe-open-connection):
6140 Catch 'uname-changed inside the progress reporter.
6480194c 6141
e5e916d8
GM
61422013-09-10 Glenn Morris <rgm@gnu.org>
6143
9a2c9b47
GM
6144 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6145
e5e916d8
GM
6146 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6147 returns "alternate access method" in mode (eg "-rw-r--r--.").
6148
144e38fe
GM
61492013-09-08 Glenn Morris <rgm@gnu.org>
6150
6151 * saveplace.el (load-save-place-alist-from-file):
6152 Demote errors. (Bug#15305)
6153
af9ff9e8
MA
61542013-09-08 Michael Albinus <michael.albinus@gmx.de>
6155
6156 Improve compatibility with older Emacsen, and XEmacs.
6157
6158 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6159 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
6160 (with-tramp-progress-reporter): Do not let-bind `result'.
6161 This yields to scoping errors in XEmacs.
af9ff9e8
MA
6162 (tramp-handle-make-auto-save-file-name): New function, moved from
6163 tramp-sh.el.
6164
6165 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6166 for `make-auto-save-file-name'.
8c27f5ff
SM
6167 (tramp-adb--gnu-switches-to-ash):
6168 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6169
6170 * net/tramp-cache.el (tramp-cache-print): Call
6171 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6172
6173 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6174 bound. It isn't for XEmacs.
6175
8c27f5ff
SM
6176 * net/tramp-compat.el (tramp-compat-copy-file):
6177 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
6178 (tramp-compat-replace-regexp-in-string): New defun.
6179
6180 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6181 for `make-auto-save-file-name'.
6182 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6183 `copy-file'.
6184 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6185 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6186 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6187
8c27f5ff
SM
6188 * net/tramp-gw.el (tramp-gw-open-network-stream):
6189 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 6190
8c27f5ff
SM
6191 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6192 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
6193 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6194 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
6195 (tramp-sh-file-inotifywait-process-filter):
6196 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6197 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6198
6199 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6200 for `make-auto-save-file-name'.
8c27f5ff
SM
6201 (tramp-smb-handle-copy-directory):
6202 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
6203 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6204 (tramp-smb-handle-copy-file): Improve error message.
6205 (tramp-smb-handle-rename-file): Rename directly only in case
6206 `newname' does not exist yet. This is a restriction of smbclient.
6207 (tramp-smb-maybe-open-connection): Rerun the function only when
6208 `auth-sources' is non-nil.
6209
0ca754d0
KH
62102013-09-08 Kenichi Handa <handa@gnu.org>
6211
e0eb0550 6212 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
6213 more characters.
6214
e8dd0787
AM
62152013-09-07 Alan Mackenzie <acm@muc.de>
6216
6217 Correctly fontify Java class constructors.
6218 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6219 in Java Mode.
6220 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
6221 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6222 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
6223 "typeless" declaration there.
6224
f2f248e7
RW
62252013-09-07 Roland Winkler <winkler@gnu.org>
6226
6227 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6228 field subtitle for entry type book.
6229
67982e2b
SM
62302013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * minibuffer.el: Make minibuffer-complete call completion-in-region
6233 rather than other way around.
6234 (completion--some, completion-pcm--find-all-completions):
6235 Don't delay signals when debugging.
6236 (minibuffer-completion-contents): Beware fields within the
6237 minibuffer contents.
6238 (completion-all-sorted-completions): Use defvar-local.
6239 (completion--do-completion, completion--cache-all-sorted-completions)
6240 (completion-all-sorted-completions, minibuffer-force-complete):
6241 Add args `beg' and `end'.
6242 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6243 (minibuffer-complete): Use completion-in-region.
6244 (completion-complete-and-exit): New fun, extracted from
6245 minibuffer-complete-and-exit.
6246 (minibuffer-complete-and-exit): Use it.
6247 (completion--complete-and-exit): Rename from
6248 minibuffer--complete-and-exit.
6249 (completion-in-region--single-word): New function, extracted from
6250 minibuffer-complete-word.
6251 (minibuffer-complete-word): Use it.
6252 (display-completion-list): Make `common-substring' argument obsolete.
6253 (completion--in-region): Call completion--in-region-1 instead of
6254 minibuffer-complete.
6255 (completion-help-at-point): Pass boundaries to
6256 minibuffer-completion-help as args rather than via an overlay.
6257 (completion-pcm--string->pattern): Use `any-delim'.
6258 (completion-pcm--optimize-pattern): New function.
6259 (completion-pcm--pattern->regex): Handle `any-delim'.
6260 * icomplete.el (icomplete-forward-completions)
6261 (icomplete-backward-completions, icomplete-completions):
6262 Adjust calls to completion-all-sorted-completions and
6263 completion--cache-all-sorted-completions.
6264 (icomplete-with-completion-tables): Default to t.
6265 * emacs-lisp/crm.el (crm--current-element): Rename from
6266 crm--select-current-element. Don't put an overlay but return the
6267 boundaries instead.
6268 (crm--completion-command): Take two new args to bind to the boundaries.
6269 (crm-completion-help): Adjust accordingly.
6270 (crm-complete): Use completion-in-region.
6271 (crm-complete-word): Use completion-in-region--single-word.
6272 (crm-complete-and-exit): Use completion-complete-and-exit.
6273
e17d94a5
SM
62742013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6275
6276 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6277 than dynamically.
6278
96727100
JL
62792013-09-06 Juri Linkov <juri@jurta.org>
6280
6281 * info.el (Info-display-images-node): When image file doesn't exist
6282 display text version of the image if it's provided in the Info file.
6283 Otherwise, display the location of missing image from SRC attribute.
6284 Add help-echo text property from ALT attribute. (Bug#15279)
6285
86cf7329
SM
62862013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6287
6288 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6289 (edit-abbrevs-mode): Use define-derived-mode.
6290
6291 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6292 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6293 that it's defined.
6294 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6295 Use define-derived-mode.
6296
6297 * epg.el (epg-start-encrypt): Minor CSE simplification.
6298
816244a2
WX
62992013-09-06 William Xu <william.xwl@gmail.com>
6300
6301 * arc-mode.el: Add support for 7za (bug#15264).
6302 (archive-7z-program): New var.
6303 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6304 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6305 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6306
1486fa31
MA
63072013-09-06 Michael Albinus <michael.albinus@gmx.de>
6308
6309 Remove URL syntax.
6310
6311 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6312 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6313 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6314 (tramp-postfix-host-format, tramp-file-name-regexp)
6315 (tramp-completion-file-name-regexp)
6316 (tramp-completion-dissect-file-name)
6317 (tramp-handle-substitute-in-file-name): Remove 'url case.
6318 (tramp-file-name-regexp-url)
6319 (tramp-completion-file-name-regexp-url): Remove constants.
6320
39785324
GM
63212013-09-06 Glenn Morris <rgm@gnu.org>
6322
6323 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6324
1f896cb7
DG
63252013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6326
6327 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6328 keywords" below "here-doc beginnings" (Bug#15270).
6329
c0458e0b
SM
63302013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6331
6332 * subr.el (pop): Use `car-safe'.
6333 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6334 to detect unused `pop' return value.
6335
6336 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6337 var `block-regexp'.
6338 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6339 (python-fill-string): Remove unused var `marker'.
6340 (python-skeleton-add-menu-items): Remove unused var `items'.
6341
6342 * international/mule-cmds.el: Require CL.
6343 (find-coding-systems-for-charsets): Avoid add-to-list.
6344 (sanitize-coding-system-list): New function, extracted from
6345 select-safe-coding-system-interactively.
6346 (select-safe-coding-system-interactively): Use it.
6347 (read-input-method-name): Accept symbols for `default'.
6348
6349 * emacs-lisp/advice.el (defadvice): Add indent rule.
6350
6c42fc3e
DH
63512013-09-05 Daniel Hackney <dan@haxney.org>
6352
6353 * dired-x.el:
6354 * net/ange-ftp.el:
6355 * net/browse-url.el:
6356 * net/dbus.el:
6357 * net/eudc.el:
6358 * net/eudcb-ldap.el:
6359 * net/eww.el:
6360 * net/imap.el:
6361 * printing.el:
6362 * vc/ediff-diff.el:
6363 * vc/ediff-init.el:
6364 * vc/ediff-merg.el:
6365 * vc/ediff-mult.el:
6366 * vc/ediff-util.el:
6367 * vc/ediff-wind.el:
6368 * vc/ediff.el:
6369 * vc/emerge.el:
6370 * vc/pcvs.el:
6371 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6372 byte compiler. Remove some unused let-bound variables.
6373
4c528aab
SM
63742013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6377 a "ref-cell", since it gets better optimized (bug#14883).
6378
bd15c390
GM
63792013-09-05 Glenn Morris <rgm@gnu.org>
6380
6381 * progmodes/cc-awk.el (c-forward-sws): Declare.
6382
1c3ac2e5
GM
63832013-09-04 Glenn Morris <rgm@gnu.org>
6384
6385 * generic-x.el [rul-generic-mode]: Require cc-mode.
6386 (c++-mode-syntax-table): Declare.
6387 (rul-generic-mode-syntax-table): Init in the defvar.
6388
52b1cc79
SM
63892013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6390
c828af56
SM
6391 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6392 (vc-do-command, vc-set-async-update):
6393 * vc/vc-mtn.el (vc-mtn-dir-status):
6394 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6395 (vc-hg-pull, vc-hg-merge-branch):
6396 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6397 (vc-git-merge-branch):
6398 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6399 (vc-cvs-dir-status-files):
6400 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6401 (vc-bzr-dir-status-files):
6402 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6403 * vc/vc-annotate.el: Use lexical-binding.
6404 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6405 (vc-sentinel-movepoint): Declare.
6406 (vc-annotate): Don't use `goto-line'.
6407 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6408 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6409 (vc-sentinel-movepoint): Declare.
6410 * vc/vc-svn.el: Use lexical-binding.
6411 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6412 * vc/vc-sccs.el:
6413 * vc/vc-rcs.el: Use lexical-binding.
6414
abae272c
SM
6415 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6416 `deleted'. Don't drop errors silently.
6417
52b1cc79
SM
6418 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6419
63191d9f
XF
64202013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6421
6422 * vc/vc.el (vc-ignore): Rewrite.
6423 (vc-default-ignore): New function.
6424 (vc-default-ignore-completion-table): Use find-ignore-file.
6425
6426 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6427 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6428 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6429 Remove. Most code moved to vc.el.
6430
9d3f707c
SM
64312013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6432
abae272c 6433 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
6434 * net/tramp-smb.el (tramp-smb-get-file-entries):
6435 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6436 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6437
fde38d49
SM
6438 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6439 Update call to it.
6440 (eww-change-select): Remove unused var `properties'.
6441 (eww-make-unique-file-name): Remove unused var `base'.
6442
6443 * finder.el (finder-compile-keywords): Don't mess with windows.
6444
84032db7
SM
6445 * calculator.el (calculator-funcall): Fix typo in last change.
6446
724f5e41
SM
6447 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6448
14b511d4
SM
6449 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6450 <pkg>-autoloads.el file stop us.
6451
9d3f707c 6452 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 6453 warnings, and factor out common code.
9d3f707c 6454
88527bc0
DG
64552013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6456
6457 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6458 two-character operators and whether the character preceding them
6459 changes their meaning (Bug#15208).
6460
96edb677
FEG
64612013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6462
6463 Format code sent to Python shell for robustness.
9d3f707c
SM
6464 * progmodes/python.el (python-shell-buffer-substring):
6465 New function.
96edb677
FEG
6466 (python-shell-send-region, python-shell-send-buffer): Use it.
6467
95beaef3
MA
64682013-09-02 Michael Albinus <michael.albinus@gmx.de>
6469
6470 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6471 * net/tramp.el (tramp-user-error): ... here.
6472 (tramp-find-method, tramp-check-proper-host)
6473 (tramp-dissect-file-name, tramp-debug-message)
6474 (tramp-handle-shell-command):
6475 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6476 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6477
6478 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6479
f167c27b
MR
64802013-09-02 Martin Rudalics <rudalics@gmx.at>
6481
6482 * avoid.el (mouse-avoidance-point-position)
6483 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6484 returns nil.
6485
cd16c5f1
FEG
64862013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6487
6488 * progmodes/python.el (python-shell-completion-get-completions):
6489 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 6490 (python-nav-if-name-main): New command.
cd16c5f1 6491
e73c3a0d
GM
64922013-09-01 Glenn Morris <rgm@gnu.org>
6493
f8ccce03
GM
6494 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6495 Avoid leading space in $wins. Otherwise the sed command used by
6496 eg compile-main ends up containing "/*.el". (Bug#15170)
6497
e73c3a0d
GM
6498 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6499
415f808e
GM
65002013-08-30 Glenn Morris <rgm@gnu.org>
6501
6502 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6503 Fix is-this-a-directory logic. (Bug#15220)
6504
f069bba8
SM
65052013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6506
112798c1
SM
6507 * textmodes/css-mode.el: Use SMIE.
6508 (css-smie-grammar): New var.
6509 (css-smie--forward-token, css-smie--backward-token)
6510 (css-smie-rules): New functions.
6511 (css-mode): Use them.
6512 (css-navigation-syntax-table): Remove var.
6513 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6514 (css-indent-calculate, css-indent-line): Remove functions.
6515
6516 Misc changes to reduce use of `(lambda...); and other cleanups.
6517 * cus-edit.el: Use lexical-binding.
6518 (customize-push-and-save, customize-apropos)
6519 (custom-buffer-create-internal): Use closures.
6520 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6521 * progmodes/ada-xref.el: Use setq.
6522 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6523 * dframe.el: Use lexical-binding.
6524 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6525 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6526 * descr-text.el: Use lexical-binding.
6527 (describe-text-widget, describe-text-sexp, describe-property-list):
6528 Use closures.
6529 * comint.el (comint-history-isearch-push-state): Use a closure.
6530 * calculator.el: Use lexical-binding.
6531 (calculator-number-to-string): Make it work with lexical-binding.
6532 (calculator-funcall): Same and use cl-letf.
6533
2da4c3ab
SM
6534 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6535 (lisp--company-doc-string, lisp--company-location): New functions.
6536 (lisp-completion-at-point): Use them to improve Company support.
6537
f069bba8
SM
6538 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6539 params of lambda expressions.
6540 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6541 (ruby-smie--opening-pipe-p): New function.
6542 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6543 symbols and matched |...| for formal params.
6544 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6545 from being treated as hanging. Handle "rescue".
6546
6758b6a8
GM
65472013-08-29 Glenn Morris <rgm@gnu.org>
6548
6549 * progmodes/cc-engine.el (c-pull-open-brace):
6550 Move definition before use.
6551
e8dfd197
SM
65522013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6553
6554 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6555 are immutable. Don't use `unsafe' any more.
6556 (cl--defsubst-expand): Don't substitute at the same time as keeping
6557 a residual unused let-binding. Don't use `unsafe' any more.
6558
cc585c96
GM
65592013-08-29 Glenn Morris <rgm@gnu.org>
6560
ba579ea6
GM
6561 * calendar/cal-china.el (calendar-chinese-year-cache):
6562 Recenter on 2015.
6563
8201a87e
GM
6564 * nxml/nxml-util.el (nxml-debug-clear-inside):
6565 Use cl-loop rather than loop.
6566
6ee877c7
GM
6567 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6568
cc585c96
GM
6569 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6570
27be8d39
GM
65712013-08-28 Glenn Morris <rgm@gnu.org>
6572
397440a1
GM
6573 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6574
2bb762d4
GM
6575 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6576
27be8d39
GM
6577 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6578
2d69b99e
SM
65792013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6580
f663baa7
SM
6581 * simple.el (repeat-complex-command--called-interactively-skip):
6582 New function.
6583 (repeat-complex-command): Use it (bug#14136).
6584
dd4f8b74
SM
6585 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6586 (c-define-abbrev-table): Add `doc' argument.
6587 (c-mode-abbrev-table, c++-mode-abbrev-table)
6588 (objc-mode-abbrev-table, java-mode-abbrev-table)
6589 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6590 (awk-mode-abbrev-table): Use it.
6591 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6592 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6593 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6594 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6595 Move initialization into the declaration; and remove any
6596 autoload cookie.
6597
b58969f7
SM
6598 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6599 and dynamic let binding.
6600
4021d6a6
SM
6601 * vc/smerge-mode.el: Remove redundant :group args.
6602
2d69b99e
SM
6603 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6604 to load-path.
6605
274919fd
JL
66062013-08-28 Juri Linkov <juri@jurta.org>
6607
6608 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6609 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6610 (isearch-other-meta-char): Handle an undefined shifted printing
6611 character by downshifting it. (Bug#15200)
6612
121f8c95
JL
66132013-08-28 Juri Linkov <juri@jurta.org>
6614
6615 * isearch.el (isearch-search): Change regexp error message for
6616 non-regexp searches. (Bug#15166)
6617
50b13cde
PE
66182013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6619
6620 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6621 for portability to hosts where /bin/sh has problems.
6622
95888bca
SM
66232013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6626
bbe558f1
JL
66272013-08-27 Juri Linkov <juri@jurta.org>
6628
6629 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6630 in the keyboard macro. (Bug#15126)
6631
26f98a7d
JL
66322013-08-27 Juri Linkov <juri@jurta.org>
6633
6634 * isearch.el (isearch-quote-char): Comment out converting unibyte
6635 to multibyte, thus syncing with its `quoted-insert' counterpart.
6636 (Bug#15166)
6637
7c97d35e
MR
66382013-08-27 Martin Rudalics <rudalics@gmx.at>
6639
6640 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
6641 argument in call of get-largest-window (Bug#15185).
6642 Reported by Stephen Leake.
7c97d35e 6643
a0b5606e 66442013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
6645
6646 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6647
9e89d835
SM
66482013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6649
6650 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6651 from a matcher-function unless there's no more matches (bug#15161).
6652
78fc2530
MA
66532013-08-26 Michael Albinus <michael.albinus@gmx.de>
6654
6655 * minibuffer.el: Revert change from 2013-08-20.
6656
6657 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6658 with text property `tramp-default', if appropriate.
6659 (tramp-check-proper-host): New defun.
6660 (tramp-dissect-file-name): Do not check hostname. Revert change
6661 of 2013-03-18.
6662 (tramp-backtrace): Make VEC-OR-PROC optional.
6663
6664 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6665 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6666 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
6667 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6668 Apply `tramp-check-proper-host'.
78fc2530 6669
edca97cd
TH
66702013-08-26 Tassilo Horn <tsdh@gnu.org>
6671
6672 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6673 lambda expression in order to have `describe-variable' display it.
6674
df54bcbd
MA
66752013-08-26 Michael Albinus <michael.albinus@gmx.de>
6676
6677 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6678 BUF can be optional. (Bug#15186)
6679
eed99101
XF
66802013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6681
6682 * progmodes/flymake.el (flymake-get-real-file-name-function):
6683 Fix broken customization. (Bug#15184)
6684
b5eb9035
AM
66852013-08-25 Alan Mackenzie <acm@muc.de>
6686
8a51e842
AM
6687 Improve indentation of bracelists defined by macros (without "=").
6688
6689 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6690 expansion begins with "{", regard it as bracelist when it doesn't
6691 contain a ";".
6692
869455d4
AM
6693 Parse C++ inher-intro when there's a template split over 2 lines.
6694
6695 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6696 rigorously the search for "class" etc. followed by ":".
6697
6698 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6699 random languages a regexp which never matches rather than nil.
6700
b5eb9035
AM
6701 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6702
6703 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6704 (c-awk-regexp-one-line-possibly-open-char-list-re)
6705 (c-awk-one-line-possibly-open-regexp-re)
6706 (c-awk-one-line-non-syn-ws*-re): Remove.
6707 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6708 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6709 (c-awk-space*-unclosed-regexp-/-re): New constants.
6710 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6711 aren't regexp delimiters.
6712
6713 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6714 handling for a rare situation in AWK Mode involving unterminated
6715 strings/regexps.
6716
61611d54
GM
67172013-08-23 Glenn Morris <rgm@gnu.org>
6718
2d85dc34
GM
6719 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6720
cb8d2612
GM
6721 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6722
bb35f42f
GM
6723 * files.el (create-file-buffer): If the result would begin with
6724 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 6725
b9808e77
SM
67262013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6727
e3a66363
SM
6728 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6729 text-properties (bug#15155).
6730
b9808e77
SM
6731 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6732 exist any more.
6733 (calc-keypad-redraw): Remove unused var `pad'.
6734 (calc-keypad-press): Remove unused var `menu'.
6735
7fd5f65e
MR
67362013-08-23 Martin Rudalics <rudalics@gmx.at>
6737
b9808e77
SM
6738 * window.el (display-buffer-pop-up-frame):
6739 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
6740 use it as the new frame's buffer (Bug#15133).
6741
8352b530
SM
67422013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6743
6744 * calendar/timeclock.el: Minor cleanups.
6745 (timeclock-ask-before-exiting, timeclock-use-display-time):
6746 Use `symbol'.
6747 (timeclock-modeline-display): Define as alias before the
6748 actual definition.
6749 (timeclock-mode-line-display): Use define-minor-mode.
6750 (timeclock-day-list-template): Make it a function, add an argument.
6751 (timeclock-day-list-required, timeclock-day-list-length)
6752 (timeclock-day-list-debt, timeclock-day-list-span)
6753 (timeclock-day-list-break): Adjust calls accordingly.
6754
9f7b1925
SM
67552013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6756
6757 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6758 Use read--expression so that completion works again.
6759
6e50e983
SS
67602013-08-21 Sam Steingold <sds@gnu.org>
6761
6762 Add rudimentary inferior shell interaction
6763 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6764 (sh-set-shell): Reset it.
9f7b1925
SM
6765 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6766 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 6767
dbb0d350
SM
67682013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * align.el: Use lexical-binding.
6771 (align-region): Simplify accordingly.
6772
c88586a9
MA
67732013-08-20 Michael Albinus <michael.albinus@gmx.de>
6774
6775 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6776
6777 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6778 `non-essential' up.
6779
f95527c8
MA
67802013-08-17 Michael Albinus <michael.albinus@gmx.de>
6781
6782 * net/tramp.el:
6783 * net/tramp-adb.el:
6784 * net/tramp-cmds.el:
6785 * net/tramp-ftp.el:
6786 * net/tramp-gvfs.el:
6787 * net/tramp-gw.el:
6788 * net/tramp-sh.el: Don't wrap external variable declarations by
6789 `eval-when-compile'.
6790
4b5fe4ee
LMI
67912013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6792
6793 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6794 now that Emacs supports ImageMagick animations.
6795
13c366c9
MA
67962013-08-16 Michael Albinus <michael.albinus@gmx.de>
6797
6798 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6799 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6800
3dfc5cd6
MR
68012013-08-16 Martin Rudalics <rudalics@gmx.at>
6802
6803 * window.el (mouse-autoselect-window-select): Do autoselect when
6804 mouse pointer is on margin.
6805
4bbb4381
WP
68062013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6807
6808 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6809
3a2ddc2d
GM
68102013-08-16 Glenn Morris <rgm@gnu.org>
6811
e8bedf5a
GM
6812 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6813 Handle "Remote Directory" response of some clients. (Bug#15058)
6814
58c4682f
GM
6815 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6816 Tweak warning. (Bug#14926)
6817
57953f49
GM
6818 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6819 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6820
3a2ddc2d
GM
6821 * image-mode.el (image-mode-map): Add menu items to reverse,
6822 increase, decrease, reset animation speed.
6823 (image--set-speed, image-increase-speed, image-decrease-speed)
6824 (image-reverse-speed, image-reset-speed): New functions.
6825 (image-mode-map): Add bindings for speed commands.
6826
6827 * image.el (image-animate-get-speed, image-animate-set-speed):
6828 New functions.
6829 (image-animate-timeout): Respect image :speed property.
6830
10fa0ed3
SM
68312013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6832
6833 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6834 previous line (bug#15101).
6835 (debugger-eval-expression, debugger-record-expression):
6836 Use read--expression (bug#15102).
6837
5d89d9d2
MA
68382013-08-15 Michael Albinus <michael.albinus@gmx.de>
6839
6840 Remove byte compiler warnings, visible when compiling with
6841 `byte-compile-force-lexical-warnings' set to t.
6842
6843 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6844 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6845 (tramp-handle-unhandled-file-name-directory)
6846 (tramp-handle-file-notify-add-watch, tramp-action-login)
6847 (tramp-action-succeed, tramp-action-permission-denied)
6848 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6849 arguments with "_".
6850
6851 * net/tramp-adb.el (tramp-adb-parse-device-names)
6852 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6853 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6854 (tramp-adb-handle-file-truename): Remove unused arguments.
6855
6856 * net/tramp-cache.el (tramp-flush-directory-property)
6857 (tramp-flush-connection-property, tramp-list-connections)
6858 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6859
10fa0ed3
SM
6860 * net/tramp-compat.el (tramp-compat-make-temp-file):
6861 Rename FILENAME to F.
5d89d9d2
MA
6862
6863 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6864 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6865 (tramp-zeroconf-parse-workstation-device-names)
6866 (tramp-zeroconf-parse-webdav-device-names)
6867 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6868
6869 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6870 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6871
6872 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6873 arguments.
6874 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6875 (tramp-sh-handle-insert-file-contents-literally)
6876 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6877 with "_".
6878 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6879 Remove unused variables.
6880
6881 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6882 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6883 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6884
6885 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6886 Make them a defconst.
6887 (tramp-uuencode-region): Remove unused variable.
6888
62f33bae
JB
68892013-08-14 Juanma Barranquero <lekktu@gmail.com>
6890
6891 * frameset.el (frameset--prop-setter): New function.
6892 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
6893 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6894 parameter was already set in FILTERED. Doc fix.
6895 (frameset--record-minibuffer-relationships): Allow saving a
6896 minibufferless frame without its corresponding minibuffer frame.
6897 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6898 frame, if the frame id matches.
6899 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6900 frames before orphaned ones.
6901 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 6902
c660a885
MR
69032013-08-14 Martin Rudalics <rudalics@gmx.at>
6904
6905 * window.el (window-make-atom): Don't overwrite parameter
6906 already present.
6907 (display-buffer-in-atom-window): Handle special case where we
6908 split an already atomic window.
6909 (window--major-non-side-window, display-buffer-in-side-window)
6910 (window--side-check): Ignore minibuffer window when walking
6911 window tree.
6912 (window-deletable-p): Return 'frame only if no other frame uses
6913 our minibuffer window.
6914 (record-window-buffer): Run buffer-list-update-hook.
6915 (split-window): Make sure window--check-frame won't destroy an
6916 existing atomic window in case the new window gets nested
6917 inside.
6918 (display-buffer-at-bottom): Ignore minibuffer window when
6919 walking window tree. Don't split a side window.
6920 (pop-to-buffer): Don't set-buffer here, the select-window call
6921 should do that.
6922 (mouse-autoselect-window-select): Autoselect only if we are in the
6923 text portion of the window.
6924
8259030d
LMI
69252013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6926
21c58ae2
LMI
6927 * net/shr.el (shr-parse-image-data): New function to grab both the
6928 data itself and the Content-Type.
6929 (shr-put-image): Use it.
6930
6931 * net/eww.el (eww-display-image): Ditto.
6932
8259030d
LMI
6933 * image.el (image-content-type-suffixes): New variable.
6934
ad756449
FEG
69352013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6936
6937 * progmodes/python.el (python-imenu--build-tree)
6938 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6939
f73f4ce6
XF
69402013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6941
6942 * simple.el (backward-word): Mention the optional argument.
6943
1f585e65
SM
69442013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6945
6946 * frameset.el (frameset--make): Rename constructor from make-frameset.
6947 (frameset-p, frameset-valid-p): Don't autoload.
6948 (frameset-valid-p): Use normal accessors.
6949
af1c6c84
GM
69502013-08-13 Glenn Morris <rgm@gnu.org>
6951
55e47f95
GM
6952 * progmodes/compile.el (compile-command): Tweak example in doc.
6953 * obsolete/scribe.el (scribe-mode):
6954 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6955
f0024d8c
GM
6956 * mail/feedmail.el (feedmail-confirm-outgoing)
6957 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6958
6959 * cus-start.el (truncate-partial-width-windows): Fix type.
6960
6961 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6962
af1c6c84
GM
6963 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6964
5514cc4c
SM
69652013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * emacs-lisp/timer.el (timer--time-setter): New function.
6968 (timer--time): Use it as gv-setter.
6969
6970 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6971 setter is not a symbol.
6972
7997a2f1
GJ
69732013-08-12 Grégoire Jadi <daimrod@gmail.com>
6974
6975 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6976 if sending fails. This makes debugging easier.
6977
01f1a9ab
JB
69782013-08-12 Juanma Barranquero <lekktu@gmail.com>
6979
6980 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6981 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6982 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6983
594a4307
EZ
69842013-08-12 Eli Zaretskii <eliz@gnu.org>
6985
6986 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6987
7a22490f 69882013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6989
6990 * format.el (format-annotate-function):
6991 Handle read-only text properties in the source. (Bug#14887)
6992
3e41a054
LMI
69932013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6994
5514cc4c
SM
6995 * net/eww.el (eww-display-html): Ignore coding system errors.
6996 One web site uses "utf-8lias" as the coding system.
3e41a054 6997
7ec326db
JB
69982013-08-11 Juanma Barranquero <lekktu@gmail.com>
6999
7000 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7001
5660113b
JB
70022013-08-10 Juanma Barranquero <lekktu@gmail.com>
7003
9a4ebc74
JB
7004 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7005 (tutorial--detailed-help): Remove unused local variables.
7006 (tutorial--save-tutorial-to): Use ignore-errors.
7007 (help-with-tutorial): Use looking-at-p.
7008
7009 * view.el (view-buffer-other-window, view-buffer-other-frame):
7010 Mark unused arguments.
7011
7012 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7013 (woman-select-symbol-fonts, woman, woman-find-file)
7014 (woman-insert-file-contents, woman-non-underline-faces):
7015 Use string-match-p.
7016 (woman1-unquote): Move declaration.
7017
7018 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7019 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7020 argument. Remove unused local variable.
7021 (xml-parse-elem-type): Use string-match-p.
7022 (xml-substitute-numeric-entities): Use ignore-errors.
7023
45fdb482
JB
7024 * calculator.el (calculator): Mark unused argument.
7025 (calculator-paste, calculator-quit, calculator-integer-p):
7026 Use ignore-errors.
7027 (calculator-string-to-number, calculator-decimal, calculator-exp)
7028 (calculator-op-or-exp): Use string-match-p.
7029
7030 * dired.el (dired-buffer-more-recently-used-p): Declare.
7031 (dired-insert-set-properties, dired-insert-old-subdirs):
7032 Use ignore-errors.
7033
7034 * dired-aux.el (dired-compress): Use ignore-errors.
7035 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7036 (dired-do-async-shell-command, dired-do-shell-command)
7037 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7038 (dired-insert-subdir-validate): Use string-match-p.
7039 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7040 (dired-add-entry): Use string-match-p, looking-at-p.
7041 (dired-insert-subdir-newpos): Remove unused local variable.
7042
7043 * filenotify.el (file-notify-callback): Remove unused local variable.
7044
7045 * filesets.el (filesets-error): Mark unused argument.
7046 (filesets-which-command-p, filesets-filter-dir-names)
7047 (filesets-directory-files, filesets-get-external-viewer)
7048 (filesets-ingroup-get-data): Use string-match-p.
7049
7050 * find-file.el (ff-other-file-name, ff-other-file-name)
7051 (ff-find-the-other-file, ff-cc-hh-converter):
7052 Remove unused local variables.
7053 (ff-get-file-name): Use string-match-p.
7054 (ff-all-dirs-under): Use ignore-errors.
7055
7056 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7057 (follow-select-if-visible): Remove unused local variable.
7058
7059 * forms.el (read-file-filter): Move declaration.
7060 (forms--make-format, forms--make-parser, forms-insert-record):
7061 Quote function with #'.
7062 (forms--update): Use string-match-p. Quote function with #'.
7063
7064 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7065 (help-make-xrefs): Use looking-at-p.
7066 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7067
7068 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7069 (ibuffer-confirm-operation-on): Use string-match-p.
7070
7071 * msb.el (msb-item-handler, msb-dired-item-handler):
7072 Mark unused arguments.
7073
7074 * ses.el (ses-decode-cell-symbol)
7075 (ses-kill-override): Remove unused local variable.
7076 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7077 (ses-load): Use ignore-errors, looking-at-p.
7078 (ses-jump-safe): Use ignore-errors.
7079 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7080
7081 * tabify.el (untabify, tabify): Mark unused arguments.
7082
7083 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7084 Mark unused argument.
7085 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7086 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7087
c880af52
JB
7088 * emacs-lisp/timer.el (timer--time): Define setter with
7089 gv-define-setter to avoid deprecation warning.
7090
5660113b 7091 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 7092 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
7093 (cmpl-statistics-block): Remove (body was commented out).
7094 All callers changed.
7095 (add-completions-from-buffer, load-completions-from-file):
7096 Remove unused variables.
7097
156aab80
JB
70982013-08-09 Juanma Barranquero <lekktu@gmail.com>
7099
5c5dee78
JB
7100 * filecache.el (file-cache-delete-file-list):
7101 Print message only when told so.
7102 (file-cache-files-matching): Use #' in mapconcat argument.
7103
156aab80
JB
7104 * ffap.el (ffap-url-at-point): Fix reference to variable
7105 thing-at-point-default-mail-uri-scheme.
7106
ad9dcd70
SM
71072013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7108
54bd972f
SM
7109 * subr.el (define-error): New function.
7110 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7111 error-file-not-found and define with define-error.
7112 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7113 and define with define-error.
7114 * userlock.el (file-locked, file-supersession):
7115 * simple.el (mark-inactive):
7116 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7117 * progmodes/ada-mode.el (ada-mode-errors):
7118 * play/life.el (life-extinct):
7119 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7120 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7121 * nxml/rng-util.el (rng-error):
7122 * nxml/rng-uri.el (rng-uri-error):
7123 * nxml/rng-match.el (rng-compile-error):
7124 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7125 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7126 * nxml/nxml-rap.el (nxml-scan-error):
7127 * nxml/nxml-outln.el (nxml-outline-error):
7128 * net/soap-client.el (soap-error):
7129 * net/gnutls.el (gnutls-error):
7130 * net/ange-ftp.el (ftp-error):
7131 * mpc.el (mpc-proc-error):
7132 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7133 (json-number-format, json-string-escape, json-string-format)
7134 (json-key-format, json-object-format):
7135 * jka-compr.el (compression-error):
7136 * international/quail.el (quail-error):
7137 * international/kkc.el (kkc-error):
7138 * emacs-lisp/ert.el (ert-test-failed):
7139 * calc/calc.el (calc-error, inexact-result, math-overflow)
7140 (math-underflow):
7141 * bookmark.el (bookmark-error-no-filename):
7142 * epg.el (epg-error): Define with define-error.
7143
0ea9e53a
SM
7144 * time.el (display-time-event-handler)
7145 (display-time-next-load-average): Don't call sit-for since it seems
7146 unnecessary (bug#15045).
7147
b0429158
SM
7148 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7149 Use #' instead of ' to quote functions.
7150 (checkdoc-output-mode): Use setq-local.
7151 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7152 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7153 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7154 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7155 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7156 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7157 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7158 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7159
ad9dcd70
SM
7160 * ido.el (ido-completion-help): Fix up compiler warning.
7161
77187e6f
JB
71622013-08-09 Juanma Barranquero <lekktu@gmail.com>
7163
7164 * frameset.el (frameset-p): Add autoload cookie.
7165 (frameset--jump-to-register): New function, based on code moved from
7166 register.el.
7167 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7168
7169 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7170 (frameset-restore, frameset-save, frameset-session-filter-alist):
7171 Remove declarations.
7172 (register-alist): Doc fix.
7173 (frameset-to-register): Move to frameset.el.
7174 (jump-to-register, describe-register-1): Remove frameset-specific code.
7175
9d3aa82c
JB
71762013-08-08 Juanma Barranquero <lekktu@gmail.com>
7177
7178 * allout-widgets.el (allout-widgets-pre-command-business)
7179 (allout-widgets-post-command-business)
7180 (allout-widgets-after-change-handler)
7181 (allout-decorate-item-and-context, allout-set-boundary-marker)
7182 (allout-body-modification-handler)
7183 (allout-graphics-modification-handler): Mark ignored arguments.
7184 (allout-widgets-post-command-business)
7185 (allout-widgets-exposure-change-processor)
7186 (allout-widgets-exposure-undo-processor)
7187 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7188 (allout-parse-item-at-point, allout-decorate-item-guides)
7189 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7190 * allout.el (epa-passphrase-callback-function): Declare.
7191 (allout-overlay-insert-in-front-handler)
7192 (allout-overlay-interior-modification-handler)
7193 (allout-isearch-end-handler, allout-chart-siblings)
7194 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7195 (allout-yank-processing, allout-process-exposed)
7196 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 7197 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
7198 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7199 (lisp-indent-defform): Mark ignored arguments.
7200 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7201 (calculate-lisp-indent): Remove unused variables.
7202 * international/characters.el (indian-2-column, arabic-2-column)
7203 (tibetan): Mark ignored arguments.
7204 (use-cjk-char-width-table): Mark ignored arguments.
7205 Remove unused variables.
7206 * international/fontset.el (build-default-fontset-data)
7207 (x-compose-font-name, create-fontset-from-fontset-spec):
7208 Mark ignored arguments.
7209 (fontset-plain-name): Remove unused variables.
7210 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7211 (keyboard-coding-system): Mark ignored arguments.
7212 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7213 * help.el (resize-temp-buffer-window):
7214 * window.el (display-buffer-in-major-side-window)
7215 (display-buffer-in-side-window, display-buffer-in-previous-window):
7216 Remove unused variables.
7217 * isearch.el (isearch-forward-symbol):
7218 * version.el (emacs-bzr-version-bzr):
7219 * international/mule-cmds.el (current-language-environment):
7220 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7221 (x-handle-display):
7222 * term/pc-win.el (x-list-fonts, x-display-planes)
7223 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7224 (x-server-version, x-display-screens, x-display-mm-height)
7225 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7226 (x-selection-owner-p, x-own-selection-internal)
7227 (x-disown-selection-internal, x-get-selection-internal)
7228 (msdos-initialize-window-system):
7229 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7230 * term/x-win.el (x-handle-no-bitmap-icon):
7231 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7232 (vc-default-find-file-hook, vc-default-extra-menu):
7233 Mark ignored arguments.
7234
0ca3f70e
SM
72352013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7238 break-condition in the context of the debugged code (bug#12685).
7239
74c5d24c
CS
72402013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7241
7242 * comint.el:
7243 Do not use an overlay to highlight the last prompt. (Bug#14744)
7244 (comint-mode): Make comint-last-prompt buffer local.
7245 (comint-last-prompt): New variable.
7246 (comint-last-prompt-overlay): Remove. Superseded by
7247 comint-last-prompt.
0ca3f70e
SM
7248 (comint-snapshot-last-prompt, comint-output-filter):
7249 Use comint-last-prompt.
74c5d24c 7250
c03c02ee
JB
72512013-08-08 Juanma Barranquero <lekktu@gmail.com>
7252
a3738d20 7253 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
7254 (frameset-save): Check validity of the resulting frameset.
7255
04263d23
XF
72562013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7257
7258 * ido.el (ido-record-command): Add doc string.
7259
76c5e5ab
JB
72602013-08-08 Juanma Barranquero <lekktu@gmail.com>
7261
7262 * frameset.el (frameset): Do not disable creation of the default
7263 frameset-p predicate. Doc fix.
7264 (frameset-valid-p): New function, copied from the old predicate-p.
7265 Add additional checks.
7266 (frameset-restore): Check with frameset-valid-p.
7267 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7268 (frameset-name, frameset-description, frameset-properties)
7269 (frameset-states): Add docstring.
f9dbf1cb
JB
7270 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7271 (frameset-filter-alist): Doc fixes.
76c5e5ab 7272
bd0c3c0b
JB
72732013-08-08 Juanma Barranquero <lekktu@gmail.com>
7274
7275 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7276
c735544c
SM
72772013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7280 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7281 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7282 (byte-compile-normal-call): Remove obsolescence check.
7283
2805a651
JB
72842013-08-08 Juanma Barranquero <lekktu@gmail.com>
7285
3677ffeb
JB
7286 * frameset.el (frameset-restore): Doc fix.
7287
2805a651
JB
7288 * register.el (frameset-frame-id, frameset-frame-with-id)
7289 (frameset-p, frameset-restore, frameset-save): Declare.
7290 (register-alist): Document framesets.
7291 (frameset-session-filter-alist): Declare.
7292 (frameset-to-register): New function.
7293 (jump-to-register): Implement jumping to framesets. Doc fix.
7294 (describe-register-1): Describe framesets.
7295
7296 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7297
a912c016
JB
72982013-08-07 Juanma Barranquero <lekktu@gmail.com>
7299
7300 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7301 Use lexical-binding.
7302
7303 * frameset.el (frameset): Use type vector, not list (incompatible
7304 change). Do not declare a new constructor, use the default one.
7305 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7306 `name' and `description', respectively, and add read-only slot
7307 `timestamp'. Doc fixes.
7308 (frameset-copy, frameset-persistent-filter-alist)
7309 (frameset-filter-alist, frameset-switch-to-gui-p)
7310 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7311 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7312 (frameset-filter-iconified, frameset-keep-original-display-p):
7313 Doc fixes.
7314 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7315 Rename from frameset-filter-(save|restore)-param. All callers changed.
7316 Doc fix.
7317 (frameset-p): Adapt to change to vector and be more thorough.
7318 Change arg name to OBJECT. Doc fix.
7319 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7320 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7321 All callers changed.
7322 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7323 All callers changed.
7324 (frameset--record-minibuffer-relationships): Rename from
7325 frameset--process-minibuffer-frames. All callers changed.
7326 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7327 Use new default constructor (again). Doc fix.
c295fc18 7328 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
7329 All callers changed.
7330 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7331 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7332 Doc fix.
7333 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7334 PARAMETERS and WINDOW-STATE, respectively.
7335 (frameset-restore): Add new keyword argument PREDICATE.
7336 Reset frameset--target-display to nil. Doc fix.
7337
bb41480a
SM
73382013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7339
f001e98e
SM
7340 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7341 (bat-mode): Use it.
7342 (bat-mode-syntax-table): Mark \n as end-of-comment.
7343 (bat-font-lock-keywords): Remove comment rule.
7344
7679edb1
SM
7345 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7346 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7347
bb41480a
SM
7348 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7349 (byte-compile-callargs-warn): Use `push'.
7350 (byte-compile-arglist-warn): Ignore higher-order "calls".
7351 (byte-compile-file-form-autoload): Use `pcase'.
7352 (byte-compile-function-form): If quoting a symbol, check that it exists.
7353
cdc1ebb9
EZ
73542013-08-07 Eli Zaretskii <eliz@gnu.org>
7355
7356 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7357 and add a few popular commands found in batch files.
7358 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7359 (dos-mode): Doc fixes.
7360
312b1740
SM
73612013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7362
7363 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7364 (dos-mode): Use setq-local. Add space after "rem".
7365 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7366 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7367
400a3178
AM
73682013-08-07 Arni Magnusson <arnima@hafro.is>
7369
7370 * progmodes/dos.el: New file.
7371 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7372 dos-mode.
7373
3b5c03d3
GM
73742013-08-06 Glenn Morris <rgm@gnu.org>
7375
7376 * calendar/calendar.el: Add new faces, and day-header-array.
7377 (calendar-weekday-header, calendar-weekend-header)
7378 (calendar-month-header): New faces.
7379 (calendar-day-header-construct): New function.
7380 (calendar-day-header-width): Also :set calendar-day-header-array.
7381 (calendar-american-month-header, calendar-european-month-header)
7382 (calendar-iso-month-header): Use calendar- faces.
7383 (calendar-generate-month):
7384 Use calendar-day-header-array for day headers; apply faces to them.
7385 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7386 (calendar-abbrev-construct): Add optional maxlen argument.
7387 (calendar-day-name-array): Doc fix.
7388 (calendar-day-name-array, calendar-abbrev-length)
7389 (calendar-day-abbrev-array):
7390 Also :set calendar-day-header-array, and maybe redraw.
7391 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 7392 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
7393 (calendar-day-name): Add option to use header array.
7394
ec6a2d7a
LMI
73952013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7396
7397 * net/shr.el (shr-render-td): Remove debugging.
7398 (shr-render-td): Make width computation consistent by defaulting
7399 all zero-width columns to 10 characters. This may not be optimal,
7400 but it's at least consistent.
2122cb6d
LMI
7401 (shr-make-table-1): Redo last change to fix the real problem in
7402 colspan handling.
ec6a2d7a 7403
ed4fd9c5
DA
74042013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7405
0ca3f70e
SM
7406 * files.el (cache-long-line-scans):
7407 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 7408
64e22afe
JB
74092013-08-06 Juanma Barranquero <lekktu@gmail.com>
7410
024b38fc
JB
7411 * frameset.el (frameset, frameset-filter-alist)
7412 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7413 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7414 (frameset-compute-pos): Rename from frameset--compute-pos,
7415 and add docstring.
7416 (frameset-move-onscreen): Use frameset-compute-pos.
7417 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7418
64e22afe
JB
7419 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7420 Fix typos in docstrings.
7421
c8c2aca8
DA
74222013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7423
7424 * frame.el (get-other-frame): Tiny cleanup.
7425
1d237bba
JB
74262013-08-06 Juanma Barranquero <lekktu@gmail.com>
7427
8951efef
JB
7428 * vc/vc.el (vc-default-ignore-completion-table):
7429 Silence byte-compiler warning.
7430
307764cc 7431 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 7432 slot, which can indeed be nil.
307764cc
JB
7433 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7434 Move entry for `left' from persistent to live filter alist.
7435 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7436 Doc fixes.
7437 (frameset-filter-params): When restoring a frame, copy items added to
7438 `filtered', to avoid unwittingly modifying the original parameters.
7439 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7440 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7441
1d237bba
JB
7442 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7443 to use looking-at-p instead of looking-at. (Bug#15028)
7444
dc6c0eda
SM
74452013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 Revert introduction of isearch-filter-predicates (bug#14714).
7448 Rely on add-function instead.
7449 * isearch.el (isearch-filter-predicates): Rename it back to
7450 isearch-filter-predicate.
7451 (isearch-message-prefix): Use advice-function-mapc and advice
7452 properties to get the isearch-message-prefix.
7453 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7454 instead of run-hook-with-args-until-failure.
7455 (isearch-filter-visible): Not obsolete any more.
7456 * loadup.el: Preload nadvice.
7457 * replace.el (perform-replace): Revert to funcall
7458 instead of run-hook-with-args-until-failure.
7459 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7460 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7461 dired-isearch-filenames-toggle; make it into a proper minor mode.
7462 Use add/remove-function.
7463 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7464 Call the minor-mode rather than add/remove-hook.
7465 (dired-isearch-filter-filenames):
7466 Remove isearch-message-prefix property.
7467 * info.el (Info--search-loop): New function, extracted from Info-search.
7468 Funcall isearch-filter-predicate instead of
7469 run-hook-with-args-until-failure isearch-filter-predicates.
7470 (Info-search): Use it.
7471 (Info-mode): Use isearch-filter-predicate instead of
7472 isearch-filter-predicates.
7473
290d5b58
DA
74742013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7475
7476 Do not call to `selected-window' where it is assumed by default.
7477 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7478 `window-hscroll', `window-width', `window-height', `window-buffer',
7479 `window-frame', `window-start', `window-point', `next-window'
7480 and `window-display-table'.
7481 * abbrev.el (abbrev--default-expand):
7482 * bs.el (bs--show-with-configuration):
7483 * buff-menu.el (Buffer-menu-mouse-select):
7484 * calc/calc.el (calc):
7485 * calendar/calendar.el (calendar-generate-window):
7486 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7487 (diary-make-entry):
7488 * comint.el (send-invisible, comint-dynamic-complete-filename)
7489 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7490 * completion.el (complete):
7491 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7492 * disp-table.el (describe-current-display-table):
7493 * doc-view.el (doc-view-insert-image):
7494 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7495 * ehelp.el (with-electric-help):
7496 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7497 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7498 * emacs-lisp/helper.el (Helper-help-scroller):
7499 * emulation/cua-base.el (cua--post-command-handler-1):
7500 * eshell/esh-mode.el (eshell-output-filter):
7501 * ffap.el (ffap-gnus-wrapper):
7502 * help-macro.el (make-help-screen):
7503 * hilit-chg.el (highlight-compare-buffers):
7504 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7505 * hl-line.el (global-hl-line-highlight):
7506 * icomplete.el (icomplete-simple-completing-p):
7507 * isearch.el (isearch-done):
7508 * jit-lock.el (jit-lock-stealth-fontify):
7509 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 7510 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
7511 * mpc.el (mpc-tagbrowser, mpc):
7512 * net/rcirc.el (rcirc-any-buffer):
7513 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7514 * play/landmark.el (landmark-max-width, landmark-max-height):
7515 * play/zone.el (zone):
7516 * progmodes/compile.el (compilation-goto-locus):
7517 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7518 * progmodes/etags.el (find-tag-other-window):
7519 * progmodes/fortran.el (fortran-column-ruler):
7520 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7521 * progmodes/verilog-mode.el (verilog-point-text):
7522 * reposition.el (reposition-window):
7523 * rot13.el (toggle-rot13-mode):
7524 * server.el (server-switch-buffer):
7525 * shell.el (shell-dynamic-complete-command)
7526 (shell-dynamic-complete-environment-variable):
7527 * simple.el (insert-buffer, set-selective-display)
7528 (delete-completion-window):
7529 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7530 (speedbar-recenter):
7531 * startup.el (fancy-splash-head):
7532 * textmodes/ispell.el (ispell-command-loop):
7533 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7534 * tutorial.el (help-with-tutorial):
7535 * vc/add-log.el (add-change-log-entry):
7536 * vc/compare-w.el (compare-windows):
7537 * vc/ediff-help.el (ediff-indent-help-message):
7538 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7539 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7540 (ediff-setup-control-frame):
7541 * vc/emerge.el (emerge-position-region):
7542 * vc/pcvs-util.el (cvs-bury-buffer):
7543 * window.el (walk-windows, mouse-autoselect-window-select):
7544 * winner.el (winner-set-conf, winner-undo): Related users changed.
7545
38276e01
JB
75462013-08-05 Juanma Barranquero <lekktu@gmail.com>
7547
7548 * frameset.el (frameset--set-id): Doc fix.
7549 (frameset-frame-id, frameset-frame-id-equal-p)
7550 (frameset-locate-frame-id): New functions.
7551 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7552 (frameset-restore): Use them.
7553
12b4c0ea
DA
75542013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7555
7556 Do not call to `selected-frame' where it is assumed by default.
7557 Affected functions are `raise-frame', `redraw-frame',
7558 `frame-first-window', `frame-terminal' and `delete-frame'.
7559 * calendar/appt.el (appt-disp-window):
7560 * epg.el (epg-wait-for-completion):
7561 * follow.el (follow-delete-other-windows-and-split)
7562 (follow-avoid-tail-recenter):
7563 * international/mule.el (set-terminal-coding-system):
7564 * mail/rmail.el (rmail-mail-return):
7565 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7566 * progmodes/f90.el (f90-add-imenu-menu):
7567 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7568 * server.el (server-switch-buffer):
7569 * simple.el (delete-completion-window):
7570 * talk.el (talk):
7571 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7572 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7573 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7574 * vc/ediff.el (ediff-documentation): Related users changed.
7575 * frame.el (selected-terminal): Remove the leftover.
7576
17f25e76
GM
75772013-08-05 Glenn Morris <rgm@gnu.org>
7578
7579 * calendar/calendar.el (calendar-generate-month):
7580 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
7581 (calendar-generate-month, calendar-font-lock-keywords):
7582 Fix for calendar-day-header-width > length of any day name.
17f25e76 7583
063233c3
JB
75842013-08-05 Juanma Barranquero <lekktu@gmail.com>
7585
7586 * desktop.el (desktop-clear): Use new name of sort predicate.
7587
7588 * frameset.el (frameset): Add docstring. Move :version property to its
7589 own `version' slot.
7590 (frameset-copy): Rename from copy-frameset.
7591 (frameset-p): Check more thoroughly.
7592 (frameset-prop): Do not check for :version, which is no longer a prop.
7593 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7594 Use new :never value instead of t.
7595 (frameset-filter-alist): Expand and clarify docstring.
7596 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7597 (frameset-filter-minibuffer, frameset-filter-save-param)
7598 (frameset-filter-restore-param, frameset-filter-iconified):
7599 Add pointer to docstring of frameset-filter-alist.
7600 (frameset-filter-params): Rename filter values to be more meaningful:
7601 :never instead of t, and reverse the meanings of :save and :restore.
7602 (frameset--process-minibuffer-frames): Clarify error message.
7603 (frameset-save): Avoid unnecessary and confusing call to framep.
7604 Use new BOA constructor for framesets.
7605 (frameset--reuse-list): Doc fix.
7606 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7607 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7608 (frameset-minibufferless-first-p): Doc fix.
7609 Rename from frameset-sort-frames-for-deletion.
7610 (frameset-restore): Doc fixes. Use new function names.
7611 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7612
d5671a82
JB
76132013-08-04 Juanma Barranquero <lekktu@gmail.com>
7614
7615 * desktop.el (desktop-restore-forces-onscreen)
7616 (desktop-restore-reuses-frames): Document :keyword constant values.
7617 (desktop-filter-parameters-alist): Remove, now identical to
7618 frameset-filter-alist.
7619 (desktop--filter-tty*): Remove, moved to frameset.el.
7620 (desktop-save-frameset, desktop-restore-frameset):
7621 Do not pass :filters argument.
7622
7623 * frameset.el (frameset-live-filter-alist)
7624 (frameset-persistent-filter-alist): New variables.
7625 (frameset-filter-alist): Use them. Add autoload cookie.
7626 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7627 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7628 `frameset--id' (it's supposed to be internal to frameset.el).
7629 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7630 (frameset--initial-params): New function.
7631 (frameset--get-frame): Use it. Doc fix.
7632 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7633 Accept :all, not 'all.
7634 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7635 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7636 with fbound symbols. Fix frame id matching, and remove matching ids if
7637 the frame being restored is deleted. Obey :delete.
7638
671d5c16
SM
76392013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7640
7641 * subr.el (macrop): New function.
7642 (text-clone--maintaining): New var.
7643 (text-clone--maintain): Rename from text-clone-maintain. Use it
7644 instead of inhibit-modification-hooks.
7645
7646 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7647 a proxy, so as handle autoloads and redefinitions of the target.
7648 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7649
7650 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7651 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7652 (pcase--mutually-exclusive-p): New function.
7653 (pcase--split-consp): Use it.
7654 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7655 mutually exclusive with the current predicate.
7656
7657 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7658 (edebug-macrop): Remove. Use `macrop' instead.
7659 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7660 (ad-macro-p):
7661 * eshell/esh-cmd.el (eshell-macrop):
7662 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7663
1d44e9dc
SM
76642013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7667 (advice-mapc): New function, using it.
7668 (advice-function-member-p): New function.
7669 (advice--normalize): Store the cdr in advice--saved-rewrite since
7670 that's the part that will be changed.
7671 (advice--symbol-function): New function.
7672 (advice-remove): Handle removal before the function is defined.
7673 Adjust to new advice--saved-rewrite.
7674 (advice-member-p): Use advice-function-member-p and
7675 advice--symbol-function.
7676
5414a283
JB
76772013-08-04 Juanma Barranquero <lekktu@gmail.com>
7678
51d30f2c
JB
7679 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7680 (frameset-filter-minibuffer): Doc fix.
7681 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
7682 (frameset--set-id, frameset--process-minibuffer-frames)
7683 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7684 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 7685
5414a283
JB
7686 * desktop.el (desktop-clear): Only delete frames when called
7687 interactively and desktop-restore-frames is non-nil. Doc fix.
7688 (desktop-read): Set desktop-saved-frameset to nil.
7689
ab419665
XF
76902013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7691
7692 * vc/vc.el (vc-ignore): Rewrite.
7693 (vc-default-ignore-completion-table):
7694 (vc--read-lines):
7695 (vc--add-line, vc--remove-regexp): New functions.
7696
7697 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7698 (vc-svn-ignore-completion-table): New function.
7699
7700 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7701 (vc-hg-ignore-completion-table):
7702 (vc-hg-find-ignore-file): New functions.
7703
7704 * vc/vc-git.el (vc-git-ignore): Rewrite.
7705 (vc-git-ignore-completion-table):
7706 (vc-git-find-ignore-file): New functions.
7707
7708 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7709
7710 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7711 (vc-bzr-ignore-completion-table):
7712 (vc-bzr-find-ignore-file): New functions.
7713
2613dea2
JB
77142013-08-03 Juanma Barranquero <lekktu@gmail.com>
7715
7716 * frameset.el (frameset-prop): New function and setter.
7717 (frameset-save): Do not modify frame list passed by the caller.
7718
9c959872
SM
77192013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7720
7721 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7722
a104f656
SM
77232013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7724
70122acf
SM
7725 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7726 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7727
a104f656
SM
7728 * custom.el (custom-initialize-default, custom-initialize-set)
7729 (custom-initialize-reset, custom-initialize-changed): Affect the
7730 toplevel-default-value (bug#6275, bug#14586).
7731 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7732 for bug#6275.
7733
f078d570
JB
77342013-08-02 Juanma Barranquero <lekktu@gmail.com>
7735
185e3b5a
JB
7736 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7737 Add cl-def* expressions.
7738
f078d570
JB
7739 * frameset.el (frameset-filter-params): Fix order of arguments.
7740
9421876d
JB
77412013-08-02 Juanma Barranquero <lekktu@gmail.com>
7742
7743 Move code related to saving frames to frameset.el.
7744 * desktop.el: Require frameset.
7745 (desktop-restore-frames): Doc fix.
7746 (desktop-restore-reuses-frames): Rename from
7747 desktop-restoring-reuses-frames.
7748 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7749 (desktop-clear): Clear frames too.
7750 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7751 (desktop--filter-tty*, desktop-save, desktop-read):
7752 Use frameset functions.
7753 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7754 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7755 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7756 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7757 (desktop--process-minibuffer-frames, desktop-save-frames)
7758 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7759 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7760 (desktop--sort-states, desktop-restoring-frames-p)
7761 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7762 (desktop-restoring-frameset-p, desktop-restore-frameset)
7763 (desktop--check-dont-save, desktop-save-frameset): New functions.
7764 (desktop--app-id): New constant.
7765 (desktop-first-buffer, desktop-buffer-ok-count)
7766 (desktop-buffer-fail-count): Move before first use.
7767 * frameset.el: New file.
7768
76dc5996
SM
77692013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7770
7771 * files.el: Use lexical-binding.
7772 (dir-locals-read-from-file): Remove unused `err' variable.
7773 (hack-dir-local-variables--warned-coding): New var.
7774 (hack-dir-local-variables): Use it to avoid repeated warnings.
7775 (make-backup-file-name--default-function): New function.
7776 (make-backup-file-name-function): Use it as default.
7777 (buffer-stale--default-function): New function.
7778 (buffer-stale-function): Use it as default.
7779 (revert-buffer-insert-file-contents--default-function): New function.
7780 (revert-buffer-insert-file-contents-function): Use it as default.
7781 (insert-directory): Avoid add-to-list.
7782
7783 * autorevert.el (auto-revert-handler): Simplify.
7784 Use buffer-stale--default-function.
7785
06d36e2b
TH
77862013-08-01 Tassilo Horn <tsdh@gnu.org>
7787
5f648ab4
TH
7788 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7789
06d36e2b
TH
7790 * whitespace.el (whitespace-ensure-local-variables): New function.
7791 (whitespace-cleanup-region): Call it.
7792 (whitespace-turn-on): Call it.
7793
a43dc424
MA
77942013-08-01 Michael Albinus <michael.albinus@gmx.de>
7795
7796 Complete file name handlers.
7797
7798 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7799 (tramp-handle-verify-visited-file-modtime)
7800 (tramp-handle-file-notify-rm-watch): New functions.
7801 (tramp-call-process): Do not bind `default-directory'.
7802
44e18199
JB
7803 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7804 Order alphabetically.
afe1e4c8
GM
7805 <access-file, add-name-to-file, dired-call-process>:
7806 <dired-compress-file, file-acl, file-notify-rm-watch>:
7807 <file-ownership-preserved-p, file-selinux-context>:
7808 <make-directory-internal, make-symbolic-link, set-file-acl>:
7809 <set-file-selinux-context, set-visited-file-modtime>:
7810 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7811 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7812
7813 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
7814 <file-notify-add-watch, file-notify-rm-watch>:
7815 <set-file-times, set-visited-file-modtime>:
7816 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7817 (with-tramp-gvfs-error-message)
7818 (tramp-gvfs-handle-set-visited-file-modtime)
7819 (tramp-gvfs-fuse-file-name): Remove.
7820 (tramp-gvfs-handle-file-notify-add-watch)
7821 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7822 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7823
44e18199
JB
7824 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7825 Order alphabetically.
afe1e4c8
GM
7826 <file-notify-rm-watch>: Use default Tramp handler.
7827 <executable-find>: Remove private handler.
a43dc424
MA
7828 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7829 `default-directory'.
7830 (tramp-sh-handle-executable-find)
7831 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7832 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7833 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7834 Do not use `format' in `tramp-message'.
7835
7836 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
7837 <file-notify-rm-watch, set-visited-file-modtime>:
7838 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
7839 (tramp-smb-call-winexe): Do not bind `default-directory'.
7840
7188b515
XF
78412013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7842
7843 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7844
2412ee1a
DG
78452013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7846
7847 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7848 use it.
7849 (log-view-diff-changeset): Same.
7850 (log-view-diff-common): Call backend command `previous-revision'
7851 to find out the previous revision, in both cases. Swap the
7852 variables `to' and `fr', so that `fr' usually refers to the
7853 earlier revision (Bug#14989).
7854
5002a754
KRC
78552013-07-31 Kan-Ru Chen <kanru@kanru.info>
7856
7857 * ibuf-ext.el (ibuffer-filter-by-filename):
7858 Make it work with dired buffers too.
7859
44e18199 78602013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
7861
7862 * emacs-lisp/re-builder.el (reb-color-display-p):
7863 * files.el (save-buffers-kill-terminal):
7864 * net/browse-url.el (browse-url):
7865 * server.el (server-save-buffers-kill-terminal):
7866 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7867 Prefer nil to selected-frame for the first arg of frame-parameter.
7868
aeca3fbb
XF
78692013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7870
7871 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7872
158bc55c
SB
78732013-07-30 Stephen Berman <stephen.berman@gmx.net>
7874
7875 * minibuffer.el (completion--twq-all): Try and preserve each
7876 completion's case choice (bug#14907).
7877
d50fceab
LMI
78782013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7879
ac38e731
LMI
7880 * net/network-stream.el (open-network-stream): Mention the new
7881 :nogreeting parameter.
7882 (network-stream-open-starttls): Use the :nogreeting parameter
7883 (bug#14938).
7884
1211de50
LMI
7885 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7886
997798bf
LMI
7887 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7888 more natural than popping.
7889
d50fceab 7890 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 7891 (shr-urlify): Highlight under mouse.
d50fceab 7892
5c09de04
XF
78932013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7894
207d1d04
XF
7895 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7896
7897 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7898
5c09de04
XF
7899 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7900 buffer for output.
7901
3cd51eaa
XF
7902 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7903 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 7904
44e18199 7905 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 7906 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
7907
7908 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7909
7910 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7911 buffer for output.
7912
35a89bdd
EZ
79132013-07-29 Eli Zaretskii <eliz@gnu.org>
7914
7915 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7916 initial frame is minibuffer-less. (Bug#14841)
7917
78822e94
MA
79182013-07-29 Michael Albinus <michael.albinus@gmx.de>
7919
7920 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7921 option.
7922
7923 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7924 (tramp-maybe-open-connection): Use it.
7925
9503c190
JB
79262013-07-28 Juanma Barranquero <lekktu@gmail.com>
7927
7928 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7929 minimal set of parameters passed when creating a frame, because
7930 the minibuffer status of a frame cannot be changed later.
7931
d5a845b4
SB
79322013-07-28 Stephen Berman <stephen.berman@gmx.net>
7933
7934 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7935 replace-regexp-in-string and inadvertent omissions in previous change.
7936 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 7937 name of filtered items buffer.
d5a845b4 7938
ddeffb17
JB
79392013-07-28 Juanma Barranquero <lekktu@gmail.com>
7940
7941 * desktop.el: Optionally force offscreen frames back onscreen.
7942 (desktop-restoring-reuses-frames): New option.
7943 (desktop--compute-pos, desktop--move-onscreen): New functions.
7944 (desktop--make-frame): Use desktop--move-onscreen.
7945
f5950f7a
AM
79462013-07-27 Alan Mackenzie <acm@muc.de>
7947
7948 Fontify a Java generic method as a function.
7949 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7950 value to t.
7951
ae43b66a
SB
79522013-07-27 Stephen Berman <stephen.berman@gmx.net>
7953
7954 * calendar/todo-mode.el: Add command to rename todo files.
7955 (todo-rename-file): New command.
7956 (todo-key-bindings-t): Add key binding for it. Change the
7957 bindings of todo-filter-regexp-items(-multifile) to use `x'
7958 instead of `r', since the latter is better suited to the new
7959 renaming command.
7960
5ab78d3d
AM
79612013-07-27 Alan Mackenzie <acm@muc.de>
7962
7963 Make Java try-with-resources statement parse properly.
7964 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7965 (c-block-stmt-1-2-key): New language constants/variables.
7966 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7967 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7968 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7969 with c-block-stmt-1-2-key.
5ab78d3d 7970
d85c4d50
JB
79712013-07-27 Juanma Barranquero <lekktu@gmail.com>
7972
7973 * desktop.el (desktop--make-frame): Apply most frame parameters after
7974 creating the frame to force (partially or totally) offscreen frames to
7975 be restored as such.
7976
e4c467f9
XF
79772013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7978
7979 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7980 (Bug#14948)
e4c467f9 7981
7ced0d04
SM
79822013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7985 `base' arg of backtrace-frame.
7986
fec92060
EZ
79872013-07-26 Eli Zaretskii <eliz@gnu.org>
7988
7989 * simple.el (list-processes): Doc fix.
7990
d58d31fb
JB
79912013-07-26 Juanma Barranquero <lekktu@gmail.com>
7992
7993 * desktop.el (desktop--select-frame):
d85c4d50 7994 Try harder to reuse existing frames.
d58d31fb 7995
53ff3e77
SM
79962013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7997
7998 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7999 (edebug-eval): Use backtrace-eval.
8000 (edebug--display, edebug--recursive-edit): Don't let-bind the
8001 edebug-outer-* vars that keep track of variables we locally let-bind.
8002 (edebug-outside-excursion): Don't restore outside values of locally
8003 let-bound vars.
8004 (edebug--display): Use user-error.
8005 (cl-lexical-debug, cl-debug-env): Remove.
8006
045f7a53
JB
80072013-07-26 Juanma Barranquero <lekktu@gmail.com>
8008
8009 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8010 are restored to be sure that they are visible before deleting any
8011 remaining ones.
8012
59070b32
MM
80132013-07-26 Matthias Meulien <orontee@gmail.com>
8014
742a3501
XF
8015 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8016 vc-print-root-log. (Bug#14948)
59070b32 8017
b1fb3596
RS
80182013-07-26 Richard Stallman <rms@gnu.org>
8019
8020 Add aliases for encrypting mail.
8021 * epa.el (epa-mail-aliases): New option.
8022 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8023 Bind inhibit-read-only so read-only text doesn't ruin everything.
8024 (epa-mail-default-recipients): New subroutine broken out.
8025 Handle epa-mail-aliases.
8026
56ea7291
SM
80272013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 Add support for lexical variables to the debugger's `e' command.
8030 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8031 vars, except for debugger-outer-match-data.
8032 (debugger-frame-number): Move check for "on a function call" from
8033 callers into it. Add `skip-base' argument.
8034 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8035 (debugger-env-macro): Only reset the state stored in non-variables,
8036 i.e. current-buffer and match-data.
8037 (debugger-eval-expression): Rewrite using backtrace-eval.
8038 * subr.el (internal--called-interactively-p--get-frame): Remove.
8039 (called-interactively-p):
8040 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8041 `base' arg of backtrace-frame instead.
8042
15ac32d5
GM
80432013-07-26 Glenn Morris <rgm@gnu.org>
8044
8358a09d
GM
8045 * align.el (align-regexp): Doc fix. (Bug#14857)
8046 (align-region): Explicit error if subexpression missing/does not match.
8047
15ac32d5
GM
8048 * simple.el (global-visual-line-mode):
8049 Do not duplicate the mode lighter. (Bug#14858)
8050
f47ad11b
MR
80512013-07-25 Martin Rudalics <rudalics@gmx.at>
8052
8053 * window.el (display-buffer): In display-buffer bind
8054 split-window-keep-point to t, bug#14829.
8055
02530987
JB
80562013-07-25 Juanma Barranquero <lekktu@gmail.com>
8057
8058 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8059 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8060 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8061 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8062 Change accordingly.
f63ebeb5
JB
8063 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8064 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 8065
6ccb9cab 80662013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 8067
6ccb9cab 8068 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 8069
cb3a56d2
JB
80702013-07-25 Juanma Barranquero <lekktu@gmail.com>
8071
8072 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8073 parameter to modify-frame-parameters if the value has not changed;
8074 this is a workaround for bug#14949.
8075 (desktop--make-frame): On cl-delete-if call, check parameter name,
8076 not full parameter.
8077
7aa7fff0
XF
80782013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8079
8080 * vc/vc.el (vc-ignore): New function.
8081
8082 * vc/vc-svn.el (vc-svn-ignore): New function.
8083
8084 * vc/vc-hg.el (vc-hg-ignore): New function.
8085
8086 * vc/vc-git.el (vc-git-ignore): New function.
8087
8088 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8089 (vc-dir-ignore): New function.
8090
8091 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 8092 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
8093
8094 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8095
8096 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8097
889acc5c
JB
80982013-07-24 Juanma Barranquero <lekktu@gmail.com>
8099
8100 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8101 (desktop-restore-frames): Warn when deleting an existing frame failed.
8102
86c40970
GM
81032013-07-24 Glenn Morris <rgm@gnu.org>
8104
8105 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8106
d5d3c58a
MA
81072013-07-24 Michael Albinus <michael.albinus@gmx.de>
8108
8109 * filenotify.el (file-notify-supported-p):
8110 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8111 Remove functions.
8112
8113 * autorevert.el (auto-revert-use-notify):
8114 (auto-revert-notify-add-watch):
8115 * net/tramp.el (tramp-file-name-for-operation):
8116 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8117 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8118 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8119 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8120 Remove `file-notify-supported-p' entry.
8121
d100084b
GM
81222013-07-24 Glenn Morris <rgm@gnu.org>
8123
8124 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 8125 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 8126
ac93e56b
SM
81272013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8128
249eea30
SM
8129 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8130 checked with memq (bug#14935).
8131
ac93e56b
SM
8132 * files.el (revert-buffer-function): Use a non-nil default.
8133 (revert-buffer-preserve-modes): Declare var to
8134 provide access to the `preserve-modes' argument.
8135 (revert-buffer): Let-bind it.
8136 (revert-buffer--default): New function, extracted from revert-buffer.
8137
2cdeb903
SM
81382013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8139
8140 * lpr.el: Signal print errors more prominently.
8141 (print-region-function): Don't default to nil.
8142 (lpr-print-region): New function, extracted from print-region-1.
8143 Check lpr's return value and signal an error in case of problem.
8144 (print-region-1): Use it.
8145 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8146 versions instead.
8147 (ps-printer-name): Default to nil.
8148 (ps-printer-name-option): Default to lpr-printer-switch.
8149 (ps-print-region-function): Don't default to nil.
8150 (ps-postscript-code-directory): Simplify default.
8151 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8152 (ps-string-list, ps-eval-switch, ps-flatten-list)
8153 (ps-flatten-list-1): Remove.
8154 (ps-multibyte-buffer): Avoid setq.
8155 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8156 (print-region-function, ps-print-region-function): Don't set them here.
8157
73600831
XF
81582013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8159
0e55c076
XF
8160 * ido.el (ido-fractionp):
8161 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8162 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8163 (ido-max-directory-size, ido-max-dir-file-cache)
8164 (ido-decorations): Doc fix.
8165
73600831
XF
8166 * ansi-color.el: Fix old URL.
8167
3d012865
MM
81682013-07-23 Michael R. Mauger <michael@mauger.com>
8169
e903c210 8170 * progmodes/sql.el: Version 3.3
3d012865
MM
8171 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8172 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8173 (sql-interactive-remove-continuation-prompt): Rewrite, use
8174 functions above. Fix continuation prompt and complete output line
8175 handling.
8176 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8177 redirected output buffer.
8178 (sql-mode): Restore deleted code (Bug#13591).
8179
da77a2e2
JB
81802013-07-23 Juanma Barranquero <lekktu@gmail.com>
8181
8182 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8183
80ff0c71
MA
81842013-07-23 Michael Albinus <michael.albinus@gmx.de>
8185
8186 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8187
8188 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8189 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8190 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8191
b61d71e4
JB
81922013-07-23 Juanma Barranquero <lekktu@gmail.com>
8193
8194 * desktop.el (desktop-clear): Simplify; remove useless checks
8195 against invalid buffer names.
8196 (desktop-list*): Use cl-list*.
8197 (desktop-buffer-info, desktop-create-buffer): Simplify.
8198
c3512092
LL
81992013-07-23 Leo Liu <sdl.web@gmail.com>
8200
8201 * bookmark.el (bookmark-make-record): Restore NAME as a default
8202 value. (Bug#14933)
8203
0ac26976
SM
82042013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8205
7d22ce18
SM
8206 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8207 extracted from autoload--insert-text.
8208 (autoload--insert-text): Remove.
8209 (autoload--print-cookie-text): New function, extracted from
8210 autoload--insert-cookie-text.
8211 (autoload--insert-cookie-text): Remove.
8212 (autoload-generate-file-autoloads): Adjust calls accordingly.
8213
9b2607e8
SM
8214 * winner.el (winner-hook-installed-p): Remove.
8215 (winner-mode): Simplify accordingly.
8216
c43a8618
SM
8217 * subr.el (add-to-list): Fix compiler-macro when `append' is
8218 not constant. Don't use `cl-member' for the base case.
8219
0ac26976
SM
8220 * progmodes/subword.el: Fix boundary case (bug#13758).
8221 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8222 own group.
8223 (subword-backward-regexp): Make it a constant.
8224 (subword-forward-internal): Don't treat a trailing capital as the
8225 beginning of a word.
8226
6874724a
AR
82272013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8228
8229 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8230 global value of tabulated-list-revert-hook (bug#14930).
8231
70f1b5e8
JB
82322013-07-22 Juanma Barranquero <lekktu@gmail.com>
8233
a1c80d9d
JB
8234 * desktop.el: Require 'cl-lib.
8235 (desktop-before-saving-frames-functions): New hook.
8236 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8237 for frames being saved. Rename from desktop--save-minibuffer-frames.
8238 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
8239 Do not save frames with non-nil `desktop-dont-save' parameter.
8240 Filter out deleted frames.
a1c80d9d
JB
8241 (desktop--find-frame): Use cl-find-if.
8242 (desktop--select-frame): Use cl-(first|second|third) to access values
8243 of desktop-mini.
8244 (desktop--make-frame): Use cl-delete-if.
8245 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8246 (desktop-restore-frames): Use cl-(first|second|third) to access values
8247 of desktop-mini. Look for visible frame at the end, not while
8248 restoring frames.
8249
70f1b5e8
JB
8250 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8251 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8252 Use string-match-p, looking-at-p (bug#14927).
8253
728dc3cc
JB
82542013-07-21 Juanma Barranquero <lekktu@gmail.com>
8255
56bc453c
JB
8256 * desktop.el (desktop-saved-frame-states):
8257 Rename from desktop--saved-states; all users changed.
8258 (desktop-save-frames): Rename from desktop--save-frames.
8259 Do not save state to desktop file.
8260 (desktop-save): Save desktop-saved-frame-states to desktop file
8261 and reset to nil.
8262 (desktop-restoring-frames-p): New function.
8263 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8264 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8265 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8266
728dc3cc
JB
8267 * desktop.el: Correctly restore iconified frames.
8268 (desktop--filter-iconified-position): New function.
8269 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8270
862f1c9c
GM
82712013-07-20 Glenn Morris <rgm@gnu.org>
8272
c4074c9f
GM
8273 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8274 Let `message' do the formatting.
8275 (def-gdb-preempt-display-buffer): Add explicit format.
8276
d828e5f9
GM
8277 * image-dired.el (image-dired-track-original-file):
8278 Use with-current-buffer.
8279 (image-dired-track-thumbnail): Use with-current-buffer.
8280 Avoid changing point of wrong window.
8281
862f1c9c
GM
8282 * image-dired.el (image-dired-track-original-file):
8283 Avoid changing point of wrong window. (Bug#14909)
8284
f0398ec1 82852013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
8286
8287 * progmodes/gdb-mi.el (gdb-done-or-error):
8288 Guard against "%" in gdb output. (Bug#14127)
8289
1451928f
AS
82902013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8291
763a086d
JB
8292 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8293 (Bug#14826)
f7a03897 8294
1451928f
AS
8295 * international/mule.el (coding-system-iso-2022-flags): Fix last
8296 change.
8297
99107004
KH
82982013-07-20 Kenichi Handa <handa@gnu.org>
8299
763a086d
JB
8300 * international/mule.el (coding-system-iso-2022-flags):
8301 Add `8-bit-level-4'. (Bug#8522)
99107004 8302
48494e06
LMI
83032013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8304
8ba8eec5
LMI
8305 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8306 (bug#14815).
8307
dfbc66e3
LMI
8308 * net/eww.el (eww-process-text-input): Allow inputting when the
8309 point is at the start of the line, as the properties aren't
8310 front-sticky.
8311
48494e06
LMI
8312 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8313 degenerate widths.
8314
77c92cb9
RS
83152013-07-19 Richard Stallman <rms@gnu.org>
8316
aec7da77
RS
8317 * epa.el (epa-popup-info-window): Doc fix.
8318
77c92cb9
RS
8319 * subr.el (split-string): New arg TRIM.
8320
945c5bb1
JB
83212013-07-18 Juanma Barranquero <lekktu@gmail.com>
8322
8323 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8324 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8325
e06ec67f
MA
83262013-07-18 Michael Albinus <michael.albinus@gmx.de>
8327
c7064f05 8328 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
8329 `file-notify-support'. Do not autoload. Adapt all uses.
8330 (file-notify-supported-p): New defun.
8331
c7064f05
JB
8332 * autorevert.el (auto-revert-use-notify):
8333 Use `file-notify-supported-p' instead of `file-notify-support'.
8334 Adapt docstring.
e06ec67f
MA
8335 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8336
8337 * net/tramp.el (tramp-file-name-for-operation):
8338 Add `file-notify-supported-p'.
8339
8340 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8341 New defun.
8342 (tramp-sh-file-name-handler-alist): Add it as handler for
8343 `file-notify-supported-p '.
8344
8345 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8346 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8347 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8348 Add `ignore' as handler for `file-notify-*' functions.
8349
5dc8a629
EZ
83502013-07-17 Eli Zaretskii <eliz@gnu.org>
8351
8352 * simple.el (line-move-partial, line-move): Don't start vscroll or
8353 scroll-up if the current line is not taller than the window.
8354 (Bug#14881)
8355
77aea2fb
DG
83562013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8357
8358 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8359 highlight question marks in the method names as strings.
ac72c08d
DG
8360 (ruby-block-beg-keywords): Inline.
8361 (ruby-font-lock-keyword-beg-re): Extract from
8362 `ruby-font-lock-keywords'.
77aea2fb 8363
18c26d81
JD
83642013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8365
8366 * frame.el (blink-cursor-blinks): New defcustom.
8367 (blink-cursor-blinks-done): New defvar.
8368 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8369 (blink-cursor-timer-function): Check if number of blinks has been
8370 done on X and NS.
8371 (blink-cursor-suspend, blink-cursor-check): New defuns.
8372
da48522e
GM
83732013-07-15 Glenn Morris <rgm@gnu.org>
8374
8375 * edmacro.el (edmacro-format-keys): Fix previous change.
8376
0463c1ef
PE
83772013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8378
8379 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8380 The hack didn't work outside English locales anyway.
8381
b43f6451
JB
83822013-07-15 Juanma Barranquero <lekktu@gmail.com>
8383
8384 * simple.el (define-alternatives): Rename from alternatives-define,
8385 per RMS' suggestion.
8386
b958c0ad
JB
83872013-07-14 Juanma Barranquero <lekktu@gmail.com>
8388
8389 * desktop.el (desktop-restore-frames): Change default to t.
8390 (desktop-restore-in-current-display): Now offer more options.
8391 (desktop-restoring-reuses-frames): New customization option.
8392 (desktop--saved-states): Doc fix.
8393 (desktop-filter-parameters-alist): New variable, renamed and expanded
8394 from desktop--excluded-frame-parameters.
8395 (desktop--target-display): New variable.
8396 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8397 (desktop--filter-tty*, desktop--filter-*-color)
8398 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8399 (desktop--filter-save-desktop-parm)
8400 (desktop-restore-in-original-display-p): New functions.
8401 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8402 (desktop--save-minibuffer-frames): New function, inspired by a similar
8403 function from Martin Rudalics.
8404 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8405 (desktop--restore-in-this-display-p): Remove.
8406 (desktop--find-frame): Rename from desktop--find-frame-in-display
8407 and add predicate argument.
8408 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8409 (desktop--reuse-list): New variable.
8410 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8411 New functions.
8412 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8413
f6dd8b36
MA
84142013-07-14 Michael Albinus <michael.albinus@gmx.de>
8415
8416 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8417
2ce3c565
DG
84182013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8419
763a086d
JB
8420 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8421 Highlight conversion methods on Kernel.
2ce3c565 8422
2cdb7698
AM
84232013-07-13 Alan Mackenzie <acm@muc.de>
8424
8425 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8426 and comment it out. This out-commenting enables certain C++
8427 declarations to be parsed correctly.
8428
1a67b811
EZ
84292013-07-13 Eli Zaretskii <eliz@gnu.org>
8430
1b796d6b
EZ
8431 * international/mule.el (define-coding-system): Doc fix.
8432
1a67b811
EZ
8433 * simple.el (default-font-height): Don't call font-info if the
8434 frame's default font didn't change since the frame was created.
8435 (Bug#14838)
8436
58fbe886
LL
84372013-07-13 Leo Liu <sdl.web@gmail.com>
8438
8439 * ido.el (ido-read-file-name): Guard against non-symbol value.
8440
1f0480d4
FEG
84412013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8442
8443 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8444 in nested defuns.
8445
97ead0e5
LL
84462013-07-13 Leo Liu <sdl.web@gmail.com>
8447
8448 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8449 ido-set-matches call. (Bug#6852)
8450
0880a952
DG
84512013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8452
8453 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8454 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8455 Ruby 2.0.
8456 (ruby-font-lock-keywords): Distinguish calls to functions with
8457 module-like names from module references. Highlight character
8458 literals.
8459
a7d8babb
SDJ
84602013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8461
8462 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 8463 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 8464
acfcc8c5
JB
84652013-07-12 Juanma Barranquero <lekktu@gmail.com>
8466
8467 * desktop.el (desktop--v2s): Remove unused local variable.
8468 (desktop-save-buffer): Make defvar-local; adjust docstring.
8469 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8470 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8471
051f2775
AS
84722013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8473
8474 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8475
f24e7572
GM
84762013-07-12 Eli Zaretskii <eliz@gnu.org>
8477
8478 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8479 (Bug#14842)
8480
539a920c
GM
84812013-07-12 Glenn Morris <rgm@gnu.org>
8482
8483 * doc-view.el: Require cl-lib at runtime too.
8484 (doc-view-remove-if): Remove.
8485 (doc-view-search-next-match, doc-view-search-previous-match):
8486 Use cl-remove-if.
8487
8488 * edmacro.el: Require cl-lib at runtime too.
8489 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8490 (edmacro-mismatch, edmacro-subseq): Remove.
8491
8492 * shadowfile.el: Require cl-lib.
8493 (shadow-remove-if): Remove.
8494 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8495 Use cl-remove-if.
8496
8497 * wid-edit.el: Require cl-lib.
8498 (widget-choose): Use cl-remove-if.
8499 (widget-remove-if): Remove.
8500
8501 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8502 (ebrowse-delete-if-not): Remove.
8503 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8504 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8505 Use cl-delete-if-not.
8506
1048af7c
JB
85072013-07-12 Juanma Barranquero <lekktu@gmail.com>
8508
8509 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8510 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8511
6c0674ee
LL
85122013-07-12 Leo Liu <sdl.web@gmail.com>
8513
8514 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8515
a19b3c2d
GM
85162013-07-11 Glenn Morris <rgm@gnu.org>
8517
4582a01c
GM
8518 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8519 (edebug-gensym-index, edebug-gensym):
8520 Remove reimplementation of cl-gensym.
8521 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8522
8523 * thumbs.el: Require cl-lib at run-time too.
8524 (thumbs-gensym-counter, thumbs-gensym):
8525 Remove reimplementation of cl-gensym.
8526 (thumbs-temp-file): Use cl-gensym.
8527
a19b3c2d
GM
8528 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8529 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8530 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8531 (ert--union, ert--gensym-counter, ert--gensym-counter)
8532 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8533 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8534 (ert-make-test-unbound, ert--expand-should-1)
8535 (ert--expand-should, ert--should-error-handle-error)
8536 (should-error, ert--explain-equal-rec)
8537 (ert--plist-difference-explanation, ert-select-tests)
8538 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8539 Use cl-lib functions rather than reimplementations.
8540
88f6a933
MA
85412013-07-11 Michael Albinus <michael.albinus@gmx.de>
8542
8543 * net/tramp.el (tramp-methods): Extend docstring.
8544 (tramp-connection-timeout): New defcustom.
8545 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8546 (with-tramp-progress-reporter): Simplify.
8547 (tramp-process-actions): Improve messages.
8548
8549 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8550 * net/tramp-sh.el (tramp-maybe-open-connection):
8551 Use `tramp-connection-timeout'.
afe1e4c8 8552 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
8553 (Bug#14808)
8554
a43d577e
LL
85552013-07-11 Leo Liu <sdl.web@gmail.com>
8556
8557 * ido.el (ido-read-file-name): Conform to the requirements of
8558 read-file-name. (Bug#11861)
8559 (ido-read-directory-name): Conform to the requirements of
8560 read-directory-name.
8561
d77974bf
JB
85622013-07-11 Juanma Barranquero <lekktu@gmail.com>
8563
8564 * subr.el (delay-warning): New function.
8565
35cb8a3e
EZ
85662013-07-10 Eli Zaretskii <eliz@gnu.org>
8567
8568 * simple.el (default-line-height): New function.
8569 (line-move-partial, line-move): Use it instead of computing the
8570 line height inline.
8571 (line-move-partial): Always compute ROWH. If the last line is
8572 partially-visible, but its text is completely visible, allow
8573 cursor to enter such a partially-visible line.
8574
525c5c77
MA
85752013-07-10 Michael Albinus <michael.albinus@gmx.de>
8576
8577 Improve error messages. (Bug#14808)
8578
8579 * net/tramp.el (tramp-current-connection): New defvar, moved from
8580 tramp-sh.el.
0ac26976 8581 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 8582 needed anymore.
0ac26976
SM
8583 (tramp-error-with-buffer): Show message in minibuffer.
8584 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
8585 (with-tramp-progress-reporter): Improve messages.
8586 (tramp-process-actions): Use progress reporter. Delete process in
8587 case of error. Improve messages.
8588
763a086d
JB
8589 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8590 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 8591 (tramp-current-connection): Remove.
525c5c77
MA
8592 (tramp-maybe-open-connection): The car of
8593 `tramp-current-connection' are the first 3 slots of the vector.
8594
c7a4d368
TZ
85952013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8596
8597 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8598 inside continued strings.
8599
954b166e
PE
86002013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8601
8602 Timestamp fixes for undo (Bug#14824).
8603 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8604
56973319
LL
86052013-07-10 Leo Liu <sdl.web@gmail.com>
8606
8607 * files.el (require-final-newline): Allow safe local value.
8608 (Bug#14834)
8609
5550a72c
LL
86102013-07-09 Leo Liu <sdl.web@gmail.com>
8611
8612 * ido.el (ido-read-directory-name): Handle fallback.
8613 (ido-read-file-name): Update DIR to ido-current-directory.
8614 (Bug#1516)
c28b9050 8615 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 8616
70c46b28
DG
86172013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8618
8619 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8620 "autoload". Remove "warn lower camel case" section, previously
8621 commented out. Highlight negation char. Do not highlight the
8622 target in singleton method definitions.
8623
0b64b838
SM
86242013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8625
7fd72e2c
SM
8626 * faces.el (tty-setup-hook): Declare the hook.
8627
0b64b838
SM
8628 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8629 and detect when a guard/pred depends on local vars (bug#14773).
8630 (pcase--u1): Adjust caller.
8631
ab49d60b
EZ
86322013-07-08 Eli Zaretskii <eliz@gnu.org>
8633
8634 * simple.el (line-move-partial, line-move): Account for
8635 line-spacing.
701d79aa
EZ
8636 (line-move-partial): Avoid setting vscroll when the last
8637 partially-visible line in window is of default height.
ab49d60b 8638
2d756ae0
LMI
86392013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8640
8641 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8642 been used a while.
8643
ed095bd7
JB
86442013-07-07 Juanma Barranquero <lekktu@gmail.com>
8645
8646 * subr.el (read-quoted-char): Remove unused local variable `char'.
8647
f1e6674b
MK
86482013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8649
584ee3fc
GM
8650 * ediff.el (ediff-version): Version update.
8651 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8652 (ediff-merge-with-ancestor-command, ediff-directories-command)
8653 (ediff-directories3-command, ediff-merge-directories-command)
8654 (ediff-merge-directories-with-ancestor-command): New functions.
8655 All are command-line interfaces to ediff: to facilitate calling
8656 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
8657
8658 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8659 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 8660
584ee3fc
GM
8661 * viper.el (viper-version): Version update.
8662 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 8663
584ee3fc
GM
86642013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8667 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8668 (viper-intercept-ESC-key): Simplify.
8669 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8670 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8671 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8672 (viper-setup-ESC-to-escape): New functions.
8673 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8674 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 8675
9aff9b38
EZ
86762013-07-07 Eli Zaretskii <eliz@gnu.org>
8677
5165d44a
JB
8678 * simple.el (default-font-height, window-screen-lines):
8679 New functions.
9aff9b38
EZ
8680 (line-move, line-move-partial): Use them instead of
8681 frame-char-height and window-text-height. This makes scrolling
8682 text smoother when the buffer's default face uses a font that is
8683 different from the frame's default font.
8684
1afb1d07
JD
86852013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8686
8687 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 8688 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 8689
23de972a
EZ
86902013-07-06 Eli Zaretskii <eliz@gnu.org>
8691
8692 * simple.el (line-move-partial): Adjust the row returned by
8693 posn-at-point for the current window-vscroll. (Bug#14567)
8694
54a42486
MA
86952013-07-06 Michael Albinus <michael.albinus@gmx.de>
8696
8697 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8698 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8699 spaces.
8700
34ada5f4
MR
87012013-07-06 Martin Rudalics <rudalics@gmx.at>
8702
8703 * window.el (window-state-put-stale-windows): New variable.
8704 (window--state-put-2): Save list of windows without matching buffer.
8705 (window-state-put): Remove "bufferless" windows if possible.
8706
11e03d89
JB
87072013-07-06 Juanma Barranquero <lekktu@gmail.com>
8708
8709 * simple.el (alternatives-define): Remove leftover :group keyword.
8710 Tweak docstring.
8711
3504a4be
LL
87122013-07-06 Leo Liu <sdl.web@gmail.com>
8713
8714 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8715 (ido-enable-virtual-buffers): New variable.
8716 (ido-buffer-internal, ido-toggle-virtual-buffers)
8717 (ido-make-buffer-list): Use it.
8718 (ido-exhibit): Support turning on and off virtual buffers
8719 automatically.
8720
61e56e2c
JB
87212013-07-06 Juanma Barranquero <lekktu@gmail.com>
8722
8723 * simple.el (alternatives-define): New macro.
8724
321e1a9c
SM
87252013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8726
8727 * subr.el (read-quoted-char): Use read-key.
8728 (sit-for): Let read-event decode tty input (bug#14782).
8729
d610f6dd
SB
87302013-07-05 Stephen Berman <stephen.berman@gmx.net>
8731
8732 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
8733 mode command and externally. Fix various related bugs.
8734 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
8735 (todo-delete-file): New command.
8736 (todo-check-file): New function.
8737 (todo-show): Handle external deletion of the file we're trying to
8738 show (bug#14688). Replace called-interactively-p by an optional
8739 prefix argument to avoid problematic interaction with catch form
8740 when byte compiled (bug#14702).
8741 (todo-quit): Handle external deletion of the archive's todo file.
8742 Make sure the buffer that was visiting the archive file is still
8743 live before trying to bury it.
8744 (todo-category-completions): Handle external deletion of any
8745 category completion files.
8746 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8747 of todo files, in case of external deletion.
8748 (todo-add-file): Replace unnecessary setq by let-binding.
8749 (todo-find-archive): Check whether there are any archives.
8750 Replace unnecessary setq by let-binding.
8751 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
8752 archive buffer whether or not the archive already exists.
8753 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
8754 check if the archive is new; if it is, update list of archives.
8755 (todo-default-todo-file): Allow nil to be a valid value for when
8756 there are no todo files.
8757 (todo-reevaluate-default-file-defcustom): Use corrected definition
8758 of todo-default-todo-file.
8759 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8760 (todo-delete-category, todo-show-categories-table)
8761 (todo-category-number): Clarify comment.
8762 (todo-filter-items): Clarify documentation string.
8763 (todo-show-current-file, todo-display-as-todo-file)
8764 (todo-reset-and-enable-done-separator): Tweak documentation string.
8765 (todo-done-separator): Make separator length window-width, since
8766 bug#2749 is now fixed.
8767
ddbdfd6f
MA
87682013-07-05 Michael Albinus <michael.albinus@gmx.de>
8769
321e1a9c
SM
8770 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8771 Support both "gvfs-monitor-dir" and "inotifywait".
8772 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
8773 `tramp-sh-file-notify-process-filter'.
8774 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8775 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8776
96eb829a
LL
87772013-07-05 Leo Liu <sdl.web@gmail.com>
8778
8779 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8780
cf13177e
YM
87812013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8782
8783 * frame.el (display-pixel-height, display-pixel-width)
8784 (display-mm-height, display-mm-width): Mention behavior on
8785 multi-monitor setups in docstrings.
8786 (w32-display-monitor-attributes-list): Declare function.
8787 (display-monitor-attributes-list): Use it.
8788
864c58ca
MA
87892013-07-04 Michael Albinus <michael.albinus@gmx.de>
8790
8791 * filenotify.el: New package.
8792
8793 * autorevert.el (top): Require filenotify.el.
8794 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8795 instead.
8796 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8797 (auto-revert-notify-handler): Use `file-notify-*' functions.
8798
8799 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8800
321e1a9c
SM
8801 * net/tramp.el (tramp-file-name-for-operation):
8802 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
8803
8804 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8805 for `file-notify-add-watch' and `file-notify-rm-watch'.
8806 (tramp-process-sentinel): Improve trace.
8807 (tramp-sh-handle-file-notify-add-watch)
8808 (tramp-sh-file-notify-process-filter)
8809 (tramp-sh-handle-file-notify-rm-watch)
8810 (tramp-get-remote-inotifywait): New defuns.
8811
96673afe
JL
88122013-07-03 Juri Linkov <juri@jurta.org>
8813
8814 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8815 call of `occur-read-primary-args' to interactive spec.
8816
8817 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8818 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8819
924494f4
MM
88202013-07-03 Matthias Meulien <orontee@gmail.com>
8821
8822 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8823 `Buffer-menu-multi-occur'. Add it to the menu.
8824 (Buffer-menu-mode): Document it in docstring.
8825 (Buffer-menu-multi-occur): New command. (Bug#14673)
8826
56f75efc
DG
88272013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8828
8829 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8830 keywords and built-ins.
8831
9b057d61
GM
88322013-07-03 Glenn Morris <rgm@gnu.org>
8833
208dee4d
GM
8834 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8835
9b057d61
GM
8836 Make info-xref checks case-sensitive by default
8837 * info.el (Info-find-node, Info-find-in-tag-table)
8838 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8839 Add option for exact case matching of nodes.
8840 * info-xref.el (info-xref): New custom group.
8841 (info-xref-case-fold): New option.
8842 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8843
e01aa29c
LL
88442013-07-03 Leo Liu <sdl.web@gmail.com>
8845
8846 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8847
3086ca2e
DG
88482013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8849
8850 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8851 middle of block statement initially, lower the depth. Remove
8852 FIXME comment, not longer valid. Remove middle of block statement
8853 detection, no need to do that anymore since we've been using
8854 `ruby-parse-region' here.
8855
a3b49114
JD
88562013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8857
8858 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8859
08e5c823 88602013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
8861
8862 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8863
2addf922
JB
88642013-07-01 Juanma Barranquero <lekktu@gmail.com>
8865
8866 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8867 (desktop-restore-in-current-display): New customization option.
8868 (desktop--excluded-frame-parameters): Add `font'.
8869 (desktop--save-frames): Rename from desktop--save-windows.
8870 (desktop--restore-in-this-display-p): New function.
8871 (desktop--make-full-frame): Remove unwanted width/height from
8872 full(width|height) frames.
8873 (desktop--restore-frames): Rename from desktop--restore-windows.
8874 Obey desktop-restore-current-display. Do not delete old frames or
8875 select a new frame unless we were able to restore at least one frame.
8876
ef099a94
MN
88772013-06-30 Michal Nazarewicz <mina86@mina86.com>
8878
8879 * files.el (find-file-noselect): Simplify conditional expression.
8880
a12bf61e 8881 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
8882 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8883
8884 Add `remember-notes' function to store random notes across Emacs
8885 restarts.
3fcfc4ee
JB
8886 * textmodes/remember.el (remember-data-file): Add :set callback to
8887 affect notes buffer (if any).
ef099a94
MN
8888 (remember-notes): New command.
8889 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8890 New defcustoms for the `remember-notes' function.
8891 (remember-notes-save-and-bury-buffer): New command.
8892 (remember-notes-mode-map): New variable.
8893 (remember-mode): New minor mode.
8894 (remember-notes--kill-buffer-query): New function.
8895 * startup.el (initial-buffer-choice): Add notes to custom type.
8896
0865d506
EZ
88972013-06-30 Eli Zaretskii <eliz@gnu.org>
8898
0ba54312
EZ
8899 * bindings.el (right-char, left-char): Don't call sit-for, this is
8900 no longer needed. Use arithmetic comparison only for numerical
8901 arguments.
8902
ef099a94
MN
8903 * international/mule-cmds.el (select-safe-coding-system):
8904 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 8905
2fae38e5
LMI
89062013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8907
8908 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8909 progression on degenerate tables.
ef099a94 8910 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 8911
a47cbd64
JB
89122013-06-30 Juanma Barranquero <lekktu@gmail.com>
8913
8914 Some fixes and improvements for desktop frame restoration.
8915 It is still experimental and disabled by default.
8916 * desktop.el (desktop--save-windows): Put the selected frame at
8917 the head of the list.
8918 (desktop--make-full-frame): New function.
8919 (desktop--restore-windows): Try to re-select the frame that was
8920 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
8921 just show an error message and continue. Set up maximized frames
8922 so they have default non-maximized dimensions.
a47cbd64 8923
6dbafa30
DG
89242013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8925
ef099a94
MN
8926 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8927 Don't start heredoc inside a string or comment.
6dbafa30 8928
4c672a0f
EZ
89292013-06-29 Eli Zaretskii <eliz@gnu.org>
8930
8931 * bindings.el (visual-order-cursor-movement): New defcustom.
8932 (right-char, left-char): Provide visual-order cursor motion by
8933 calling move-point-visually. Update the doc strings.
8934
50960f36
KH
89352013-06-28 Kenichi Handa <handa@gnu.org>
8936
8937 * international/mule.el (define-coding-system): New coding system
8938 properties :inhibit-null-byte-detection,
8939 :inhibit-iso-escape-detection, and :prefer-utf-8.
8940 (set-buffer-file-coding-system): If :charset-list property of
8941 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8942 appropriate for setting.
8943
c1ea3abf
JB
8944 * international/mule-cmds.el (select-safe-coding-system):
8945 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8946 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
8947
8948 * international/mule-conf.el (prefer-utf-8): New coding system.
8949 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8950 files.
8951
75dbaf9d
IK
89522013-06-28 Ivan Kanis <ivan@kanis.fr>
8953
eadb6068
IK
8954 * net/shr.el (shr-render-region): New function.
8955
75dbaf9d
IK
8956 * net/eww.el: Autoload `eww-browse-url'.
8957
9ea5cf9f
DG
89582013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8959
c1ea3abf
JB
8960 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8961 Adapt to `package-desc-version' being a list.
8962 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
8963 archive element.
8964
39c0e36f
JB
89652013-06-27 Juanma Barranquero <lekktu@gmail.com>
8966
8967 New experimental feature to save&restore window and frame setup.
8968 * desktop.el (desktop-save-windows): New defcustom.
8969 (desktop--saved-states): New var.
8970 (desktop--excluded-frame-parameters): New defconst.
8971 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8972 (desktop--restore-windows, desktop--save-windows): New functions.
8973 (desktop-save): Call `desktop--save-windows'.
8974 (desktop-read): Call `desktop--restore-windows'.
8975
7f13406b
LMI
89762013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8977
ef099a94 8978 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8979
1e072639
SB
89802013-06-27 Stephen Berman <stephen.berman@gmx.net>
8981
8982 * info.el (Info-try-follow-nearest-node): Move search for footnote
8983 above search for node name to prevent missing a footnote (bug#14717).
8984
f3e2cbde
SB
89852013-06-27 Stephen Berman <stephen.berman@gmx.net>
8986
8987 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8988
99906aa0
LL
89892013-06-27 Leo Liu <sdl.web@gmail.com>
8990
8991 * net/eww.el (eww-read-bookmarks): Check file size.
8992
539f75f4
SM
89932013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8994
8995 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8996 advice--pending if newdef is nil or an autoload (bug#13820).
8997 (advice-mapc): New function.
8998
843571cb
LMI
89992013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9000
9001 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9002 probably.
23a75d7f 9003 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
9004 (eww-add-bookmark): New command.
9005 (eww-bookmark-mode): New mode and commands.
a285ce99 9006 (eww-add-bookmark): Remove newlines from the title.
47fd571b 9007 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 9008
f2136e1e
GM
90092013-06-26 Glenn Morris <rgm@gnu.org>
9010
eab35f39
GM
9011 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9012 (hfy-size): Handle ttys. (Bug#14668)
9013
f2136e1e
GM
9014 * info-xref.el: Update for Texinfo 5 change in *note format.
9015 (info-xref-node-re, info-xref-note-re): New constants.
9016 (info-xref-check-buffer): Use info-xref-note-re.
9017
a49ff80c
SM
90182013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9019
a343d218
SM
9020 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9021
a49ff80c
SM
9022 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9023 nil terminate the loop (bug#14718).
9024
8308f184
LMI
90252013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9026
9027 * net/eww.el: Rework history traversal. When going forward/back,
9028 put these actions into the history, too, so that they can be
9029 replayed.
26bf2b82 9030 (eww-render): Move the history reset to the correct buffer.
8308f184 9031
ec64c273
JL
90322013-06-25 Juri Linkov <juri@jurta.org>
9033
9034 * files-x.el (modify-dir-local-variable): Change the header comment
9035 in the file with directory local variables. (Bug#14692)
9036
e080a9d7
JL
9037 * files-x.el (read-file-local-variable-value): Add `default'.
9038 (Bug#14710)
9039
bfbc93a1
IK
90402013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9041
9042 * net/eww.el (eww-make-unique-file-name): Create a unique file
9043 name before saving to entering `y' accidentally asynchronously.
9044
90452013-06-25 Ivan Kanis <ivan@kanis.fr>
9046
9047 * net/eww.el (eww-download): New command and keystroke.
9048
16f74f10
LMI
90492013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9050
a49ff80c 9051 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
9052
9053 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9054 be more consistent with Info and dired.
9055
9056 * net/eww.el (eww-mode-map): Ditto.
9057
12059709
SM
90582013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9059
9060 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9061 packages from archives.
9062 (package-archive-contents): Change format; include obsolete packages.
9063 (package-desc): Use `dir' to mark builtin packages.
9064 (package--from-builtin): Set the `dir' field to `builtin'.
9065 (generated-autoload-file, version-control): Declare.
9066 (package-compute-transaction): Change first arg and return value to be
9067 lists of package-descs. Adjust to new package-archive-contents format.
9068 (package--add-to-archive-contents): Adjust to new
9069 package-archive-contents format.
9070 (package-download-transaction): Arg is now a list of package-descs.
9071 (package-install): If `pkg' is a package name, pass it as
9072 a requirement, so it is subject to the usual (e.g. disabled) checks.
9073 (describe-package): Accept package-desc as well.
9074 (describe-package-1): Describe a specific package-desc. Add links to
9075 other package-descs for the same package name.
9076 (package-menu-describe-package): Pass the actual package-desc.
9077 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9078 works correctly.
9079 (package-desc-status): New function.
9080 (package-menu--refresh): New function, extracted
9081 from package-menu--generate.
9082 (package-menu--generate): Use it.
9083 (package-delete): Update package-alist.
9084 (package-menu-execute): Don't call package-initialize.
9085
9086 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9087 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9088 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9089 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9090 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9091 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9092
8bbdea0f
MR
90932013-06-25 Martin Rudalics <rudalics@gmx.at>
9094
9095 * window.el (window--state-get-1): Workaround for bug#14527.
9096 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9097
e82b0991
LMI
90982013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9099
9100 * net/eww.el (eww-back-url): Implement the history by stashing all
9101 the data into a list.
d3f0f918 9102 (eww-forward-url): Allow going forward in the history, too.
e82b0991 9103
c763842b
SM
91042013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9105
9106 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9107 for values and use read--expression for expressions (bug#14710).
9108 (read-file-local-variable): Avoid setq.
9109 (read-file-local-variable-mode): Use minor-mode-list.
9110
bceff189
RW
91112013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9112
864c58ca 9113 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
9114 for DOI URLs.
9115
45f431c6
RW
91162013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9117
864c58ca 9118 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
9119 Update imenu-support when dialect changes.
9120
f42d8237
LL
91212013-06-25 Leo Liu <sdl.web@gmail.com>
9122
9123 * ido.el (ido-read-internal): Allow forward slash on windows.
9124
be549ce6
LMI
91252013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9126
9127 * net/eww.el (eww): Start of strings is \\`, not ^.
9128
71d4c19d
IK
91292013-06-24 Ivan Kanis <ivan@kanis.fr>
9130
5196f88a
IK
9131 * net/shr.el (shr-browse-url): Fix interactive spec.
9132
71d4c19d
IK
9133 * net/eww.el (eww): Add a trailing slash to domain names.
9134
ae36ca55
JB
91352013-06-24 Juanma Barranquero <lekktu@gmail.com>
9136
9137 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9138
0ebd92a3
LMI
91392013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9140
bdaa086b
LMI
9141 * net/shr.el (shr-browse-url): Use an external browser if given a
9142 prefix.
9143
c763842b 9144 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 9145
b89fc156
IK
91462013-06-24 Ivan Kanis <ivan@kanis.fr>
9147
9148 * net/eww.el (eww): Work more correctly for file: URLs.
9149 (eww-detect-charset): Allow quoted charsets.
9150 (eww-yank-page-url): New command and keystroke.
9151
18eb4bca
DU
91522013-06-24 Daiki Ueno <ueno@gnu.org>
9153
9154 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9155 file name of gpg executable.
9156 (epg-context-program): New function.
9157 (epg-context-home-directory): New function.
9158 (epg-context-set-program): New function.
9159 (epg-context-set-home-directory): New function.
9160 (epg--start): Use `epg-context-program' instead of
9161 'epg-gpg-program'.
9162 (epg--list-keys-1): Likewise.
9163
6c6268c8
LL
91642013-06-24 Leo Liu <sdl.web@gmail.com>
9165
9166 * ido.el (ido-read-internal): Fix bug#14620.
9167
5e400cb3
JB
91682013-06-23 Juanma Barranquero <lekktu@gmail.com>
9169
9170 * faces.el (face-documentation): Simplify.
9171 (read-face-attribute, tty-find-type, x-resolve-font-name):
9172 Use `string-match-p'.
9173 (list-faces-display): Use `string-match-p'. Simplify.
9174 (face-spec-recalc): Check face to avoid face alias loops.
9175 (read-color): Use `string-match-p' and non-capturing parenthesis.
9176
f3f9606c
LMI
91772013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9178
9179 * net/shr.el (shr-rescale-image): Use the new
9180 :max-width/:max-height functionality.
9181
a3ca09b9
IK
91822013-06-23 Ivan Kanis <ivan@kanis.fr>
9183
9184 * net/eww.el (eww-search-prefix): New variable.
9185 (eww): Use it.
f865b474
IK
9186 (eww-external-browser): New variable.
9187 (eww-mode-map): New keystroke.
9188 (eww-browse-with-external-browser): New command.
a3ca09b9 9189
e854cfc7
IK
9190 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9191
18bb9e21
JB
91922013-06-23 Juanma Barranquero <lekktu@gmail.com>
9193
9194 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9195 Don't skip aligning the next header field when padding is 0;
9196 otherwise, field width is not respected unless the title is as
9197 wide as the field.
9198
5b165ade
SM
91992013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9200
9201 * emacs-lisp/package.el (package-el-version): Remove.
9202 (package-process-define-package): Fix inf-loop.
9203 (package-install): Allow symbols as arguments again.
9204
12adebe9
DG
92052013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9206
9207 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9208 add some more keyword-like methods.
9209 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9210
388573ee
JB
92112013-06-22 Juanma Barranquero <lekktu@gmail.com>
9212
9213 * bs.el (bs-buffer-show-mark): Make defvar-local.
9214 (bs-mode): Use setq-local.
9215
9216 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9217 (emacs-lock--try-unlocking): Make defvar-local.
9218
4582a01c 92192013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 9220
2663dd23
GM
9221 * play/cookie1.el (cookie-apropos): Minor simplification.
9222
3d94f3ad
GM
9223 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9224
f72e2fdb
DG
92252013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9226
9227 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9228 `regexp-opt', it breaks the build during dumping.
9229
73eab938
DG
92302013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9231
c763842b
SM
9232 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9233 Highlight keyword-like methods on Kernel and Module with
73eab938 9234 font-lock-builtin-face.
5cf8176d
DG
9235 (auto-mode-alist): Consolidate different entries into one regexp
9236 and add more *file-s.
73eab938 9237
d26255f6
SB
92382013-06-21 Stephen Berman <stephen.berman@gmx.net>
9239
9240 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9241
9242 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9243 (diary-entry): Use it in the action of this button type instead of
9244 diary-goto-entry.
9245
9246 * calendar/todo-mode.el: New version.
9247 (todo-add-category): Append new category to end of file and give
9248 it the highest number, instead of putting it at the beginning and
9249 giving it 0. Incorporate noninteractive functionality.
9250 (todo-forward-category): Adapt to 1-based category numbering.
9251 Allow skipping over archived categories.
9252 (todo-backward-category): Derive from todo-forward-category.
9253 (todo-backward-item, todo-forward-item): Make noninteractive and
9254 delegate interactive part to new commands. Make sensitive to done items.
9255 (todo-categories): Make value an alist of category names and
9256 vectors of item counts.
9257 (todo-category-beg): Make a defconst.
9258 (todo-category-number): Use 1 instead of 0 as initial value.
9259 (todo-category-select): Make sensitive to overlays, optional item
9260 highlighting and done items.
9261 (todo-delete-item): Make sensitive to overlays and marked and done items.
9262 (todo-edit-item): Make sensitive to overlays and editing of
9263 date/time header optional. Add format checks.
9264 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9265 no-op if point is not on an item. Advertise using todo-edit-quit.
9266 (todo-edit-mode): Make sensitive to new format, font-locking, and
9267 multiple todo files.
9268 (todo-insert-item, todo-insert-item-here): Derive from
9269 todo-basic-insert-item and extend functionality.
9270 (todo-item-end, todo-item-start): Make sensitive to done items.
9271 (todo-item-string): Don't return text properties. Restore point.
9272 (todo-jump-to-category): Make sensitive to multiple todo files and
9273 todo archives. Use extended category completion.
9274 (todo-lower-item, todo-raise-item): Rename to *-priority and
9275 derive from todo-set-item-priority.
9276 (todo-mode): Derive from special-mode. Make sensitive to new
9277 format, font-locking and multiple todo files. Make read-only.
9278 (todo-mode-map): Don't suppress digit keys, so they can supply
9279 prefix arguments. Add many new key bindings.
9280 (todo-prefix): Insert as an overlay instead of file text.
9281 Change semantics from diary date expression to purely visual mark.
9282 (todo-print): Rename to todo-print-buffer. Make buffer display
9283 features printable. Remove option to restrict number of items
9284 printed. Add option to print to file.
9285 (todo-print-function): Rename to todo-print-buffer-function.
9286 (todo-quit): Extend to handle exiting new todo modes.
9287 (todo-remove-item): Make sensitive to overlays.
9288 (todo-save): Extend to buffers of filtered items.
9289 (todo-show): Make sensitive to done items, multiple todo files and
9290 new todo modes. Offer to convert legacy todo file before creating
9291 first new todo file.
9292 (todo-show-priorities): Rename to todo-top-priorities.
9293 Change semantics of value 0.
9294 (todo-top-priorities): Rename to todo-filter-top-priorities,
9295 derive from todo-filter-items and extend functionality.
9296 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9297 and extend functionality to other types of filtered items.
9298 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9299 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9300 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9301 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9302 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9303 (todo-edit-mode-hook, todo-entry-prefix-function)
9304 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9305 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9306 (todo-initials, todo-insert-threshold, todo-item-string-start)
9307 (todo-line-string, todo-menu, todo-mode-hook)
9308 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9309 (todo-print-priorities, todo-remove-separator)
9310 (todo-save-top-priorities-too, todo-string-count-lines)
9311 (todo-string-multiline-p, todo-time-string-format)
9312 (todo-tmp-buffer-name): Remove.
9313 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9314 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9315 (todo-edit-category-diary-inclusion)
9316 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9317 (todo-edit-file, todo-edit-item-date-day)
9318 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9319 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9320 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9321 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9322 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9323 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9324 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9325 (todo-filter-top-priorities-multifile, todo-find-archive)
9326 (todo-find-filtered-items-file, todo-go-to-source-item)
9327 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9328 (todo-jump-to-archive-category, todo-lower-category)
9329 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9330 (todo-move-category, todo-move-item, todo-next-button)
9331 (todo-next-item, todo-padded-string, todo-powerset)
9332 (todo-previous-button, todo-previous-item)
9333 (todo-print-buffer-to-file, todo-raise-category)
9334 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9335 (todo-set-category-number, todo-set-item-priority)
9336 (todo-set-top-priorities-in-category)
9337 (todo-set-top-priorities-in-file, todo-show-categories-table)
9338 (todo-sort-categories-alphabetically-or-numerically)
9339 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9340 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9341 (todo-toggle-item-header, todo-toggle-item-highlighting)
9342 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9343 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9344 (todo-unarchive-items, todo-unmark-category): New commands.
9345 (todo-absolute-file-name, todo-add-to-buffer-list)
9346 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9347 (todo-basic-insert-item, todo-category-completions)
9348 (todo-category-number, todo-category-string-matcher-1)
9349 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9350 (todo-check-format, todo-clear-matches)
9351 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9352 (todo-current-category, todo-date-string-matcher)
9353 (todo-define-insertion-command, todo-diary-expired-matcher)
9354 (todo-diary-goto-entry, todo-diary-item-p)
9355 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9356 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9357 (todo-done-item-section-p, todo-done-separator)
9358 (todo-done-string-matcher, todo-files, todo-filter-items)
9359 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9360 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9361 (todo-insert-category-line, todo-insert-item-from-calendar)
9362 (todo-insert-sort-button, todo-insert-with-overlays)
9363 (todo-insertion-command-name, todo-insertion-key-bindings)
9364 (todo-label-to-key, todo-longest-category-name-length)
9365 (todo-make-categories-list, todo-mode-external-set)
9366 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9367 (todo-modes-set-3, todo-multiple-filter-files)
9368 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9369 (todo-read-category, todo-read-date, todo-read-dayname)
9370 (todo-read-file-name, todo-read-time)
9371 (todo-reevaluate-category-completions-files-defcustom)
9372 (todo-reevaluate-default-file-defcustom)
9373 (todo-reevaluate-filelist-defcustoms)
9374 (todo-reevaluate-filter-files-defcustom)
9375 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9376 (todo-reset-done-separator, todo-reset-done-separator-string)
9377 (todo-reset-done-string, todo-reset-global-current-todo-file)
9378 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9379 (todo-reset-prefix, todo-set-categories)
9380 (todo-set-date-from-calendar, todo-set-show-current-file)
9381 (todo-set-top-priorities, todo-short-file-name)
9382 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9383 (todo-total-item-counts, todo-update-buffer-list)
9384 (todo-update-categories-display, todo-update-categories-sexp)
9385 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9386 New functions.
9387 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9388 New major modes.
9389 (todo-categories, todo-display, todo-edit, todo-faces)
9390 (todo-filtered): New defgroups.
9391 (todo-archived-only, todo-button, todo-category-string, todo-date)
9392 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9393 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9394 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9395 (todo-add-item-if-new-category, todo-always-add-time-string)
9396 (todo-categories-align, todo-categories-archived-label)
9397 (todo-categories-category-label, todo-categories-diary-label)
9398 (todo-categories-done-label, todo-categories-number-separator)
9399 (todo-categories-todo-label, todo-categories-totals-label)
9400 (todo-category-completions-files, todo-completion-ignore-case)
9401 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9402 (todo-done-separator-string, todo-done-string)
9403 (todo-files-function, todo-filter-done-items, todo-filter-files)
9404 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9405 (todo-initial-category, todo-initial-file, todo-item-mark)
9406 (todo-legacy-date-time-regexp, todo-mode-line-function)
9407 (todo-nondiary-marker, todo-number-prefix)
9408 (todo-print-buffer-function, todo-show-current-file)
9409 (todo-show-done-only, todo-show-first, todo-show-with-done)
9410 (todo-skip-archived-categories, todo-top-priorities-overrides)
9411 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9412 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9413 New defcustoms.
9414 (todo-category-done, todo-date-pattern, todo-date-string-start)
9415 (todo-diary-items-buffer, todo-done-string-start)
9416 (todo-filtered-items-buffer, todo-item-start)
9417 (todo-month-abbrev-array, todo-month-name-array)
9418 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9419 (todo-top-priorities-buffer): New defconsts.
9420 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9421 (todo-categories-with-marks, todo-category-string-face)
9422 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9423 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9424 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9425 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9426 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9427 (todo-font-lock-keywords, todo-global-current-todo-file)
9428 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9429 (todo-insertion-commands-args)
9430 (todo-insertion-commands-args-genlist)
9431 (todo-insertion-commands-names, todo-insertion-map)
9432 (todo-key-bindings-t, todo-key-bindings-t+a)
9433 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9434 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9435 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9436 (todo-visited): New variables.
9437
cad5d1cb
GM
94382013-06-21 Glenn Morris <rgm@gnu.org>
9439
9440 * play/cookie1.el (cookie-apropos): Add optional display argument.
9441 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9442 (psychoanalyze-pinhead): Use cookie-doctor.
9443
9e277302
JB
94442013-06-21 Juanma Barranquero <lekktu@gmail.com>
9445
9446 * emacs-lisp/package.el (tar-get-file-descriptor)
9447 (tar--extract): Declare.
9448
c5b0993e
EW
94492013-06-21 Eduard Wiebe <usenet@pusto.de>
9450
9451 Extend flymake's warning predicate to be a function (bug#14217).
9452 * progmodes/flymake.el (flymake-warning-predicate): New.
9453 (flymake-parse-line): Use it.
9454 (flymake-warning-re): Make obsolete alias to
9455 `flymake-warning-predicate'.
9456
a7d2d465
SM
94572013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9460 (package-obsolete-list): Remove.
9461 (package-activate): Remove min-version argument. Add `force' argument.
9462 Adjust to new package-alist format.
9463 (package-mark-obsolete): Remove.
9464 (package-unpack): Force reload of the package's autoloads.
9465 (package-installed-p): Check builtins if the installed package is not
9466 recent enough.
9467 (package-initialize): Don't reset package-obsolete-list.
9468 Don't specify which package version to activate.
9469 (package-process-define-package, describe-package-1)
9470 (package-menu--generate): Adjust to new package-alist format.
9471
cedf5c9d
JB
94722013-06-21 Juanma Barranquero <lekktu@gmail.com>
9473
9474 * allout-widgets.el (allout-widgets-mode-off)
9475 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9476 (allout-widgets-post-command-business)
9477 (allout-widgets-after-copy-or-kill-function)
9478 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9479 (allout-decorate-item-and-context)
9480 (allout-graphics-modification-handler): Fix typos in docstrings.
9481 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9482
9483 * cmuscheme.el (scheme-start-file): Doc fix.
9484 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9485 (scheme-input-filter): Use `string-match-p'.
9486
9487 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9488
9489 * dired-x.el: Use Dired consistently in docstrings.
9490
9491 * dired.el: Use Dired consistently in docstrings.
9492 (dired-readin, dired-mode): Use `setq-local'.
9493 (dired-switches-alist): Make defvar-local.
9494 (dired-buffers-for-dir): Use `zerop'.
9495 (dired-safe-switches-p, dired-switches-escape-p)
9496 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9497 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9498 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9499 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9500 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9501 (dired-toggle-marks, dired-mark-files-containing-regexp)
9502 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9503 (dired-flag-auto-save-files, dired-flag-backup-files):
9504 Use `looking-at-p'.
9505 (dired-mark-files-regexp, dired-build-subdir-alist):
9506 Use `string-match-p', `looking-at-p'.
9507
9508 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9509 (direct-print-region-helper): Use `string-match-p'.
9510
aed838b5
LL
95112013-06-21 Leo Liu <sdl.web@gmail.com>
9512
cedf5c9d
JB
9513 * comint.el (comint-redirect-results-list-from-process):
9514 Fix infinite loop.
aed838b5 9515
d80a808f
LMI
95162013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9517
9518 * net/eww.el (eww-update-header-line-format): Quote % characters.
9519
e7a526e3
GM
95202013-06-21 Glenn Morris <rgm@gnu.org>
9521
9522 * play/cookie1.el (cookie): New custom group.
9523 (cookie-file): New option.
9524 (cookie-check-file): New function.
9525 (cookie): Make it interactive. Make start and end messages optional.
9526 Interactively, display the result. Default to cookie-file.
9527 (cookie-insert): Default to cookie-file.
9528 (cookie-snarf): Make start and end messages optional.
9529 Default to cookie-file. Use with-temp-buffer.
9530 (cookie-read): Rename from read-cookie.
9531 Make start and end messages optional. Default to cookie-file.
9532 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 9533 Do not autoload it.
e7a526e3
GM
9534 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9535 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9536
62efb35e
LL
95372013-06-21 Leo Liu <sdl.web@gmail.com>
9538
9539 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9540
21e3f963
GM
95412013-06-21 Glenn Morris <rgm@gnu.org>
9542
9543 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9544
fd846ab4
SM
95452013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9546 Daniel Hackney <dan@haxney.org>
9547
9548 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9549 Consolidate the single-file vs tarball code.
9550 (package-desc-suffix): New function.
9551 (package-desc-full-name): Don't bother inlining it.
9552 (package-load-descriptor): Return the new package-desc.
9553 (package-mark-obsolete): Remove unused arg `package'.
9554 (package-unpack): Make it work for single files as well.
9555 Make it update package-alist.
9556 (package--make-autoloads-and-stuff): Rename from
9557 package--make-autoloads-and-compile. Don't compile any more.
9558 (package--compile): New function.
9559 (package-generate-description-file): New function, extracted from
9560 package-unpack-single.
9561 (package-unpack-single): Remove.
9562 (package--with-work-buffer): Add indentation and debugging info.
9563 (package-download-single): Remove.
9564 (package-install-from-archive): Rename from package-download-tar, make
9565 it take a pkg-desc, and make it work for single files as well.
9566 (package-download-transaction): Simplify.
9567 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9568 external tar program.
9569 (package-install-from-buffer): Remove `pkg-desc' argument.
9570 Use package-tar-file-info for tar-mode buffers.
9571 (package-install-file): Simplify accordingly.
9572 (package-archive-base): Change to take a pkg-desc.
9573 * tar-mode.el (tar--check-descriptor): New function, extracted from
9574 tar-get-descriptor.
9575 (tar-get-descriptor): Use it.
9576 (tar-get-file-descriptor): New function.
9577 (tar--extract): New function, extracted from tar-extract.
9578 (tar--extract): Use it.
9579 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9580 case the summary uses non-ascii. Adjust to new calling convention of
9581 package-tar-file-info.
9582
b7deae5e
LL
95832013-06-21 Leo Liu <sdl.web@gmail.com>
9584
fd846ab4
SM
9585 * comint.el (comint-redirect-results-list-from-process):
9586 Fix random delay. (Bug#14681)
b7deae5e 9587
7a65a0b2
JB
95882013-06-21 Juanma Barranquero <lekktu@gmail.com>
9589
9590 * profiler.el (profiler-format-number): Use log, not log10.
9591
1493c2af
JB
95922013-06-20 Juanma Barranquero <lekktu@gmail.com>
9593
9594 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9595
aff6371e
SM
95962013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9597
9598 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9599 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9600 yet available.
9601 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9602 (AUTOGENEL): ... here.
9603 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9604 (cl--defsubst-expand): Use it.
9605
89561f72
PE
96062013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9607
9608 * subr.el (log10): Move here from C code, and declare as obsolete.
9609 All uses of (log10 X) replaced with (log X 10).
9610
47199123
JB
96112013-06-20 Juanma Barranquero <lekktu@gmail.com>
9612
9613 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9614 Declare with `defvar-local'.
9615 (tabulated-list-use-header-line, tabulated-list-entries)
9616 (tabulated-list-padding, tabulated-list-printer)
9617 (tabulated-list-sort-key): Declare with `defvar-local'.
9618 (tabulated-list-init-header, tabulated-list-print-fake-header):
9619 Use `setq-local'.
9620
4a172eab
MA
96212013-06-20 Michael Albinus <michael.albinus@gmx.de>
9622
47199123
JB
9623 * arc-mode.el (archive-mode): Add `archive-write-file' to
9624 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 9625
5fc0acc0
JB
96262013-06-20 Juanma Barranquero <lekktu@gmail.com>
9627
d5b27848
JB
9628 * cus-edit.el (custom-commands): Fix typos.
9629 (custom-display): Fix tooltip text.
9630 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9631 Fix typos in docstrings.
9632 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9633 (custom-unlispify-menu-entry, custom-magic-value-create)
9634 (custom-add-see-also, custom-group-value-create): Use ?\s.
9635 (custom-guess-type, customize-apropos, editable-field)
9636 (custom-face-value-create): Use `string-match-p'.
9637 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9638
9639 * custom.el (custom-load-symbol): Use `string-match-p'.
9640
a5c581d8
JB
9641 * ansi-color.el: Convert to lexical binding.
9642 (ansi-colors): Fix URL.
9643 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9644 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9645 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9646
970ad972
G
96472013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9648
9649 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9650
9651 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9652
96532013-06-19 Tom Tromey <tromey@redhat.com>
9654
9655 * net/eww.el (eww-top-url): Remove.
9656 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9657 (eww-render): Set new variables. Don't set eww-top-url.
9658 (eww-handle-link): Handle "prev", "home", and "contents".
9659 Downcase the rel text.
9660 (eww-top-url): Choose best top URL.
9661
96622013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9663
9664 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9665 relying in widget.el. Using widget.el leads to too many
9666 user interface inconsistencies.
9667 (eww-self-insert): Implement entering commands in text fields.
9668 (eww-process-text-input): New function to make text input field editing
9669 work.
9670 (eww-submit): Rewrite to use the new-style form methods.
9671 (eww-select-display): Display the correct selected item.
9672 (eww-change-select): Implement changing the select value.
9673 (eww-toggle-checkbox): Implement radio/checkboxes.
9674 (eww-update-field): Fix compilation error.
9675 (eww-tag-textarea): Implement <textarea>.
9676
9677 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9678 we don't shadow mode-specific bindings.
9679
9680 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9681 nothing to push.
9682
9683 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9684
4582a01c 96852013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
9686
9687 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9688
15b263dc
MA
96892013-06-19 Michael Albinus <michael.albinus@gmx.de>
9690
9691 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9692 not needed.
9693
9694 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9695
8f5297f7
LMI
96962013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9697
9698 * net/browse-url.el (browse-url-browser-function):
9699 `eww-browse-url' has the right calling signature, `eww' does not.
9700
011c4552
GM
97012013-06-19 Glenn Morris <rgm@gnu.org>
9702
2285bd27
GM
9703 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9704 Only eval autoloaded macros.
9705 (byte-compile-autoload): Only give the macro warning for macros.
9706
1d653303
GM
9707 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9708 (ps-underlined-faces): Declare.
9709
bdd779ec
GM
9710 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9711 (speedbar-add-supported-extension): Declare.
9712
011c4552
GM
9713 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9714 Don't include a date stamp in the header of the generated file;
9715 it leads to needless differences between output files.
9716
e59dfb0e
MA
97172013-06-19 Michael Albinus <michael.albinus@gmx.de>
9718
c763842b
SM
9719 * net/secrets.el (secrets-struct-secret-content-type):
9720 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 9721 Some servers do not offer introspection.
e59dfb0e 9722
102626e2
SM
97232013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9724
9725 * electric.el (electric-pair-mode): Improve interaction with
9726 electric-layout-mode.
9727 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9728 (electric-pair-syntax): Use text-mode-syntax-table in comments
9729 and strings.
9730 (electric-pair--insert): New function.
9731 (electric-pair-post-self-insert-function): Use it and
9732 electric--after-char-pos.
9733
ad528125
LL
97342013-06-19 Leo Liu <sdl.web@gmail.com>
9735
9736 * progmodes/octave.el (octave-help): Fix regexp.
9737
924d6997
G
97382013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9739
9740 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9741 (shr-table-horizontal-line): Allow nil as a value, and change the
9742 default.
9743 (shr-insert-table-ruler): Respect the nil value.
9744
97452013-06-18 Tom Tromey <tromey@barimba>
9746
9747 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9748 New defvars.
9749 (eww-open-file): New defun.
9750 (eww-render): Initialize new variables.
9751 (eww-display-html): Handle "link" and "a".
9752 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9753 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9754 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
9755 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9756 New defuns.
924d6997 9757
d1bbba4f
DG
97582013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9759
9760 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9761 Distinguish ternary operator tokens from slash symbol and slash
9762 char literal.
9763
14dd22d2
JB
97642013-06-18 Juanma Barranquero <lekktu@gmail.com>
9765
9766 Convert symbol prettification into minor mode and global minor mode.
9767
9768 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9769 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9770 (prettify-symbols--keywords): Rename from
9771 `prog-prettify-symbols-alist' and make a local defvar.
9772 (prettify-symbols--compose-symbol): Rename from
9773 `prog--prettify-font-lock-compose-symbol'.
9774 (prettify-symbols--make-keywords): Rename from
9775 `prog-prettify-font-lock-symbols-keywords' and simplify.
9776 (prog-prettify-install): Remove.
9777 (prettify-symbols-mode): New minor mode, based on
9778 `prog-prettify-install'.
9779 (turn-on-prettify-symbols-mode): New function.
9780 (global-prettify-symbols-mode): New globalized minor mode.
9781
9782 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9783 * progmodes/cfengine.el (cfengine3-mode):
9784 * progmodes/perl-mode.el (perl-mode): Don't call
9785 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9786
292c880c
JL
97872013-06-18 Juri Linkov <juri@jurta.org>
9788
9789 * files-x.el (modify-file-local-variable-message): New function.
9790 (modify-file-local-variable)
9791 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9792 and call `modify-file-local-variable-message' when it's non-nil.
9793 (add-file-local-variable, delete-file-local-variable)
9794 (add-file-local-variable-prop-line)
9795 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9796 and use it. (Bug#9820)
9797
0950aa27
JL
97982013-06-18 Juri Linkov <juri@jurta.org>
9799
9800 * emulation/vi.el (vi-shell-op):
9801 * emulation/vip.el (vip-execute-com, ex-command):
9802 * emulation/viper-cmd.el (viper-exec-bang):
9803 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9804 the call of `shell-command-on-region'. (Bug#14637)
9805
9806 * simple.el (shell-command-on-region): Doc fix.
9807
8fbcca16
SM
98082013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9811 (bug#14633).
9812
dd7426ea
GM
98132013-06-18 Glenn Morris <rgm@gnu.org>
9814
4ba54f7d
GM
9815 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9816
dd7426ea
GM
9817 * newcomment.el (comment-search-forward, comment-search-backward):
9818 Doc fix. (Bug#14376)
9819
58aa805b
JB
98202013-06-18 Juanma Barranquero <lekktu@gmail.com>
9821
9822 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9823 (buffer-face-mode-invoke): Doc fix.
9824
9a08a617
MM
98252013-06-18 Matthias Meulien <orontee@gmail.com>
9826
9827 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 9828 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 9829
f2f426ca
GM
98302013-06-18 Glenn Morris <rgm@gnu.org>
9831
9445f99b
GM
9832 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9833 Replace obsolete function generic-make-keywords with its expansion.
9834
e0df2d14
GM
9835 * progmodes/python.el (ffap-alist): Declare.
9836
f2f426ca
GM
9837 * textmodes/reftex.el (bibtex-mode-map): Declare.
9838
f7f9a720
SM
98392013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9840
9841 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9842 (package-unpack, package-unpack-single): Return the pkg-dir.
9843 (package-download-transaction): Use it to update package-alist.
9844
57ff04e0
LMI
98452013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9846
9847 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9848 possible choice.
9849
c048c022
JL
98502013-06-17 Juri Linkov <juri@jurta.org>
9851
9852 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9853
b5bcaee5
DG
98542013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9855
a020afb9
JB
9856 * emacs-lisp/package.el (package-load-descriptor):
9857 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
9858 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9859
551e07e5
JB
98602013-06-17 Juanma Barranquero <lekktu@gmail.com>
9861
9862 * startup.el (command-line): Expand package name returned by
9863 `package--description-file' (bug#14639).
9864
d363bffb
DG
98652013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9866
9867 * emacs-lisp/package.el (package-load-descriptor): Do not call
9868 `emacs-lisp-mode', just use its syntax table.
9869
f612933b
JB
98702013-06-17 Juanma Barranquero <lekktu@gmail.com>
9871
9872 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9873 `font-lock-extra-managed-props' if any prettifying keyword is added.
9874 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9875 (prog-mode): Use `setq-local'.
9876
db3b7db5
SM
98772013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9878
9879 * international/characters.el (standard-case-table): Set syntax of ?»
9880 and ?« to punctuation.
9881
f3d674df
JB
98822013-06-16 Juanma Barranquero <lekktu@gmail.com>
9883
9884 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9885 Save relevant match data before calling `syntax-ppss' (bug#14595).
9886
31489a32
JL
98872013-06-15 Juri Linkov <juri@jurta.org>
9888
9889 * files-x.el (modify-file-local-variable-prop-line): Add local
9890 variables to the end of the existing comment on the first line.
9891 Use `file-auto-mode-skip' to skip interpreter magic line,
9892 and also skip XML declaration.
9893
66bd25ab
SM
98942013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * startup.el (package--builtin-versions): New var.
9897 (package-subdirectory-regexp): Remove.
9898 (package--description-file): Hard code its value instead.
9899
9900 * emacs-lisp/package.el: Don't activate packages older than builtin.
9901 (package-obsolete-list): Rename from package-obsolete-alist, and make
9902 it into a simple list of package-desc.
9903 (package-strip-version): Remove.
9904 (package-built-in-p): Use package--builtin-versions.
9905 (package-mark-obsolete): Simplify.
9906 (package-process-define-package): Mark it obsolete if older than the
9907 builtin version.
9908 (package-handle-response): Use line-end-position.
9909 (package-read-archive-contents, package--download-one-archive):
9910 Simplify.
9911 (package--add-to-archive-contents): Skip if older than the builtin or
9912 installed version.
9913 (package-menu-describe-package): Fix last change.
9914 (package-list-unversioned): New var.
9915 (package-menu--generate): Use it.
9916
9917 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9918 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9919 (autoload-builtin-package-versions): New variable.
9920 (autoload-generate-file-autoloads): Use them.
9921 Remove the list of autoloaded functions/macros from the
9922 (autoload...) comments.
9923
9924 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9925
9583ec36
EZ
99262013-06-15 Eli Zaretskii <eliz@gnu.org>
9927
9928 * simple.el (line-move-partial): Don't jump to the next screen
9929 line as soon as it becomes visible. Instead, continue enlarging
9930 the vscroll until the portion of a tall screen line that's left on
9931 display is about the height of the frame's default font.
9932 (Bug#14567)
9933
f0100d8a
GM
99342013-06-15 Glenn Morris <rgm@gnu.org>
9935
b86a85ca
GM
9936 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9937 compilation-error-regexp-alist void, or local while let-bound.
9938
f0100d8a
GM
9939 * progmodes/make-mode.el (makefile-mode-syntax-table):
9940 Treat "=" as punctuation. (Bug#14614)
9941
05e7ce90
JB
99422013-06-15 Juanma Barranquero <lekktu@gmail.com>
9943
9944 * help-fns.el (describe-variable):
9945 Add extra line for permanent-local variables.
9946
12e5e86e
SH
99472013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9948
9949 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9950 Add export, import, library. (Bug#9164)
9951 (library): Set indent function.
9952
230dcbaf
GM
99532013-06-14 Glenn Morris <rgm@gnu.org>
9954
9955 * term/xterm.el (xterm--query):
9956 Stop after first matching handler. (Bug#14615)
9957
e36b2d20 99582013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
9959
9960 Add support for dired in saveplace.
9961 * dired.el (dired-initial-position-hook): New variable.
9962 (dired-initial-position): Call hook to place cursor position.
9963 * saveplace.el (save-place-to-alist): Add dired position.
9964 (save-place-dired-hook): New function.
9965
0b31660d
SM
99662013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9967
bf1e6ae8
SM
9968 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9969 through a symbol rather than letrec.
9970
1b8dff23
SM
9971 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9972 (package-desc): Add `dir' field.
9973 (package-desc-full-name): New function.
9974 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9975 (package-maybe-load-descriptor): Remove.
9976 (package-load-all-descriptors): Just call package-load-descriptor.
9977 (package--disabled-p): New function.
9978 (package-desc-vers, package-desc-doc): Remove aliases.
9979 (package--dir): Remove function.
9980 (package-activate): Check if a package is disabled.
9981 (package-process-define-package): New function, extracted from
9982 define-package.
9983 (define-package): Turn into a place holder.
9984 (package-unpack-single, package-tar-file-info):
9985 Use package--description-file.
9986 (package-compute-transaction): Use package--disabled-p.
9987 (package-download-transaction): Don't call
9988 package-maybe-load-descriptor since they're all loaded anyway.
9989 (package-install): Change argument to be a pkg-desc.
9990 (package-delete): Use a single pkg-desc argument.
9991 (describe-package-1): Use package-desc-dir instead of package--dir.
9992 Use package-desc property instead of package-symbol.
9993 (package-install-button-action): Adjust accordingly.
9994 (package--push): Rewrite.
9995 (package-menu--print-info): Adjust accordingly. Change the ID format
9996 to be a pkg-desc.
9997 (package-menu-describe-package, package-menu-get-status)
9998 (package-menu--find-upgrades, package-menu-mark-upgrades)
9999 (package-menu-execute, package-menu--name-predicate):
10000 Adjust accordingly.
10001 * startup.el (package--description-file): New function.
10002 (command-line): Use it.
10003 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10004 Use package-desc-version.
10005
0b31660d
SM
10006 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10007 (byte-compile-preprocess): Use it.
10008 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10009 can't quite recognize.
10010 (byte-compile-add-to-list): Remove.
10011 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10012 (cconv-closure-convert): Add assertion.
10013
10014 * emacs-lisp/map-ynp.el: Use lexical-binding.
10015 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10016 Factor out some repeated code.
10017
de0503df
SM
100182013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10019
10020 * subr.el (with-eval-after-load): New macro.
10021 (eval-after-load): Allow form to be a function.
10022 take advantage of lexical-binding.
10023 (do-after-load-evaluation): Use dolist and adjust to new format.
10024 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10025
bc5c8c5a
JL
100262013-06-13 Juri Linkov <juri@jurta.org>
10027
10028 * replace.el (perform-replace): Display "symbol " and other search
10029 modes from `isearch-message-prefix' in the *Help* buffer.
10030
10031 * isearch.el (isearch-query-replace): Add " symbol" and other
10032 possible search modes from `isearch-message-prefix' to the prompt.
10033 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10034 when reading a regexp to collect.
10035
a22289f7
JL
100362013-06-13 Juri Linkov <juri@jurta.org>
10037
10038 * isearch.el (word-search-regexp): Match whitespace if the search
10039 string begins or ends in whitespace. The LAX arg is applied to
10040 both ends of the search string. Use `regexp-quote' and explicit
10041 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10042 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10043 boundaries are replaced with symbol boundaries, and characters
10044 between symbols match non-word non-symbol syntax. (Bug#14602)
10045
cb89acab
JL
100462013-06-13 Juri Linkov <juri@jurta.org>
10047
10048 * isearch.el (isearch-del-char): Don't exceed the length of
10049 `isearch-string' by the prefix arg. (Bug#14563)
10050
6e8cfc81
JL
100512013-06-13 Juri Linkov <juri@jurta.org>
10052
10053 * isearch.el (isearch-yank-word, isearch-yank-line)
10054 (isearch-char-by-name, isearch-quote-char)
10055 (isearch-printing-char, isearch-process-search-char):
10056 Add optional count prefix arg. (Bug#14563)
10057
10058 * international/isearch-x.el
10059 (isearch-process-search-multibyte-characters):
10060 Add optional count prefix arg.
10061
c23d55f4
VS
100622013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10063
10064 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10065 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10066 lexical-binding.
10067
100682013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10069
10070 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10071
ba947bc4
GM
100722013-06-13 Glenn Morris <rgm@gnu.org>
10073
8baeb37a
GM
10074 * startup.el (tty-handle-args):
10075 Don't just discard "--" and anything after. (Bug#14608)
10076
ba947bc4
GM
10077 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10078
9abefce4
MA
100792013-06-13 Michael Albinus <michael.albinus@gmx.de>
10080
10081 Implement changes in Secret Service API. Make it backward compatible.
10082 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10083 (secrets-create-item): Use it. Prefix properties with interface.
10084
5755011f
MH
100852013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10086
10087 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10088 (term-emulate-terminal): Respect term-suppress-hard-newline.
10089
1261d2da
S
100902013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10091
10092 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10093 Only remove a `thumb-file' overlay. (Bug#14548)
10094
868490bb
GJ
100952013-06-12 Grégoire Jadi <daimrod@gmail.com>
10096
10097 * mail/reporter.el (reporter-submit-bug-report):
10098 Handle missing package-name. (Bug#14600)
10099
79d7167f
TH
101002013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10101
10102 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10103 (reftex-citation-prompt, reftex-default-bibliography)
10104 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10105 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10106 (reftex-bib-sort-author, reftex-bib-sort-year)
10107 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10108 (reftex-extract-bib-entries-from-thebibliography)
10109 (reftex-get-bibkey-default, reftex-get-bib-names)
10110 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10111 (reftex-format-bib-entry, reftex-parse-bibitem)
10112 (reftex-format-bibitem, reftex-do-citation)
10113 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10114 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10115 (reftex-insert-bib-matches, reftex-format-citation)
10116 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10117 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10118 existing comments into docstrings.
10119
5f9dbd7a
XF
101202013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10121
10122 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10123
94df41ab
AS
101242013-06-12 Andreas Schwab <schwab@suse.de>
10125
10126 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10127 for auto-save files.
10128
a7f3fecc
GM
101292013-06-12 Glenn Morris <rgm@gnu.org>
10130
001809f6
GM
10131 * ido.el (ido-delete-ignored-files): Remove.
10132 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10133 Go back to calling ido-ignore-item-p directly.
a7f3fecc 10134
834b5ded
EL
101352013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10136
08c73ed2
EL
10137 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10138
834b5ded
EL
10139 * ido.el (ido-delete-ignored-files): New function,
10140 split from ido-make-file-list-1.
10141 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10142 (ido-make-file-list-1): Use ido-delete-ignored-files.
10143
daabf15a
LL
101442013-06-12 Leo Liu <sdl.web@gmail.com>
10145
10146 * progmodes/octave.el (inferior-octave-startup)
10147 (inferior-octave-completion-table)
10148 (inferior-octave-track-window-width-change)
10149 (octave-eldoc-function-signatures, octave-help)
10150 (octave-find-definition): Use single quoted strings.
10151 (inferior-octave-startup-args): Change default value.
10152 (inferior-octave-startup): Do not hard code "-i" and
10153 "--no-line-editing".
10154 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10155 (inferior-octave-directory-tracker): Use it.
10156 (octave-goto-function-definition): Robustify.
10157 (octave-help): Support highlighting operators in 'See also'.
10158 (octave-find-definition): Find subfunctions only in Octave mode.
10159
cf4e5178
SM
101602013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10161
10162 * help-fns.el (help-fns--compiler-macro): If the handler function is
10163 named, then put a link to it.
10164 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10165 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10166 (cl-typep): Use it.
10167 (cl-eval-when): Simplify debug spec.
10168 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10169 compiler-macro function instead of setting `compiler-macro-file'.
10170
99c81280 101712013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
10172
10173 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10174 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10175
f56be016
SM
101762013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10177 Daniel Hackney <dan@haxney.org>
10178
10179 First part of Daniel Hackney's patch to package.el.
10180 * emacs-lisp/package.el: Use defstruct.
10181 (package-desc): New, main struct.
10182 (package--bi-desc, package--ac-desc): New structs, used to describe the
10183 format in external files.
10184 (package-desc-vers): Replace with package-desc-version accessor.
10185 (package-desc-doc): Replace with package-desc-summary accessor.
10186 (package-activate-1): Remove `package' arg since the pkg-vec now
10187 includes the name.
10188 (define-package): Use package-desc-from-define.
10189 (package-unpack-single): Change file-name arg to be a symbol.
10190 (package--add-to-archive-contents): Use package-desc-create and new
10191 accessor functions to package--ac-desc.
10192 (package-buffer-info, package-tar-file-info): Return a package-desc.
10193 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10194 arg to be a package-desc.
10195 (package-install-file): Adjust accordingly. Use \' to match EOS.
10196 (package--from-builtin): New function.
10197 (describe-package-1, package-menu--generate): Use it.
10198 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10199 (package-generate-autoloads): Idem and return the name of the file.
10200 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10201 Change pkg-info arg to be a package-desc.
10202 Use package-make-ac-desc.
10203 (package-upload-file): Use \' to match EOS.
10204 * finder.el (finder-compile-keywords): Use package-make-builtin.
10205
31119d63
SM
102062013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10207
931a2762
SM
10208 * vc/vc.el (vc-deduce-fileset): Change error message.
10209 (vc-read-backend): New function.
10210 (vc-next-action): Use it.
10211
5a3eb0c6
SM
10212 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10213
e3eb1bb7
SM
10214 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10215 (prolog-font-lock-keywords): Use regexp-opt instead.
10216 Don't manually highlight strings.
10217 (prolog-mode-variables): Simplify comment-start-skip.
10218 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10219
31119d63
SM
10220 * emacs-lisp/generic.el (generic--normalise-comments)
10221 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10222 (generic-mode-set-comments): Use them.
10223 (generic-bracket-support): Use setq-local.
10224 (generic-make-keywords-list): Declare obsolete.
10225
7de135d0
GM
102262013-06-11 Glenn Morris <rgm@gnu.org>
10227
10228 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10229 Prettify after setting font-lock-defaults. (Bug#14574)
10230
fa6bc6fd
JB
102312013-06-11 Juanma Barranquero <lekktu@gmail.com>
10232
10233 * replace.el (query-replace, occur-read-regexp-defaults-function)
10234 (replace-search):
10235 * subr.el (declare-function, number-sequence, local-set-key)
10236 (substitute-key-definition, locate-user-emacs-file)
10237 (with-silent-modifications, split-string, eval-after-load):
10238 Fix typos, remove unneeded backslashes and reflow some docstrings.
10239
cf1f9b9a
SM
102402013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10241
10242 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10243 default for Elisp files.
10244
56602a4b
GM
102452013-06-11 Glenn Morris <rgm@gnu.org>
10246
10247 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10248 although define-derived-mode was doing this anyway. (Bug#14583)
10249
30ae0b2c
JB
102502013-06-10 Juanma Barranquero <lekktu@gmail.com>
10251
10252 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10253 Fix make-variable-buffer-local call to refer to the correct variable.
10254
fa472906
AG
102552013-06-10 Aidan Gauland <aidalgol@amuri.net>
10256
10257 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
10258 (eshell-visual-subcommands, eshell-visual-options):
10259 Add summary line to docstrings. Add cross-references.
fa472906 10260
ff4871b9
GM
102612013-06-10 Glenn Morris <rgm@gnu.org>
10262
10263 * epa.el (epa-read-file-name): New function. (Bug#14510)
10264 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10265
04fcf1b0
AG
102662013-06-09 Aidan Gauland <aidalgol@amuri.net>
10267
10268 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10269 output redirection to be ignored with visual commands.
10270
88b00caa
AG
102712013-06-09 Aidan Gauland <aidalgol@amuri.net>
10272
10273 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
10274 (eshell-term-initialize): Move long lambda to separate function
10275 eshell-visual-command-p.
e7b41c4c
JB
10276 * eshell/em-dirs.el (eshell-dirs-initialise):
10277 * eshell/em-script.el (eshell-script-initialize):
10278 Add missing #' to lambda.
88b00caa 10279
fda74125
LL
102802013-06-08 Leo Liu <sdl.web@gmail.com>
10281
10282 * progmodes/octave.el (octave-add-log-current-defun): New function.
10283 (octave-mode): Set add-log-current-defun-function.
10284 (octave-goto-function-definition): Do not move point if not found.
10285 (octave-find-definition): Enhance to try subfunctions first.
10286
467f3b33
GM
102872013-06-08 Glenn Morris <rgm@gnu.org>
10288
10289 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10290 (byte-compile-backward-char, byte-compile-backward-word):
10291 Improve previous change, to handle non-explicit nil.
10292
544badc3
SM
102932013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10294
10295 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10296 (smie--opener/closer-at-point): New function.
10297 (smie--matching-block-data): Use it. Don't match from right after an
10298 opener or right before a closer. Obey smie-blink-matching-inners.
10299 Don't signal a mismatch for repeated inners like "switch..case..case".
10300
a175bf33
LL
103012013-06-07 Leo Liu <sdl.web@gmail.com>
10302
10303 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10304 to t. (Bug#14303)
ce8209d4
LL
10305 (octave-function-header-regexp): Fix. (Bug#14570)
10306 (octave-help-mode-finish-hook, octave-help-mode-finish):
10307 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
10308
10309 * newcomment.el (comment-search-backward): Revert last change.
10310 (Bug#14434)
10311
10312 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10313
a822acff
EZ
103142013-06-07 Eli Zaretskii <eliz@gnu.org>
10315
10316 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10317 through xargs, to avoid failure due to MS-Windows limitations on
10318 command-line length.
10319
961166f5
GM
103202013-06-06 Glenn Morris <rgm@gnu.org>
10321
d0341459
GM
10322 * font-lock.el (lisp-font-lock-keywords-2):
10323 Treat user-error like error.
10324
961166f5
GM
10325 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10326 (byte-compile-backward-char, byte-compile-backward-word):
10327 Handle explicit nil arguments. (Bug#14565)
10328
80fa505f
AM
103292013-06-05 Alan Mackenzie <acm@muc.de>
10330
10331 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 10332 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 10333 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 10334 (Bug#9706)
80fa505f 10335
fccdc796
SM
103362013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * autorevert.el (auto-revert-notify-handler): Use memq.
10339 Hide assertion failure.
10340
10341 * skeleton.el: Use cl-lib.
10342 (skeleton-further-elements): Use defvar-local.
10343 (skeleton-insert): Use cl-progv.
10344
9bfff84b
TZ
103452013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10346
10347 * progmodes/prog-mode.el (prog-prettify-symbols)
10348 (prog-prettify-install): Update docstrings.
10349
55577e7c
SM
103502013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10351
10352 * simple.el: Move all the prog-mode code to prog-mode.el.
10353 * progmodes/prog-mode.el: New file.
10354 * loadup.el: Add prog-mode.el.
10355
8fc57765
TZ
103562013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10357
10358 * simple.el (prog-prettify-symbols): Add version.
10359 (prog-prettify-install): Add convenience function to prettify symbols.
10360
10361 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10362 (perl--augmented-font-lock-keywords-1)
10363 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10364 variables and use it.
10365
10366 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10367 (cfengine3-mode): Remove unneeded variable and use it.
10368
10369 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10370 (lisp--augmented-font-lock-keywords-1)
10371 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10372 Remove unneeded variables and use it.
10373
650645d5 103742013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
10375
10376 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 10377 to point when opening the connection. (Bug#14380)
28f5da6d 10378
781b4af6
SM
103792013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10380
10381 * subr.el (load-history-regexp, load-history-filename-element)
10382 (eval-after-load, after-load-functions, do-after-load-evaluation)
10383 (eval-next-after-load, display-delayed-warnings)
10384 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10385 definition of save-match-data.
10386 (overriding-local-map): Remove accidental obsolescence declaration.
10387
10388 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10389
3ca0d0b4
TZ
103902013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10391
10392 Generalize symbol prettify support to prog-mode and implement it
10393 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10394 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10395 (prog--prettify-font-lock-compose-symbol)
10396 (prog-prettify-font-lock-symbols-keywords): New variables and
10397 functions to support symbol prettification.
10398 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10399 (lisp--augmented-font-lock-keywords-1)
10400 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10401 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10402 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
10403 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10404 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
10405 * progmodes/perl-mode.el (perl-prettify-symbols)
10406 (perl--font-lock-compose-symbol)
10407 (perl--font-lock-symbols-keywords): Move to prog-mode.
10408 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10409 (perl-font-lock-keywords-1)
10410 (perl-font-lock-keywords-2): Remove explicit prettify support.
10411 (perl--augmented-font-lock-keywords)
10412 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
10413 (perl--augmented-font-lock-keywords-2, perl-mode):
10414 Implement prettify support.
3ca0d0b4 10415
976cb066
LL
104162013-06-05 Leo Liu <sdl.web@gmail.com>
10417
10418 Re-implement smie matching block highlight using
10419 show-paren-data-function. (Bug#14395)
10420 * emacs-lisp/smie.el (smie-matching-block-highlight)
10421 (smie--highlight-matching-block-overlay)
10422 (smie--highlight-matching-block-lastpos)
10423 (smie-highlight-matching-block)
10424 (smie-highlight-matching-block-mode): Remove.
10425 (smie--matching-block-data-cache): New variable.
10426 (smie--matching-block-data): New function.
10427 (smie-setup): Use smie--matching-block-data for
10428 show-paren-data-function.
10429
10430 * progmodes/octave.el (octave-mode-menu): Fix.
10431 (octave-find-definition): Skip garbage lines.
10432
208d0342
SM
104332013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10434
10435 Fix compilation error with simultaneous dynamic+lexical scoping.
10436 Add warning when a defvar appears after the first let-binding.
10437 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10438 (byte-compile-close-variables): Initialize it.
10439 (byte-compile--declare-var): New function.
10440 (byte-compile-file-form-defvar)
10441 (byte-compile-file-form-define-abbrev-table)
10442 (byte-compile-file-form-custom-declare-variable): Use it.
10443 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10444 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10445 (byte-compile-bind): Handle dynamic bindings that shadow
10446 lexical bindings.
10447 (byte-compile-unbind): Make arg non-optional.
10448 (byte-compile-let): Simplify.
10449 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10450 (cconv--analyse-function, cconv-analyse-form): Populate it.
10451 Protect byte-compile-bound-variables to limit the scope of defvars.
10452 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10453 Remove unneeded rule for `declare'.
10454
10455 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10456 so as to avoid depending on cl-adjoin at run-time.
10457 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10458
10459 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10460 (macroexp--warn-and-return): Use it.
10461
1ac2891e
GM
104622013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10463
a12bf61e 10464 * subr.el: Convert to lexical binding.
1ac2891e
GM
10465 (overriding-local-map): Make obsolete.
10466 (add-to-list): Doc fix. Add compiler macro.
10467 (read-key): Swap values of local maps.
10468
2587b005
LL
104692013-06-05 Leo Liu <sdl.web@gmail.com>
10470
10471 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10472
f1da3c88
LL
104732013-06-04 Leo Liu <sdl.web@gmail.com>
10474
10475 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10476 (compilation-auto-jump): Suppress the "Mark set" message to give
10477 way to exit message.
10478
3caa391f
AM
104792013-06-04 Alan Mackenzie <acm@muc.de>
10480
10481 Remove faulty optimisation from indentation calculation.
10482 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10483 search limit based on 2000 characters back from indent-point.
10484
068922a2
TH
104852013-06-03 Tassilo Horn <tsdh@gnu.org>
10486
10487 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10488
1f8fdd53
SM
104892013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10490
bbcc4d97
SM
10491 * emacs-lisp/lisp.el: Use lexical-binding.
10492 (lisp--local-variables-1, lisp--local-variables): New functions.
10493 (lisp--local-variables-completion-table): New var.
208d0342 10494 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 10495
1f8fdd53
SM
10496 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10497 eagerly (bug#14422).
10498
c9628c79
MA
104992013-06-03 Michael Albinus <michael.albinus@gmx.de>
10500
10501 * autorevert.el (auto-revert-notify-enabled)
10502 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10503 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10504 (auto-revert-notify-handler): Handle also gfilenotify.
10505
e7b41c4c 10506 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 10507 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 10508 Remove.
c9628c79 10509
e5e4a942
JL
105102013-06-03 Juri Linkov <juri@jurta.org>
10511
10512 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10513 `M-s h .'. (Bug#14427)
10514
10515 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10516 command `hi-lock-face-symbol-at-point'.
10517 (hi-lock-face-symbol-at-point): New command.
10518 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10519 (hi-lock-menu): Add `highlight-symbol-at-point'.
10520 (hi-lock-mode): Doc fix.
10521
10522 * isearch.el (isearch-forward-symbol-at-point): New command.
10523 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10524 (isearch-highlight-regexp): Add a regexp which matches
10525 words/symbols for word/symbol mode.
10526
10527 * subr.el (find-tag-default-bounds): New function with the body
10528 mostly moved from `find-tag-default'.
10529 (find-tag-default): Move most code to `find-tag-default-bounds',
10530 call it and apply `buffer-substring-no-properties' afterwards.
10531
26b3353a
TH
105322013-06-03 Tassilo Horn <tsdh@gnu.org>
10533
781b4af6
SM
10534 * eshell/em-term.el (eshell-term-initialize):
10535 Use `cl-intersection' rather than `intersection'.
26b3353a 10536
51b60f53
XF
105372013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10538
fe054b63 10539 * vc/log-view.el: Doc fix.
d3ffe17c 10540 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 10541
a0eb10b3 105422013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
10543
10544 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10545 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10546 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10547 (eieio-unbound, eieio-default-superclass)
10548 (eieio--define-field-accessors, method-static, method-before)
10549 (method-primary, method-after, method-num-lists)
10550 (method-generic-before, method-generic-primary)
10551 (method-generic-after, method-num-slots)
10552 (eieio-specialized-key-to-generic-key)
10553 (eieio--check-type, class-v, class-p)
10554 (eieio-class-name, define-obsolete-function-alias)
10555 (eieio-class-parents-fast, eieio-class-children-fast)
10556 (same-class-fast-p, class-constructor, generic-p)
10557 (generic-primary-only-p, generic-primary-only-one-p)
10558 (class-option-assoc, class-option, eieio-object-p)
10559 (class-abstract-p, class-method-invocation-order)
10560 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10561 (eieio-class-un-autoload, eieio-defclass)
10562 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10563 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10564 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10565 (eieio-defgeneric-reset-generic-form)
10566 (eieio-defgeneric-form-primary-only)
10567 (eieio-defgeneric-reset-generic-form-primary-only)
10568 (eieio-defgeneric-form-primary-only-one)
10569 (eieio-defgeneric-reset-generic-form-primary-only-one)
10570 (eieio-unbind-method-implementations)
10571 (eieio--defmethod, eieio--typep)
10572 (eieio-perform-slot-validation, eieio-validate-slot-value)
10573 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10574 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10575 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10576 (eieio-slot-name-index, eieio-class-slot-name-index)
10577 (eieio-set-defaults, eieio-initarg-to-attribute)
10578 (eieio-attribute-to-initarg, eieio-c3-candidate)
10579 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10580 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10581 (eieio-class-precedence-list, eieio-generic-call-methodname)
10582 (eieio-generic-call-arglst, eieio-generic-call-key)
10583 (eieio-generic-call-next-method-list)
10584 (eieio-pre-method-execution-functions, eieio-generic-call)
10585 (eieio-generic-call-primary-only, eieiomt-method-list)
10586 (eieiomt-optimizing-obarray, eieiomt-install)
10587 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10588 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 10589 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
10590 (defclass): Remove `eval-and-compile' from macro.
10591 (call-next-method, shared-initialize): Instead of using
10592 `scoped-class' variable, use new eieio--scoped-class, and
10593 eieio--with-scoped-class.
10594 (initialize-instance): Rename local variable 'scoped-class' to
10595 'this-class' to remove ambiguitity from old global.
10596
10597 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10598 eieio.el.
4f405069
JB
10599 (eieio--scoped-class-stack): New variable.
10600 (eieio--scoped-class): New fcn.
890f7890
DE
10601 (eieio--with-scoped-class): New scoping macro.
10602 (eieio-defclass): Use pushnew instead of add-to-list.
10603 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10604 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10605 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10606 `scoped-class' variable, use new eieio--scoped-class, and
10607 eieio--with-scoped-class.
10608
10609 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10610
d105b0e2
TH
106112013-06-02 Tassilo Horn <tsdh@gnu.org>
10612
10613 * eshell/esh-ext.el (eshell-external-command): Pass args to
10614 `eshell-find-interpreter'.
10615 (eshell-find-interpreter): Add new second parameter ARGS.
10616
10617 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 10618 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10619
10620 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 10621 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
10622
10623 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10624 (eshell-visual-options): New defcustom.
10625 (eshell-escape-control-x): Adapt docstring.
10626 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10627 `eshell-visual-options' in addition to `eshell-visual-commands'.
10628 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10629
f46305c8 106302013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
10631
10632 * progmodes/python.el (python-indent-block-enders): Add break,
10633 continue and raise keywords.
10634
d870df21
GM
106352013-06-01 Glenn Morris <rgm@gnu.org>
10636
9133b82e
GM
10637 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10638
02c992ec 10639 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
10640 * progmodes/cc-cmds.el (delete-forward-p):
10641 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10642 * progmodes/cc-engine.el (buffer-syntactic-context):
10643 * progmodes/cc-fonts.el (face-property-instance):
10644 * progmodes/cc-mode.el (set-keymap-parents):
10645 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10646 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10647 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
10648 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10649 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 10650
31e7b090
GM
10651 * progmodes/cc-vars.el (other): Emacs has this widget since
10652 at least 21.1, so don't (re)define it.
10653
d870df21
GM
10654 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10655 Replace the obsolete alias pcomplete-arg-quote-list.
10656
c75c93c7
LL
106572013-06-01 Leo Liu <sdl.web@gmail.com>
10658
10659 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10660 punctuation syntax.
10661 (inferior-octave-minimal-columns)
10662 (inferior-octave-last-column-width): New variables.
10663 (inferior-octave-track-window-width-change): New function.
10664 (inferior-octave-mode): Adjust column width so that Octave output,
10665 for example from 'ls', can fit into the window nicely.
10666
973d1e12
DG
106672013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10668
10669 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10670 Highlight expansions inside regexp literals.
10671
0888c286
GM
106722013-05-31 Glenn Morris <rgm@gnu.org>
10673
e26aac1f
GM
10674 * obsolete/sym-comp.el (symbol-complete):
10675 Replace obsolete completion-annotate-function.
10676
0888c286
GM
10677 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10678
19bb8e62
DG
106792013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10680
781b4af6
SM
10681 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10682 New function, checks if point is inside a literal that allows
19bb8e62
DG
10683 expression expansion.
10684 (ruby-syntax-propertize-expansion): Use it.
10685 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10686 around the body.
10687
01dea85f
JL
106882013-05-30 Juri Linkov <juri@jurta.org>
10689
10690 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10691 to "\M-si".
10692 (isearch-invisible): New variable.
10693 (isearch-forward): Doc fix.
10694 (isearch-mode): Set `isearch-invisible'
10695 to the value of `search-invisible'.
10696 (isearch-toggle-case-fold): Doc fix.
10697 (isearch-toggle-invisible): New command.
10698 (isearch-query-replace): Let-bind `search-invisible'
10699 to the value of `isearch-invisible'.
10700 (isearch-search): Use `isearch-invisible' instead of
10701 `search-invisible'. Let-bind `search-invisible'
10702 to the value of `isearch-invisible'. (Bug#11378)
10703
ab1bdce5
JL
107042013-05-30 Juri Linkov <juri@jurta.org>
10705
10706 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10707 call when `query-flag' is nil and `search-invisible' is non-nil.
10708 (Bug#11746)
10709
d6d236e2
GM
107102013-05-30 Glenn Morris <rgm@gnu.org>
10711
8accd027
GM
10712 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10713
2a8bed1c
GM
10714 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10715 (cc-require): Suppress spurious "noruntime" warnings.
10716 (cc-require-when-compile): Use fboundp, for sake of compiler.
10717
d6d236e2
GM
10718 * progmodes/cc-mode.el: Move load of cc-vars before that of
10719 cc-langs (which in turn loads cc-vars), to quieten compiler.
10720
9190b35b
SM
107212013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * paren.el: Simplify the code.
10724 (show-paren-mode): Always start the timer.
10725 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10726 (show-paren--overlay, show-paren--overlay-1): Rename from
10727 show-paren-overlay and show-paren-overlay-1, and initialize to an
10728 overlay rather than to nil.
10729 (show-paren-function): Misc cleanup and simplifications.
10730
4f8d1cf6
SM
107312013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10732
10733 * paren.el (show-paren-data-function): New hook.
10734 (show-paren--default): New function, extracted from show-paren-function.
10735 (show-paren-function): Use show-paren-data-function.
10736
02d844b5
GM
107372013-05-30 Glenn Morris <rgm@gnu.org>
10738
d209d4a9
GM
10739 * ielm.el (ielm-map, ielm-complete-symbol):
10740 Use completion-at-point rather than obsolete functions.
10741 (inferior-emacs-lisp-mode): Doc fix.
10742 Set completion-at-point-functions, rather than
10743 comint-dynamic-complete-functions.
10744
2082faa6
GM
10745 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10746 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10747 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10748
dd8620de
GM
10749 * image.el (image-animated-p): Tweak definition.
10750
ceca95b1
GM
10751 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10752 (rlogin-process-connection-type): Tweak default. Add set-after.
10753 (rlogin-host): Doc fix.
10754 (rlogin): Tweak prompt.
10755 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10756
ee9f1acc
GM
10757 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10758 * progmodes/tcl.el (inferior-tcl-mode-map):
10759 Use completion-at-point rather than obsolete alias.
10760
45ce222e
GM
10761 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10762
02d844b5
GM
10763 * minibuffer.el (read-file-name-completion-ignore-case):
10764 Move before completion--in-region, for eager macro expansion.
10765
ac44d6c1
JL
107662013-05-29 Juri Linkov <juri@jurta.org>
10767
10768 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10769 for total count of matching lines. Add `global-matches' for total
10770 count of matches. Rename `matches' to `lines' for count of
10771 matching lines. Add `matches' for count of matches.
10772 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10773 to `prev-line' for line number of prev match endpt.
10774 Increment `matches' for every match. Print the number of
10775 matching lines in the header.
10776 (occur-context-lines): Rename `lines' to `curr-line'.
10777 Rename `prev-lines' to `prev-line'. (Bug#14017)
10778
3c9c9d38
JL
107792013-05-29 Juri Linkov <juri@jurta.org>
10780
10781 * replace.el (perform-replace): Add `skip-read-only-count',
10782 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10783 Increment them for corresponding conditions and report the number
10784 of skipped occurrences in the final message. (Bug#11746)
10785 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10786 (replace-string, replace-regexp): Doc fix.
10787
33e249a2
SM
107882013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10789
8e399682
SM
10790 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10791
33e249a2 10792 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 10793 prog-mode-map (bug#14504).
33e249a2 10794
f236dd84
LL
107952013-05-29 Leo Liu <sdl.web@gmail.com>
10796
10797 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10798 (octave-help): Small simplification.
10799
10800 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10801 off the highlight first.
10802
3694d13f
GM
108032013-05-29 Glenn Morris <rgm@gnu.org>
10804
03983bdc
GM
10805 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10806 Handle idlwave-last-system-routine-info-cons-cell being nil.
10807
bc74a74a
GM
10808 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10809 (idlwave-write-paths): Simplify via with-temp-buffer.
10810
8b394200
GM
10811 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10812 * emulation/cua-rect.el: Also load cua-base at run time.
10813
3694d13f
GM
10814 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10815 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10816 (cperl-imenu-on-info): Require imenu.
10817
336d7284
AM
108182013-05-28 Alan Mackenzie <acm@muc.de>
10819
10820 Handle "capitalised keywords" correctly.
33e249a2 10821 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 10822
cb29c582
AG
108232013-05-28 Aidan Gauland <aidalgol@amuri.net>
10824
781b4af6 10825 * eshell/em-unix.el: Add -r option to cp.
cb29c582 10826
690e44b2
GM
108272013-05-28 Glenn Morris <rgm@gnu.org>
10828
e658d75c
GM
10829 * vc/vc-arch.el (vc-exec-after): Declare.
10830 (vc-switches): Autoload.
10831 * vc/vc-bzr.el: No need to require vc when compiling.
10832 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10833 (vc-resynch-buffer, vc-dir-refresh): Declare.
10834 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
10835 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10836 (vc-resynch-buffer): Declare.
10837 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 10838 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
10839 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10840 (grep-read-regexp, grep-read-files, grep-expand-template)
10841 (vc-dir-refresh): Declare.
10842 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10843 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10844 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
10845 * vc/vc-mtn.el (vc-exec-after): Declare.
10846 (vc-switches): Autoload.
10847 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10848 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10849 (vc-file-tree-walk): Declare.
712b9732
GM
10850 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10851 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10852 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
10853 * vc/vc-svn.el (vc-exec-after): Declare.
10854 (vc-switches, vc-setup-buffer): Autoload.
10855 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10856 Autoload.
10857 (vc-resynch-buffer): Declare.
10858
98e87fb3
GM
10859 * obsolete/fast-lock.el (byte-compile-warnings):
10860 Don't warn about obsolete features in this obsolete file.
10861
f5379553
GM
10862 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10863 Move definition before use.
10864
7a20ef83
GM
10865 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10866 (dun-unix-verbs): Remove dun-zippy.
10867 (dun-zippy): Remove function.
10868
690e44b2
GM
10869 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10870
3a52ccf7
JL
108712013-05-27 Juri Linkov <juri@jurta.org>
10872
10873 * replace.el (replace-search): New function with code moved out
10874 from `perform-replace'.
10875 (replace-highlight, replace-dehighlight): Move function definitions
10876 up closer to `replace-search'. (Bug#11746)
10877
d289938a
JL
108782013-05-27 Juri Linkov <juri@jurta.org>
10879
10880 * replace.el (perform-replace): Ignore invisible matches.
10881 In addition to checking `query-replace-skip-read-only', also
10882 filter out matches by calling `run-hook-with-args-until-failure'
10883 on `isearch-filter-predicates', and also check `search-invisible'
10884 for t or call `isearch-range-invisible'.
10885 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10886
66fc57e3
JL
108872013-05-27 Juri Linkov <juri@jurta.org>
10888
10889 * isearch.el (isearch-filter-predicates): Rename from
10890 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10891 (isearch-message-prefix): Display text from the property
10892 `isearch-message-prefix' of the currently active filters.
10893 (isearch-search): Don't compare `isearch-filter-predicate' with
10894 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10895 on `isearch-filter-predicates'. Also check `search-invisible' for t
10896 or call `isearch-range-invisible'.
10897 (isearch-filter-visible): Make obsolete.
10898 (isearch-lazy-highlight-search):
10899 Call `run-hook-with-args-until-failure' on
10900 `isearch-filter-predicates' and use `isearch-range-invisible'.
10901
10902 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10903 `isearch-filter-predicates' instead of `funcall'ing
10904 `isearch-filter-predicate'.
10905 (Info-mode): Set `Info-isearch-filter' to
10906 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10907
10908 * dired-aux.el (dired-isearch-filter-predicate-orig):
10909 Remove variable.
10910 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10911 (dired-isearch-filenames-end): Add and remove
10912 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10913 instead of changing the value of `isearch-filter-predicate'.
10914 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10915 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10916 Put property `isearch-message-prefix' to "filename " on
10917 `dired-isearch-filter-filenames'.
10918
10919 * wdired.el (wdired-change-to-wdired-mode):
10920 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10921 locally instead of changing `isearch-filter-predicate'.
10922 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10923
f1a60a0f
DG
109242013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10925
10926 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10927 return the commit hash (Bug#14459). Also set the
10928 `vc-git-detached' property.
10929 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10930 (vc-git-mode-line-string): Use the same help-echo format whether
10931 in detached mode or not, because we know the actual revision now.
10932 When in detached mode, shorten the revision to 7 chars.
10933
7f17cc40
SM
109342013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * emacs-lisp/easy-mmode.el (define-minor-mode):
10937 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10938 mode hook and provide a docstring.
10939
25c8401c
AM
109402013-05-27 Alan Mackenzie <acm@muc.de>
10941
10942 Remove spurious syntax-table text properties inserted by C-y.
10943 * progmodes/cc-mode.el (c-after-change): Also clear hard
10944 syntax-table property with value nil.
10945
dde84790
MA
109462013-05-27 Michael Albinus <michael.albinus@gmx.de>
10947
10948 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10949 when reading the events; the buffer layout shall not be changed.
10950
837fd9af
LL
109512013-05-27 Leo Liu <sdl.web@gmail.com>
10952
10953 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10954 New variable.
10955 (inferior-octave-directory-tracker): Automatically re-sync
10956 default-directory.
10957 (octave-help): Improve handling of 'See also'.
10958
4fd996b3
SM
109592013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10960
416f1802
SM
10961 * doc-view.el: Minor naming convention tweaks.
10962 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10963
4fd996b3
SM
10964 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10965 even if there's no `display' property yet (bug#14435).
10966
a052ef3b
EZ
109672013-05-25 Eli Zaretskii <eliz@gnu.org>
10968
4fd996b3 10969 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10970
10971 * Makefile.in (custom-deps, finder-data, autoloads)
10972 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10973 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10974 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10975
c9023370
SM
109762013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10977
10978 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10979 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10980 Don't burp at EOB.
c9023370 10981
24d699fa
LL
109822013-05-25 Leo Liu <sdl.web@gmail.com>
10983
10984 * comint.el (comint-previous-matching-input): Do not flood the
10985 *Messages* buffer with trivial messages.
10986
17e5c0cc
SM
109872013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * progmodes/flymake.el (flymake-nop): Don't return a string.
10990 (flymake-set-at): Fix typo.
10991
10992 * simple.el (read--expression): New function, extracted from
10993 eval-expression. Set completion-at-point-functions (bug#14465).
10994 (eval-expression, eval-minibuffer): Use it.
10995
5d028165
XF
109962013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10997
10998 * progmodes/flymake.el (flymake-save-buffer-in-file)
10999 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11000 (flymake-selected-frame, flymake-log, flymake-ins-after)
11001 (flymake-set-at, flymake-get-buildfile-from-cache)
11002 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11003 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11004 Refine the doc string.
11005 (flymake-get-file-name-mode-and-masks): Reformat.
11006 (flymake-get-real-file-name-function): Fix a minor bug.
11007
7a1d7ba7
JL
110082013-05-24 Juri Linkov <juri@jurta.org>
11009
11010 * progmodes/grep.el (grep-mode-font-lock-keywords):
11011 Support =linenumber= format used by git-grep for lines with
11012 function names. (Bug#13549)
11013
650cff3d
SM
110142013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11015
11016 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11017 0 after a semi-colon; it works better for smie-auto-fill.
11018 (octave--indent-new-comment-line): New function.
11019 (octave-indent-new-comment-line): Use it (indirectly).
11020 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11021 modify comment-line-break-function.
11022
11023 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11024 (smie-setup): Use add-function to set it.
11025
9631677d
SS
110262013-05-24 Sam Steingold <sds@gnu.org>
11027
11028 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11029 argument (before the `interactive' argument).
11030
50105835
SM
110312013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 * image-mode.el (image-mode-winprops): Add winprops to
11034 image-mode-winprops-alist before running
11035 image-mode-new-window-functions.
11036 * doc-view.el (doc-view-new-window-function): Don't delay
11037 doc-view-goto-page via timers (bug#14435).
11038
57b9823e
TH
110392013-05-24 Tassilo Horn <tsdh@gnu.org>
11040
11041 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11042 (doc-view-desktop-save-buffer): New function.
11043 (doc-view-restore-desktop-buffer): New function.
50105835
SM
11044 (desktop-buffer-mode-handlers):
11045 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
11046 handler.
11047 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11048 `desktop-save-buffer' function.
11049
91aafa16
MA
110502013-05-24 Michael Albinus <michael.albinus@gmx.de>
11051
11052 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11053 (tramp-gvfs-file-name-handler): Raise a user error when
11054 `tramp-gvfs-enabled' is nil.
11055 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11056 Do not raise a user error when loading package. (Bug#14447)
11057
ec076379
MA
11058 * net/xesam.el: Move to obsolete/.
11059
db785726
GM
110602013-05-24 Glenn Morris <rgm@gnu.org>
11061
af5c7606
GM
11062 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11063
e5d1916a
GM
11064 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11065
ded62b08
GM
11066 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11067 (Info-find-node, Man-getpage-in-background): Declare.
11068
9e614a3f
GM
11069 * mail/unrmail.el (unrmail):
11070 Replace obsolete detect-coding-with-priority.
11071
892f8ca3
GM
11072 * net/socks.el (socks-split-string): Use this rather than split-string.
11073 (socks-nslookup-host): Update for above change.
11074 (dynamic-choice, s5-dynamic-choice-match)
11075 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11076 Comment out unused code.
11077
3c291973
GM
11078 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11079 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11080 (gud-tooltip-echo-area): Make obsolete.
11081 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11082
43cc956b
GM
11083 * progmodes/js.el (js--optimize-arglist): Declare.
11084
dab49a3b
GM
11085 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11086
36b9d085
GM
11087 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11088 (ediff-window-C): Declare.
11089
e354ae76
GM
11090 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11091 Tweak requires to silence compiler.
11092
b8e57bf4
GM
11093 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11094 (he-search-string, he-tried-table, he-expand-list)
11095 (he-init-string, he-string-member, he-substitute-string)
11096 (he-reset-string): Declare.
11097
db785726
GM
11098 * obsolete/options.el (list-options): Use custom-variable-p,
11099 rather than obsolete alias.
11100
b3531901
SS
111012013-05-23 Sam Steingold <sds@gnu.org>
11102
11103 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 11104 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
11105 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11106
bdda4c66
SM
111072013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11108
11109 * emacs-lisp/smie.el (smie-indent-forward-token)
11110 (smie-indent-backward-token): Handle string tokens (bug#14381).
11111
c43d45f9
TH
111122013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11113
fe1eb856
RS
11114 * ielm.el (ielm-menu): New menu.
11115 (inferior-emacs-lisp-mode): Set comment-start.
96172128 11116
fe1eb856
RS
111172013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11118
a12bf61e 11119 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
11120 Fix deactivate action.
11121
a12bf61e 11122 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 11123 Add cleveref macros.
074dd971 11124
a12bf61e 11125 * textmodes/reftex-parse.el
c43d45f9
TH
11126 (reftex-locate-bibliography-files): Accept options for
11127 bibliography commands.
a12bf61e 11128 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
11129 Add addbibresource. Basic Biblatex support.
11130
7764286e
MA
111312013-05-23 Michael Albinus <michael.albinus@gmx.de>
11132
11133 * net/tramp-gvfs.el (top):
11134 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11135 when loading package. (Bug#14447)
11136
d361bc10
GM
111372013-05-23 Glenn Morris <rgm@gnu.org>
11138
8fa23984
GM
11139 * progmodes/js.el: No need to load comint when compiling.
11140 (ring-insert, comint-send-string, comint-send-input)
11141 (comint-last-input-end, ido-chop): Declare.
11142
a5c7df1a
GM
11143 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11144 * vc/ediff-mult.el: Adjust requires.
11145 (ediff-directories-internal, ediff-directory-revisions-internal)
11146 (ediff-patch-file-internal): Declare.
11147 * vc/ediff-ptch.el: Adjust requires.
11148 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11149 (ediff-find-file): Autoload.
11150 * vc/ediff-util.el: No need to load ediff when compiling.
11151 (ediff-regions-internal): Declare.
11152 * vc/ediff-wind.el: Adjust requires.
11153 (ediff-compute-toolbar-width): Define when compiling.
11154 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11155 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11156 (dired-get-filename, dired-get-marked-files)
11157 (ediff-last-dir-patch, ediff-patch-default-directory)
11158 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11159 (ediff-patch-buffer-internal): Declare.
11160
e2aec513
GM
11161 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11162 (ispell-process, ispell-buffer-local-words, lm-summary)
11163 (lm-section-start, lm-section-end): Declare.
11164 (checkdoc-ispell-init): Simplify.
11165
e68bbd7c
GM
11166 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11167 (he-string-member, he-reset-string, he-substitute-string): Declare.
11168
7efe0991
GM
11169 * eshell/em-ls.el: Adjust requires.
11170 (eshell-glob-regexp): Declare.
f87b1284
GM
11171 * eshell/em-tramp.el: Adjust requires.
11172 (eshell-parse-command): Autoload.
11173 * eshell/em-xtra.el: Adjust requires.
11174 (eshell-parse-command): Autoload.
11175 * eshell/esh-ext.el: Adjust requires.
11176 (eshell-parse-command, eshell-close-handles): Autoload.
11177 * eshell/esh-io.el: Adjust requires.
11178 (eshell-output-filter): Autoload.
11179 * eshell/esh-util.el: No need to load tramp when compiling.
11180 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11181 Declare.
11182 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11183 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11184 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11185 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11186 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11187 * eshell/esh-opt.el, eshell/esh-proc.el:
11188 * eshell/esh-var.el: Adjust requires.
11189 * eshell/eshell.el: Do not require esh-util twice.
11190 (eshell-add-input-to-history): Declare.
11191 (eshell-command): Check history module is active before using it.
11192
d361bc10
GM
11193 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11194
85d090a9
LL
111952013-05-22 Leo Liu <sdl.web@gmail.com>
11196
11197 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11198
5d0acd9d
MA
111992013-05-22 Michael Albinus <michael.albinus@gmx.de>
11200
11201 * autorevert.el (auto-revert-notify-add-watch)
11202 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11203 it indicates changes in file modification time.
11204
0cdffd7d
GM
112052013-05-22 Glenn Morris <rgm@gnu.org>
11206
ca5995ec
GM
11207 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11208 Always delete the autoloaded function from the noruntime and
11209 unresolved functions lists.
11210
6450907e
GM
11211 * allout.el: No need to load epa, epg, overlay when compiling.
11212 (epg-context-set-passphrase-callback, epg-list-keys)
11213 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11214 (epg-key-user-id-list): Declare.
11215
9c6906f6
GM
11216 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11217 (viper-set-parsing-style-toggling-macro)
11218 (viper-set-emacs-state-searchstyle-macros):
11219 Use called-interactively-p on Emacs.
11220 (viper-looking-back): Make it an obsolete alias. Update callers.
11221 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11222 Use looking-back rather than viper-looking-back.
11223 (viper-tmp-insert-at-eob, viper-enlarge-region)
11224 (viper-read-string-with-history, viper-register-to-point)
11225 (viper-append-to-register, viper-change-state-to-vi)
11226 (viper-backward-char-carefully, viper-forward-char-carefully)
11227 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11228 (viper-change-state-to-emacs): Declare.
11229 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11230 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11231 * emulation/viper-mous.el: Do not load viper-cmd.
11232 (viper-backward-char-carefully, viper-forward-char-carefully)
11233 (viper-forward-word, viper-adjust-window): Declare.
11234
5f70c169
GM
11235 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11236
b1b7f300
GM
11237 * progmodes/idlw-help.el (idlwave-help-fontify):
11238 Use called-interactively-p.
11239
f6ebbb46
GM
11240 * term/w32console.el (w32-get-console-codepage)
11241 (w32-get-console-output-codepage): Declare.
11242
0cdffd7d
GM
11243 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11244 Remove unnecessary declarations.
11245 (dframe-message): Doc fix.
11246
11247 * info.el (dframe-select-attached-frame, dframe-current-frame):
11248 Declare.
11249
11250 * speedbar.el (speedbar-message): Make it an obsolete alias.
11251 Update all callers.
11252 (speedbar-with-attached-buffer)
11253 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11254 (speedbar-with-writable): Use backquote.
11255 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11256 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11257 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11258 rather than speedbar- aliases.
11259 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11260 (speedbar-make-specialized-keymap, speedbar-insert-button)
11261 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11262 (speedbar-do-function-pointer): Declare.
11263 (rmail-speedbar-button, rmail-speedbar-find-file)
11264 (rmail-speedbar-move-message):
11265 Use dframe-with-attached-buffer rather than speedbar- alias.
11266 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11267 (dframe-message, speedbar-make-specialized-keymap)
11268 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11269 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11270 (speedbar-insert-button, dframe-select-attached-frame)
11271 (dframe-maybee-jump-to-attached-frame)
11272 (speedbar-change-initial-expansion-list)
11273 (speedbar-previously-used-expansion-list-name): Declare.
11274 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11275 Use dframe-message, dframe-with-attached-buffer rather than
11276 speedbar- aliases.
11277 (gud-sentinel): Silence compiler.
11278 * progmodes/vhdl-mode.el (speedbar-refresh)
11279 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11280 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11281 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11282 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11283 (speedbar-file-lists, speedbar-make-tag-line)
11284 (speedbar-line-directory, speedbar-goto-this-file)
11285 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11286 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11287 (speedbar-make-button, speedbar-reset-scanners)
11288 (speedbar-files-item-info, speedbar-line-text)
11289 (speedbar-find-file-in-frame, speedbar-set-timer)
11290 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11291 (speedbar-with-writable): Do not (re)define it.
11292 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11293 rather than speedbar- alias.
11294
ee44b62a
LL
112952013-05-21 Leo Liu <sdl.web@gmail.com>
11296
11297 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11298 menu items.
11299 (octave-mode): Tweak fill-nobreak-predicate.
11300 (inferior-octave-startup): Check process to avoid infinite loop.
11301 (inferior-octave): Pop to buffer first to show abornmal process
11302 exit information.
11303
640f050f
GM
113042013-05-21 Glenn Morris <rgm@gnu.org>
11305
79458038
GM
11306 * printing.el (pr-menu-bar): Define when compiling.
11307
9cc3e83f
LL
113082013-05-21 Leo Liu <sdl.web@gmail.com>
11309
11310 * progmodes/octave.el (octave-auto-fill): Remove.
11311 (octave-indent-new-comment-line): Improve.
11312 (octave-mode): Use auto fill mode through
4f405069 11313 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 11314 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 11315 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
11316 (octave-help): Show parent directory.
11317
f440830d
GM
113182013-05-21 Glenn Morris <rgm@gnu.org>
11319
11320 * files.el (dired-unmark):
11321 * progmodes/gud.el (gdb-input): Update declarations.
11322
11323 * calculator.el (electric, ehelp): No need to load when compiling.
11324 (Electric-command-loop, electric-describe-mode): Declare.
11325
11326 * doc-view.el (doc-view-current-converter-processes): Move before use.
11327
11328 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11329 Move MODE-set-explicitly definition before use.
11330
11331 * international/mule-diag.el (mule-diag):
11332 Don't use obsolete window-system-version.
11333
11334 * mail/feedmail.el (smtpmail): No need to load when compiling.
11335 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11336
11337 * mail/mail-utils.el (rfc822): No need to load when compiling.
11338 (rfc822-addresses): Autoload it.
11339 (mail-strip-quoted-names): Trivial simplification.
11340
11341 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11342 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11343
11344 * net/snmp-mode.el (tempo): Don't duplicate requires.
11345
11346 * progmodes/prolog.el (info): No need to load when compiling.
11347 (comint): Require before shell requires it.
11348 (Info-goto-node): Autoload it.
11349 (Info-follow-nearest-node): Declare.
11350 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11351
11352 * textmodes/artist.el (picture-mode-exit): Declare.
11353
11354 * textmodes/reftex-parse.el (reftex-parse-from-file):
11355 Trivial rewrite so the compiler can parse it better.
11356
b4da2cbb
LL
113572013-05-20 Leo Liu <sdl.web@gmail.com>
11358
11359 * progmodes/octave.el (octave-help-mode-map)
11360 (octave-help-mode-finish-hook): New variables.
11361 (octave-help-mode, octave-help-mode-finish): New functions.
11362 (octave-help): Use octave-help-mode.
11363
33c0f65b
GM
113642013-05-20 Glenn Morris <rgm@gnu.org>
11365
11366 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11367
1a0a0a8a
DG
113682013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11369
11370 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11371 start at point, so that expansion starting right after opening
11372 slash in a regexp is recognized.
11373 (ruby-syntax-before-regexp-re): New defvar, extracted from
11374 ruby-syntax-propertize-function. Since the value of this regexp
11375 is looked up at runtime now, we should be able to turn
11376 `ruby-syntax-methods-before-regexp' into a defcustom later.
11377 (ruby-syntax-propertize-function): Split regexp matching into two
11378 parts, for opening and closing slashes. That allows us to skip
11379 over string interpolations and support multiline regexps.
11380 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11381 for them, which calls `ruby-syntax-propertize-expansion'.
11382 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11383 call to `ruby-syntax-propertize-function'.
11384 (ruby-syntax-propertize-expansion): Extracted from
11385 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
11386 (ruby-syntax-propertize-percent-literal): Leave point right after
11387 the percent symbol, so that the expression expansion rule can
11388 propertize the contents.
462388b6
DG
11389 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11390 heredoc openers.
11391 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 11392
c1a6c0a4
JL
113932013-05-18 Juri Linkov <juri@jurta.org>
11394
11395 * man.el (Man-default-man-entry): Remove `-' from the end
11396 of the default value. (Bug#14400)
11397
8051fccd
GM
113982013-05-18 Glenn Morris <rgm@gnu.org>
11399
11400 * comint.el (comint-password-prompt-regexp):
11401 Allow "password for XXX" where XXX contains colons (eg https://...).
11402
5e80b74f
LL
114032013-05-18 Leo Liu <sdl.web@gmail.com>
11404
11405 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 11406 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
11407 (octave-source-directories): Don't check process.
11408 (octave-source-directories, octave-find-definition): Doc fix.
11409
521a54c5
GM
114102013-05-18 Glenn Morris <rgm@gnu.org>
11411
86a94b05
GM
11412 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11413 Remove backspace/delete bindings. (Bug#14392)
11414
521a54c5
GM
11415 * cus-dep.el (custom-make-dependencies): Sort the output.
11416 (custom-versions-load-alist): Convert comment to doc.
11417
42caeb89
LL
114182013-05-17 Leo Liu <sdl.web@gmail.com>
11419
11420 * newcomment.el (comment-search-backward): Stricter in finding
11421 comment start. (Bug#14303)
11422
11423 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11424 (octave-comment-start-skip): Properly anchored.
11425
e219dd97
LL
114262013-05-17 Leo Liu <sdl.web@gmail.com>
11427
fe1eb856
RS
11428 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11429 Clean up when turned off. (Bug#14395)
e219dd97
LL
11430 (smie--highlight-matching-block-overlay): No longer buffer-local.
11431 (smie-highlight-matching-block): Adjust.
11432
dc5dcb4b
PE
114332013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11434
11435 Doc string fix for "nanoseconds" (Bug#14406).
11436 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11437 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11438
1db165f0
JB
114392013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11440
11441 * calc/calc-units.el (math-extract-units): Preserve powers
11442 of units.
11443
c7a8fcac
LL
114442013-05-17 Leo Liu <sdl.web@gmail.com>
11445
11446 * subr.el (delete-consecutive-dups): New function.
11447 * ido.el (ido-set-matches-1): Use it.
11448 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11449 * ido.el (ido-remove-consecutive-dups): Remove.
11450
f678b18a
SM
114512013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11454 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11455 regexp-opt's `words'.
11456
ebfe68e8
LL
114572013-05-16 Leo Liu <sdl.web@gmail.com>
11458
11459 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11460 (smie--highlight-matching-block-overlay)
11461 (smie--highlight-matching-block-lastpos)
11462 (smie--highlight-matching-block-timer): New variables.
11463 (smie-highlight-matching-block): New function.
11464 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11465 (smie-setup): Conditionally enable smie-blink-matching-open.
11466
bc8bc17d
WS
114672013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11468
11469 Sync with upstream verilog-mode r840.
11470 * progmodes/verilog-mode.el (verilog-mode-version)
11471 (verilog-mode-release-date): Update.
11472 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11473 (verilog-sig-tieoff): Fix string error on
11474 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11475 (verilog-read-decls): Fix parameters confusing
11476 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11477
df065a0b
EZ
114782013-05-16 Eli Zaretskii <eliz@gnu.org>
11479
11480 * subr.el (reveal-filename): New function.
11481
11482 * loadup.el: Compute Emacs executable versions on MS-Windows,
11483 where executables have the .exe extension. Add a hard link
11484 emacs-XX.YY.ZZ.exe on MS-Windows.
11485
11486 * Makefile.in (XARGS_LIMIT): New variable.
11487 (custom-deps, finder-data, autoloads)
11488 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11489 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11490 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11491 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11492
2d4bf34b
LL
114932013-05-16 Leo Liu <sdl.web@gmail.com>
11494
11495 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11496 (octave-mode-menu, octave-mode-map): Remove its uses.
11497
6b9c2d85
RZ
114982013-05-16 Reto Zimmermann <reto@gnu.org>
11499
11500 Sync with upstream vhdl mode v3.34.2.
11501 * progmodes/vhdl-mode.el: Use `push' throughout.
11502 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11503 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11504 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11505 (vhdl-actual-generic-name): New option to derive actual generic name.
11506 (vhdl-port-paste-signals): Replace formal by actual generics.
11507 (vhdl-beautify): New name for old group vhdl-align. Update users.
11508 (vhdl-beautify-options): New option.
11509 (vhdl-last-input-event): New compat alias. Use throughout.
11510 (vhdl-goto-line): Replace user level function `goto-line'.
11511 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11512 vhdl-fix-statement-buffer.
11513 (vhdl-create-mode-menu): Add some entries.
11514 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11515 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11516 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11517 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11518 to force statements on one line.
11519 (vhdl-remove-trailing-spaces-region):
11520 New, split from vhdl-remove-trailing-spaces.
11521 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11522 Respect vhdl-beautify-options.
11523 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11524 (vhdl-update-sensitivity-list): Not add with index if exists without.
11525 Not include array index with signal. Ignore keywords in comments.
11526 (vhdl-get-visible-signals): Regexp tweaks.
11527 (vhdl-template-component-inst): Handle empty library.
11528 (vhdl-template-type): Add template for 'enum' type.
11529 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11530 Use vhdl-replace-string.
11531 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11532 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11533 (vhdl-speedbar-initialize): Update for above name change.
11534 (vhdl-compose-wire-components): Fix in handling of constants.
11535 (vhdl-error-regexp-emacs-alist): New variable.
11536 (vhdl-error-regexp-add-emacs): New function;
11537 adds support for new compile.el (Emacs 22+)
11538 (vhdl-generate-makefile-1): Change target order for single lib. units.
11539 Allow use of absolute file names.
11540
9df4ec5e
LL
115412013-05-16 Leo Liu <sdl.web@gmail.com>
11542
11543 * simple.el (prog-indent-sexp): Indent enclosing defun.
11544
f5ba00a6
GM
115452013-05-15 Glenn Morris <rgm@gnu.org>
11546
ed8be7ff
GM
11547 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11548 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11549 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11550 (whitespace-highlight): Move to whitespace group.
11551
11552 * comint.el (comint-source):
11553 * pcmpl-linux.el (pcmpl-linux):
11554 * shell.el (shell-faces):
11555 * eshell/esh-opt.el (eshell-opt):
11556 * international/ccl.el (ccl): Remove empty custom groups.
11557
11558 * completion.el (dynamic-completion-mode):
11559 * jit-lock.el (jit-lock-debug-mode):
11560 * minibuffer.el (completion-in-region-mode):
11561 * type-break.el (type-break-mode-line-message-mode)
11562 (type-break-query-mode):
11563 * emulation/tpu-edt.el (tpu-edt-mode):
11564 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11565 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11566 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11567
11568 * term/xterm.el (xterm): Change parent group to terminals.
11569
11570 * master.el (master): Remove empty custom group.
11571 (master-mode): Remove unused :group argument.
11572 * textmodes/refill.el (refill): Remove empty custom group.
11573 (refill-mode): Remove unused :group argument.
11574
11575 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11576
82a7c41b
GM
11577 * cus-dep.el: Provide a feature.
11578 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
11579 Don't mistakenly ignore files whose basenames match a basename
11580 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 11581 Add a fallback method for getting :group.
f5ba00a6 11582
6d65486d
JL
115832013-05-15 Juri Linkov <juri@jurta.org>
11584
da547b32
JL
11585 * isearch.el (isearch-char-by-name): Rename from
11586 `isearch-insert-char-by-name'. Doc fix.
11587 (isearch-forward): Mention `isearch-char-by-name' in
11588 the docstring. (Bug#13348)
11589
6d65486d
JL
11590 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11591 `exit-minibuffer' instead of
11592 `isearch-nonincremental-exit-minibuffer'.
11593 (isearch-edit-string): Remove mention of
11594 `isearch-nonincremental-exit-minibuffer' from docstring.
11595 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11596 (isearch-forward-exit-minibuffer)
11597 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11598
c9990474
SM
115992013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11600
6e911150
SM
11601 * loadup.el: Just use unversioned DOC.
11602
c9990474
SM
11603 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11604 literals as extending to EOB.
11605 (nxml-last-fontify-end): Remove unused variable.
11606 (nxml-after-change1): Use with-silent-modifications.
11607 (nxml-extend-after-change-region): Simplify.
11608 (nxml-extend-after-change-region1): Remove function.
11609 (nxml-after-change1): Don't adjust for dependent regions.
11610 (nxml-fontify-matcher): Simplify.
11611 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11612 (xmltok-add-dependent): Remove function.
11613 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11614 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11615 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11616 unclosed <[[, <?, comment, and other literals as extending to EOB.
11617 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11618 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11619 Remove functions.
11620 (rng-do-some-validation-1): Don't mark dependent regions.
11621 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11622 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11623 (nxml-clear-dependent-regions): Remove functions.
11624 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11625 (nxml-ensure-scan-up-to-date):
11626 Don't clear&mark dependent regions.
11627
e3772e98
LL
116282013-05-15 Leo Liu <sdl.web@gmail.com>
11629
c9990474
SM
11630 * progmodes/octave.el (octave-goto-function-definition):
11631 Improve and fix callers.
e3772e98 11632
5ac2eb34
SM
116332013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11634
c46c57b0
SM
11635 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11636 the setter (bug#14387).
11637
5ac2eb34
SM
11638 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11639 surrounding group (bug#14402).
11640
180ed218
JL
116412013-05-14 Juri Linkov <juri@jurta.org>
11642
11643 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11644 (Bug#14390)
11645
0ac0fecb
GM
116462013-05-14 Glenn Morris <rgm@gnu.org>
11647
11648 * progmodes/f90.el (f90-imenu-generic-expression):
11649 Fix typo in 2013-05-08 change. (Bug#14402)
11650
2e78e6a7
JPG
116512013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11652
5ac2eb34
SM
11653 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11654 Remove signals for which replies are never received.
2e78e6a7 11655
53267cca
JPG
116562013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11657
11658 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11659 (gdb-handler-alist, gdb-handler-number): Remove variables.
11660 (gdb-handler-list): New variable.
11661 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11662 (gdb-pending-handler-p, gdb-handle-reply)
11663 (gdb-remove-all-pending-triggers): New functions.
11664 (gdb-discard-unordered-replies): New defcustom.
11665 (gdb-handler): New defstruct.
11666 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11667 instead of gdb-pending-triggers. Update docstring.
11668 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11669 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11670 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11671 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11672 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11673 (gdb-frame-handler): Pending triggers are now automatically managed.
11674 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11675 Remove argument.
11676 (gdb-input): Automatically handles pending triggers. Update docstring.
11677 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11678 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11679 Update comments.
11680 (gdb-done-or-error): Now use gdb-handle-reply.
11681
d04ce803
JPG
116822013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11683
11684 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11685 gdb-debug-log.
11686
0114073a
GM
116872013-05-14 Glenn Morris <rgm@gnu.org>
11688
11689 * subr.el (user-emacs-directory-warning): New option.
11690 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11691
4d25fd7e
LL
116922013-05-14 Leo Liu <sdl.web@gmail.com>
11693
11694 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11695 during redisplay.
11696 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
11697 (octave-font-lock-texinfo-comment): Fix invalid search bound
11698 error: wrong side of point.
4d25fd7e 11699
27c8b6eb
GM
117002013-05-14 Glenn Morris <rgm@gnu.org>
11701
61aaeb01
GM
11702 * progmodes/flymake.el (flymake-xml-program): New option.
11703 (flymake-xml-init): Use it.
11704
5bf90bc5
GM
11705 * term/xterm.el: Provide a feature.
11706
11707 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 11708
f4c7dfd2
GM
117092013-05-13 Glenn Morris <rgm@gnu.org>
11710
11711 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11712 Add compat aliases as a hack workaround. (Bug#14384)
11713
2aeb3a1d
LL
117142013-05-13 Leo Liu <sdl.web@gmail.com>
11715
b0e069c2
LL
11716 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11717 ###, and %!.
f5a9432f
LL
11718 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11719 C-M-q.
b0e069c2
LL
11720 (octave-comment-start-skip): Include %!.
11721 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 11722
30ea8374
LL
117232013-05-12 Leo Liu <sdl.web@gmail.com>
11724
11725 * progmodes/octave.el (inferior-octave-startup): Store the value
11726 of __octave_srcdir__ for octave-source-directories.
11727 (inferior-octave-check-process): New function refactored out of
11728 inferior-octave-send-list-and-digest.
11729 (octave-source-directories)
11730 (octave-find-definition-filename-function): New variables.
11731 (octave-source-directories)
11732 (octave-find-definition-default-filename): New functions.
11733 (octave-find-definition): Improve to find functions implemented in C++.
11734
472a3834
GM
117352013-05-12 Glenn Morris <rgm@gnu.org>
11736
11737 * calendar/diary-lib.el (diary-outlook-format-1):
11738 Don't include dayname in the output. (Bug#14349)
11739
3191b52f
GM
117402013-05-11 Glenn Morris <rgm@gnu.org>
11741
0060ac73
GM
11742 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11743
3191b52f
GM
11744 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11745 Treat cc-provide like provide.
11746
e065ba74
KR
117472013-05-11 Kevin Ryde <user42@zip.com.au>
11748
11749 * cus-dep.el (custom-make-dependencies):
11750 Use generated-autoload-load-name for the sake of files such
11751 such cedet/semantic/bovine/c.el, where the base file name
11752 is not in load-path. (Bug#5277)
11753
36f84c37
GM
117542013-05-11 Glenn Morris <rgm@gnu.org>
11755
11756 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11757 Provide features.
11758
c8730c3a
LL
117592013-05-11 Leo Liu <sdl.web@gmail.com>
11760
11761 * progmodes/octave.el (octave-indent-comment): Improve.
11762 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
11763 (octave-eldoc-function-signatures, octave-eldoc-function):
11764 New functions.
c8730c3a
LL
11765 (octave-mode, inferior-octave-mode): Add eldoc support.
11766
212e29f2
RS
117672013-05-11 Richard Stallman <rms@gnu.org>
11768
11769 * epa.el (epa-decrypt-file): Take output file name as argument
11770 and read it using `interactive'.
11771
083fe0d7
LL
117722013-05-11 Leo Liu <sdl.web@gmail.com>
11773
11774 * progmodes/octave.el (octave-beginning-of-line)
11775 (octave-end-of-line): Check before using up-list because it jumps
11776 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
11777 (octave-indent-comment): New function.
11778 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
11779 (octave-begin-keywords, octave-end-keywords)
11780 (octave-reserved-words, octave-smie-bnf-table)
11781 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 11782
8582e4c4
GM
117832013-05-11 Glenn Morris <rgm@gnu.org>
11784
f20def1f
GM
11785 * faces.el (internal-face-x-get-resource):
11786 * frame.el (ns-display-monitor-attributes-list):
d78abe37 11787 * calc/calc-aent.el (math-to-radians-2):
f20def1f 11788 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 11789 Fix declarations.
f20def1f 11790
445f95e2
GM
11791 * calc/calc-menu.el: Make it loadable in isolation.
11792
11793 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11794 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11795 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11796 (eudc-bbdb-query-internal): Require 'bbdb.
11797
99fb2756
GM
11798 * lpr.el (lpr-headers-switches):
11799 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11800
11801 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11802
0da7ad96
GM
11803 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11804
8582e4c4
GM
11805 * term.el (term-set-escape-char): Make it idempotent.
11806
f71c50d0
LL
118072013-05-10 Leo Liu <sdl.web@gmail.com>
11808
5ac2eb34
SM
11809 * progmodes/octave.el (inferior-octave-completion-table):
11810 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
11811 completion due to bug#11906.
11812 (octave-beginning-of-defun): Re-write to be more general.
11813
d5837773
GM
118142013-05-10 Glenn Morris <rgm@gnu.org>
11815
11816 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11817
027c0f75
SM
118182013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * comint.el (comint-redirect-send-command-to-process): Use :around
11821 rather than :override for comint-redirect-filter.
11822 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11823 Call it instead of comint-redirect-original-filter-function (which
11824 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11825
4465bfb4
JD
118262013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11827
11828 * frame.el (display-monitor-attributes-list): Add NS case.
11829 (ns-display-monitor-attributes-list): Declare.
11830
2d809ffa 118312013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
11832
11833 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11834
e54eeb9b
GM
118352013-05-09 Glenn Morris <rgm@gnu.org>
11836
56cd351d
GM
11837 * international/fontset.el (vertical-centering-font-regexp):
11838 Set standard-value.
11839
d84b6108
GM
11840 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11841
a931698a
GM
11842 * bookmark.el (bookmark-search-delay):
11843 * cus-start.el (vertical-centering-font-regexp):
11844 * ps-mule.el (ps-mule-font-info-database-default):
11845 * ps-print.el (ps-default-fg, ps-default-bg):
11846 * type-break.el (type-break-good-break-interval):
11847 * whitespace.el (whitespace-indentation-regexp)
11848 (whitespace-space-after-tab-regexp):
11849 * emacs-lisp/testcover.el (testcover-1value-functions)
11850 (testcover-noreturn-functions, testcover-progn-functions)
11851 (testcover-prog1-functions):
11852 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11853 * eshell/em-glob.el (eshell-glob-translate-alist):
11854 * play/tetris.el (tetris-tty-colors):
11855 * progmodes/cpp.el (cpp-face-default-list):
11856 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11857 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11858 (idlwave-help-browser-generic-args):
11859 * progmodes/make-mode.el (makefile-special-targets-list):
11860 * progmodes/python.el (python-shell-virtualenv-path):
11861 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11862 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11863 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11864 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11865 * textmodes/reftex-vars.el (reftex-format-label-function):
11866 * textmodes/remember.el (remember-diary-file): Fix custom types.
11867
e54eeb9b
GM
11868 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11869 Add :version.
11870
455851dd
LL
118712013-05-09 Leo Liu <sdl.web@gmail.com>
11872
11873 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 11874 Restore file completion. (Bug#14300)
455851dd
LL
11875 (inferior-octave-startup): Fix incorrect highlighting for the
11876 first prompt.
11877
a9e4425b
SM
118782013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11879
11880 * progmodes/ruby-mode.el: First cut at SMIE support.
11881 (ruby-use-smie): New var.
11882 (ruby-smie-grammar): New constant.
11883 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11884 (ruby-smie--forward-token, ruby-smie--backward-token)
11885 (ruby-smie-rules): New functions.
11886 (ruby-mode-variables): Setup SMIE if applicable.
11887
060ca408
EZ
118882013-05-08 Eli Zaretskii <eliz@gnu.org>
11889
11890 * simple.el (line-move-visual): Signal beginning/end of buffer
11891 only if vertical-motion moved less than it was requested. Avoids
11892 silly incorrect error messages when there are display strings with
11893 multiple newlines at EOL.
11894
1d5963cc
SM
118952013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11896
11897 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11898 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11899 (prolog-char-quote-workaround):
11900 * progmodes/cperl-mode.el (cperl-under-as-char):
11901 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
11902 Mark as obsolete.
11903 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
11904 their declaration.
11905 (vhdl-mode-syntax-table-init): Remove.
11906
c9990474
SM
11907 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11908 last change.
1d5963cc
SM
11909
11910 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11911 syntax for "_".
11912 (ld-script-font-lock-keywords):
11913 Change regexps to use things like \_< and \_>.
11914
11915 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11916 Change all regexps to use things like \_< and \_>.
11917
11918 * progmodes/autoconf.el (autoconf-definition-regexp)
11919 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11920 Handle a _ with symbol syntax.
11921 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11922
c9990474
SM
11923 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11924 Consolidate declaration.
1d5963cc
SM
11925 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11926 the declaration.
11927 (ada-create-syntax-table): Remove.
11928 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11929 already has the right syntax nowadays.
11930 (ada-goto-next-word): Don't change the syntax of "_".
11931
11932 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11933 with-wrapper-hook.
11934
72d3cfca
SS
119352013-05-08 Sam Steingold <sds@gnu.org>
11936
11937 * thingatpt.el (thing-at-point): Accept optional second argument
11938 NO-PROPERTIES to strip the text properties from the return value.
11939 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11940 to `thing-at-point' instead of stripping the properties ourselves.
11941 Also, when `thing-at-point' fails to find a url, prepend "http://"
11942 to the filename at point on the assumption that the user is
11943 pointing at something like gnu.org/gnu.
11944
5cb15713
JB
119452013-05-08 Juanma Barranquero <lekktu@gmail.com>
11946
11947 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11948 * faces.el (crm-separator):
11949 Silence byte-compiler.
11950
11951 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11952 (tool-bar-map): Remove unneeded defvars.
11953
ea78b95b
LL
119542013-05-08 Leo Liu <sdl.web@gmail.com>
11955
11956 Re-work a fix for bug#10994 based on Le Wang's patch.
11957 * ido.el (ido-remove-consecutive-dups): New helper.
11958 (ido-completing-read): Use it.
11959 (ido-chop): Revert fix for bug#10994.
11960
dc7466df
AS
119612013-05-08 Adam Spiers <emacs@adamspiers.org>
11962
11963 * cus-edit.el (custom-save-variables):
11964 Pretty-print long values. (Bug#14187)
11965
9ecf672a
GM
119662013-05-08 Glenn Morris <rgm@gnu.org>
11967
11968 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11969 (m4-mode-syntax-table): Init in the defvar.
11970 (m4-mode-abbrev-table): Let define-derived-mode define it.
11971
3f555be8
TT
119722013-05-08 Tom Tromey <tromey@redhat.com>
11973
11974 * progmodes/m4-mode.el (m4-mode-syntax-table):
11975 Do not treat "_" as word constituent. (Bug#14167)
11976
7cc8ae06
GM
119772013-05-07 Glenn Morris <rgm@gnu.org>
11978
4f58bc06
GM
11979 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11980 Remove explicit eshell-isearch-cancel-map.
11981
7cc8ae06
GM
11982 * progmodes/f90.el (f90-smart-end-names): New option.
11983 (f90-smart-end): Doc fix.
11984 (f90-end-block-optional-name): New constant.
11985 (f90-block-match): Respect f90-smart-end-names.
11986
ceb57e59
SM
119872013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11990 about implicit semi-colons (bug#14218).
11991
4e3f9230
YM
119922013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11993
11994 * frame.el (display-monitor-attributes-list)
11995 (frame-monitor-attributes): New functions.
11996
203a5572
LL
119972013-05-06 Leo Liu <sdl.web@gmail.com>
11998
11999 * progmodes/octave.el (octave-syntax-propertize-function): Change
12000 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12001 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 12002 (octave-completion-at-point): Rename from
203a5572
LL
12003 octave-completion-at-point-function.
12004 (inferior-octave-directory-tracker): Robustify.
12005 (octave-text-functions): Remove and fix its uses. No such things
12006 any more.
12007
ee6cff99
SM
120082013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * emacs-lisp/trace.el (trace--display-buffer): New function.
12011 (trace-make-advice): Use it.
12012
32985194
JL
120132013-05-06 Juri Linkov <juri@jurta.org>
12014
12015 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12016 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12017 Doc fix.
12018 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12019 in the help string. (Bug#12985)
12020
a1c700de
KD
120212013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12022
12023 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12024
c67c0839
SM
120252013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12026
323885fd
SM
12027 * progmodes/perl-mode.el: Add support for here documents.
12028 (perl-syntax-propertize-function): Match here-doc markers.
12029 (perl-syntax-propertize-special-constructs): Find their end.
12030 (perl-imenu-generic-expression): Use [:alnum:].
12031
c67c0839
SM
12032 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12033 (advice--add-function): Refresh the advice if already present
12034 (bug#14317).
12035
d491e7a8
IA
120362013-05-06 Ivan Andrus <darthandrus@gmail.com>
12037
12038 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12039
ddf9925e
GM
120402013-05-06 Glenn Morris <rgm@gnu.org>
12041
7cc3af27
GM
12042 * w32-fns.el (w32-charset-info-alist): Declare.
12043
16e343d6
GM
12044 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12045 of its defcustom properties.
12046 (eshell-cmpl-initialize): No need to load pcomplete.
12047
7d889a47
GM
12048 * generic-x.el: No need to require comint when compiling.
12049
ddf9925e
GM
12050 * net/eudc-export.el: Make it loadable without bbdb.
12051 (top-level): Use require rather than load-library.
12052 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12053 (eudc-batch-export-records-to-bbdb)
12054 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12055 Require bbdb.
12056
1e2c18df
SM
120572013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12058
12059 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12060 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12061 some tweaks, instead.
12062
02502a5f
LL
120632013-05-05 Leo Liu <sdl.web@gmail.com>
12064
12065 * progmodes/octave.el (octave-font-lock-keywords)
12066 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12067 (inferior-octave-send-list-and-digest): Improve error message.
12068 (octave-mode, inferior-octave-mode): Use setq-local.
12069 (octave-help): Set info-lookup-mode.
12070
0dc04f42
RS
120712013-05-05 Richard Stallman <rms@gnu.org>
12072
6c54491c
RS
12073 * vc/compare-w.el (compare-windows-whitespace):
12074 Treat no-break space as whitespace.
12075
0dc04f42
RS
12076 * mail/rmailsum.el (rmail-summary-rmail-update):
12077 Detect empty summary and don't change selected message.
12078 (rmail-summary-goto-msg): Likewise.
12079
df8f35df
RS
12080 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12081 Doc fixes, rename args.
12082
5356e1a3
AM
120832013-05-05 Alan Mackenzie <acm@muc.de>
12084
12085 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12086
d44014cb
JL
120872013-05-05 Juri Linkov <juri@jurta.org>
12088
12089 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12090 to not add the length of the summary segment to the return value.
12091 (Bug#14125)
12092
c129b51f
LL
120932013-05-05 Leo Liu <sdl.web@gmail.com>
12094
12095 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12096 (inferior-octave-output-filter): Remove.
12097 (octave-send-region, inferior-octave-startup): Fix callers.
12098 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12099 (octave-binary-file-extensions): New user variable.
12100 (octave-find-definition): Confirm if opening binary files.
12101 (octave-help-file): Use octave-find-definition to get the binary
12102 confirmation.
12103 (octave-help): Adjust for octave-help-file change.
12104
aa7dab97
SM
121052013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12106
12107 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12108 Merge the two entries that handle function definitions.
12109 (pascal--syntax-propertize): New const.
12110 (pascal-mode): Use it. Use setq-local.
12111
fd3a9a6b
GM
121122013-05-04 Glenn Morris <rgm@gnu.org>
12113
12114 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12115 (diary-from-outlook): Respect diary-from-outlook-function.
12116
30c7e542
SM
121172013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12118
12119 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12120 Move the declaration from C.
12121 (read-minibuffer, eval-minibuffer): Move from C.
12122 (completion-setup-function): Avoid minibuffer-completion-contents.
12123
b54f978b
LL
121242013-05-03 Leo Liu <sdl.web@gmail.com>
12125
12126 * progmodes/octave.el (octave-font-lock-keywords): Do not
12127 dehighlight 'end' in comments or strings.
30c7e542
SM
12128 (octave-completing-read, octave-goto-function-definition):
12129 New helpers.
d4d0f9b3
LL
12130 (octave-help-buffer): New user variable.
12131 (octave-help-file, octave-help-function): New button types.
12132 (octave-help): New command and bind it to C-h ;.
12133 (octave-find-definition): New command and bind it to M-.
d74a1581 12134 (user-error): Alias to error if not defined.
b54f978b 12135
27135018
LL
121362013-05-02 Leo Liu <sdl.web@gmail.com>
12137
12138 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12139 for \. (bug#14332)
12140 (octave-font-lock-keywords): Include [ and {.
12141
0d634d3a
LL
121422013-05-02 Leo Liu <sdl.web@gmail.com>
12143
12144 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12145 (inferior-octave): Remove calling comint-mode and return the buffer.
12146 (inferior-octave-startup): Cosmetic changes.
12147
b4c8295e
LL
121482013-05-02 Leo Liu <sdl.web@gmail.com>
12149
30c7e542
SM
12150 * progmodes/octave.el (octave-syntax-propertize-function):
12151 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 12152
f12ad6ec
GM
121532013-05-02 Glenn Morris <rgm@gnu.org>
12154
12155 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12156 * desktop.el (vc-dir-mode): Just autoload it here.
12157
30cac1e0
AM
121582013-05-02 Alan Mackenzie <acm@muc.de>
12159
12160 Eliminate variable c-standard-font-lock-fontify-region-function.
12161 * progmodes/cc-mode.el
12162 (c-standard-font-lock-fontify-region-function): Remove.
12163 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12164
d8ef28b1
LL
121652013-05-01 Leo Liu <sdl.web@gmail.com>
12166
2640d52e 12167 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 12168 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 12169 variables were removed from Octave in 2007.
d8ef28b1
LL
12170 (inferior-octave-startup): Fix uses.
12171 (comint-line-beginning-position): Remove compatibility code for
12172 emacs 21.
12173
ac63ec89
JL
121742013-05-01 Juri Linkov <juri@jurta.org>
12175
12176 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12177
9e9be37c
JL
121782013-05-01 Juri Linkov <juri@jurta.org>
12179
12180 * comint.el (comint-previous-matching-input): Don't print message
12181 "History item: %d" when `isearch-mode' is active.
12182 (comint-history-isearch-message): Print message "History item: %d"
12183 when `comint-input-ring-index' is not empty and this function is
12184 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12185
9b92c13b
LL
121862013-05-01 Leo Liu <sdl.web@gmail.com>
12187
12188 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12189 definitions. Use completion-at-point to insert keywords.
12190 (octave-abbrev-start): Remove.
12191 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12192
b12d33d7
LL
121932013-04-30 Leo Liu <sdl.web@gmail.com>
12194
12195 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12196 change.
12197
3d1c39fa
AM
121982013-04-30 Alan Mackenzie <acm@muc.de>
12199
12200 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
12201 * progmodes/cc-engine.el (c-back-over-member-initializers):
12202 new function.
3d1c39fa
AM
12203 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12204 (most) member init lists.
12205
5147fc17
RS
122062013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12207
12208 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12209 variable.
12210
5b78d7fc
LL
122112013-04-30 Leo Liu <sdl.web@gmail.com>
12212
12213 * progmodes/octave.el (octave-variables): Remove. No builtin
12214 variables any more. All converted to functions.
12215 (octave-font-lock-keywords, octave-completion-at-point-function):
12216 Fix uses.
12217 (octave-font-lock-texinfo-comment): New user variable.
12218 (octave-texinfo-font-lock-keywords): New variable for texinfo
12219 comment block.
12220 (octave-function-comment-block): New face.
12221 (octave-font-lock-texinfo-comment): New function.
12222 (octave-mode): Font lock texinfo comment block.
12223
38d8527b
LL
122242013-04-29 Leo Liu <sdl.web@gmail.com>
12225
12226 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12227 indexing expression.
12228 (octave-continuation-string): Do not use \.
12229 (inferior-octave-complete-impossible): Remove.
12230 (inferior-octave-completion-table)
12231 (inferior-octave-completion-at-point): Remove its uses.
12232 (inferior-octave-startup): completion_matches was introduced to
12233 Octave in 1996 so safe to assume it.
12234 (octave-function-file-comment): Improve to follow how Octave does it.
12235 (octave-update-function-file-comment): Tweak.
12236
2ec12cb0
LL
122372013-04-29 Leo Liu <sdl.web@gmail.com>
12238
12239 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12240 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12241 (octave-function-file-comment): Fix typo.
12242 (octave-sync-function-file-names): Use read-char-choice.
12243
6eaed048
JB
122442013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12245
12246 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12247 to t for the less important warnings.
12248
3ffa2d4f
DH
122492013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12250
12251 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12252
685c9501
GM
122532013-04-27 Glenn Morris <rgm@gnu.org>
12254
12255 * vc/log-view.el (log-view-current-entry):
12256 Treat "---" separator lines as part of the following rev. (Bug#14169)
12257
0208ede7
JL
122582013-04-27 Juri Linkov <juri@jurta.org>
12259
12260 * subr.el (read-number): Doc fix about using it by interactive
12261 code letter `n'. (Bug#14254)
12262
5db9dace
JL
122632013-04-27 Juri Linkov <juri@jurta.org>
12264
12265 * desktop.el (desktop-auto-save-timeout): New option.
12266 (desktop-file-checksum): New variable.
12267 (desktop-save): Add optional arg `auto-save' and don't auto-save
12268 if nothing changed.
12269 (desktop-auto-save-timer): New variable.
12270 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12271 (after-init-hook): Call `desktop-auto-save-set-timer'.
12272 Suggested by Reuben Thomas <rrt@sc3d.org> in
12273 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12274
b7260dd4
LL
122752013-04-27 Leo Liu <sdl.web@gmail.com>
12276
12277 * progmodes/octave.el (octave-function-file-p)
12278 (octave-skip-comment-forward, octave-function-file-comment)
12279 (octave-update-function-file-comment): New functions.
12280 (octave-mode-map): Bind C-c ; to
12281 octave-update-function-file-comment.
12282 (octave-mode-menu): Add octave-update-function-file-comment.
12283 (octave-mode, inferior-octave-mode): Fix doc-string.
12284 (octave-insert-defun): Conform to Octave's coding convention.
12285 (Bug#14285)
12286
12287 * files.el (basic-save-buffer): Don't let errors in
12288 before-save-hook prevent saving buffer.
12289
c46da669
RW
122902013-04-20 Roland Winkler <winkler@gnu.org>
12291
12292 * faces.el (read-face-name): Use completing-read if arg multiple
12293 is nil.
12294
a81ee1eb
IL
122952013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12296
12297 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
12298 displayed, move point to after the totals line.
12299 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
12300 for the details.
12301
4fac34ce
SM
123022013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12303
12304 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12305 Add current dir to the load-path.
12306 (package-generate-autoloads): Don't rely on
12307 autoload-ensure-default-file.
12308
f6bfc063
RT
123092013-04-26 Reuben Thomas <rrt@sc3d.org>
12310
d40ab5cf
BG
12311 * textmodes/remember.el (remember-store-in-files): Document that
12312 the file name format is passed to `format-time-string'.
f6bfc063 12313
e55d3b04
LL
123142013-04-26 Leo Liu <sdl.web@gmail.com>
12315
12316 * progmodes/octave.el (octave-sync-function-file-names): New function.
12317 (octave-mode): Use it in before-save-hook.
12318
e53052d3
SM
123192013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12320
140ef50c
SM
12321 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12322 (bug#14274).
12323
e53052d3
SM
12324 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12325 \n and comment, even if it's not an implicit ; (bug#14218).
12326
af80458d 123272013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
12328
12329 * subr.el (read-number): Once more use `read' rather than
12330 `string-to-number', to trap non-numeric input. (Bug#14254)
12331
af80458d 123322013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
12333
12334 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12335 Use `syntax-multiline' text property consistently instead of
8a621d53 12336 `font-lock-multiline'. (Bug#14237)
70203c2e 12337
e6ea1f6c
GM
123382013-04-26 Glenn Morris <rgm@gnu.org>
12339
12340 * emacs-lisp/shadow.el (list-load-path-shadows):
12341 No longer necessary to check for duplicate simple.el, since
12342 2012-07-07 change to init_lread to not include installation lisp
12343 directories in load-path when running uninstalled. (Bug#14270)
12344
070ccca4
LL
123452013-04-26 Leo Liu <sdl.web@gmail.com>
12346
12347 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12348 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 12349 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
12350 octave-in-string-or-comment-p.
12351 (octave-in-comment-p, octave-in-string-p)
12352 (octave-in-string-or-comment-p): Replace defsubst with defun.
12353
9d1c5fb6
PE
123542013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12355
12356 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12357
c034abda
BG
123582013-04-25 Bastien Guerry <bzg@gnu.org>
12359
12360 * textmodes/remember.el (remember-data-directory)
12361 (remember-directory-file-name-format): Fix custom types.
12362
584ea277
LL
123632013-04-25 Leo Liu <sdl.web@gmail.com>
12364
e53052d3
SM
12365 * progmodes/octave.el (octave-completion-at-point-function):
12366 Make use of inferior octave process.
584ea277
LL
12367 (octave-initialize-completions): Remove.
12368 (inferior-octave-completion-table): New function.
12369 (inferior-octave-completion-at-point): Use it.
12370 (octave-completion-alist): Remove.
12371
1693b06a
SM
123722013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12375 (opascal-mode-syntax-table): New var.
12376 (opascal-literal-kind, opascal-is-literal-end)
12377 (opascal-literal-token-at): Rewrite.
12378 (opascal--literal-start-re, opascal-font-lock-keywords)
12379 (opascal--syntax-propertize): New constants.
12380 (opascal-font-lock-defaults): Adjust.
12381 (opascal-mode): Use them. Set comment-<foo> variables as well.
12382 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12383 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12384 (delphi-other-face, opascal-other-face): Remove face variables.
12385 (opascal-save-state): Remove macro.
12386 (opascal-fontifying-progress-step): Remove constant.
12387 (opascal--ignore-changes): Remove var.
12388 (opascal-set-token-property, opascal-parse-next-literal)
12389 (opascal-is-stable-literal, opascal-complete-literal)
12390 (opascal-is-literal-start, opascal-face-of)
12391 (opascal-parse-region, opascal-parse-region-until-stable)
12392 (opascal-fontify-region, opascal-after-change)
12393 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12394 (opascal-debug-parse-region, opascal-debug-parse-window)
12395 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12396 (opascal-debug-fontify-buffer): Remove.
12397 (opascal-debug-mode-map): Adjust accordingly.
12398
be64c05d
LL
123992013-04-25 Leo Liu <sdl.web@gmail.com>
12400
12401 Merge octave-mod.el and octave-inf.el into octave.el with some
12402 cleanups.
12403 * progmodes/octave.el: New file renamed from octave-mod.el.
12404 * progmodes/octave-inf.el: Merged into octave.el.
12405 * progmodes/octave-mod.el: Renamed to octave.el.
12406
d79d37bd
TH
124072013-04-25 Tassilo Horn <tsdh@gnu.org>
12408
12409 * textmodes/reftex-vars.el
12410 (reftex-label-ignored-macros-and-environments): New defcustom.
12411
12412 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12413
ced3fc5d
SM
124142013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12415
12416 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12417 (smie-indent-keyword): Improve the check to ensure that the next
12418 comment is really on the same line.
12419 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12420
12421 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12422 semi-colons if the line is not otherwise empty (bug#14218).
12423
1c141dad
GM
124242013-04-25 Glenn Morris <rgm@gnu.org>
12425
12426 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12427
5058062a
SM
124282013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12429
12430 * progmodes/opascal.el (opascal-set-token-property): Rename from
12431 opascal-set-text-properties and only set `token' (bug#14134).
12432 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12433 (opascal-literal-text-properties): Remove.
12434 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12435 Adjust callers.
12436
5db9dace 124372013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
12438
12439 * textmodes/remember.el (remember-handler-functions): Add an
12440 option for a new handler `remember-store-in-files'.
12441 (remember-data-directory, remember-directory-file-name-format):
12442 New options.
12443 (remember-store-in-files): New function to store remember notes
12444 as separate files within a directory.
12445
4391916c
MH
124462013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12447
12448 * progmodes/compile.el (compilation-next-error-function):
12449 Pass "formats" to compilation-find-file (bug#11777).
12450
bb7cdf58
GM
124512013-04-24 Glenn Morris <rgm@gnu.org>
12452
3b8fe752 12453 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
12454 * vc/vc-hg.el (vc-hg-print-log):
12455 * vc/vc-svn.el (vc-svn-print-log):
12456 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12457
bb7cdf58
GM
12458 * vc/vc-bzr.el (vc-bzr-print-log):
12459 * vc/vc-cvs.el (vc-cvs-print-log):
12460 * vc/vc-git.el (vc-git-print-log):
12461 * vc/vc-hg.el (vc-hg-print-log):
12462 * vc/vc-mtn.el (vc-mtn-print-log):
12463 * vc/vc-rcs.el (vc-rcs-print-log):
12464 * vc/vc-sccs.el (vc-sccs-print-log):
12465 * vc/vc-svn.el (vc-svn-print-log):
12466 * vc/vc.el (vc-print-log-internal): Doc fixes.
12467
b46a056e
GM
124682013-04-23 Glenn Morris <rgm@gnu.org>
12469
12470 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12471 Remove venerable code attempting to avoid substitute-command-keys.
12472
0aecf718
TH
124732013-04-23 Tassilo Horn <tsdh@gnu.org>
12474
4391916c
MH
12475 * textmodes/reftex-vars.el (reftex-label-regexps):
12476 Call `reftex-compile-variables' after changes to this variable.
0aecf718 12477
117f94cf
SM
124782013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12479
4391916c 12480 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
12481 Use lexical-binding.
12482 (jit-lock-force-redisplay): Use markers, check buffer's continued
12483 existence and beware narrowed buffers.
12484 (jit-lock-fontify-now): Adjust call accordingly.
12485
1d829c64
SM
124862013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12487
12488 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12489 to avoid misleading the user.
12490
72d548a9
LL
124912013-04-22 Leo Liu <sdl.web@gmail.com>
12492
12493 * info-look.el: Prefer latex2e.info. (Bug#14240)
12494
d0853629
MA
124952013-04-22 Michael Albinus <michael.albinus@gmx.de>
12496
12497 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12498
12499 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 12500 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
12501 (tramp-set-completion-function, tramp-parse-putty):
12502 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12503 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12504 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12505 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12506 (tramp-call-local-coding-command): Use `tramp-call-process'
12507 instead of `tramp-compat-call-process'.
12508
12509 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12510 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12511 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 12512 (tramp-find-inline-compress): Improve traces.
d0853629
MA
12513 (tramp-maybe-send-script): Check for Perl binary.
12514 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12515
38cc0210
DU
125162013-04-22 Daiki Ueno <ueno@gnu.org>
12517
12518 * epg.el (epg-context-pinentry-mode): New function.
12519 (epg-context-set-pinentry-mode): New function.
12520 (epg--start): Pass --pinentry-mode option to gpg command.
12521
cc641ee1
XF
125222013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12523
02d844b5 12524 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 12525 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 12526 `completion-at-point'. (Bug#13774)
5d4e5c31 12527
cc641ee1
XF
12528 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12529 default key binding for `describe-distribution' has been moved to
12530 `C-h C-o'. (Bug#13970)
12531
1b42ee43
GM
125322013-04-21 Glenn Morris <rgm@gnu.org>
12533
12534 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12535 Add doc strings.
12536 (vc-print-log): Clarify interactive prompt.
12537
a6d63d97
GM
125382013-04-20 Glenn Morris <rgm@gnu.org>
12539
12540 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12541 No longer include timestamp etc information.
12542
d7f5c16f
RW
125432013-04-20 Roland Winkler <winkler@gnu.org>
12544
12545 * faces.el (read-face-name): Bug fix, return just one face if arg
12546 multiple is nil. (Bug#14209)
12547
bcd7a0a4
SM
125482013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12549
12550 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12551 (remove-function): Autoload.
12552
12553 * comint.el (comint-redirect-original-filter-function): Remove.
12554 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
12555 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12556 (vc-cvs-annotate-command):
bcd7a0a4
SM
12557 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12558 * progmodes/prolog.el (prolog-consult-compile):
12559 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12560 Use add/remove-function instead.
12561 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12562 (gud-tooltip-process-output, gud-tooltip-tips):
12563 Use add/remove-function instead.
12564 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12565 (scheme-interaction-mode, exit-scheme-interaction-mode):
12566 Use add/remove-function instead.
12567
12568 * vc/vc-dispatcher.el: Use lexical-binding.
12569 (vc--process-sentinel): Rename from vc-process-sentinel.
12570 Change last arg to be the code to run. Don't use vc-previous-sentinel
12571 and vc-sentinel-commands any more.
12572 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12573 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12574
e36b2d20 125752013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 12576
bcd7a0a4 12577 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 12578 Handle function names with a single character. (Bug#14111)
4d3268ba 12579
781b4af6 125802013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
12581
12582 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12583 for subroutines defined in an eval (bug#14182).
12584
7d688336
TV
125852013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12586
12587 * bookmark.el (bookmark-completing-read): Improve handling of empty
12588 string (bug#14176).
12589
31dcede0
SM
125902013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12591
12592 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12593
adc31213
FEG
125942013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12595
12596 New faster Imenu implementation (bug#14058).
12597 * progmodes/python.el:
12598 (python-imenu-prev-index-position):
12599 (python-imenu-format-item-label-function)
12600 (python-imenu-format-parent-item-label-function)
12601 (python-imenu-format-parent-item-jump-label-function):
12602 New vars.
12603 (python-imenu-format-item-label)
12604 (python-imenu-format-parent-item-label)
12605 (python-imenu-format-parent-item-jump-label)
12606 (python-imenu--put-parent, python-imenu--build-tree)
12607 (python-imenu-create-index, python-imenu-create-flat-index)
12608 (python-util-popn): New functions.
12609 (python-mode): Set imenu-create-index-function to
12610 python-imenu-create-index.
12611
cdca8255
SM
126122013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12613
12614 * winner.el (winner-active-region): Use region-active-p, activate-mark
12615 and deactivate-mark (bug#14225).
12616
12617 * simple.el (deactivate-mark): Don't inline it.
12618
beb42340
MA
126192013-04-18 Michael Albinus <michael.albinus@gmx.de>
12620
12621 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12622
fc7f4d7e
TH
126232013-04-18 Tassilo Horn <tsdh@gnu.org>
12624
12625 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12626 file extensions from the archive-mode entry in order to prefer
12627 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12628
29f47822
LL
126292013-04-18 Leo Liu <sdl.web@gmail.com>
12630
12631 * bindings.el (help-event-list): Add ?\?.
12632
d36ed1c8
SM
126332013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12634
12635 * subr.el (with-wrapper-hook): Declare obsolete.
12636 * simple.el (filter-buffer-substring-function): New hook.
12637 (filter-buffer-substring): Use it.
12638 (filter-buffer-substring-functions): Mark obsolete.
12639 * minibuffer.el (completion-in-region-function): New hook.
12640 (completion-in-region): Use it.
12641 (completion-in-region-functions): Mark obsolete.
12642 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12643 * abbrev.el (abbrev-expand-function): New hook.
12644 (expand-abbrev): Use it.
12645 (abbrev-expand-functions): Mark obsolete.
12646 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12647 and :filter-return.
12648
04754d36
FEG
126492013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12650
12651 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12652 and do not care about match data.
12653
dd8791e9
SM
126542013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12655
12656 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12657 completion tables when completing error conditions and
12658 `declare' arguments.
12659 (lisp-complete-symbol, field-complete): Mark as obsolete.
12660 (check-parens): Unmatched parens are user errors.
12661 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12662
ffe54a13
AM
126632013-04-17 Michal Nazarewicz <mina86@mina86.com>
12664
dd8791e9
SM
12665 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12666 command changed buffer (ie. `flyspell-pre-buffer' is not current
12667 buffer), which prevents making decisions based on invalid value of
12668 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12669 cause an error when `flyspell-pre-point' was nil after switching
12670 buffers.
12671 (flyspell-post-command-hook): No longer needs to change buffers when
12672 checking pre-word. While at it remove unnecessary progn.
ffe54a13 12673
ec7e39f2
AM
126742013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12675
12676 * textmodes/ispell.el (ispell-add-per-file-word-list):
12677 Fix `flyspell-correct-word-before-point' error when accepting
12678 words and `coment-padding' is an integer by using
12679 `comment-normalize-vars' (Bug #14214).
12680
083850a6
FEG
126812013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12682
12683 New defun movement commands.
12684 * progmodes/python.el (python-nav--syntactically)
12685 (python-nav--forward-defun, python-nav-backward-defun)
12686 (python-nav-forward-defun): New functions.
12687
619ed6e1
FEG
126882013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12689
12690 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12691 (python-syntax-context): Use named compiler-macro for backwards
12692 compatibility with Emacs 24.x.
12693
7a1beb6c
LL
126942013-04-17 Leo Liu <sdl.web@gmail.com>
12695
12696 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12697 octave-hide-process-buffer.
12698
2d3fa3e5
SM
126992013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12700
12701 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12702 (bug#14216).
12703
7ce5be54
JPG
127042013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12705
12706 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12707 Fix adjustment of offset when receiving incomplete responses from GDB
12708 (bug#14129).
12709
351edece
SM
127102013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12711
12712 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12713 python-mode-abbrev-table.
12714 (python-skeleton-define): Adjust accordingly.
12715 (python-mode-abbrev-table): New table that inherits from it so that
12716 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12717
12718 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12719 (abbrev-symbol): Use it.
12720 (abbrev--before-point): Use it since we already handle inheritance.
12721
613f9481
LL
127222013-04-16 Leo Liu <sdl.web@gmail.com>
12723
12724 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12725 binding to info-lookup-symbol.
12726
51646b62
JB
127272013-04-16 Juanma Barranquero <lekktu@gmail.com>
12728
12729 * minibuffer.el (completion--twq-all):
12730 * term/ns-win.el (ns-initialize-window-system):
12731 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12732
efb3f01d
SM
127332013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12734
36c0a301
SM
12735 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12736 global bindings.
12737
efb3f01d
SM
12738 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12739
fb549d64
DG
127402013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12741
12742 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12743 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12744 to nil.
12745 (ruby-end-of-defun): Remove the unused arg, change the docstring
12746 to reflect that this function is only used as the value of
12747 `end-of-defun-function'.
12748 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12749 to reflect an earlier change that beginning/end-of-defun functions
12750 jump between methods in a class definition, as well as top-level
12751 functions.
12752
21e8fe2f
SM
127532013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12754
12755 * minibuffer.el (minibuffer-complete): Don't just scroll
12756 a *Completions* that's been iconified.
12757 (minibuffer-force-complete): Make sure repetitions do cycle when going
12758 through completion-in-region -> minibuffer-complete.
12759
20e527d0
AM
127602013-04-15 Alan Mackenzie <acm@muc.de>
12761
12762 Correct the placement of c-cpp-delimiters when there're #s not at
12763 col 0.
12764
12765 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12766 place a submatch around the #.
21e8fe2f
SM
12767 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12768 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
12769 on the #, not BOL.
12770
dabefae5
SM
127712013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12772
12773 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12774 (advice--member-p): New arg `name'.
12775 (advice--add-function, advice-member-p): Use it (bug#14202).
12776
85c9ab64
AM
127772013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12778
12779 Reformulate java imenu-generic-expression.
12780 The old expression contained ill formed regexps.
12781
12782 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12783 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12784 (cc-imenu-java-method-arg-regexp): New defconsts.
12785 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 12786 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
12787 handling of spaces in the regexp.
12788
0f821d99
AM
127892013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12790
12791 * textmodes/ispell.el (ispell-command-loop): Remove
12792 flyspell highlight of a word when ispell accepts it (bug #14178).
12793
eb922adf
MA
127942013-04-15 Michael Albinus <michael.albinus@gmx.de>
12795
12796 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12797 uses code from the previous `ange-ftp-run-real-handler'.
12798 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12799 only in case that function exist. This is needed for proper
12800 unloading of Tramp.
12801
4d9a0979
TH
128022013-04-15 Tassilo Horn <tsdh@gnu.org>
12803
12804 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12805
12806 * textmodes/reftex.el (reftex-compile-variables): Use it.
12807
a829b0dc
SM
128082013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12809
91e8293c
SM
12810 * files.el (normal-mode): Only use default major-mode if no other mode
12811 was specified.
12812
830aed4d
SM
12813 * emacs-lisp/trace.el (trace-values): New function.
12814
a829b0dc
SM
12815 * files.el: Allow : in local variables (bug#14089).
12816 (hack-local-variable-regexp): New var.
12817 (hack-local-variables-prop-line, hack-local-variables): Use it.
12818
7ae9f0fb
RW
128192013-04-13 Roland Winkler <winkler@gnu.org>
12820
12821 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12822 data before it gets modified by bibtex-beginning-of-entry.
12823
6646e848
RW
128242013-04-13 Roland Winkler <winkler@gnu.org>
12825
12826 * textmodes/bibtex.el (bibtex-url): Doc fix.
12827
128282013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
12829
12830 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12831 does not visit a BibTeX file, exclude it from the list of buffers
12832 returned by bibtex-initialize.
12833
0aa3616e
SB
128342013-04-13 Stephen Berman <stephen.berman@gmx.net>
12835
12836 * window.el (split-window): Remove interactive form, since as a
12837 command this function is a special case of split-window-below.
12838 Correct doc string.
12839
011cddd6
RW
128402013-04-12 Roland Winkler <winkler@gnu.org>
12841
12842 * faces.el (read-face-name): Do not override value of arg default.
12843 Allow single faces and strings as default values. Remove those
12844 elements from return value that are not faces.
12845 (describe-face): Simplify.
12846 (face-at-point): New optional args thing and multiple so that this
12847 function can provide the same functionality previously provided by
12848 read-face-name.
12849 (make-face-bold, make-face-unbold, make-face-italic)
12850 (make-face-unitalic, make-face-bold-italic, invert-face)
12851 (modify-face, read-face-and-attribute): Use face-at-point.
12852
12853 * cus-edit.el (customize-face, customize-face-other-window)
12854 * cus-theme.el (custom-theme-add-face)
12855 * face-remap.el (buffer-face-set)
12856 * facemenu.el (facemenu-set-face): Use face-at-point.
12857
f24e0036
MA
128582013-04-12 Michael Albinus <michael.albinus@gmx.de>
12859
12860 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12861
da3cda2d
TH
128622013-04-10 Tassilo Horn <tsdh@gnu.org>
12863
12864 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12865 off leading { and trailing } from field values.
12866
15e54145
SM
128672013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12868
78ce603d
SM
12869 * emacs-lisp/timer.el (timer--check): New function.
12870 (timer--time, timer-set-function, timer-event-handler): Use it.
12871 (timer-set-idle-time): Simplify.
12872 (timer--activate): CSE.
12873 (timer-event-handler): Give more info in error message.
12874 (internal-timer-start-idle): New function, moved from C.
12875
15e54145
SM
12876 * mpc.el (mpc-proc): Add `restart' argument.
12877 (mpc-proc-cmd): Use it.
12878 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12879 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12880 less often.
12881
7144c627
MY
128822013-04-10 Masatake YAMATO <yamato@redhat.com>
12883
12884 * progmodes/sh-script.el: Implement `sh-mode' own
12885 `add-log-current-defun-function' (bug#14112).
12886 (sh-current-defun-name): New function.
12887 (sh-mode): Use the function.
12888
b39792eb
BG
128892013-04-09 Bastien Guerry <bzg@gnu.org>
12890
12891 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12892
8acdeb71
SM
128932013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12894
6fcdab68
SM
12895 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12896
8acdeb71
SM
12897 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12898 timer (bug#14156).
12899
e3e7b504
NF
129002013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12901
12902 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12903 declaration.
12904
201bb296
LL
129052013-04-07 Leo Liu <sdl.web@gmail.com>
12906
12907 * pcmpl-x.el: New file.
12908
ebb19708
DA
129092013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12910
12911 Do not set x-display-name until X connection is established.
12912 This is needed to prevent from weird situation described at
12913 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12914 * frame.el (make-frame): Set x-display-name after call to
12915 window system initialization function, not before.
12916 * term/x-win.el (x-initialize-window-system): Add optional
12917 display argument and use it.
12918 * term/w32-win.el (w32-initialize-window-system):
12919 * term/ns-win.el (ns-initialize-window-system):
12920 * term/pc-win.el (msdos-initialize-window-system):
12921 Add compatible optional display argument.
12922
33bb237a
EZ
129232013-04-06 Eli Zaretskii <eliz@gnu.org>
12924
12925 * files.el (normal-backup-enable-predicate): On MS-Windows and
12926 MS-DOS compare truenames of temporary-file-directory and of the
12927 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12928 don't fail comparison by compare-strings. Also, compare file
12929 names case-insensitively on MS-Windows and MS-DOS.
12930
134abf1f
SM
129312013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12932
12933 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12934 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12935
d695cb94
DG
129362013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12937
e3e7b504
NF
12938 * whitespace.el (whitespace-color-on, whitespace-color-off):
12939 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 12940
f4ad7ea1 129412013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
12942
12943 * ispell.el (ispell-set-spellchecker-params):
12944 Really set `ispell-args' for all equivs.
12945
632556e4
SM
129462013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12947
12948 * ido.el (ido-completions): Use extra elements of ido-decorations
12949 (bug#14143).
12950 (ido-decorations): Update docstring.
12951
2a417372
MA
129522013-04-05 Michael Albinus <michael.albinus@gmx.de>
12953
12954 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12955 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12956 nil during initialization, in order not to miss changes since the
12957 file was opened. (Bug#14140)
12958
fc164b0c
LL
129592013-04-05 Leo Liu <sdl.web@gmail.com>
12960
12961 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12962
0ccecc08
JB
129632013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12964
12965 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12966
51af1aa2
GM
129672013-04-04 Glenn Morris <rgm@gnu.org>
12968
12969 * electric.el (electric-pair-inhibit-predicate): Add :version.
12970
b208ebc6
SM
129712013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12972
12973 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12974 when a package is required several times (bug#14082).
12975
f3d3eaf0
RW
129762013-04-04 Roland Winkler <winkler@gnu.org>
12977
12978 * faces.el (read-face-name): Behave as promised by the docstring.
12979 Assume that arg default is a list of faces.
12980 (describe-face): Call read-face-name with list of default faces.
12981
2575da50
TV
129822013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12983
12984 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12985 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12986 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12987 the header.
12988 (bookmark-exit-hook-internal): Save even if list is empty.
12989
397703b4
YH
129902013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12991
12992 * emacs-lisp/package.el (package-pinned-packages): New var.
12993 (package--add-to-archive-contents): Obey it (bug#14118).
12994
691e26ae
AM
129952013-04-03 Alan Mackenzie <acm@muc.de>
12996
8a621d53
JB
12997 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12998 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12999
13000 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13001 parameter `not-in-delimiter'. Handle being inside comment opener.
13002 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13003 character in case we're typing a '*' after a '/'.
13004 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13005 instead by passing the parameter to c-state-pp-to-literal.
13006
13007 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13008 for elt. 7 of a parse state.
13009
4b725a70
PE
130102013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13011
13012 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13013 * international/latin1-disp.el, international/mule-util.el:
13014 * language/cyril-util.el, language/european.el, language/ind-util.el:
13015 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13016 * language/tibetan.el, language/viet-util.el:
13017 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13018
15c579f0
SM
130192013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13020
13021 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13022 (electric-pair-post-self-insert-function): Use it.
13023 (electric-pair-default-inhibit): New function, extracted from
13024 electric-pair-post-self-insert-function.
13025
a77e2924
RW
130262013-03-31 Roland Winkler <winkler@gnu.org>
13027
13028 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13029
2bd8a4a8
SM
130302013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13033
8d3655be 130342013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
13035
13036 Un-indent after "pass" and "return" statements (Bug#13888)
13037 * progmodes/python.el (python-indent-block-enders): New var.
13038 (python-indent-calculate-indentation): Use it.
13039
8d3655be 130402013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
13041
13042 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13043 defun. Defining it as defalias could introduce too eager
13044 byte-compiler optimization. (Bug#14030)
13045
8d3655be 130462013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
13047
13048 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13049
0b1619da
LL
130502013-03-30 Leo Liu <sdl.web@gmail.com>
13051
13052 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13053 (kmacro-execute-from-register): Pass the keyboard macro to
13054 kmacro-call-macro or repeating won't work correctly.
13055
0b938190
TZ
130562013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13057
13058 * progmodes/subword.el: Back to using `forward-symbol'.
13059
13060 * subr.el (forward-whitespace, forward-symbol)
13061 (forward-same-syntax): Move from thingatpt.el.
13062
35710234
LL
130632013-03-29 Leo Liu <sdl.web@gmail.com>
13064
13065 * kmacro.el (kmacro-to-register): New command.
13066 (kmacro-execute-from-register): New function.
13067 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13068
efc0bb73
SM
130692013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13070
13071 * mpc.el: Use defvar-local and setq-local.
13072 (mpc--proc-connect): Connection failures are not bugs.
13073 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13074 (mpc-volume-map): Bind to the up-events.
13075
75a2f981
TZ
130762013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13077
13078 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13079 instead of `forward-symbol'.
13080
17c781d1
SM
130812013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13082
13083 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13084 (edebug--recursive-edit): Use it.
13085 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13086 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13087
f67bfbcf
LL
130882013-03-28 Leo Liu <sdl.web@gmail.com>
13089
13090 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13091
b59f639d
EZ
130922013-03-27 Eli Zaretskii <eliz@gnu.org>
13093
13094 * facemenu.el (list-colors-callback): New defvar.
13095 (list-colors-redisplay): New function.
13096 (list-colors-display): Install list-colors-redisplay as the
13097 revert-buffer-function. (Bug#14063)
13098
f557c1b1
SM
130992013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13100
b1da2957
SM
13101 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13102 and suffixes don't overlap (bug#14061).
13103
f557c1b1
SM
13104 * case-table.el: Use lexical-binding.
13105 (case-table-get-table): New function.
13106 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13107
002668e1
TZ
131082013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13109
13110 * progmodes/subword.el: Add `superword-mode' to do word motion
13111 over symbol_words (parallels and leverages `subword-mode' which
13112 does word motion inside MixedCaseWords).
13113
73572c72
AG
131142013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13115
78b8f320 13116 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 13117 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 13118
69b2c07e
SM
131192013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13120
13121 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13122 Change return value to be a sexp. Delay `get-buffer' to after
13123 restoring the desktop (bug#13951).
13124
08bb5ee2
LL
131252013-03-26 Leo Liu <sdl.web@gmail.com>
13126
13127 * register.el: Move semantic tag handling back to
13128 cedet/semantic/senator.el. (Bug#14052)
13129
8d4c974e
SM
131302013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13131
13132 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13133 into the prompt either (bug#13963).
13134
b234d92c
SM
131352013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13136
13137 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13138 part of "(error-foo)".
13139
ddfa3cb4
JL
131402013-03-24 Juri Linkov <juri@jurta.org>
13141
13142 * replace.el (list-matching-lines-prefix-face): New defcustom.
13143 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13144 `occur-engine' if `face-differs-from-default-p' returns t.
13145 (occur-engine): Add `,' inside backquote construct to evaluate
13146 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13147 Pass `prefix-face' to the functions `occur-context-lines' and
13148 `occur-engine-add-prefix'.
13149 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13150 `prefix-face' and propertize the prefix with `prefix-face'.
13151 (Bug#14017)
13152
7b0e2f85
LL
131532013-03-24 Leo Liu <sdl.web@gmail.com>
13154
13155 * nxml/rng-valid.el (rng-validate-while-idle)
13156 (rng-validate-quick-while-idle): Guard against deleted buffer.
13157 (Bug#13999)
13158
13159 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13160 is the last entry in kill-buffer-hook.
13161
13162 * files.el (kill-buffer-hook): Doc fix.
13163
b3082f49
DG
131642013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13165
b234d92c
SM
13166 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13167 Make it safe-local.
bde73d27 13168
b3082f49
DG
13169 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13170
a320a2db
LL
131712013-03-23 Leo Liu <sdl.web@gmail.com>
13172
7e74b0fb
LL
13173 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13174 Remove.
13175
13176 * nxml/rng-valid.el (rng-validate-mode)
13177 (rng-after-change-function, rng-do-some-validation):
13178 * nxml/rng-maint.el (rng-validate-buffer):
13179 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13180 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13181 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13182 (nxml-extend-after-change-region): Use with-silent-modifications.
13183
a320a2db
LL
13184 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13185 timer-idle-list.
13186
13187 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13188 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13189 timer-idle-list. (Bug#13999)
13190
e38e6780
JL
131912013-03-23 Juri Linkov <juri@jurta.org>
13192
13193 * info.el (info-index-match): New face.
13194 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13195 main pattern and add text properties with the new face to matches
13196 in index entries relative to the beginning of the index entry.
13197 (Bug#14015)
13198
e8cc7880
DE
131992013-03-21 Eric Ludlam <zappo@gnu.org>
13200
39c87140 13201 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
13202 Inhibit read only while inserting objects.
13203
9bb0d822
TZ
132042013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13205
13206 * progmodes/cfengine.el: Update docs to mention
13207 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13208 symbol motion. Remove "_" from the word syntax.
13209
aa703640
TZ
132102013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13211
13212 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13213 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13214
afff09d0
JL
132152013-03-20 Juri Linkov <juri@jurta.org>
13216
13217 * info.el (Info-next-reference-or-link)
13218 (Info-prev-reference-or-link): New functions.
13219 (Info-next-reference, Info-prev-reference): Use them.
13220 (Info-try-follow-nearest-node): Handle footnote navigation.
13221 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13222
9a1ff164
SM
132232013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13224
13225 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13226 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13227
2667d15d
PE
132282013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13229
13230 Suppress unnecessary non-ASCII chatter during build process.
13231 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13232 (batch-skkdic-convert): Suppress most of the chatter.
13233 It's not needed so much now that machines are faster,
13234 and its non-ASCII component was confusing; see Dmitry Gutov in
13235 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13236
438b0579
LL
132372013-03-20 Leo Liu <sdl.web@gmail.com>
13238
13239 * ido.el (ido-chop): Fix bug#10994.
13240
c128ab07
DG
132412013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13242
13243 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13244 Remove vars.
9a1ff164
SM
13245 (whitespace-color-on, whitespace-color-off):
13246 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 13247
0e6008c5
SM
132482013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13249
13250 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13251 remapping in mode-line.
13252 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13253
627b52b0
DG
132542013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13255
13256 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13257 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
13258 (whitespace-font-lock-keywords): Change description.
13259 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13260 the constructed keywords instead.
13261 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 13262
50c3a20b
LL
132632013-03-19 Leo Liu <sdl.web@gmail.com>
13264
13265 * progmodes/compile.el (compilation-display-error): New command.
13266 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13267 C-o. (Bug#13992)
13268
2aa2157b
PE
132692013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13270
13271 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13272
e477dbfa
JD
132732013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13274
13275 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13276
64ab82d1
MA
132772013-03-18 Michael Albinus <michael.albinus@gmx.de>
13278
13279 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13280
13281 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13282 * net/tramp-gvfs.el (top):
13283 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13284 (tramp-handle-shell-command): Use it.
13285 (tramp-dissect-file-name): Raise an error when hostname is a
13286 method name, and neither method nor user is specified.
13287
13288 * net/trampver.el: Update release number.
13289
33cef733
LL
132902013-03-18 Leo Liu <sdl.web@gmail.com>
13291
13292 Make sure eldoc can be turned off properly.
13293 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13294 eldoc-mode.
13295 (eldoc-display-message-p): Revert last change.
13296 (eldoc-display-message-no-interference-p)
13297 (eldoc-print-current-symbol-info): Tweak.
13298
2167b7b2
TH
132992013-03-18 Tassilo Horn <tsdh@gnu.org>
13300
13301 * doc-view.el (doc-view-new-window-function): Check the new window
13302 overlay's display property instead the char property of the
13303 buffer's first char. Use `with-selected-window' instead of
13304 `save-window-excursion' with `select-window'.
13305 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 13306 display property instead the char property of the buffer's first char.
2167b7b2 13307
982efbcd
PE
133082013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13309
13310 Automate the build of ja-dic.el (Bug#13984).
13311 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13312 from the input, rather than assume that it's been done for us by the
13313 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13314 the current date into a ja-dic.el comment, as that complicates
13315 regression testing.
13316
2fcc7665
SM
133172013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13318
13319 * whitespace.el: Fix double evaluation.
13320 (whitespace-space, whitespace-hspace, whitespace-tab)
13321 (whitespace-newline, whitespace-trailing, whitespace-line)
13322 (whitespace-space-before-tab, whitespace-indentation)
13323 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13324 obsolete defvars.
13325 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13326 (whitespace-color-on): Use a single font-lock-add-keywords call.
13327 Fix double-evaluation of face variables.
13328
67c0a6e6
MA
133292013-03-17 Michael Albinus <michael.albinus@gmx.de>
13330
2fcc7665
SM
13331 * net/tramp-adb.el (tramp-adb-parse-device-names):
13332 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 13333 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 13334
69489f1d
LL
133352013-03-17 Leo Liu <sdl.web@gmail.com>
13336
13337 Extend eldoc to display info in the mode-line. (Bug#13978)
13338 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13339 (eldoc-mode-line-string): New variable.
13340 (eldoc-minibuffer-message): New function.
13341 (eldoc-message-function): New variable.
13342 (eldoc-message): Use it.
13343 (eldoc-display-message-p)
2fcc7665
SM
13344 (eldoc-display-message-no-interference-p):
13345 Support eldoc-post-insert-mode.
69489f1d
LL
13346
13347 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13348 (eval-expression): Run it.
13349
9c44569e
RW
133502013-03-17 Roland Winkler <winkler@gnu.org>
13351
13352 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13353 strings in the list of return values.
13354
327f1f6f
JB
133552013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13356
13357 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13358 radix before checking for HMS forms.
13359
67ed8fcd
LL
133602013-03-16 Leo Liu <sdl.web@gmail.com>
13361
13362 * progmodes/scheme.el: Add indentation and font-locking for λ.
13363 (Bug#13975)
13364
78be8b64 133652013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
13366
13367 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13368 token before point (bug#13942).
13369
78be8b64 133702013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 13371
95b43468 13372 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 13373
98e775e6
EZ
133742013-03-16 Eli Zaretskii <eliz@gnu.org>
13375
13376 * startup.el (command-line-normalize-file-name): Fix handling of
13377 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13378 <xfq.free@gmail.com> in
13379 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13380
2edd6029
MA
133812013-03-15 Michael Albinus <michael.albinus@gmx.de>
13382
13383 Sync with Tramp 2.2.7.
13384
13385 * net/trampver.el: Update release number.
13386
d35f5864
TH
133872013-03-14 Tassilo Horn <tsdh@gnu.org>
13388
e903c210 13389 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
13390 (doc-view-insert-image): Don't modify overlay associated to
13391 non-live windows, and implement horizontal centering of image in
13392 case it's smaller than the window.
13393 (doc-view-new-window-function): Force redisplay of new windows on
13394 doc-view buffers.
d35f5864 13395
1c4a85ed
KF
133962013-03-13 Karl Fogel <kfogel@red-bean.com>
13397
13398 * saveplace.el (save-place-alist-to-file): Don't sort
13399 `save-place-alist', just pretty-print it (bug#13882).
13400
85b66a21
MA
134012013-03-13 Michael Albinus <michael.albinus@gmx.de>
13402
a020afb9
JB
13403 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13404 Check whether `default-file-name-coding-system' is bound.
13405 It isn't in XEmacs.
85b66a21 13406
175600da
SM
134072013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13408
e7f7cb1a
SM
13409 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13410 backquotes for `obsolete' (bug#13929).
13411
175600da
SM
13412 * international/mule.el (find-auto-coding): Include file name in
13413 obsolescence warning (bug#13922).
13414
ca68a22e
TZ
134152013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13416
13417 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13418 for CFEngine 3-specific indentation.
13419 (cfengine3-indent-line): Use it. Fix up category regex.
13420 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13421
940e5099
SM
134222013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13423
13424 * type-break.el (type-break-file-name):
13425 * textmodes/remember.el (remember-data-file):
13426 * strokes.el (strokes-file):
13427 * shadowfile.el (shadow-initialize):
13428 * saveplace.el (save-place-file):
13429 * ps-bdf.el (bdf-cache-file):
13430 * progmodes/idlwave.el (idlwave-config-directory):
13431 * net/quickurl.el (quickurl-url-file):
13432 * international/kkc.el (kkc-init-file-name):
13433 * ido.el (ido-save-directory-list-file):
13434 * emulation/viper.el (viper-custom-file-name):
13435 * emulation/vip.el (vip-startup-file):
13436 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13437 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13438
cc725808
PE
134392013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13440
13441 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13442 * language/thai-word.el: Switch to UTF-8.
13443
a020afb9 13444See ChangeLog.16 for earlier changes.
e3d51b27
MR
13445
13446;; Local Variables:
13447;; coding: utf-8
e3d51b27
MR
13448;; End:
13449
ba318903 13450 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
13451
13452 This file is part of GNU Emacs.
13453
13454 GNU Emacs is free software: you can redistribute it and/or modify
13455 it under the terms of the GNU General Public License as published by
13456 the Free Software Foundation, either version 3 of the License, or
13457 (at your option) any later version.
13458
13459 GNU Emacs is distributed in the hope that it will be useful,
13460 but WITHOUT ANY WARRANTY; without even the implied warranty of
13461 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13462 GNU General Public License for more details.
13463
13464 You should have received a copy of the GNU General Public License
13465 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.