Fix cl-loop destructuring under `with' clause
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2fa1b97d
DC
12014-04-21 Daniel Colascione <dancol@dancol.org>
2
3 * emacs-lisp/cl-macs.el:
4 (cl--loop-let): Properly destructure `while' clauses.
5
e8a77f24
DC
62014-04-20 Daniel Colascione <dancol@dancol.org>
7
8 * vc/vc.el (vc-root-dir): New public autoloaded function for
9 generically finding the current VC root.
10 * vc/vc-hooks.el (vc-not-supported): New error.
11 (vc-call-backend): Signal `vc-not-supported' instead of generic
12 error.
13
89a2e783
DC
142014-04-20 Daniel Colascione <dancol@dancol.org>
15
16 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
17 argument.
18 (cl--const-expr-val): cl--const-expr-val should macroexpand its
19 argument in case we're inside a symbol-macrolet.
20 (cl--do-arglist, cl--compiler-macro-typep)
21 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
22 environment to `cl--const-expr-val'.
23 (cl-struct-sequence-type,cl-struct-slot-info)
24 (cl-struct-slot-offset, cl-struct-slot-value)
25 (cl-struct-set-slot-value): New functions.
26
fe36068f
SM
272014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
30 assignments such as "case=hello" (bug#17297).
31
ce8c5107
MA
322014-04-18 Michael Albinus <michael.albinus@gmx.de>
33
34 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
35 Do not autoload.
36 (tramp-file-name-handler, tramp-completion-file-name-handler):
37 Revert patch from 2014-04-10, it isn't necessary anymore.
38 (tramp-autoload-file-name-handler)
39 (tramp-register-autoload-file-name-handlers): New defuns.
40 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
41 (tramp-register-file-name-handlers): Remove also
42 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
43 Do not autoload its invocation, but eval it after loading of 'tramp.
44
45 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
46
47 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
48
bfc30790
DC
492014-04-17 Daniel Colascione <dancol@dancol.org>
50
51 Add support for bracketed paste mode; add infrastructure for
52 managing terminal mode enabling and disabling automatically.
53
54 * xt-mouse.el:
55 (xterm-mouse-mode): Simplify.
56 (xterm-mouse-tracking-enable-sequence)
57 (xterm-mouse-tracking-disable-sequence): New constants.
58 (turn-on-xterm-mouse-tracking-on-terminal)
59 (turn-off-xterm-mouse-tracking-on-terminal): Use
60 tty-mode-set-strings and tty-mode-reset-strings terminal
61 parameters instead of random hooks.
62 (turn-on-xterm-mouse-tracking)
63 (turn-off-xterm-mouse-tracking): Delete.
64
65 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
66 (xterm-paste-ending-sequence): New constant.
67 (xterm-paste): New command used for bracketed paste support.
68
69 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
70 (terminal-init-xterm-bracketed-paste-mode): New function.
71 (terminal-init-xterm): Call it.
72 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
73 and tty-mode-reset-strings instead of random hooks.
74 (xterm-turn-on-modify-other-keys)
75 (xterm-turn-off-modify-other-keys)
76 (xterm-remove-modify-other-keys): Delete obsolete functions.
77
78 * term/screen.el: Rewrite to just use the xterm code. Add
79 copyright notice. Mention tmux.
80
e51c8d91
I
812014-04-17 Ian D <dunni@gnu.org> (tiny change)
82
83 * image-mode.el (image-mode-window-put): Also update the property of
84 the "default window".
85 * doc-view.el (doc-view-new-window-function): If no window
86 exists, move to the last known page.
87
c76a7a5c
SM
882014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
91 here-documents (bug#17262).
92
bf6b4923
EZ
932014-04-16 Eli Zaretskii <eliz@gnu.org>
94
c76a7a5c
SM
95 * term/pc-win.el (x-list-fonts, x-get-selection-value):
96 Provide doc strings, as required by snarf-documentation.
bf6b4923 97
290d7ac2 982014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
20fa59a0
SM
99
100 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
101 arg of overlays-at. Use `invisible-p'.
102
103 * obsolete/lucid.el (extent-at):
104 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
105 overlays-at.
106 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
107
290d7ac2 1082014-04-16 João Távora <joaotavora@gmail.com>
f596f897
JT
109
110 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
111 links. (Bug#17217).
112
290d7ac2 1132014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
a73b9dda
YM
114
115 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
116 Use mapc to loop over a vector. (Bug#17257).
117
290d7ac2 1182014-04-16 Michael Albinus <michael.albinus@gmx.de>
f2d164a4
MA
119
120 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
121 patch, there are new problems with file names containing spaces.
122 Get rid of backticks. (Bug#17238)
123
290d7ac2 1242014-04-16 João Távora <joaotavora@gmail.com>
498d3768
JT
125
126 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
127 possible bug.
128
290d7ac2 1292014-04-16 Eli Zaretskii <eliz@gnu.org>
83451189
EZ
130
131 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
132 (blink-cursor-mode): Mention customization variables and the
133 effect of 'blink-cursor-blinks'.
134
290d7ac2 1352014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
175a3a51
BR
136
137 * simple.el (undo): Prevent insertion of identity mapping into
138 undo-equiv-table so as undo-only does not inf loop in the presence
139 of consecutive nils in undo list.
140
290d7ac2 1412014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
5f91455c
MD
142
143 * faces.el (make-face): Deprecate optional argument as it is no
144 longer needed/used since the conditional X resources handling
145 has been pushed down to make-face-x-resource-internal itself.
146 (make-empty-face): Don't pass optional argument to make-face.
147
5f6b4154
KF
1482014-04-16 Karl Fogel <kfogel@red-bean.com>
149
150 * savehist.el (savehist-save): Remove workaround for a read-passwd
151 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
152 noticing that the shim was still present.
153
005551fe
SM
1542014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
157
b92583c4
JB
1582014-04-14 Juanma Barranquero <lekktu@gmail.com>
159
160 * faces.el (face-set-after-frame-default): Remove unused local variable.
161
6c2453e0
SM
1622014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
163
f7993853
SM
164 * progmodes/grep.el: Use lexical-binding.
165 (grep-expand-template): Pass explicit lexical env to `eval'.
166 (zrgrep): Let-bind grep-find-template explicitly.
167
6c2453e0
SM
168 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
169 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
170
ac387dd1
EZ
1712014-04-12 Eli Zaretskii <eliz@gnu.org>
172
173 * international/characters.el <standard-case-table>: Add entries
174 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
204db02a 175 Set category of Coptic characters be 'g' (Greek).
ac387dd1 176
2e611da6
LL
1772014-04-12 Leo Liu <sdl.web@gmail.com>
178
e0af4095
GM
179 * progmodes/octave.el (completion-table-with-cache):
180 Define if not available.
181 (octave-goto-function-definition, octave-sync-function-file-names)
182 (octave-find-definition-default-filename):
183 Backquote upattern for compatibility.
2e611da6 184
e0af4095 1852014-04-12 Michael Albinus <michael.albinus@gmx.de>
f628e17c
MA
186
187 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
188 name twice due to backticks. (Bug#17238)
189
e0af4095 1902014-04-12 Glenn Morris <rgm@gnu.org>
fd492166
GM
191
192 * term/w32-win.el (x-win-suspend-error):
193 * term/x-win.el (x-win-suspend-error): Sync docs.
194
7f0f4c25
MD
1952014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
196
f7993853
SM
197 * faces.el (make-face): Remove deprecated optional argument.
198 The conditional application of X resources is handled directly by
7f0f4c25
MD
199 make-face-x-resource-internal since Emacs 24.4.
200 (make-empty-face): Don't pass optional argument to make-face.
201
e088b01d
GM
2022014-04-11 Glenn Morris <rgm@gnu.org>
203
204 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
205
536aa466 2062014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
e46561a2
SM
207
208 Ediff's overlay priorities cause more trouble than they solve.
209 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
210 (ediff-highest-priority): Remove function (bug#17234).
211 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
212 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
213 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
214 overlay priorities.
215
536aa466 2162014-04-11 Feng Li <fengli@gmail.com> (tiny change)
39764caa
FL
217
218 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
219 entry; use symbol boundaries to avoid mis-matches.
220
536aa466 2212014-04-11 Michael Albinus <michael.albinus@gmx.de>
bcbb83a9
MA
222
223 * net/tramp.el (tramp-file-name-handler)
224 (tramp-completion-file-name-handler): Avoid recursive loading.
225
226 * net/tramp-sh.el (tramp-make-copy-program-file-name):
227 Quote result also locally.
228
0d6a1375
SM
2292014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
230
c99ce7d8
SM
231 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
232 Remove left-over code.
233
0d6a1375
SM
234 * newcomment.el (comment-indent-new-line): Sink code where it's used.
235 Reuse the previous comment's indentation unconditionally if it's on its
236 own line.
237
3f63a9f7
DC
2382014-04-09 Daniel Colascione <dancol@dancol.org>
239
240 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
241 `no-syntax-crossing' arguments. Forward to `up-list'.
242 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
243 Implement logic for escaping from strings. Use narrowing to deal
244 with corner cases.
245
0b816f15
LL
2462014-04-09 Leo Liu <sdl.web@gmail.com>
247
248 * net/rcirc.el (rcirc-connection-info): New variable.
249 (rcirc-connect): Use it to store connection info.
250 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
251 for killed process.
252 (rcirc-cmd-reconnect): New command. (Bug#17045)
253 (rcirc-mode, set-rcirc-encode-coding-system)
254 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
255
22683580
DC
2562014-04-09 Daniel Colascione <dancol@dancol.org>
257
258 * emacs-lisp/cl-indent.el: Add comment claiming
259 facility is also good for elisp.
260 (lisp-indent-find-method): New function.
261 (common-lisp-indent-function): Recognize cl-loop.
262 (common-lisp-indent-function-1): Recognize cl constructs; use
263 `lisp-indent-find-method' instead of `get' directly.
264 (if): Use else-body style for elisp.
265
0122b24d
DG
2662014-04-09 Dmitry Gutov <dgutov@yandex.ru>
267
268 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
269 Module methods. (Bug#17216)
270
559836fb 2712014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5b9925ae
SM
272
273 * help.el (describe-bindings): Fix buffer handling (bug#17210).
274 (describe-bindings-internal): Mark obsolete.
275
6bc76cee
SM
2762014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
279 buffer-file-name, and buffer-file-truename any more.
280
dc0b0454
LL
2812014-04-08 Leo Liu <sdl.web@gmail.com>
282
283 Use lexical-binding and require cl-lib.
284 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
285 (rcirc-handler-generic, rcirc-fill-paragraph)
286 (rcirc-format-response-string, rcirc-target-buffer)
287 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
288 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
289 (rcirc-ctcp-sender-PING, rcirc-browse-url)
290 (rcirc-markup-timestamp, rcirc-markup-attributes)
291 (rcirc-markup-my-nick, rcirc-markup-urls)
292 (rcirc-markup-bright-nicks, rcirc-markup-fill)
293 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
294 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
295 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
296 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
297 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
298 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
299 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
300 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
301 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
302 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
303 use cl-lib.
304
190f899a
JT
3052014-04-07 João Távora <joaotavora@gmail.com>
306
6f287c89
GM
307 * elec-pair.el (electric-pair--syntax-ppss):
308 When inside comments parse from comment beginning.
190f899a
JT
309 (electric-pair--balance-info): Fix typo in comment.
310 (electric-pair--in-unterminated-string-p): Delete.
311 (electric-pair--unbalanced-strings-p): New function.
312 (electric-pair-string-bound-function): New var.
313 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
314 according to `electric-pair--in-unterminated-string-p'
315
6f287c89
GM
316 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
317 Inhibit quote pairing if point-max is inside an unterminated string.
318 (electric-pair--looking-at-unterminated-string-p): Delete.
528c33b5
JT
319 (electric-pair--in-unterminated-string-p): New function.
320
a9c921e6
GM
3212014-04-07 Glenn Morris <rgm@gnu.org>
322
323 * shell.el (shell-directory-tracker):
324 Go back to just ignoring failures. (Bug#17159)
325
6f287c89 3262014-04-07 João Távora <joaotavora@gmail.com>
be411138
JT
327
328 Fix `electric-pair-delete-adjacent-pairs' in modes binding
329 backspace. (bug#16981)
330 * elec-pair.el (electric-pair-backward-delete-char): Delete.
331 (electric-pair-backward-delete-char-untabify): Delete.
332 (electric-pair-mode-map): Bind backspace to a menu item filtering
333 a new `electric-pair-delete-pair' command.
334 (electric-pair-delete-pair): New command.
335
6f287c89
GM
336 * progmodes/python.el (python-electric-pair-string-delimiter):
337 Fix triple-quoting electricity. (Bug#17192)
89f20f76 338
6f287c89
GM
339 * elec-pair.el (electric-pair-post-self-insert-function):
340 Don't skip whitespace when `electric-pair-text-pairs' and
89f20f76 341 `electric-pair-pairs' were used. syntax to
7aecc2f6 342 electric-pair--skip-whitespace. (Bug#17183)
89f20f76 343
6f287c89 3442014-04-07 Eli Zaretskii <eliz@gnu.org>
c8e7f832
EZ
345
346 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
347 "<F>". (Bug#17199)
348
6f287c89 3492014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
0beb7fb7
SM
350
351 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
352 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
353
6f287c89 3542014-04-07 Glenn Morris <rgm@gnu.org>
50ea0f87
GM
355
356 * help.el (view-lossage): Doc tweak.
357
6f287c89 3582014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
eb7a03cc
MD
359
360 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
361 only when inhibit-x-resources is nil, and do that earlier in the
362 function. Doc fix. (Bug#16694)
fdafd487
MD
363 (face-spec-choose): Accept additional optional argument, whose
364 value is returned if no matching attributes are found.
365 (face-spec-recalc): Use the new optional argument when calling
366 face-spec-choose. (Bug#16378)
f5e4494c
MD
367 (make-face-x-resource-internal): Do nothing when
368 inhibit-x-resources is non-nil. Don't touch the default face if
0beb7fb7 369 reversed video is given--as was done in previous versions of Emacs.
f5e4494c
MD
370 (face-set-after-frame-default): Don't call
371 make-face-x-resource-internal here. (Bug#16434)
eb7a03cc 372
6f287c89 3732014-04-07 Tassilo Horn <tsdh@gnu.org>
3ccd4eaf 374
0beb7fb7
SM
375 * doc-view.el (doc-view-bookmark-jump):
376 Use `bookmark-after-jump-hook' to jump to the right page after the
3ccd4eaf
TH
377 buffer is shown in a window. (bug#16090)
378
6f287c89 3792014-04-07 Eli Zaretskii <eliz@gnu.org>
b7cf27ed
EZ
380
381 * international/characters.el (mirroring): Fix last change:
382 instead of loading uni-mirrored.el explicitly, do that implicitly
383 by creating the 'mirroring' uniprop table. This avoids announcing
384 the loading of uni-mirrored.el.
385
6f287c89 3862014-04-07 Glenn Morris <rgm@gnu.org>
8a1d24b1
GM
387
388 * files.el (buffer-stale--default-function)
389 (buffer-stale-function, revert-buffer--default):
390 * autorevert.el (auto-revert-buffers): Doc tweaks.
391
6f287c89 3922014-04-07 Eli Zaretskii <eliz@gnu.org>
bbab1c4f
EZ
393
394 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
395
6f287c89 3962014-04-07 Glenn Morris <rgm@gnu.org>
d738ebdc
GM
397
398 * files.el (make-backup-file-name-function)
399 (make-backup-file-name, make-backup-file-name--default-function)
400 (make-backup-file-name-1, find-backup-file-name)
401 (revert-buffer-function, revert-buffer-insert-file-contents-function)
402 (buffer-stale--default-function, buffer-stale-function)
403 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
404 (revert-buffer, revert-buffer--default)
405 (revert-buffer-insert-file-contents--default-function):
406 Doc fixes related to defaults no longer being nil.
407 (make-backup-file-name-function): Bump :version.
408 Restore nil as a valid but deprecated custom type.
409
6f287c89 4102014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
062e286b 411
6f287c89
GM
412 * progmodes/perl-mode.el (perl-syntax-propertize-function):
413 Handle $' used as a variable (bug#17174).
66f50b12
SM
414
415 * progmodes/perl-mode.el (perl-indent-new-calculate):
416 Handle forward-sexp failure (bug#16985).
8a7fd442
SM
417 (perl-syntax-propertize-function): Add "foreach" and "for" statement
418 modifiers introducing expressions (bug#17116).
66f50b12 419
7b656e4a
SM
4202014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
423
722237d5
LL
4242014-04-05 Leo Liu <sdl.web@gmail.com>
425
7b656e4a
SM
426 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
427 Add define-compilation-mode.
722237d5 428
5cb0cc90
JT
4292014-04-04 João Távora <joaotavora@gmail.com>
430
9b017563
JB
431 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
432 parse from comment beginning.
5cb0cc90
JT
433 (electric-pair--balance-info): Fix typo in comment.
434 (electric-pair--in-unterminated-string-p): Delete.
435 (electric-pair--unbalanced-strings-p): New function.
436 (electric-pair-string-bound-function): New var.
437 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
9b017563 438 according to `electric-pair--in-unterminated-string-p'.
5cb0cc90 439
6b31e6b1
SM
4402014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
441
442 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
443 Move declaration before first use.
444 (reftex-move-to-next-arg): Silence compiler warning.
445
0de7d982
JK
4462014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
447
6b31e6b1
SM
448 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
449 Use `window-total-width' instead of `window-width'.
0de7d982 450
01ae0fbf
DC
4512014-04-03 Daniel Colascione <dancol@dancol.org>
452
453 * subr.el (set-transient-map): Remove rms's workaround entirely;
454 use new `suspicious-object' subr to mark our lambda for closer
455 scrutiny during gc.
456
4fd68bf6
RS
4572014-04-02 Richard Stallman <rms@gnu.org>
458
459 * subr.el (set-transient-map): Comment out previous change.
460
c7510f6e
GM
4612014-04-02 Glenn Morris <rgm@gnu.org>
462
0b908bf2
GM
463 * menu-bar.el (menu-bar-file-menu):
464 * vc/ediff.el (ediff-current-file):
465 Update for revert-buffer-function no longer being nil by default.
466
c7510f6e
GM
467 * simple.el (command-execute): Respect nil disabled-command-function.
468
09aba815 4692014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
470
471 * simple.el (command-execute): Do not execute the command when it
472 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
473
09aba815 4742014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
475
476 * dired-aux.el (dired-compress-file): Don't use string-match-p
477 because its match data is used afterwards.
478
09aba815 4792014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
480
481 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
482 0 like nil.
483
200c532b
JT
4842014-04-02 João Távora <joaotavora@gmail.com>
485
6b31e6b1
SM
486 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
487 Inhibit quote pairing if point-max is inside an unterminated string.
200c532b
JT
488 (electric-pair--looking-at-unterminated-string-p):
489 Delete.
490 (electric-pair--in-unterminated-string-p): New function.
491
2395f2b9
DC
4922014-04-01 Daniel Colascione <dancol@dancol.org>
493
494 * minibuffer.el (minibuffer-complete): Prevent assertion failure
495 when trying to complete the prompt.
496
294b2b09
LL
4972014-03-31 Leo Liu <sdl.web@gmail.com>
498
6b31e6b1
SM
499 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
500 Refactor out eldoc-documentation-function-default.
294b2b09
LL
501 (eldoc-documentation-function-default): New function.
502 (eldoc-documentation-function): Change value.
503
4f3a895b
GM
5042014-03-31 Glenn Morris <rgm@gnu.org>
505
506 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
507
1db854cc
GM
508 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
509 (vhdl-compose-components-package, vhdl-compose-configuration):
510 Abbreviate default-directory (missing from some previous upstream sync).
511
3c2d4776
RZ
5122014-03-31 Reto Zimmermann <reto@gnu.org>
513
514 Sync with upstream vhdl mode v3.35.2.
515 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
516 (top-level): No longer require assoc.
517 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
518 New functions. Use throughout to replace aget etc.
519 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
520 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
521 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
522 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
523 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
524 except `vhdl-compiler'.
525 (vhdl-error-regexp-add-emacs): Remove all other compilers,
526 when appropriate.
527
5c30ab7a
GM
5282014-03-31 Glenn Morris <rgm@gnu.org>
529
530 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
531 Revert 2014-03-26 merge goof; go back to using defalias.
532
1861d5a7
DC
5332014-03-30 Daniel Colascione <dancol@dancol.org>
534
6b31e6b1
SM
535 * comint.el (comint-send-input):
536 Deactivate completion-in-region-mode before we send comint input.
1861d5a7
DC
537 (Bug#17139).
538
539 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
540 on keyboard-quit.
541
41116c5a
GM
5422014-03-29 Glenn Morris <rgm@gnu.org>
543
544 * textmodes/reftex.el: Manage most autoloads automatically.
545 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
546 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
547 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
548 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
549 * textmodes/reftex-toc.el: Set generated-autoload-file,
550 and add autoload cookies for reftex.el.
551 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
552
c3153003
GM
5532014-03-28 Glenn Morris <rgm@gnu.org>
554
7b207d6d
GM
555 * cus-start.el (report-emacs-bug-address): Set custom properties.
556 * mail/emacsbug.el (report-emacs-bug-address):
557 Variable is now defined in emacs.c.
558
c3153003
GM
559 * mail/emacsbug.el (report-emacs-bug):
560 Include system-configuration-features.
561
687e0e19
MN
5622014-03-28 Michal Nazarewicz <mina86@mina86.com>
563
564 * simple.el (cycle-spacing): Never delete spaces on first run by
565 default, but do so in a new 'fast mode and if there are already
4f3a895b 566 N spaces (the previous behavior).
687e0e19
MN
567 Compare N with its value in previous invocation so that changing
568 prefix argument restarts `cycle-spacing' sequence.
687e0e19 569 The idea is that with this change, binding M-SPC to
4f3a895b 570 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
571 the binding so long as users do not type M-SPC twice in a raw with
572 the same prefix argument or lack thereof.
573
95de732d
GM
5742014-03-28 Glenn Morris <rgm@gnu.org>
575
576 * faces.el (term-file-aliases): New variable.
577 (tty-run-terminal-initialization): Respect term-file-aliases.
578 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
579 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
580 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
581
6730259f
GM
5822014-03-27 Glenn Morris <rgm@gnu.org>
583
862a4e4a
GM
584 * startup.el (inhibit-startup-hooks): Doc tweak.
585 (normal-top-level): Simplify running of hooks.
586 For window-setup-hook, respect inhibit-startup-hooks.
587 (command-line-1): Don't set window-setup-hook to nil.
588
6730259f
GM
589 Allow selective autoloading from obsolete/ directory.
590 * Makefile.in (obsolete-autoloads): New rule.
591 (autoloads): Run obsolete-autoloads.
592 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
593 * simple.el (iswitchb-mode): Remove hand-written autoloads.
594
42ebc34e
DG
5952014-03-27 Dmitry Gutov <dgutov@yandex.ru>
596
929c0500
SM
597 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
598 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 599
42ebc34e
DG
600 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
601 Don't propertize `?' or `!' as symbol constituent when after
602 colon. (Bug#17097)
603
b1c870c9
JB
6042014-03-27 Juanma Barranquero <lekktu@gmail.com>
605
857ba6ec
JB
606 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
607 which is no longer needed and causes trouble in GTK builds (bug#17046).
608
b1c870c9
JB
609 * emacs-lisp/package-x.el (package--archive-contents-from-url):
610 Use url-insert-file-contents; package-handle-response no longer exists.
611
8ab9876a
DC
6122014-03-26 Daniel Colascione <dancol@dancol.org>
613
614 * simple.el (process-menu-mode-map): New variable.
615 (process-menu-delete-process): New command.
616
196716cf
JB
6172014-03-26 Juanma Barranquero <lekktu@gmail.com>
618
619 * emacs-lisp/package.el: Fix bug#16733 (again).
620 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
621 (url-http-target-url): Remove unused declarations.
622 (package-handle-response): Remove.
623 (package--with-work-buffer): Use url-insert-file-contents and simplify.
624 (package--download-one-archive): Use current-buffer instead of
625 dynamic binding of `buffer'.
626 (describe-package-1): Do not decode readme-string.
627
16adf2e6 6282014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
629
630 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
631
632 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
633 from 2014-03-07, it decreases performance unnecessarily. Let-bind
634 `remote-file-name-inhibit-cache' to nil in the second pass.
635 (tramp-find-executable): Do not call "which" on SunOS.
636 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
637 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
638 check whether source directory has set the sticky bit.
1f73d6c6 639
16adf2e6 6402014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
641
642 * simple.el (primitive-undo): Only process marker adjustments
643 validated against their corresponding (TEXT . POS). Issue warning
644 for lone marker adjustments in undo history. (Bug#16818)
645 (undo-make-selective-list): Add marker adjustments to selective
646 undo list based on whether their corresponding (TEXT . POS) is in
647 the region. Remove variable adjusted-markers, which was unused
648 and only non nil during undo-make-selective-list.
649 (undo-elt-in-region): Return nil when passed a marker adjustment
650 and explain in function doc.
651
16adf2e6 6522014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
653
654 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
655
16adf2e6 6562014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
657
658 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
659 Match special global variables without curlies, too.
660 (ruby-font-lock-keywords): Simplify the matcher for special global
661 variables. Don't require a non-word character after the variable.
662 (Bug#17057)
663
16adf2e6 6642014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
665
666 * simple.el (redisplay-highlight-region-function): Increase priority of
667 overlay to make sure boundaries are visible (bug#15899).
668
16adf2e6 6692014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 670
16adf2e6
JB
671 * frameset.el (frameset--initial-params): Fix typo in parameter name.
672 (frameset-restore): Compare display strings with equal.
ee79b33f 673
3ea2c781
JB
674 * frame.el (make-frame): Don't quote display name in error message,
675 it is already a string.
676
16adf2e6 6772014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
678
679 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
680 the password.
681
16adf2e6 6822014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 683
16adf2e6
JB
684 * emacs-lisp/package.el (package--add-to-archive-contents):
685 Include already installed and built-in packages in
686 `package-archive-contents'.
687 (package-install): Don't include already installed packages in the
688 options during interactive invocation. (Bug#16762)
689 (package-show-package-list): If the buffer is already displayed in
690 another window, switch to that window.
691
fb3deac8
RZ
6922014-03-26 Reto Zimmermann <reto@gnu.org>
693
694 Sync with upstream vhdl mode v3.35.1.
695 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
696 (vhdl-compiler-alist): Doc fix.
697 (vhdl-goto-line): Remove.
698 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
699 (vhdl-mode) <paragraph-start>: Fix value.
700 (vhdl-fix-statement-region): Not `for' in wait-statement.
701 (vhdl-beautify-region): Also (un)tabify.
702 (vhdl-get-visible-signals):
703 Scan declarative part of generate statements.
704 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
705 (vhdl-expand-abbrev, vhdl-expand-paren):
706 Revert to using fset again rather than defalias.
fb3deac8
RZ
707 (vhdl-scan-directory-contents): Tweak.
708 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
709 (vhdl-compose-components-package):
710 Replace vhdl-goto-line with forward-line.
711 (top-level): Tweak speedbar frame selection.
712 (vhdl-generate-makefile-1): Support for compilers with no
713 unit-to-file name mapping (create directory with dummy files).
714
511df08c
WS
7152014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
716
717 Sync with upstream verilog-mode revision 702457d.
718 * progmodes/verilog-mode.el (verilog-mode-version): Update.
719 (create-lockfiles): Declare.
720 (verilog-read-decls): Fix module header imports, bug709.
721 Reported by Victor Lau.
722 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
723 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
9b017563 724 interface-only modules, bug721. Reported by Dean Hoyt.
511df08c 725
11ee65af
GM
7262014-03-26 Glenn Morris <rgm@gnu.org>
727
b4aca021
GM
728 * obsolete/gulp.el: Move here from emacs-lisp/.
729
11ee65af
GM
730 * files.el (lock-buffer, unlock-buffer, file-locked-p):
731 Remove fallback aliases, since they are always defined now.
732
1edb4a2e
DC
7332014-03-24 Daniel Colascione <dancol@dancol.org>
734
735 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
736 instead of cl-loop search function.
737
7a31038f
G
7382014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
739
740 * calendar/parse-time.el (parse-time-iso8601-regexp)
741 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
742 it more generally.
743
7442014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
745
746 * net/dns.el (network-interface-list): Define for XEmacs.
747
7482014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
749
750 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
751 the network interfaces changed.
752 (dns-query): Use it to flush the data.
753
835af719
JB
7542014-03-23 Juanma Barranquero <lekktu@gmail.com>
755
756 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
757
6ddc4422
DC
7582014-03-23 Daniel Colascione <dancol@dancol.org>
759
760 Change subword-mode to use `find-word-boundary-function-table' and
761 replace `capitalized-words-mode'. Also, convert to lexical
762 binding.
763
764 * progmodes/cap-words.el: Delete now-obsolete file.
765 * progmodes/subword.el: Reimplement using
766 `find-word-boundary-function-table'.
767 (subword-mode-map): Hollow out.
768 (capitalized-words-mode): Define as obsolete alias for
769 `subword-mode'.
9b017563 770 (subword-mode, superword-mode): Tweak documentation to reflect new
6ddc4422 771 implementation; call `subword-setup-buffer'.
9b017563 772 (subword-forward, subword-capitalize): Add underscore to indicate
6ddc4422
DC
773 unused variable.
774 (subword-find-word-boundary-function-table): New constant.
775 (subword-empty-char-table): New constant.
776 (subword-setup-buffer): New function.
777 (subword-find-word-boundary): New function.
778
c6b0fbe7
DC
7792014-03-23 Daniel Colascione <dancol@dancol.org>
780
781 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
782 list to look for keyword arguments instead of `memq', fixing
783 (Bug#3647) --- unfortunately, only for freshly-compiled code.
784 Please make bootstrap.
785
5076d275
GM
7862014-03-22 Glenn Morris <rgm@gnu.org>
787
5dbc3244
GM
788 * dired.el (dired-read-regexp): Make obsolete.
789 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
790 (dired-flag-files-regexp):
791 * dired-aux.el (dired-mark-read-regexp):
792 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
793
00156f95
GM
794 * startup.el (fancy-startup-text):
795 * help.el (describe-gnu-project): Visit online info about GNU project.
796
f9c81e7b
GM
797 * help-fns.el (help-fns--interactive-only): New function.
798 (help-fns-describe-function-functions): Add the above function.
799 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
800 (next-line, previous-line): Remove hand-written interactive-only
801 information from doc strings, it is auto-generated now.
802 * bookmark.el (bookmark-write):
803 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
804 (epa-mail-import-keys): Mark interactive-only,
805 and remove hand-written interactive-only information from doc strings.
806 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
807 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
808 * files.el (not-modified):
809 * simple.el (mark-whole-buffer): Mark interactive-only.
810
5076d275
GM
811 * emacs-lisp/byte-run.el (defun-declarations-alist):
812 Add interactive-only. Doc tweak.
813 (macro-declarations-alist): Doc tweak.
814 * subr.el (declare): Doc tweak (add xref to manual).
815 * comint.el (comint-run):
816 * files.el (insert-file-literally, insert-file):
817 * replace.el (replace-string, replace-regexp):
818 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
819 (delete-forward-char, goto-line, insert-buffer, next-line)
820 (previous-line): Set interactive-only via declare.
821
1197f2e6
DG
8222014-03-22 Dmitry Gutov <dgutov@yandex.ru>
823
824 * emacs-lisp/package.el (package-desc): Use the contents of the
825 quoted form, not its cdr. (Bug#16873)
826
aac06179
JB
8272014-03-22 Juanma Barranquero <lekktu@gmail.com>
828
829 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
830 benefit of doc.c; change parameter profile to match the X function.
831
3e7bc044
LL
8322014-03-22 Leo Liu <sdl.web@gmail.com>
833
834 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
835 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
836
59271b3e
RS
8372014-03-21 Richard Stallman <rms@gnu.org>
838
8266cd88
RS
839 * battery.el (battery-linux-sysfs): Search for each field
840 from the beginning of the buffer.
841
16ec0742
RS
842 * subr.el (set-transient-map): Clear out function and value
843 of the temporary symbol when we're done with it.
844
59271b3e
RS
845 * mail/rmailsum.el (rmail-summary-delete-forward):
846 Optimize case of reaching end and handling count.
847 (rmail-summary-mark-deleted): Optimize when N is current msg.
848 Don't create new summary line.
849 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
850 (rmail-summary-undelete-many): Rewrite for speed.
851 (rmail-summary-msg-number): New function.
852
853 * mail/rmail.el (rmail-delete-message): Update summary.
854 (rmail-undelete-previous-message): Handle repeat count arg.
855 (rmail-delete-backward, rmail-delete-forward): Likewise.
856
0d8ac93e
DC
8572014-03-21 Daniel Colascione <dancol@dancol.org>
858
859 * mail/emacsbug.el (report-emacs-bug): Include memory usage
860 information in bug reports.
861
1e92a8a3
MA
8622014-03-21 Michael Albinus <michael.albinus@gmx.de>
863
864 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
865 and `tramp-copy-env'.
866
867 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
868 (tramp-maybe-open-connection): Handle `tramp-login-env'.
869
78540c42
GM
8702014-03-21 Glenn Morris <rgm@gnu.org>
871
872 * electric.el (electric-indent-post-self-insert-function): Add doc.
873
1fc8f655
DG
8742014-03-21 Dmitry Gutov <dgutov@yandex.ru>
875
dcf78667
DG
876 * emacs-lisp/package.el (package-compute-transaction):
877 Use `version-list-<=' to compare the requirement version against
878 the version of package already to be installed. Update the error
879 message. (Bug#16826)
880
1fc8f655
DG
881 * progmodes/ruby-mode.el (ruby-smie-rules):
882 Add indentation rule for ` @ '. (Bug#17050)
883
dada060d
JB
8842014-03-21 Juanma Barranquero <lekktu@gmail.com>
885
886 * align.el (align-regexp): Remove superfluous backslash.
887
888 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
889 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
890 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
891 Fix docstring typos.
892 (ffap-next): Use C-u in docstring.
893 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
894 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
895 Remove superfluous backslashes.
896 (ffap-string-at-point): Reflow docstring.
897
898 * server.el (server-host): Reflow docstring.
899 (server-unload-function): Fix docstring typo.
900 (server-eval-at): Remove superfluous backslash.
901
902 * skeleton.el (skeleton-insert): Remove superfluous backslash.
903 (skeleton-insert): Doc fix.
904 (skeleton-insert): Reflow docstring.
905
906 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
907 (tty-color-approximate, tty-color-by-index, tty-color-values)
908 (tty-color-desc): Remove superfluous backslashes.
909
f428101f
GM
9102014-03-21 Glenn Morris <rgm@gnu.org>
911
26e91130
GM
912 * cus-start.el (history-length): Bump :version.
913
aa3a7b51
GM
914 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
915 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
916 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
917 Don't set `make-backup-files'.
918
f428101f
GM
919 * info.el (info--prettify-description): New function,
920 to give info-finder descriptions consistent case, punctuation.
921 (Info-finder-find-node): Use it. Sort packages.
922 Refer to "description" rather than "commentary".
923
6ce1b56e
JB
9242014-03-21 Juanma Barranquero <lekktu@gmail.com>
925
926 * frameset.el (frameset--print-register): New function.
927 (frameset-to-register): Use it.
928
b730af26
JB
9292014-03-20 Juanma Barranquero <lekktu@gmail.com>
930
45393801
JB
931 * progmodes/hideif.el (hif-string-to-number): New function.
932 (hif-tokenize): Use it to understand non-decimal floats.
933
814e26fa
JB
934 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
935
b730af26
JB
936 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
937
6f287c89
GM
9382014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
939
940 * electric.el (electric-newline-and-maybe-indent): New command.
941 Bind it globally to C-j.
942 (electric-indent-mode): Don't mess with the global map any more.
943 Don't drop the post-self-insert-hook is some buffer is still using it
944 (bug#16770).
945
946 * bindings.el (global-map): Remove C-j binding.
947
948 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
949 the docstring of functions advised before dumping (bug#16993).
950
f15ec1ba 9512014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
952
953 * ps-print.el (ps-generate-postscript-with-faces):
954 Explicitly deactivate the mark (bug#16866).
955 * simple.el (deactivate-mark): Update region highlight.
956
f88bdc45
JB
9572014-03-19 Juanma Barranquero <lekktu@gmail.com>
958
959 * emacs-lisp/package.el (describe-package-1):
960 Decode commentary (bug#16733).
961
6b88e570
JB
9622014-03-18 Juanma Barranquero <lekktu@gmail.com>
963
964 * custom.el (defcustom): Doc fix: recommend avoiding destructive
965 modification of the value argument of :set (bug#16755).
966
ac9b4703
SM
9672014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * simple.el (newline-and-indent): Do autofill (bug#17031).
970
2b7858ec
DG
9712014-03-18 Dmitry Gutov <dgutov@yandex.ru>
972
973 * newcomment.el (comment-normalize-vars): Only add escaping check
974 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
975 (comment-beginning): Use `narrow-to-region' instead of moving back
976 one character.
977 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
978 (comment-start-skip): Update the docstring.
979
11eff3ae
RS
9802014-03-18 Richard Stallman <rms@gnu.org>
981
982 * dired.el (dired-display-file): Force use of other window.
983
07f44fdb
JB
9842014-03-18 Daniel Colascione <dancol@dancol.org>
985
986 * startup.el (tty-handle-args): Remove debug message from 2007.
987
9882014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
989
990 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
991 (advice--make-interactive-form): Use it to avoid (auto)loading function.
992 (advice--make-1, advice-add, advice-remove):
993 Remove braindead :advice-pending hack.
994
61debe4a
GM
9952014-03-17 Glenn Morris <rgm@gnu.org>
996
997 * calendar/calendar.el (calendar-generate-month): Apply weekend
998 face to the right days; fixes 2013-08-06 change. (Bug#17028)
999
8273986b
MA
10002014-03-17 Michael Albinus <michael.albinus@gmx.de>
1001
1002 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1003 (tramp-call-process): Trace also DESTINATION.
1004
1005 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1006 Quote file names when they are local. Remove superfluous trace.
1007
4f8aeb84
DG
10082014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1009
218feefc
DG
1010 * newcomment.el (comment-beginning): If `comment-start-skip'
1011 doesn't match, move back one char and try again. (Bug#16971)
1012
6c187ef5
SM
1013 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1014 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
1015 Set `comment-start-skip' to a simpler value that doesn't try to
1016 check if the semicolon is escaped (this is handled by
1017 `syntax-ppss' now). (Bug#16971)
1018
1019 * progmodes/scheme.el (scheme-mode-variables): Same.
1020
b92631bf
MR
10212014-03-16 Martin Rudalics <rudalics@gmx.at>
1022
1023 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1024 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1025 current (Bug#16816, Bug#17007).
1026 (with-current-buffer-window): New macro doing the same as
1027 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1028 * help.el (help-print-return-message): Warn in doc-string to not
1029 use this in `with-help-window'.
1030 (describe-bindings-internal): Call `describe-buffer-bindings'
1031 from within help buffer. See Juanma's scenario in (Bug#16816).
1032 (with-help-window): Update doc-string.
1033 * dired.el (dired-mark-pop-up):
1034 * files.el (save-buffers-kill-emacs):
1035 * register.el (register-preview): Use `with-current-buffer-window'
1036 instead of `with-temp-buffer-window'.
1037
57348c4d
JB
10382014-03-16 Juanma Barranquero <lekktu@gmail.com>
1039
1040 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1041 Implement inserting into current buffer, documented in their docstrings.
1042 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1043 (rst-section-tree-point, rst-forward-section, rst-indent)
1044 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1045 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1046 (rst-font-lock-handle-adornment-pre-match-form)
1047 (rst-repeat-last-character): Reflow docstrings.
1048 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1049 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1050 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1051 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1052 Fix docstring typos.
1053 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1054 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1055 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1056
fd16b061
JB
10572014-03-15 Juanma Barranquero <lekktu@gmail.com>
1058
a2403e3d
JB
1059 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1060 for compatibility with other ports.
1061 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1062 from the -xrm command line argument, but in the Nextstep port its value
1063 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1064
fd16b061
JB
1065 * progmodes/python.el (defconst, python-syntax-count-quotes)
1066 (python-indent-region, python-indent-shift-right)
1067 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1068 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1069 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1070 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1071 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1072 (python-shell-buffer-substring, python-shell-send-buffer)
1073 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1074 (python-completion-complete-at-point, python-fill-docstring-style)
1075 (python-eldoc-function, python-imenu-format-item-label)
1076 (python-imenu-format-parent-item-label)
1077 (python-imenu-format-parent-item-jump-label)
1078 (python-imenu--build-tree, python-imenu-create-index)
1079 (python-imenu-create-flat-index): Fix docstring typos.
1080 (python-indent-context, python-shell-prompt-regexp, run-python):
1081 Remove superfluous backslashes.
1082 (python-indent-line, python-nav-beginning-of-defun)
1083 (python-shell-get-buffer, python-shell-get-process)
1084 (python-info-current-defun, python-info-current-line-comment-p)
1085 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1086 (python-indent-post-self-insert-function, python-shell-send-file)
1087 (python-shell-completion-get-completions)
1088 (python-shell-completion-complete-or-indent)
1089 (python-eldoc--get-doc-at-point): Reflow docstrings.
1090
e94807f0
GM
10912014-03-14 Glenn Morris <rgm@gnu.org>
1092
88103345
GM
1093 * emacs-lisp/package.el (package-menu-mode-map):
1094 Replace use of obsolete function alias. Tweak menu item text.
1095
f2dd4ba8
GM
1096 * info.el (Info-finder-find-node):
1097 Ignore the `emacs' metapackage. (Bug#10813)
1098
ac0f82ef
GM
1099 * finder.el (finder-list-matches): Include unversioned packages
1100 in the result of a keyword search.
1101
e94807f0
GM
1102 * finder.el (finder--builtins-descriptions): New constant.
1103 (finder-compile-keywords): Use finder--builtins-descriptions.
1104
50d434d1
DG
11052014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1106
1107 * simple.el (blink-matching-paren): Describe the new value,
1108 `jump', enabling the old behavior.
1109 (blink-matching-open): Use that value. (Bug#17008)
1110
56759cf1
GM
11112014-03-14 Glenn Morris <rgm@gnu.org>
1112
459d74ef
GM
1113 * finder.el (finder-no-scan-regexp): Add leim-list.
1114 (finder-compile-keywords):
1115 Don't skip files with same basename. (Bug#14010)
1116 * Makefile.in (setwins_finder): New, excluding leim.
1117 (finder-data): Use setwins_finder.
1118
56759cf1
GM
1119 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1120 (help-function-arglist, help-make-usage): Move from here...
1121 * help.el (help-split-fundoc, help-add-fundoc-usage)
1122 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1123 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1124
7644aa97
JB
11252014-03-14 Juanma Barranquero <lekktu@gmail.com>
1126
1127 * net/socks.el (socks, socks-override-functions)
fd16b061 1128 (socks-find-services-entry):
7644aa97
JB
1129 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1130 (hif-find-ifdef-block):
1131 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1132
1133 * net/tls.el (tls-program): Reflow docstring.
1134
1135 * progmodes/pascal.el (pascal-mode-abbrev-table)
1136 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1137 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1138 (pascal-outline-mode): Fix docstring typos.
1139 (pascal-mode): Let define-derived-mode document mode hook.
1140 (pascal-uncomment-area): Reflow.
1141 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1142
1143 * progmodes/opascal.el (opascal-compound-block-indent)
1144 (opascal-case-label-indent): Fix docstring typos.
1145 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1146
1f44df94
DG
11472014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1148
07f44fdb
JB
1149 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1150 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 1151
0d71dfb3
TW
11522014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1153
1154 * emacs-lisp/package.el (package--prepare-dependencies):
1155 Accept requirements without explicit version (bug#14941).
1156
d27a1a7b
JB
11572014-03-12 Juanma Barranquero <lekktu@gmail.com>
1158
a5765a3d
JB
1159 * register.el (register-separator, copy-to-register): Doc fixes.
1160 (register-preview-default): Remove unnecessary call to concat.
1161
d27a1a7b
JB
1162 * frameset.el (frameset-restore): When checking for a visible frame,
1163 use the action map instead of calling visible-frame-list.
1164
08dfa0b7
JB
11652014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1166
1167 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1168
8960529e
MR
11692014-03-12 Martin Rudalics <rudalics@gmx.at>
1170
1171 * window.el (fit-frame-to-buffer): Get maximum width from
1172 display's width instead of height.
1173
8a51e8e4
GM
11742014-03-12 Glenn Morris <rgm@gnu.org>
1175
46456005
GM
1176 * desktop.el (desktop-restore-frames)
1177 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1178 (desktop-restore-reuses-frames): Doc tweaks.
1179
8a51e8e4
GM
1180 * electric.el (electric-indent-mode): Doc fix.
1181
5983b317
JB
11822014-03-12 Juanma Barranquero <lekktu@gmail.com>
1183
1184 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1185 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1186 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1187 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1188 (cvs-dired-use-hook): Fix docstring typos.
1189 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1190 Doc fixes.
1191
1192 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1193 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1194 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1195 (cvs-execute-single-dir): Fix docstring typos.
1196
1197 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1198 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1199
1200 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1201
1202 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1203 Fix docstring typos.
1204
13c00cf0
JB
12052014-03-12 Juanma Barranquero <lekktu@gmail.com>
1206
1207 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1208 called from jump-to-register after unloading the frameset package.
1209
536a17e3
SM
12102014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1211
1212 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1213 (bug#16975). Deactivate the mark before setting it to nil.
1214 (activate-mark): Do nothing if region is already active.
1215
baf8d0ac
JB
12162014-03-11 Juanma Barranquero <lekktu@gmail.com>
1217
1218 * frameset.el (frameset--target-display): Remove definition; declare.
1219 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1220
1ea22560
SM
12212014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1224 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1225 when the advice is pending.
1226 (advice-remove): Remove this marker when not needed any more.
1227
4538c058
JB
12282014-03-11 Juanma Barranquero <lekktu@gmail.com>
1229
1230 * frameset.el: Separate options for reusing frames and cleaning up.
1231 (frameset--reuse-list): Remove definition; declare.
1232 (frameset--action-map): Declare.
1233 (frameset--find-frame-if): Doc fix.
1234 (frameset--restore-frame): Cache frame action.
1235 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1236 how to clean up the frame list after restoring. Remove cleaning
1237 options from REUSE-FRAMES. Change all keyword values to symbols.
1238 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1239
1240 * desktop.el (desktop-restore-forces-onscreen)
1241 (desktop-restore-reuses-frames): Use non-keyword values.
1242 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1243
ba1a5c78
GM
12442014-03-10 Glenn Morris <rgm@gnu.org>
1245
776aa432
GM
1246 * files.el (find-file): Doc fix: update info node name.
1247
ba1a5c78
GM
1248 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1249 Doc fix: remove references to deleted info nodes.
1250
183d706e
MA
12512014-03-10 Michael Albinus <michael.albinus@gmx.de>
1252
1253 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1254 Do not add `nil' to the environment, when there's no remote `locale'.
1255 (tramp-find-inline-encoding): Check, that the remote host has
1256 installed perl, before sending scripts.
1257
6f0f96e7
LL
12582014-03-10 Leo Liu <sdl.web@gmail.com>
1259
536a17e3
SM
1260 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1261 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 1262
ca70fe78
SM
12632014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1264
1265 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1266 (bug#14430).
1267
eb67db41
JL
12682014-03-09 Juri Linkov <juri@jurta.org>
1269
1270 * ansi-color.el (ansi-color-names-vector): Copy default colors
1271 from `xterm-standard-colors' that look well on the default white
1272 background (and also on the black background) to avoid illegible
8cf07e5a 1273 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
1274 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1275
e7db5447
JB
12762014-03-08 Juanma Barranquero <lekktu@gmail.com>
1277
1278 * frameset.el (frameset-restore): When no frame is visible, do not
1279 generate a list of frames, just make visible the selected one.
1280
f0a4c8d7
DG
12812014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1282
1283 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1284 it only contains the repository root. (Bug#16897)
1285
e50772e3
MA
12862014-03-07 Michael Albinus <michael.albinus@gmx.de>
1287
1288 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1289 only when `remote-file-name-inhibit-cache' is nil.
1290 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1291
cac0a1d6
MR
12922014-03-06 Martin Rudalics <rudalics@gmx.at>
1293
1294 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1295 Fix doc-strings.
1296 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1297 fit-frame-to-buffer variable. Fix doc-string.
1298 (fit-window-to-buffer): Set ONLY argument in call of
1299 fit-frame-to-buffer. Fix doc-string.
1300
fa965cbf
MA
13012014-03-06 Michael Albinus <michael.albinus@gmx.de>
1302
1303 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1304 (tramp-action-password): Clear password cache if needed.
1305 (tramp-read-passwd): Do not clear password cache.
1306
1307 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1308 cache unless it is the first password request.
1309
c94e6ee4
GM
13102014-03-06 Glenn Morris <rgm@gnu.org>
1311
03bc753e
GM
1312 * simple.el (newline): Doc tweak.
1313
c94e6ee4
GM
1314 * emacs-lisp/shadow.el (load-path-shadows-find):
1315 Ignore dir-locals. (Bug#12357)
1316
bd2d43dc
GM
13172014-03-05 Glenn Morris <rgm@gnu.org>
1318
1319 * files.el (interpreter-mode-alist):
1320 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1321
9284000e
JB
13222014-03-05 Juanma Barranquero <lekktu@gmail.com>
1323
1324 * frameset.el (frameset--initial-params): Filter out null entries.
1325
e1a2cb1c
MR
13262014-03-05 Martin Rudalics <rudalics@gmx.at>
1327
27821a89
JB
1328 * window.el (window-min-height, window-min-width):
1329 Rewrite doc-strings.
e1a2cb1c
MR
1330 (window-body-size): Add PIXELWISE argument to make it consistent
1331 with its callees.
1332
6bf67038
JB
13332014-03-05 Juanma Barranquero <lekktu@gmail.com>
1334
1335 * finder.el (finder-mode-map, finder-mode-syntax-table):
1336 Revert part of 2014-02-28 change.
1337
90f04e4c
LI
13382014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1339
1340 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1341 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
1342 (eww-textarea-map): [tab] doesn't work on tty.
1343 Reported by Mario Lang.
6952100d
LI
1344
1345 * net/shr.el (shr-map): Ditto.
90f04e4c 1346
3106d59b
GM
13472014-03-04 Glenn Morris <rgm@gnu.org>
1348
1349 * minibuffer.el (completion-hilit-commonality):
1350 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1351
f604dfdc
JB
13522014-03-04 Juanma Barranquero <lekktu@gmail.com>
1353
1354 * hilit-chg.el (hilit-chg-unload-function): New function.
1355 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1356 (hilit-chg-map-changes): Prefer cardinal number to digit.
1357 (hilit-chg-display-changes): Reflow docstring.
1358 (highlight-changes-rotate-faces): Remove superfluous backslash.
1359
5dc65319
MA
13602014-03-04 Michael Albinus <michael.albinus@gmx.de>
1361
1362 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1363 `tramp-send-command-and-check'.
1364
4242d21d
JB
13652014-03-04 Juanma Barranquero <lekktu@gmail.com>
1366
b01fa838
JB
1367 * hexl.el (hexl-address-region, hexl-ascii-region)
1368 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1369 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1370 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1371 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1372 (hexl-mode): Doc fix.
1373 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1374 (hexl-mode-ruler): Fix typos in docstrings.
1375
4242d21d
JB
1376 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1377 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1378 Remove superfluous backslashes.
1379 (strokes-last-stroke, strokes-global-map, strokes-mode):
1380 Reflow docstrings.
1381 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1382 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1383 (strokes-distance-squared, strokes-global-set-stroke)
1384 (strokes-global-set-stroke-string): Doc fixes.
1385 (strokes-help): Fix typos; reflow docstring.
1386
87132570
MR
13872014-03-04 Martin Rudalics <rudalics@gmx.at>
1388
1389 * window.el (window-in-direction): Fix doc-string.
1390
d82e752c
GM
13912014-03-04 Glenn Morris <rgm@gnu.org>
1392
1393 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1394 Explicit error if no grammar.
1395 (smie-config-save): Doc fix. Fix quote typo.
1396
62528af0
SM
13972014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1398
8d4901dc
SM
1399 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1400 electric-indent-mode-hook if we obey electric-indent-mode.
1401 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1402 decide whether we obey electric-indent-mode.
1403 (c-change-set-fl-decl-start, c-extend-after-change-region):
1404 Silence warnings.
1405 (c-electric-indent-mode-hook): Assume we do want to obey
1406 electric-indent-mode.
1407
1408 * electric.el (electric-indent-mode-has-been-called): Remove.
1409 (electric-indent-mode): Fix accordingly.
1410
092c12b2
SM
1411 * files.el (hack-local-variables): Mention file name in warning.
1412
62528af0
SM
1413 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1414
5b87d0d9
MN
14152014-03-04 Michal Nazarewicz <mina86@mina86.com>
1416
20f39add 1417 * bindings.el: Add comment describing why C-d binds to `delete-char'.
5b87d0d9
MN
1418 * simple.el (delete-forward-char): Mark as interactive-only.
1419
542a3840
JB
14202014-03-03 Juanma Barranquero <lekktu@gmail.com>
1421
f2d2402e
GM
1422 * icomplete.el (icomplete-completions):
1423 Follow-up to 2014-03-01 change.
d11320e5
JB
1424
1425 * icomplete.el: Miscellaneous doc fixes.
1426 Use Icomplete everywhere instead of icomplete for consistency.
1427 (icomplete-max-delay-chars): Fix typo.
1428 (icomplete-mode): Use \[].
1429 (icomplete-tidy, icomplete-exhibit): Reflow.
1430 (icomplete-minibuffer-setup-hook, icomplete-completions):
1431 Remove superfluous backlashes.
1432
1433 * ido.el: Miscellaneous doc fixes.
1434 Use Ido everywhere instead of ido or `ido' for consistency.
1435 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1436 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1437 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1438 (ido-separator): Extract obsolescence info from docstring and declare
1439 with make-obsolete-variable.
1440 (ido-minibuffer-setup-hook): Simplify example.
1441 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1442 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1443 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1444 (ido-everywhere): Reflow docstring.
1445 (ido-toggle-vc): Doc fix.
1446 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1447 of long list of keybindings.
1448
7ebd57e9
GM
14492014-03-03 Glenn Morris <rgm@gnu.org>
1450
1451 * frame.el (display-pixel-height, display-pixel-width)
1452 (display-mm-dimensions-alist, display-mm-height)
1453 (display-mm-width): Doc tweaks.
1454
35e951cd 14552014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
1456
1457 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1458 case of undo in region.
1459
b923819c
MR
14602014-03-02 Martin Rudalics <rudalics@gmx.at>
1461
1462 * window.el (fit-window-to-buffer): Fix argument in window-size
1463 call when window is horizontally combined.
1464
b6e443c5
JB
14652014-03-02 Juanma Barranquero <lekktu@gmail.com>
1466
1467 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 1468 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 1469
1850913d
DG
14702014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1471
35e951cd
JB
1472 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1473 Highlight regexp options. (Bug#16914)
1850913d 1474
04b577b6
MR
14752014-03-01 Martin Rudalics <rudalics@gmx.at>
1476
1477 * window.el (window--max-delta-1): Round down when calculating
1478 how many lines/columns we can get from a window.
1479
b829360f
GM
14802014-03-01 Glenn Morris <rgm@gnu.org>
1481
2501c912
GM
1482 * isearch.el (search-invisible): Doc fix.
1483
b829360f
GM
1484 * minibuffer.el (completion-hilit-commonality):
1485 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1486 * comint.el (comint-dynamic-list-completions): Doc fix.
1487 * comint.el (comint-dynamic-list-completions):
1488 * filecache.el (file-cache-minibuffer-complete):
1489 * tempo.el (tempo-display-completions):
1490 * eshell/em-hist.el (eshell-list-history):
1491 Replace use of obsolete argument of display-completion-list.
1492
9a155058
JB
14932014-03-01 Juanma Barranquero <lekktu@gmail.com>
1494
1495 * icomplete.el (icomplete-completions):
1496 Revert back to using "..." when ?… cannot be displayed.
1497
53f6cda8
JB
14982014-02-28 Juanma Barranquero <lekktu@gmail.com>
1499
1500 * finder.el (finder-unload-function): New function.
1501
43977c23
JB
15022014-02-28 Juanma Barranquero <lekktu@gmail.com>
1503
1504 * dframe.el (dframe-detach):
1505 * find-dired.el (find-dired, find-name-dired):
1506 * finder.el (finder-mode-map, finder-mode-syntax-table)
1507 (finder-headmark, finder-select, finder-mouse-select):
1508 Fix docstring typos.
1509
9dda75ad
MR
15102014-02-28 Martin Rudalics <rudalics@gmx.at>
1511
1512 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
1513 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1514 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1515 Fix doc-string based on a suggestion by Nicolas Richard
1516 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
1517 * help.el (with-help-window): Fix doc-string.
1518
8a73034e
IK
15192014-02-28 Ivan Kanis <ivan@kanis.fr>
1520
b70257b0
GM
1521 * net/shr.el (shr-image-animate): New option.
1522 (shr-put-image): Respect shr-image-animate.
8a73034e 1523
245aa73e
MA
15242014-02-28 Michael Albinus <michael.albinus@gmx.de>
1525
1526 * net/tramp-adb.el (tramp-adb-parse-device-names):
1527 Use `accept-process-output'.
1528 (tramp-adb-handle-file-truename): Cache the localname only.
1529 (tramp-adb-handle-make-directory)
1530 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1531 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1532 modes cannot be changed.
1533
1534 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1535 file properties of symlinks.
1536
48e15d64
PS
15372014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1538
1539 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1540 required/optional fields to match development biblatex. (Bug#16781)
1541
65b77347
AS
15422014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1543
1544 * saveplace.el (toggle-save-place):
1545 Fix argument handling. (Bug#16673)
1546
5e618aba
GM
15472014-02-28 Glenn Morris <rgm@gnu.org>
1548
1549 * minibuffer.el (completions-first-difference)
1550 (completions-common-part, completion-hilit-commonality): Doc fixes.
1551
6deb314e
KB
15522014-02-28 Karl Berry <karl@gnu.org>
1553
1554 * info.el (Info-mode-map): Add H for describe-mode,
1555 to synchronize with standalone Info.
1556
289996f5
EL
15572014-02-28 Emilio C. Lopes <eclig@gmx.net>
1558
1559 * progmodes/sql.el (sql-interactive-mode):
1560 Avoid setting global comint-input-ring-separator. (Bug#16814)
1561
79fc1191
MA
15622014-02-27 Michael Albinus <michael.albinus@gmx.de>
1563
1564 * net/dbus.el (dbus--init-bus): Declare function.
1565 (dbus-path-local, dbus-interface-local): New defconst.
1566 (dbus-init-bus): Use them.
1567 (dbus-return-values-table): Extend doc.
1568 (dbus-handle-bus-disconnect): Extend error message.
1569
298520df
JB
15702014-02-27 Juanma Barranquero <lekktu@gmail.com>
1571
1572 * subr.el (y-or-n-p): Fix double space issue in message.
1573
c22c1614
MA
15742014-02-27 Michael Albinus <michael.albinus@gmx.de>
1575
1576 * net/tramp.el (tramp-call-process): Improve trace message.
1577 (tramp-handle-insert-file-contents): Trace error case.
1578
1579 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1580 <insert-directory>: Use `tramp-handle-insert-directory'.
1581 (tramp-adb-handle-insert-directory): Remove function.
1582 (tramp-adb-send-command-and-check): New defun, replacing
1583 `tramp-adb-command-exit-status'. Change all callees.
1584 (tramp-adb-handle-file-attributes)
1585 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
1586 (tramp-adb-ls-output-name-less-p):
1587 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
1588 (tramp-adb-handle-delete-directory): Flush also file properties of
1589 the truename of directory.
1590 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1591 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1592 (tramp-adb-handle-write-region): Implement APPEND.
1593 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1594 properties correctly.
1595 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1596 variables. Check for connected devices only when needed.
1597
d9263618
GM
15982014-02-27 Glenn Morris <rgm@gnu.org>
1599
ea7826ba
GM
1600 * minibuffer.el (completion-table-dynamic)
1601 (completion-table-with-cache): Doc fixes.
1602
d9263618
GM
1603 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1604 (completing-read-multiple): Doc fixes.
1605
eff3168a
DC
16062014-02-27 Daniel Colascione <dancol@dancol.org>
1607
51f213c3
DC
1608 * minibuffer.el (completion--nth-completion): Fix indentation.
1609
eff3168a
DC
1610 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1611 explicit tramp path is empty.
1612
b77cfcd7
GM
16132014-02-27 Glenn Morris <rgm@gnu.org>
1614
1615 * emacs-lisp/crm.el (completing-read-multiple):
1616 Empower help-enable-auto-load.
1617
9577b569
GM
16182014-02-26 Glenn Morris <rgm@gnu.org>
1619
259887e8
GM
1620 * startup.el (command-line): Don't init the tty in daemon mode.
1621
1d491ef2
GM
1622 Avoid calling tty-setup-hook twice, eg if a term file
1623 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1624 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1625 (tty-create-frame-with-faces): Use it.
1626 * startup.el (command-line): Pass run-hook argument
1627 to tty-run-terminal-initialization.
1628
9577b569
GM
1629 * dired.el (dired-restore-desktop-buffer): Demote errors;
1630 eg in case a glob match fails. (Bug#16884)
1631
40ff7f86
DG
16322014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1633
b2388336
DG
1634 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1635 error from `read-from-string'. (Bug#16850)
1636
40ff7f86
DG
1637 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1638 result of `completing-read' in the interactive form. (Bug#16854)
1639
98bd6b32
GM
16402014-02-25 Glenn Morris <rgm@gnu.org>
1641
f086804c
GM
1642 * image.el (image-animate, image-animate-timeout):
1643 Stop animating images in dead buffers. (Bug#16878)
1644
c107155e
GM
1645 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1646
9577b569
GM
1647 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1648 Doc fixes.
98bd6b32
GM
1649 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1650 * term/sun.el (sun-raw-prefix-hooks):
1651 Use tty-setup-hook instead of term-setup-hook.
1652 (terminal-init-sun): Construct message from bytecomp plist.
1653 * term/wyse50.el (enable-arrow-keys): Doc fix.
1654
9c9e18e8
JB
16552014-02-24 Juanma Barranquero <lekktu@gmail.com>
1656
1657 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1658 Fix docstring typos.
1659
c848881f
MA
16602014-02-24 Michael Albinus <michael.albinus@gmx.de>
1661
1662 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1663
0e38ae05
NR
16642014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1665
1666 * minibuffer.el (completion--try-word-completion):
1667 Fix error when completing M-x commands (bug#16808).
1668
8ee4c296
LL
16692014-02-24 Leo Liu <sdl.web@gmail.com>
1670
1671 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1672
7d4bd627
JB
16732014-02-24 Juanma Barranquero <lekktu@gmail.com>
1674
1675 * apropos.el (apropos-print): Avoid formatting error when
1676 apropos-do-all and apropos-compact-layout are both t.
1677
e918e27f
JB
16782014-02-23 Juanma Barranquero <lekktu@gmail.com>
1679
1680 * apropos.el (apropos-property, apropos-all-words-regexp)
1681 (apropos-true-hit, apropos-variable, apropos-print):
1682 Fix docstring typos, and remove obsolete comment.
1683
85c01f80
MA
16842014-02-23 Michael Albinus <michael.albinus@gmx.de>
1685
1686 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1687 Preserve trailing "/". (Bug#16851)
1688
62f95022
DG
16892014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1690
1691 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1692 after `=>' (bug#16811).
dfdb365c
DG
1693 (ruby-smie-rules): Handle the inconsistent second element of the
1694 list returned by `smie-indent--parent'.
1695 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1696 method call.
62f95022 1697
025f2c81
JB
16982014-02-23 Juanma Barranquero <lekktu@gmail.com>
1699
1700 * elec-pair.el (electric-pair-text-syntax-table)
1701 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1702 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1703 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1704 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1705
123c84f9
GM
17062014-02-22 Glenn Morris <rgm@gnu.org>
1707
612c3e46
GM
1708 * imenu.el (imenu--generic-function): Doc fix.
1709
123c84f9
GM
1710 * register.el (frame-configuration-to-register): Make obsolete.
1711
e59fa9ad
JB
17122014-02-22 Juanma Barranquero <lekktu@gmail.com>
1713
1714 * desktop.el (desktop-save-buffer-p): Do not fail when
1715 desktop-files-not-to-save is nil. Return t for true result
1716 as the doc says.
1717
4e652634
DC
17182014-02-22 Daniel Colascione <dancol@dancol.org>
1719
27821a89 1720 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
1721 Check that attribute values are strings, avoiding the construction
1722 of invalid dbus messages.
4e652634 1723
f35affb6
JB
17242014-02-21 Juanma Barranquero <lekktu@gmail.com>
1725
1726 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1727 defun-declarations-alist.
1728
3d136b1b
SM
17292014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1732 (bug#16829).
1733
612ddfc0
JB
17342014-02-21 Juanma Barranquero <lekktu@gmail.com>
1735
1736 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1737 (whitespace-newline, whitespace-trailing, whitespace-line)
1738 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1739 (whitespace-space-after-tab): Fix typo in docstrings.
1740
c8481b1b
DG
17412014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1742
cb8f50a7
DG
1743 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1744
c8481b1b
DG
1745 * electric.el (electric-indent-functions-without-reindent):
1746 Add `yaml-indent-line'.
1747
bed5126f
JB
17482014-02-21 Juanma Barranquero <lekktu@gmail.com>
1749
34b71457
JB
1750 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1751 It has done nothing for years; should be removed after the release.
1752
bed5126f
JB
1753 * simple.el (choose-completion): Fix docstring typo.
1754 (read-quoted-char-radix): Remove unneeded * in docstring.
1755 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1756 Don't escape parentheses unnecessarily in docstrings.
1757
8dd3e94f
MR
17582014-02-21 Martin Rudalics <rudalics@gmx.at>
1759
1760 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
1761 * window.el (window--dump-window, window--dump-frame):
1762 New functions.
1763 (window--min-size-1): Account for window dividers.
1764 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
1765 sum of the window components has been calculated.
1766 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1767 nil make sure at least one text line and two text columns remain
1768 fully visible.
1769 (window-resize): Signal an error when window-resize-apply fails.
1770 (window--resize-child-windows): Fix calculation of by how many
1771 pixels a window can still be shrunk via window-new-normal.
1772 (adjust-window-trailing-edge): Call window--resizable with
1773 correct TRAIL argument.
1774
2ed94e04
MR
1775 (with-temp-buffer-window): Don't evaluate BODY within
1776 with-current-buffer (Bug#16816).
1777
0e5324c4
MA
17782014-02-21 Michael Albinus <michael.albinus@gmx.de>
1779
1780 * net/tramp.el (tramp-check-cached-permissions):
1781 Call `file-attributes' with `suffix' being a symbol but a string.
1782
48198420
DC
17832014-02-21 Daniel Colascione <dancol@dancol.org>
1784
1785 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1786 (dbus-init-bus): New function: call into dbus-init-bus-1
1787 and installs a handler for the disconnect signal.
1788 (dbus-call-method): Rewrite to look for result in cons.
1789 (dbus-call-method-handler): Store result in cons.
1790 (dbus-check-event): Recognize events with nil sender as valid.
1791 (dbus-handle-bus-disconnect): New function. React to bus
1792 disconnection signal by synthesizing dbus error for each
1793 pending synchronous or asynchronous call.
1794 (dbus-notice-synchronous-call-errors): New function.
1795 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1796 is true, not all the time.
1797
99e15133
JB
17982014-02-21 Juanma Barranquero <lekktu@gmail.com>
1799
e48983a6
JB
1800 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1801 Remove obsolescence declarations, these variables do not exist anymore.
1802
fdcfd745
JB
1803 * savehist.el (savehist-save-minibuffer-history)
1804 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1805 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1806 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1807 mostly, refer to "Savehist mode" when talking about the mode,
1808 and not the function.
1809
99e15133
JB
1810 * saveplace.el (save-place): Remove redundant info in docstring.
1811 (save-place-forget-unreadable-files, toggle-save-place)
1812 (save-place-forget-unreadable-files, save-place-dired-hook):
1813 Fix typos and remove unneeded backslashes.
1814
f5bee33b
MA
18152014-02-20 Michael Albinus <michael.albinus@gmx.de>
1816
1817 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1818 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1819
1820 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 1821 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
1822 (tramp-gvfs-handle-insert-directory): Remove function.
1823
1824 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1825 Call `tramp-handle-insert-directory'.
1826
ee0761ca
JB
18272014-02-20 Juanma Barranquero <lekktu@gmail.com>
1828
1829 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1830 before the start of buffer/region (bug#16799).
1831
4d49cc65
GM
18322014-02-20 Glenn Morris <rgm@gnu.org>
1833
1834 * isearch.el (search-invisible): Doc fix.
1835
eee0d650
TK
18362014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1837
1838 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1839 (bug#16657).
1840
94e5e202
JB
18412014-02-19 Juanma Barranquero <lekktu@gmail.com>
1842
1843 * frameset.el (frameset-restore): Delay removing an old frame's
1844 duplicate id until the new frame has been correctly created.
1845
50bfdd5d
MA
18462014-02-19 Michael Albinus <michael.albinus@gmx.de>
1847
1848 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1849 (tramp-check-cached-permissions): Call `file-attributes' if the
1850 cache is empty.
1851
1852 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 1853 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1854
1855 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 1856 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1857 (tramp-gvfs-maybe-open-connection): Set always connection
1858 properties, even if target is mounted already.
1859
1860 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1861 Set tramp-autoload cookie.
1862 (tramp-get-remote-touch): New defun.
1863 (tramp-sh-handle-set-file-times): Use it.
1864 (tramp-sh-handle-directory-files-and-attributes):
1865 Use `tramp-handle-directory-files-and-attributes' if neither stat
1866 nor perl are available on the remote host.
1867
1868 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1869 "/". Write long listing only when "l" belongs to the switches.
1870
1871 * net/trampver.el: Update release number.
1872
f097a3d2
JB
18732014-02-19 Juanma Barranquero <lekktu@gmail.com>
1874
1875 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1876
8e009b78
MR
18772014-02-19 Martin Rudalics <rudalics@gmx.at>
1878
1879 * window.el (window-state-put): Allow WINDOW to refer to an
1880 internal window (Bug#16793).
1881
95160c90
GM
18822014-02-19 Glenn Morris <rgm@gnu.org>
1883
1884 * textmodes/remember.el: Move provide statement to end.
1885 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1886 (remember-notes): Doc fixes.
1887
b28df58c
SM
18882014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1889
1890 * delsel.el (delete-char): Restore incorrectly erased property
1891 (bug#16795).
1892
7108e1c0
JB
18932014-02-18 Juanma Barranquero <lekktu@gmail.com>
1894
1895 * frameset.el (frameset--restore-frame): When a frame is being reused
1896 and its root window is not alive, delete all the frame's windows before
1897 restoring the window state. This works around the issue in bug#16793.
1898
c863b6ad
GM
18992014-02-18 Glenn Morris <rgm@gnu.org>
1900
a73fae1f
GM
1901 * textmodes/remember.el (remember-data-directory)
1902 (remember-directory-file-name-format, remember-store-in-files)
1903 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1904 (remember-notes-save-and-bury-buffer)
1905 (remember-notes--kill-buffer-query): Doc fixes.
1906
c863b6ad
GM
1907 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1908
29238d28
AM
19092014-02-17 Alan Mackenzie <acm@muc.de>
1910
1911 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 1912 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 1913 to electric-indent-{,local-}-mode.
b28df58c
SM
1914 (c-basic-common-init): Set electric-indent-inhibit.
1915 Initialise c-electric-flag from electric-indent-mode.
29238d28 1916 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 1917 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
1918
1919 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 1920 hit, toggle electric-indent-local-mode.
29238d28 1921
b28df58c
SM
1922 * electric.el (electric-indent-mode-has-been-called):
1923 New variable.
29238d28 1924
c6463340
JB
19252014-02-17 Juanma Barranquero <lekktu@gmail.com>
1926
1927 * frameset.el (frameset-cfg-id): New function.
1928 (frameset--reuse-frame, frameset-restore): Use it.
1929 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1930
94912b88
SM
19312014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * ido.el (ido-file-internal): Remove unused var `d'.
1934 Use \` for to match BoS. Fit within 80n columns.
1935
26ea164c
DC
19362014-02-17 Daniel Colascione <dancol@dancol.org>
1937
1938 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1939 dbus-call-method check for completion using a busy-wait loop with
1940 gradual backoff.
1941
589d1988 19422014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
1943
1944 Sync with Tramp 2.2.9.
1945
1946 * net/trampver.el: Update release number.
1947
17d1b51b
DG
19482014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1949
1950 * ido.el (ido-file-internal): Don't add the name of an existing
1951 directory twice. (Bug#16747)
1952
5bcad689
GM
19532014-02-16 Glenn Morris <rgm@gnu.org>
1954
1955 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1956 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1957
19582014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
1959
1960 * progmodes/sql.el: Version 3.4
1961 (sql-oracle-options): New default value ("-L").
94912b88 1962 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 1963 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 1964 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
1965 (sql-login-delay): New variable.
1966 (sql-product-interactive): Use it.
1967
285f1858
JB
19682014-02-15 Juanma Barranquero <lekktu@gmail.com>
1969
1970 * frameset.el (frameset--jump-to-register): Check that buffer is live
1971 (bug#16749).
1972
5d645ea4
GM
19732014-02-15 Glenn Morris <rgm@gnu.org>
1974
1975 * info.el (info-initialize): Revert 2014-01-10 change.
1976
48c4f9b1
GM
19772014-02-14 Glenn Morris <rgm@gnu.org>
1978
b8630261
GM
1979 * replace.el (map-query-replace-regexp)
1980 (read-regexp-defaults-function, read-regexp): Doc fixes.
1981
b2bf2a25
GM
1982 * dired.el (dired-read-regexp):
1983 * faces.el (list-faces-display):
1984 * misearch.el (multi-isearch-read-matching-buffers)
1985 (multi-isearch-read-matching-files):
1986 * play/cookie1.el (cookie-apropos):
1987 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1988
48c4f9b1
GM
1989 * textmodes/remember.el (remember): Use frameset-to-register
1990 rather than frame-configuration-to-register.
1991
2804e0bd
JB
19922014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1993
1994 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1995 incorrect keybinding.
1996
0b87142f
DC
19972014-02-13 Daniel Colascione <dancol@dancol.org>
1998
1999 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2000 when adding overlays so that line numbers from compiler match line
2001 numbers we use.
2002
47a73eb0
GM
20032014-02-13 Glenn Morris <rgm@gnu.org>
2004
8abcfd51
GM
2005 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2006
47a73eb0
GM
2007 * jit-lock.el (jit-lock-mode): Doc fix.
2008
c9b6b262
JB
20092014-02-13 Juanma Barranquero <lekktu@gmail.com>
2010
2011 * apropos.el (apropos-read-pattern): When the user passes an empty
2012 string, give a more helpful error message than "Wrong type
2013 argument: stringp, nil".
2014
eb4c6947
SM
20152014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2018
0dab5068
GM
20192014-02-13 Glenn Morris <rgm@gnu.org>
2020
2021 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2022
59075dcf
SM
20232014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2024
2025 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2026 shift-select commands.
2027
5af9fbad
DG
20282014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2029
2030 * progmodes/js.el (js-indent-line): Don't widen.
2031 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2032
a215930c
GM
20332014-02-12 Glenn Morris <rgm@gnu.org>
2034
a8cb4247
GM
2035 * icomplete.el (icomplete): Add info-link to defgroup.
2036 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2037 (icomplete-minibuffer-map, icomplete-mode)
2038 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2039
a215930c
GM
2040 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2041 (package-menu-filter): Rename from package-menu-filter-interactive.
2042 Doc fix.
2043
26c5ecd9
JB
20442014-02-11 Juanma Barranquero <lekktu@gmail.com>
2045
2046 * frameset.el (frameset--jump-to-register): Select the required
2047 window and buffer before restoring position (bug#16696).
2048
fcd58a02
LI
20492014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2050
2051 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2052
bacb3380
GM
20532014-02-10 Glenn Morris <rgm@gnu.org>
2054
2055 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2056
881329dc
EZ
20572014-02-10 Eli Zaretskii <eliz@gnu.org>
2058
02328db9
EZ
2059 * w32-common-fns.el (x-get-selection): Doc fix.
2060 * select.el (x-get-selection): Doc fix. (Bug#15109)
2061
881329dc
EZ
2062 * face-remap.el (face-remap-add-relative)
2063 (face-remap-remove-relative, face-remap-reset-base)
2064 (face-remap-set-base): Call force-mode-line-update to redisplay
2065 the current buffer due to potential change in faces. (Bug#16709)
2066
c7db4c06
MA
20672014-02-10 Michael Albinus <michael.albinus@gmx.de>
2068
2069 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2070 script more robustly.
2071
6abe4589
LI
20722014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2073
7602b5c3
LI
2074 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2075
e3692ee0
LI
2076 * simple.el (choose-completion): Doc fix (bug#14160).
2077
41015524
LI
2078 * subr.el (event-start): Say what a nil EVENT value means.
2079
87c79dcb
LI
2080 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2081 (bug#14197).
2082
3ab49e2c
LI
2083 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2084
f3c60241
LI
2085 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2086
3bd1d8a8
LI
2087 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2088
6abe4589
LI
2089 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2090 predicate function (bug#15455).
2091
a11463de
DG
20922014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2093
2094 * ielm.el (inferior-emacs-lisp-mode): Instead of
2095 `comment-use-global-state', set `comment-use-syntax'.
2096
2ab0ad85
GM
20972014-02-10 Glenn Morris <rgm@gnu.org>
2098
2099 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2100
411141fb
AM
21012014-02-09 Alan Mackenzie <acm@muc.de>
2102
2103 Fix c-invalidate-state-cache on narrowed buffers.
2104 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2105 Widen when setting and clearing the CPP delimiter properties.
2106
d6d5fdf8
LI
21072014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2108
92c70367
LI
2109 * help.el (describe-bindings): Doc fix (bug#9888).
2110
468ef484
LI
2111 * files.el (save-buffer): Use ARG as the parameter name for
2112 consistency (bug#10346).
7e34193f 2113 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 2114
fc2b1ffa 2115 * cus-edit.el (customize-apropos): Fix error string.
382fd368 2116 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 2117 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 2118
790aceec
LI
2119 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2120
a54a7552 2121 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 2122 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 2123
dd163123
LI
2124 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2125 meaning of the parameter (bug#12282).
2126
9e108fe6
LI
2127 * files.el (find-file-noselect): Clarify prompt when changing
2128 readedness (bug#13261).
5a836f58
LI
2129 (locate-file): Suffixes aren't returned, so don't say that they
2130 are (bug#12674).
2356b316 2131 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 2132
20dda930
LI
2133 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2134 before we actually start to delete things (bug#16331).
2135
d6d5fdf8
LI
2136 * subr.el (event-start): Doc fix (bug#14228).
2137 (event-end): Ditto.
2138
2abd71e5
GM
21392014-02-09 Glenn Morris <rgm@gnu.org>
2140
2141 * emacs-lisp/warnings.el (lwarn):
2142 Empower help-enable-auto-load. (Bug#15940)
2143
c1b5900b
AS
21442014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2145
2146 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2147 (Bug#16690)
2148
429b93bd
MA
21492014-02-08 Michael Albinus <michael.albinus@gmx.de>
2150
2151 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2152 Insert output at end of buffer. (Bug#16120)
2153
b772a699
LI
21542014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2155
18c6aa8c
LI
2156 * simple.el (choose-completion-string-functions): Document new
2157 calling convention (bug#14153).
54dd147a 2158 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 2159
dce8463b
LI
2160 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2161
b772a699 2162 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 2163 (find-grep-dired): Doc fix (bug#14288).
b772a699 2164
2423c8d5
JL
21652014-02-08 Juri Linkov <juri@jurta.org>
2166
2167 * isearch.el (isearch-quote-char): Check character validity
2168 like in `quoted-insert' (bug#16677).
2169
518f26c2
LI
21702014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2171
893cc908
LI
2172 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2173
9165ffc0
LI
2174 * isearch.el (isearch-hide-immediately): Doc clarification
2175 (bug#14723).
2176
6ef4f3ce
LI
2177 * simple.el (line-move): Document utility function used many
2178 places in the Emacs sources (bug#14843).
2179
be58a238 2180 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 2181 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 2182 (dired-up-directory): Doc fix (bug#14848).
be58a238 2183
dd7aafbb
LI
2184 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2185
15cb9968
LI
2186 * files.el (file-relative-name): Doc fix (bug#15159).
2187
9788effd
LI
2188 * fringe.el (fringe-styles): Doc fix (bug#15239).
2189
c96411bd
LI
2190 * isearch.el (isearch-filter-predicate): Documentation typo fix
2191 (bug#15474).
2192
ea838c36
LI
2193 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2194
0d8a4ae7
LI
2195 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2196
f7a17bb3
LI
2197 * replace.el (replace-match-maybe-edit): Doc clarification
2198 (bug#15632).
2199
1bde5c3b
LI
2200 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2201
518f26c2
LI
2202 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2203
dd8e49fd
GM
22042014-02-08 Glenn Morris <rgm@gnu.org>
2205
2206 * help-fns.el (describe-variable):
2207 Check {file,dir}-local-variables-alist, and buffer-file-name,
2208 in the correct buffer.
2209
7e088b29
IL
22102014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2211
2212 * help-fns.el (describe-variable): Fix the case where
2213 a value is directory-local with no dir-locals file. (Bug#16635)
2214
41a4a82f
GM
22152014-02-08 Glenn Morris <rgm@gnu.org>
2216
2217 * abbrev.el (edit-abbrevs-mode):
2218 Derive from fundamental-mode. (Bug#16682)
2219
e255a703
JB
22202014-02-07 Juanma Barranquero <lekktu@gmail.com>
2221
2222 * simple.el (quoted-insert): Check character validity (bug#16677).
2223
c99cf5ee
JL
22242014-02-07 Juri Linkov <juri@jurta.org>
2225
2226 * desktop.el (desktop-read): Claim the lock when the owner is not
2227 the current process. (Bug#16157)
2228
7d7a68d8
JL
22292014-02-07 Juri Linkov <juri@jurta.org>
2230
2231 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2232 to "\\` ". (Bug#16651)
2233
2b777cd9
JL
22342014-02-07 Juri Linkov <juri@jurta.org>
2235
2236 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2237 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2238 (desktop-auto-save-cancel-timer): New function with some code from
2239 `desktop-auto-save-set-timer'.
2240 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2241 Instead of setting `desktop-save-mode' to nil, call
2242 `desktop-save-mode' with arg 0. (Bug#16630)
2243
60eabbb9
GM
22442014-02-07 Glenn Morris <rgm@gnu.org>
2245
99cf3859
GM
2246 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2247 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2248 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2249
2b568bc9
GM
2250 * obsolete/iswitchb.el: Move to obsolete/.
2251 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2252 since obsolete/ is not scanned for autoloads.
2253 * emacs-lisp/authors.el (authors-valid-file-names):
2254 Add iswitchb.el.
2255
60eabbb9
GM
2256 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2257 Disable now non-functional find-file-hook.
2258
629de968
MA
22592014-02-06 Michael Albinus <michael.albinus@gmx.de>
2260
2261 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2262 instead of ";" in order to avoid additional prompts. Let heredoc
2263 scripts read from tty. (Bug#16582)
2264 (tramp-send-command): No special handling of heredocs, it isn't
2265 necessary anymore.
2266
29127376
SM
22672014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2270 with a space (bug#16664). Limit the symbols considered to the ones
2271 that are bound or fbound (bug#16646).
2272
79b6e0a9
GM
22732014-02-06 Glenn Morris <rgm@gnu.org>
2274
2275 * epa.el (epa-mail-aliases): Doc fix.
2276
a333e4d2
DG
22772014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2278
29127376
SM
2279 * emacs-lisp/lisp.el (lisp-completion-at-point):
2280 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
2281 (bug#16604).
2282
2283 * minibuffer.el (completion-table-merge): New function.
2284
9a83b32b
MA
22852014-02-05 Michael Albinus <michael.albinus@gmx.de>
2286
2287 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2288 (tramp-sh-handle-set-file-acl)
2289 (tramp-sh-handle-start-file-process)
2290 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2291 (tramp-find-executable, tramp-send-command): Use it.
2292
451ea3e6
GM
22932014-02-05 Glenn Morris <rgm@gnu.org>
2294
9a83b32b 2295 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 2296
dd27d13b
FEG
22972014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2298
35e951cd 2299 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
2300 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2301
08e41897
AL
23022014-02-04 Anders Lindgren <andlind@gmail.com>
2303
2304 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2305 the names (bug#16620).
2306
764ec9e5
MR
23072014-02-03 Martin Rudalics <rudalics@gmx.at>
2308
08e41897
AL
2309 * faces.el (window-divider): New default value. Rewrite doc-string.
2310 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 2311
6da8227c
DG
23122014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2313
2314 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2315 `protected' and `public' can also be called without arguments.
2316
6a6b8e40
GM
23172014-02-03 Glenn Morris <rgm@gnu.org>
2318
7bcbca40
GM
2319 * register.el (window-configuration-to-register)
2320 (frame-configuration-to-register): Unadvertise unused argument.
2321 * frameset.el (frameset-to-register): Remove unused argument.
2322
719d965d 2323 * frameset.el (frameset-to-register):
6a6b8e40
GM
2324 * kmacro.el (kmacro-to-register):
2325 * register.el (increment-register):
2326 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2327 (calc-append-to-register, calc-prepend-to-register):
2328 * play/gametree.el (gametree-layout-to-register)
2329 (gametree-apply-register-layout):
2330 * textmodes/picture.el (picture-clear-rectangle-to-register)
2331 (picture-yank-rectangle-from-register):
2332 * vc/emerge.el (emerge-combine-versions-register):
2333 Use register-read-with-preview to read registers.
2334
5dca7759
JT
23352014-02-03 João Távora <joaotavora@gmail.com>
2336
2337 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2338 when at beginning of (possibly narrowed) buffer.
2339
709085b9
DC
23402014-02-02 Daniel Colascione <dancol@dancol.org>
2341
c295fc18 2342 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 2343 Also try to display local help from just before point.
709085b9 2344
99f7b0a6
AM
23452014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2346
2347 c-parse-state. Don't "append-lower-brace-pair" in certain
2348 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2349 recognised as a comment.
2350
2351 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2352 as well as normal comment starter.
2353 (c-parse-state-get-strategy): Extra return possibility
2354 'back-and-forward.
2355 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2356 return value list to indicate replacement of a brace-pair cons
2357 with its car.
2358 (c-parse-state-1): With 'back-and-forward, only call
2359 c-append-lower-brace-pair-to state-cache when cons-separated.
2360
f0a10576
JD
23612014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2362
2363 * term/ns-win.el (ns-suspend-error): New function.
2364 (ns-initialize-window-system): Add ns-suspend-error to
2365 suspend-hook (Bug#16612).
2366
b8d552c2
DC
23672014-02-02 Daniel Colascione <dancol@dancol.org>
2368
35e951cd
JB
2369 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2370 Make loading cc-mode silent.
b8d552c2 2371
f2b7d123
DC
23722014-02-02 Daniel Colascione <dancol@dancol.org>
2373
35e951cd
JB
2374 * comint.el (comint-prompt-read-only): Change doc to suggest
2375 remap keybinding.
f2b7d123 2376
4472a196
GM
23772014-02-02 Glenn Morris <rgm@gnu.org>
2378
2379 * register.el (register-read-with-preview, point-to-register)
2380 (window-configuration-to-register, frame-configuration-to-register)
2381 (jump-to-register, number-to-register, view-register, insert-register)
2382 (copy-to-register, append-to-register, prepend-to-register)
2383 (copy-rectangle-to-register): Doc fixes.
2384
70e5a261
SM
23852014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2388 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2389 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2390 * help-fns.el (describe-function-1): Use it.
2391
7c324762
GM
23922014-02-02 Glenn Morris <rgm@gnu.org>
2393
2394 * register.el (register-preview-default): New function,
2395 split from register-preview.
2396 (register-preview-function): Rename from register-preview-functions,
2397 make it not a hook.
2398 (register-preview): Use register-preview-function.
2399 (register-read-with-preview): Error on non-character event. (Bug#16595)
2400
a09beb3d
DG
24012014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2402
2403 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2404 `:' before binary operators (bug#16609). Don't check for `:'
2405 before `[' and `(', or their syntax status. A percent literal
2406 can't end with either.
68e004e0
DG
2407 (ruby-font-lock-keywords): For built-ins that require arguments,
2408 check that they're followed by something that looks like argument
2409 (bug#16610).
a09beb3d 2410
ed4d2875
LI
24112014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2412
2413 * subr.el (butlast): Document what an omitted N means (bug#13437).
2414 (nbutlast): Ditto.
2415
dba6e3ec
LI
24162014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2417
2418 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2419 depth shallower (bug#16587).
cc477daa
LI
2420 (shr-tag-svg): Respect `shr-inhibit-images'.
2421 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 2422
e2a67bd0
DG
24232014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2424
2425 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2426 (ruby-smie-grammar): Make "." right-associative. Make its priority
2427 lower than the ternary and all binary operators.
2428 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
2429 parent, or the first "." parent at indentation.
2430 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
2431 (Bug#16593)
2432
bd21bf41
JL
24332014-01-31 Juri Linkov <juri@jurta.org>
2434
2435 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2436 from `make-hash-table'.
2437
2438 * textmodes/ispell.el (ispell-init-process): Change message format
2439 to be consistent with other messages.
2440
b7e615b9
GM
24412014-01-31 Glenn Morris <rgm@gnu.org>
2442
a69ecd19
GM
2443 * delsel.el (delete-selection-mode): Doc fix.
2444
9997d7e3
GM
2445 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2446 (trace-function-background): Doc fixes.
2447
fbb764b8
GM
2448 * ido.el (ido-use-virtual-buffers): Doc fix.
2449 Reset :version, since the default value has not changed.
2450
da942af1
GM
2451 * register.el (register-preview-delay, register-read-with-preview):
2452 Doc fixes.
2453
b7e615b9
GM
2454 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2455 do not mess with mail-buffer position (fixes 2009-11-03 change).
2456 * progmodes/cc-mode.el (c-submit-bug-report):
2457 Check auto-fill-mode is bound. (Bug#16592)
2458
0a25002d
DH
24592014-01-31 Darren Hoo <darren.hoo@gmail.com>
2460
2461 * startup.el (fancy-splash-image-file): New function,
2462 split from fancy-splash-head.
2463 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2464 so that we are both using the same image. (Bug#16574)
2465
ad78f432
GM
24662014-01-30 Glenn Morris <rgm@gnu.org>
2467
6bbc0c84
GM
2468 * simple.el (eval-expression): Doc fix.
2469
ad78f432
GM
2470 * hexl.el (hexl-mode-hook):
2471 * ielm.el (ielm-mode-hook):
2472 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2473 (lisp-interaction-mode-hook):
20f39add 2474 * progmodes/cfengine.el (cfengine3-documentation-function):
ad78f432
GM
2475 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2476
7b2f049c
SM
24772014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2478
2479 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2480 is a symbol (bug#16584).
2481
0c633f13
GM
24822014-01-30 Glenn Morris <rgm@gnu.org>
2483
2484 * help.el (help-for-help-internal): Add "P" to text.
2485
5e61c1ef
GM
24862014-01-29 Glenn Morris <rgm@gnu.org>
2487
2488 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2489
1dcb169c
MR
24902014-01-28 Martin Rudalics <rudalics@gmx.at>
2491
2492 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2493 height constraints.
2494
a9128931
LL
24952014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2496
2497 * progmodes/hideif.el: Extend to full CPP expression syntax.
2498 (hif-token-alist): Add missing tokens.
2499 (hif-token-regexp): Add support for float/octal/hex immediates.
2500 (hif-string-literal-regexp): New const.
2501 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2502 (hif-exprlist): New function.
2503 (hif-parse-if-exp): Use it.
2504 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2505 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2506 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2507 (hif-logxor, hif-comma): New functions.
2508
a22359a7
GM
25092014-01-28 Glenn Morris <rgm@gnu.org>
2510
793ffe81
GM
2511 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2512
e3bd7eed
GM
2513 * indent.el (tab-stop-list): Doc fix. Add :version.
2514
a22359a7
GM
2515 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2516 (cvs-append-to-ignore): Add compatibility alias.
2517
52695556 25182014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 2519
bac524e0
GM
2520 * dired.el (dired-hide-details-mode): Don't autoload it,
2521 since it cannot be used outside Dired buffers anyway.
2522
52695556 2523 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 2524
52695556
GM
2525 * dired.el (dired-hide-details-hide-symlink-targets)
2526 (dired-hide-details-hide-information-lines)
2527 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
2528
2529 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2530 * strokes.el (strokes-file): Doc fix. Bump :version.
2531 (strokes-help): Doc fix.
2532 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2533 * emulation/viper.el (viper): Doc fix for custom group.
2534 (top-level): Remove oh-so-no-longer-relevant text about vip.
2535 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2536
2537 * ido.el (ido-save-directory-list-file):
2538 * saveplace.el (save-place-file):
2539 * calendar/timeclock.el (timeclock-file):
2540 * net/quickurl.el (quickurl-url-file):
2541 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2542 * progmodes/idlwave.el (idlwave-config-directory):
2543 * textmodes/remember.el (remember-data-file):
2544 Bump :version.
2545
169d6004
GM
25462014-01-26 Glenn Morris <rgm@gnu.org>
2547
de6a923b
GM
2548 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2549 Doc fix. Make obsolete.
2550 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2551
169d6004
GM
2552 * sort.el (delete-duplicate-lines): Doc fix.
2553
ed85dee6
RS
25542014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2555
2556 * progmodes/ada-mode.el (ada):
2557 * woman.el (woman): Link to info manual and Commentary section.
2558
2559 * progmodes/flymake.el (flymake):
2560 * nxml/nxml-mode.el (nxml):
2561 * net/eww.el (eww):
2562 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2563 * htmlfontify.el (htmlfontify):
2564 * ses.el (ses):
2565 * epa.el (epa):
2566 * ido.el (ido): Link to info manual.
2567
e0c67e1d
LL
25682014-01-25 Leo Liu <sdl.web@gmail.com>
2569
2570 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2571
35408b1a
AS
25722014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2573
2574 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2575 (bug#16537).
2576
76c3fa95
JB
25772014-01-24 Juanma Barranquero <lekktu@gmail.com>
2578
f77c7a99
JB
2579 * net/eww.el (eww-download-callback):
2580 Fix reference to eww-download-directory.
2581
76c3fa95
JB
2582 * emacs-lisp/bytecomp.el (byte-compile-file):
2583 Remove unused local variable `file-name'.
2584
1e548e40
GM
25852014-01-24 Glenn Morris <rgm@gnu.org>
2586
03f3b318
GM
2587 * woman.el (woman-default-faces, woman-monochrome-faces):
2588 Fix obsolescence specification.
2589
1e548e40
GM
2590 * subr.el (with-demoted-errors): Doc fix.
2591
d4f0427b
SM
25922014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2593
2594 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2595 (cl--macroexp-fboundp): New function.
2596 (cl--make-type-test): Use it.
2597
1670e27f
GM
25982014-01-23 Glenn Morris <rgm@gnu.org>
2599
2600 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2601 * simple.el (eval-expression): Doc fixes.
2602
80efa207
GM
26032014-01-22 Glenn Morris <rgm@gnu.org>
2604
2605 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2606
29afcbab
SM
26072014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2608
2609 * emacs-lisp/package.el: Write files silently.
2610 (package-autoload-ensure-default-file, package--write-file-no-coding)
2611 (package-generate-description-file, package--download-one-archive)
2612 (package-install-from-archive): Tell `write-region' to stay quiet.
2613 (package-menu-mode, package-menu--print-info): Omit the Archive column
2614 if there's only one archive.
2615 (package-all-keywords, package--has-keyword-p): Remove dead code.
2616
2a5bce4f
GM
26172014-01-22 Glenn Morris <rgm@gnu.org>
2618
edace89f
GM
2619 * version.el (emacs-bzr-version-bzr): Fix typo.
2620
2a5bce4f
GM
2621 * version.el (emacs-repository-get-version):
2622 Check either .bzr or .git, but not both.
2623 Make the git case actually use the DIR argument, and return nil
2624 rather than the empty string.
983664c0 2625 Avoid error if .git exists but the git executable is not found.
2a5bce4f 2626
6cb4da45
MR
26272014-01-22 Martin Rudalics <rudalics@gmx.at>
2628
2629 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
2630 * window.el (window-total-size, window-size): New argument ROUND.
2631 (window--min-delta-1, window-min-delta, window--max-delta-1):
2632 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
2633 columns a window can shrink (Bug#16430).
2634 (fit-window-to-buffer): Simplify code.
2635 * term.el (term-window-width): Call window-body-width again.
2636
cc0f2ece
GM
26372014-01-22 Glenn Morris <rgm@gnu.org>
2638
7b997b14
GM
2639 * image.el (image-format-suffixes): Doc fix.
2640
44e76f9d
GM
2641 * international/quail.el (quail-define-package): Doc fix.
2642
35e951cd 2643 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 2644 (authors-renamed-files-alist): Additions.
7bfc1caa 2645
85a5f61f
GM
2646 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2647 reverts 2014-01-09 change. (Bug#16422)
2648
cc0f2ece
GM
2649 * calc/calc-embed.el (thing-at-point-looking-at):
2650 * emacs-lisp/map-ynp.el (x-popup-dialog):
2651 * obsolete/lmenu.el (x-popup-dialog):
2652 * emacs-lisp/package.el (url-recreate-url):
2653 * mail/mailclient.el (clipboard-kill-ring-save):
2654 * subr.el (x-popup-dialog): Update declaration.
2655 * mail/rmail.el (rmail-mime-message-p):
2656 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2657
00d2a6bb
DC
26582014-01-21 Daniel Colascione <dancol@dancol.org>
2659
2660 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2661 Correctly detect when we're inside an arithmetic expansion form
2662 containing nested parenthesis.
c295fc18 2663 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
2664 to detect cases where we shouldn't expand "<<" to a heredoc
2665 skeleton.
2666
dd9d2e9d
SM
26672014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2668
2669 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2670 (eldoc--message-command-p): New function.
2671 (eldoc-display-message-p): Use it.
2672 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2673 message is not automatically erased for us.
2674 (eldoc-print-current-symbol-info): Erase previous message, if any.
2675
e7d807ca
TH
26762014-01-21 Tassilo Horn <tsdh@gnu.org>
2677
4ff0a0e5
TH
2678 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2679 specify it's an interactive function.
2680
dd9d2e9d
SM
2681 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2682 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
2683 citations with optional arguments.
2684
87503791
LL
26852014-01-21 Leo Liu <sdl.web@gmail.com>
2686
2687 * simple.el (read--expression): Don't enable eldoc-mode.
2688
6cc750ee
SM
26892014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 * simple.el (move-beginning-of-line): Make sure we don't move forward
2692 (bug#16497).
2693
71f16bda
JL
26942014-01-20 Juri Linkov <juri@jurta.org>
2695
2696 * saveplace.el (toggle-save-place, save-place-to-alist)
2697 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2698 'dired-mode) before checking for dired-directory. (Bug#16477)
2699
3c5a4839
JL
27002014-01-20 Juri Linkov <juri@jurta.org>
2701
2702 * indent.el (indent-line-to): Use backward-to-indentation
2703 instead of back-to-indentation. (Bug#16461)
2704
f952002e
PE
27052014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2706
2707 Revert some of the CANNOT_DUMP fix (Bug#16494).
2708 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2709 but fixing this can wait until after the next release.
2710 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2711
93675500
MA
27122014-01-19 Michael Albinus <michael.albinus@gmx.de>
2713
2714 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2715 Use `password-word-equivalents'.
2716 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2717 to t. (Bug#5664, Bug#13124)
2718
e3af763f
AM
27192014-01-19 Alan Mackenzie <acm@muc.de>
2720
2721 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2722 points.
2723 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 2724 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
2725 * progmodes/cc-mode.el (c-before-change, c-after-change)
2726 (c-font-lock-fontify-region): Bind it here.
2727
4ff6d92d
MR
27282014-01-19 Martin Rudalics <rudalics@gmx.at>
2729
2730 * term.el (term-window-width): Call window-text-width instead of
2731 window-width (Bug#16470).
2732
9a685cf6
PE
27332014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2734
2735 * simple.el (password-word-equivalents): Remove duplicates.
2736 Sort, to make this easier next time.
2737 Downcase. Omit ": " after "jelszó".
2738
5aa78c2d
JD
27392014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2740
2741 * term/common-win.el (saved-region-selection): Defvar it.
2742 (x-select-text): Set saved-region-selection (Bug#16382).
2743
cabb250c
GM
27442014-01-18 Glenn Morris <rgm@gnu.org>
2745
2746 * emacs-lisp/authors.el (authors-aliases)
2747 (authors-renamed-files-alist): Add some entries.
2748
a1340440
MA
27492014-01-17 Michael Albinus <michael.albinus@gmx.de>
2750
93675500
MA
2751 * net/tramp.el (tramp-password-prompt-regexp):
2752 Use `password-word-equivalents' if available.
a1340440
MA
2753 (tramp-action-password, tramp-process-one-action)
2754 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2755
681ce5d2
CY
27562014-01-17 Chong Yidong <cyd@gnu.org>
2757
2758 * simple.el (password-word-equivalents): New defcustom.
2759 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2760 to 24.4.
2761 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2762 to t. (Bug#13124)
2763
fb3d479c
DG
27642014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2765
2766 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
2767 (ruby-align-to-stmt-keywords): Change the default value.
2768 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
2769 choices.
2770 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2771 keywords, check against the value of `ruby-alignable-keywords'
2772 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2773
0d613483
GM
27742014-01-17 Glenn Morris <rgm@gnu.org>
2775
fc23fe2d
GM
2776 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2777
0d613483 2778 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 2779 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
2780 (authors-ignored-files): Add some entries, remove others.
2781 (authors-ambiguous-files, authors-valid-file-names):
2782 Add some entries.
2783 (authors-renamed-files-alist): Add, remove, and adjust entries.
2784 (authors-renamed-files-regexps): Add some entries.
2785 Remove some very broad ones. Make some entries `lax'.
2786 (authors-lax-changelogs): New constant.
2787 (authors-disambiguate-file-name): Treat top-level specially.
2788 (authors-lax-changelog-p): New function.
2789 (authors-canonical-file-name): Check file as written against
2790 authors-valid-file-names. Do not special-case etc/.
2791 Handle `lax' logs and authors-renamed-files-regexps elements.
2792
2dbf4ffd
DG
27932014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2794
2795 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
2796 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2797 callers.
2dbf4ffd 2798
87b2a7f2
SM
27992014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2800
2801 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2802 Assume we're already in the proper buffer.
2803 Inspired by Anders Lindgren <andlind@gmail.com>.
2804 (follow-post-command-hook): Call it from the right buffer.
2805 (follow-comint-scroll-to-bottom): Adjust call.
2806 (follow-all-followers): Use get-buffer-window-list.
2807
93acfb0e
DC
28082014-01-15 Daniel Colascione <dancol@dancol.org>
2809
2810 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2811 `buffer-file-name' in interactive-form so that we don't leave
2812 pathless file names in `file-name-history'.
2813
ccc6b208
JL
28142014-01-15 Juri Linkov <juri@jurta.org>
2815
2816 * indent.el (indent-rigidly): Set deactivate-mark to nil
2817 in transient indentation mode. (Bug#16438)
2818
5c92e00d
DG
28192014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2820
2821 * emacs-lisp/package.el (package-desc-keywords): New function
2822 (Bug#16222).
2823 (describe-package-1, package-all-keywords)
2824 (package--has-keyword-p): Use it.
2825
dac69660
NR
28262014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2827
2828 * simple.el (define-alternatives): When creating the
2829 COMMAND-alternatives variable, assign COMMAND as its definition
2830 name so that `describe-variable' can relocate it.
2831
8b63edf8
ML
28322014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2833
2834 * font-lock.el (font-lock-keywords): Fix typo in docstring
2835 (bug#16307).
2836
c6a0b8eb
AM
28372014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2838
2839 * ispell.el (ispell-region): Reset `in-comment' for new line
2840 instead of wrongly reset `add-coment' (bug#13577).
2841
02bf443d
DU
28422014-01-14 Daiki Ueno <ueno@gnu.org>
2843
2844 * epa-file.el (epa-file-write-region): Encode the region according
2845 to `buffer-file-format'. Problem reported at:
2846 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2847
fd7fde15
SM
28482014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2849
2850 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2851 so it applies in the right buffer (bug#16410).
2852
c176054f
DC
28532014-01-13 Daniel Colascione <dancol@dancol.org>
2854
2855 * textmodes/rst.el (rst-define-key): Provide deprecated
2856 keybindings through named functions instead of anonymous ones so
2857 that "??" doesn't appear in describe-mode output.
2858
e3f33e5d
BG
28592014-01-13 Bastien Guerry <bzg@gnu.org>
2860
2861 * simple.el (define-alternatives): Call the selected command
2862 interactively. When setting `COMMAND--implementation' for the
2863 first time, tell the user how to chose another implementation.
2864 Enhance the docstring.
2865
c055d654
SM
28662014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2869 (log-edit--match-first-line): New function.
2870 (log-edit-font-lock-keywords): Use it.
2871 (log-edit-mode): Make jit-lock-defer-multiline work.
2872
d791cc3b
BG
28732014-01-13 Bastien Guerry <bzg@gnu.org>
2874
2875 * rect.el (rectangle-mark-mode): When the region is not active,
2876 display a message saying that the mark as been set and that
2877 rectangle mode is in use.
2878 (rectangle--highlight-for-redisplay): Only put an overlay with a
2879 visible vertical bar when (display-graphic-p) is non-nil.
2880 This partially fixes Bug#16403.
2881
3c0c4562
JL
28822014-01-13 Juri Linkov <juri@jurta.org>
2883
2884 * info.el (Info-find-file): Go to DIR before displaying the error
2885 about a nonexistent file if no previous Info file is visited.
2886 Use `user-error' instead of `error' for "Info file %s does not exist".
2887 (Info-find-node-2): In case of a nonexistent node in unwind forms
2888 go to the Top node if there is no previous node to revert to.
2889 (Bug#16405)
2890
25a700d0
MR
28912014-01-13 Martin Rudalics <rudalics@gmx.at>
2892
2893 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
2894 * window.el (fit-frame-to-buffer): Fix doc-string.
2895 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
2896 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2897 when avoiding that frame goes partially off-screen.
2898 (fit-window-to-buffer): Respect window-min-height/-width
2899 (Bug#14096).
2900
6ae948d8
SM
29012014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2904 after an empty line.
2905
6137cb82
SM
29062014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * net/shr.el (shr-render-region): Autoload.
2909
e6344e17
XF
29102014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2911
2912 * net/eww.el (eww-download-directory): Rename from
2913 `eww-download-path' (Bug#16419).
2914
3b922c70
LL
29152014-01-12 Leo Liu <sdl.web@gmail.com>
2916
2917 * dired-x.el (dired-mode-map): Fix last change.
2918
2919 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2920
4fa51741
PE
29212014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2922
2923 Spelling fixes.
2924 * emacs-lisp/generic.el (generic--normalize-comments):
2925 Rename from generic--normalise-comments. All uses changed.
35e951cd 2926 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
2927 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2928 (bubbles--neighborhood-available)
2929 (bubbles--update-neighborhood-score):
2930 Rename from names with 'neighbourhood'. All uses changed.
2931
9b335362
LL
29322014-01-12 Leo Liu <sdl.web@gmail.com>
2933
2934 Re-implement the feature of showing eldoc info after editing.
2935 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2936 (eldoc-edit-message-commands): New function.
2937 (eldoc-print-after-edit): New variable.
2938 (eldoc-pre-command-refresh-echo-area): Emit message only by
2939 eldoc-message-commands.
2940 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2941 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 2942 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 2943 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 2944
e2a095b1
GM
29452014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2946 Eric S. Raymond <esr@thyrsus.com>
9685190b 2947
841a6d0c 2948 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 2949 function works correctly in either a Bazaar or Git repo.
0abf4134 2950
e2a095b1
GM
29512014-01-11 Eric S. Raymond <esr@thyrsus.com>
2952
6137cb82
SM
2953 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2954 Goes with removal of the joke manpages from /etc.
9685190b 2955
c295fc18 29562014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 2957
6137cb82
SM
2958 * mail/rmail.el (rmail-get-coding-system):
2959 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 2960
d2f16e93
GM
29612014-01-10 Glenn Morris <rgm@gnu.org>
2962
2963 * emacs-lisp/authors.el (authors-fixed-entries):
2964 Update for files that no longer exist.
2965
7e03bb32
ER
29662014-01-10 Eric S. Raymond <esr@thyrsus.com>
2967
2968 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 2969 24.3 (Tested).
7e03bb32 2970
dd806710
BB
29712014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2972
2973 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2974 and Podfile.
2975
ed6ec139
EZ
29762014-01-10 Eli Zaretskii <eliz@gnu.org>
2977
2978 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2979
cc33cac9
CY
29802014-01-10 Chong Yidong <cyd@gnu.org>
2981
6137cb82 2982 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 2983
d9d836b5
AL
29842014-01-10 Anders Lindgren <andlind@gmail.com>
2985
2986 * follow.el (follow-cache-command-list): Include right-char and
2987 left-char.
2988
06827ec8
PE
29892014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2990
2991 Spelling fixes.
2992 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2993 * woman.el (woman-mark-horizontal-position):
2994 Rename from woman-mark-horizonal-position. Use changed.
2995
458dbf5e
GM
29962014-01-10 Glenn Morris <rgm@gnu.org>
2997
dad6fae7
GM
2998 * info.el (info-initialize): If running uninstalled, ensure our
2999 own info files are always found first, even if INFOPATH is set.
3000
458dbf5e
GM
3001 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3002
05e0afce
DE
30032014-01-09 David Engster <deng@randomsample.de>
3004
3005 * emacs-lisp/eieio-custom.el:
3006 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3007 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3008 * emacs-lisp/eieio.el: Regenerate autoloads.
3009
f29778b3
ER
30102014-01-09 Eric S. Raymond <esr@thyrsus.com>
3011
3012 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 3013 following renames. (Bug#8756)
f29778b3 3014
684d44ef
SM
30152014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3016
3017 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3018 (bug#16382).
3019 (activate-mark): Add `no-tmm' argument.
3020 (set-mark, push-mark-command): Use it instead of running
3021 activate-mark-hook by hand.
3022
9475054f
ER
30232014-01-08 Eric S. Raymond <esr@thyrsus.com>
3024
3025 In preparation for the move to git, sanitize out some
3026 Bazaar-specific names.
3027
38942b9c
GM
3028 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3029
9475054f 3030 * version.el (emacs-bzr-version): Name changed to
689c9ca5 3031 emacs-repository-version. Obsolete-variable alias made.
9475054f 3032 * loadup.el: Follow through on this name change.
a12bf61e 3033 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
3034 assumption about the version control system in use.
3035
0f918d96 30362014-01-08 David Engster <deng@randomsample.de>
abb82152 3037
684d44ef
SM
3038 * help-fns.el (help-fns-describe-function-functions):
3039 New variable to call functions for augmenting help buffers.
abb82152
DE
3040 (describe-function-1): Remove explicit calls to
3041 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
3042 `help-fns--obsolete'. Put them in above new variable instead, and
3043 call them through `run-hook-with-args'.
3044 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3045 `eieio-describe-class'. Not meant for interactive use anymore,
3046 but to augment existing help buffers. Remove optional second
684d44ef
SM
3047 argument. Create proper button for file location.
3048 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
3049 possible.
3050 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3051 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
3052 (describe-method, describe-generic, eieio-describe-method):
3053 Remove aliases.
0f918d96
DE
3054 (eieio-help-constructor, eieio-help-generic): Rename from
3055 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3056 Rewrite to use `insert' in the current buffer and use proper help
3057 buttons.
3058 (eieio-help-find-method-definition)
3059 (eieio-help-find-class-definition): Also accept symbols as
3060 arguments.
3061 (eieio-help-mode-augmentation-maybee): Remove.
3062 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
3063 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3064 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 3065
136b74c5
PE
30662014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3067
3068 Spelling fixes.
3069 * language/china-util.el (hz-ascii-designation):
3070 Rename from hz-ascii-designnation.
3071 (hz-ascii-designation): Rename from hz-ascii-designnation.
3072 All uses changed.
3073
ec6c7de2
SM
30742014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3075
3076 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3077 package-alist.
3078
d6262c7c
BG
30792014-01-08 Bastien Guerry <bzg@gnu.org>
3080
4b9e6087
GM
3081 * emacs-lisp/package.el (package-delete):
3082 Correctly delete the package from package-alist.
d6262c7c 3083
0a3eec32
DU
30842014-01-08 Daiki Ueno <ueno@gnu.org>
3085
3086 * emacs-lisp/package.el (url-recreate-url): Declare.
3087 (url-http-target-url): Declare.
4b9e6087 3088 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
3089 (package--check-signature): Don't re-signal errors from
3090 package--with-work-buffer. Suggested by Stefan Monnier.
3091
68f0bb97
BG
30922014-01-07 Bastien Guerry <bzg@gnu.org>
3093
3094 * minibuffer.el (completion--try-word-completion): When both a
3095 hyphen and a space are possible candidates for the character
3096 following a word, display both candidates. (Bug#15980)
3097
7e1899d7
MR
30982014-01-07 Martin Rudalics <rudalics@gmx.at>
3099
3100 * window.el (balance-windows-2): While rounding don't give a
c295fc18 3101 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 3102
0030ec15
GM
31032014-01-07 Glenn Morris <rgm@gnu.org>
3104
3105 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3106 (menu-bar-help-menu): Use view-external-packages instead.
3107
2b6b4f20
BG
31082014-01-07 Bastien Guerry <bzg@gnu.org>
3109
3110 * emacs-lisp/package.el (package-delete): Also delete the package
3111 name from `package-alist', not its description only.
3112
e9be0a13
GM
31132014-01-07 Glenn Morris <rgm@gnu.org>
3114
3115 * help.el (view-external-packages):
3116 * menu-bar.el (menu-bar-help-extra-packages):
3117 Visit efaq.info rather than etc/MORE.STUFF.
3118
e4f74da9
JL
31192014-01-07 Juri Linkov <juri@jurta.org>
3120
3121 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3122 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3123
3124 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3125 that shadows RET. (Bug#16342)
3126
de7ce2d1
CY
31272014-01-07 Chong Yidong <cyd@gnu.org>
3128
3129 * isearch.el (isearch-yank-char, isearch-yank-word)
3130 (isearch-yank-line): Doc fix.
3131
6bdd9204
SM
31322014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3135 * emacs-lisp/elint.el (elint-find-builtins):
3136 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3137 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3138 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3139 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3140 * apropos.el (apropos-safe-documentation):
3141 * subr.el (symbol-file): Remove redundant fboundp.
3142 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3143
daccca97
BG
31442014-01-06 Bastien Guerry <bzg@gnu.org>
3145
3146 * hl-line.el (global-hl-line-overlay): Make a local variable.
3147 (global-hl-line-overlays): New variable to store all overlays.
3148 (global-hl-line-mode): Don't delete overlays from the current
3149 buffer when `global-hl-line-sticky-flag' is non-nil.
3150 (global-hl-line-highlight): Add new overlays to
3151 `global-hl-line-overlays'.
3152 (global-hl-line-unhighlight-all): New function to delete all
3153 overlays when turning off `global-hl-line-mode'.
3154 This fixes Bug#16183.
3155
ec00f20f
SM
31562014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * subr.el (set-transient-map): Fix nested case and docstring.
3159
a0031f97
TH
31602014-01-06 Tassilo Horn <tsdh@gnu.org>
3161
3162 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3163 `Texinfo' entry.
3164
bf6a77f3
DC
31652014-01-06 Daniel Colascione <dancol@dancol.org>
3166
3167 Fix defun navigation in vc log view.
3168
3169 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3170 like `beginning-of-defun'.
c295fc18 3171 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
3172 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3173 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 3174 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 3175 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 3176
d5081c1e
PE
31772014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3178
3179 Spelling fixes.
3180 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3181 * emacs-lisp/debug.el (cancel-debug-on-entry):
3182 * epg.el (epg-error-to-string):
3183 * files.el (recover-file):
3184 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3185 * mail/emacsbug.el (report-emacs-bug-hook):
3186 * mail/sendmail.el (mail-recover):
3187 * ses.el (ses-yank-resize):
3188 * term/ns-win.el (ns-print-buffer):
3189 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3190 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3191 All uses changed.
3192 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3193
53f6b148
LL
31942014-01-06 Leo Liu <sdl.web@gmail.com>
3195
3196 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 3197 to avoid shadowing global key. (Bug#16354)
53f6b148 3198
b82ace2f
DC
31992014-01-06 Daniel Colascione <dancol@dancol.org>
3200
3201 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3202 rst-mode.
3203
3669b636
MR
32042014-01-05 Martin Rudalics <rudalics@gmx.at>
3205
3206 * window.el (balance-windows): Add mising t to fix Bug#16351.
3207
1a29adc2
LMI
32082014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3209
3210 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3211 (bug#16285).
3d95a0f4
LMI
3212 (shr-insert): If we have a word that's longer than `shr-width',
3213 break after it anyway. Otherwise we'll do no breaking once we get
3214 such a long word.
1a29adc2 3215
f4018140
KN
32162014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3217
3fcfc4ee 3218 * net/eww.el (eww): Support single/double quote for search.
c295fc18 3219 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
3220 (eww-history-quit): Delete and use quit-window.
3221 (eww-history-kill): Delete, because it doesn't work well and
3222 not necessary.
3223 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 3224
4e619754
PE
32252014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3226
73dbf960
PE
3227 Fix misspelling of 'chinese' in rx (Bug#16237).
3228 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3229 chinese-two-byte.
3230
4e619754
PE
3231 Change subword regexps back to vars (Bug#16296).
3232 * progmodes/subword.el (subword-forward-regexp)
3233 (subword-backward-regexp): Change these back to variables.
3234
e18b70fc
SM
32352014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3238 syntax-begin-function (bug#16247).
3239
0d53f628
CY
32402014-01-03 Chong Yidong <cyd@gnu.org>
3241
3242 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3243 (advice--docstring): Delete variable.
3244 (advice--make-1): Leave the docstring empty.
3245 (advice-add): Use function-documentation for advised docstring.
3246
3247 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3248 Ignore function-documentation property when getting documentation.
3249 (ad-activate-advised-definition): Use function-documentation
3250 generate the docstring.
3251 (ad-make-advised-definition): Don't call
3252 ad-make-advised-definition-docstring.
3253 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3254 Delete functions.
3255
3256 * progmodes/sql.el (sql-help): Use function-documentation instead
3257 of dynamic-docstring-function property. No need to autoload now.
3258 (sql--help-docstring): New variable.
3259 (sql--make-help-docstring): Use it.
3260
6f547583
SM
32612014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3262
6ef9aed8
SM
3263 * ielm.el (ielm-tab): Retarget.
3264 (ielm-map): Use ielm-tab for tab.
3265 (ielm-complete-filename): Use comint-filename-completion.
3266 (ielm-complete-symbol): Remove.
3267 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3268 remove ielm-tab from completion-at-point-functions (bug#16224).
3269
6f547583
SM
3270 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3271 Beware signals raised by predicates (bug#16201).
3272
a574edbe
RS
32732014-01-02 Richard Stallman <rms@gnu.org>
3274
e831604d
RS
3275 * dired-aux.el (dired-do-print): Handle printer-name.
3276
6f547583
SM
3277 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3278 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
3279 (rmail-epa-decrypt): Turn off mime processing.
3280
3fcfc4ee 3281 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
3282 Add parens in message-id.
3283
3284 * mail/rmail.el (rmail-get-coding-function): Variable.
3285 (rmail-get-coding-system): Use it.
3286
04311a16
KH
32872013-12-31 Eli Zaretskii <eliz@gnu.org>
3288
3289 * international/mule-conf.el: Unify the charset indian-is13194.
3290 (indian-is13194): Specify unify-map.
3291
c8d89778
LL
32922013-12-31 Leo Liu <sdl.web@gmail.com>
3293
3294 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3295
e63ace37
DC
32962013-12-30 Daniel Colascione <dancol@dancol.org>
3297
9e0bf19a
DC
3298 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3299 of printing a useless when we resume from sleep.
3300
e63ace37 3301 * progmodes/sh-script.el
c295fc18 3302 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
3303 in indentation code. (Bug#16233)
3304
e9d6c46a
JT
33052013-12-28 João Távora <joaotavora@gmail.com>
3306
6f547583
SM
3307 * elec-pair.el (electric-pair-post-self-insert-function):
3308 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 3309
bf7bea5d
EZ
33102013-12-28 Eli Zaretskii <eliz@gnu.org>
3311
3312 * frame.el (window-system-for-display): Don't allow to create a
3313 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3314
8449dd1f
GM
33152013-12-28 Glenn Morris <rgm@gnu.org>
3316
9c5a5c77
GM
3317 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3318 Update callers.
3319
3320 * apropos.el (apropos-match-face):
3321 * calculator.el (calculator-displayer):
3322 * dabbrev.el (dabbrev-search-these-buffers-only):
3323 * face-remap.el (buffer-face-mode-face):
3324 * simple.el (yank-handled-properties):
3325 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3326 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3327 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3328 (hashcash-double-spend-database):
3329 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3330 (ruby-deep-indent-paren-style):
3331 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3332 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3333 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3334 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3335 Specify custom types.
3336
bb098075
GM
3337 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3338 * bookmark.el (bookmark-bmenu-use-header-line):
3339 * doc-view.el (doc-view-scale-internally):
3340 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3341 * register.el (register-preview-delay):
3342 * net/shr.el (shr-bullet):
3343 * progmodes/cfengine.el (cfengine-cf-promises)
3344 (cfengine-parameters-indent):
3345 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3346 * textmodes/reftex-vars.el (reftex-label-regexps):
3347 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3348
9c61f806
GM
3349 * net/tls.el (tls-certtool-program): Fix default value.
3350
3351 * desktop.el (desktop-restore-in-current-display):
3352 * newcomment.el (comment-empty-lines):
3353 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3354 (idlwave-pad-keyword):
3355 * progmodes/tcl.el (tcl-tab-always-indent):
3356 * textmodes/reftex-vars.el (reftex-index-default-tag):
3357 * elec-pair.el (electric-pair-skip-whitespace):
3358 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3359
8449dd1f
GM
3360 * emacs-lisp/authors.el (authors-ignored-files)
3361 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3362
fdadeb49
JC
33632013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3364
72140a0f
GM
3365 * shell.el (shell-dynamic-complete-command): Doc fix.
3366 (shell--command-completion-data): Shell completion now matches
3367 executable filenames from the current buffer's directory, on
da5ecfa9 3368 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 3369
e572a7d8
LI
33702013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3371
3372 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3373
7514d3f8
SM
33742013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3375
a4151f3b
SM
3376 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3377 (bug#16251).
3378
7514d3f8
SM
3379 * electric.el: Move all electric-pair-* to elec-pair.el.
3380 * elec-pair.el: New file, split from electric.el.
3381
ac5758d1
LI
33822013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3383
3384 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3385 indentation level is larger than the width, because that will
3386 infloop.
3387 (shr-insert): Fill repeatedly long texts, so that Japanese is
3388 formatted correctly (bug#16263).
24a6b65e
LI
3389 (shr-find-fill-point): Off by one error in comparison with the
3390 indentation.
ac5758d1 3391
7514d3f8 33922013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
3393
3394 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 3395 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
3396 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3397 if that keeps or improves their balance in buffers.
3398 (electric-pair-delete-adjacent-pairs): Delete the pair when
3399 backspacing over adjacent matched delimiters.
3400 (electric-pair-open-extra-newline): Open extra newline when
3401 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
3402 (electric--sort-post-self-insertion-hook):
3403 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
3404 minor-modes are activated.
3405 * simple.el (newline-and-indent): Call newline with interactive
3406 set to t.
3407 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
3408 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3409 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3410 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
3411 electric-pair-open-newline-between-pairs to nil.
3412
fbcc63a3
FEG
34132013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3414
3415 * progmodes/python.el: Use lexical-binding.
3416 (python-nav-beginning-of-defun): Stop searching ASAP.
3417
ed78d16c
XF
34182013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3419
3420 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3421 Fix interactive spec. Doc fix. (Bug#15754)
3422
38b2c142
KY
34232013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3424
3425 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 3426 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
3427 Fix edebug spec (bug#16184).
3428
3c856c14
LI
34292013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3430
83fa295c 3431 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
3432 (shr-insert): Don't infloop if we can't find a good place to break
3433 the line (bug#16256).
3c856c14 3434
01379221
FEG
34352013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3436
35e951cd 3437 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
3438 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3439 python-nav-lisp-forward-sexp-safe.
3440 (python-nav--forward-sexp): New argument SAFE allows switching
3441 forward sexp movement behavior for parens.
3442 (python-nav-forward-sexp): Throw errors on unterminated parens
3443 (Bug#16191).
3444 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3445 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
3446 (python-shell-buffer-substring):
3447 Use `python-nav-forward-sexp-safe'.
01379221 3448
99e4926f
LI
34492013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3450
3451 * net/shr.el (shr-find-fill-point): Don't break lines before a
3452 quotation mark.
c6c20584
LI
3453 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3454 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 3455 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 3456
fec0e828
KN
34572013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3458
3459 * net/eww.el (eww-form-textarea): Use a different face for
3460 textareas than text input since they have different keymaps
3461 (bug#16142).
3462
89c868ad
FEG
34632013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3464
7514d3f8
SM
3465 * progmodes/python.el (python-nav-beginning-of-statement):
3466 Speed up (Bug#15295).
89c868ad 3467
eeef121a
LI
34682013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3469
3470 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3471 the window configuration.
3472
121ea65f
EZ
34732013-12-24 Eli Zaretskii <eliz@gnu.org>
3474
3475 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3476 we run on MS-Windows or MS-DOS.
3477
18cee9ec
MR
34782013-12-24 Martin Rudalics <rudalics@gmx.at>
3479
3480 * window.el (balance-windows-area): Call window-size instead of
3481 window-height and window-width. Bug#16241.
3482
58f2b9a5
LI
34832013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3484
3485 * net/eww.el (eww-bookmark-quit): Remove.
3486 (eww-bookmark-browse): Restore the window configuration when you
3487 choose a bookmark (bug#16144).
3488
d64b6308
DC
34892013-12-24 Daniel Colascione <dancol@dancol.org>
3490
3491 * icomplete.el: Remove redundant :group arguments to `defcustom'
3492 throughout.
3493 (icomplete-show-matches-on-no-input): New customizable variable.
3494 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3495 we have something to show.
7514d3f8 3496 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 3497
0da54898
DC
34982013-12-23 Daniel Colascione <dancol@dancol.org>
3499
3500 * icomplete.el: Move `provide' to end of file.
3501
b90aa4f4
TZ
35022013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3503
3504 * net/gnutls.el (gnutls-verify-error): Add version tag.
3505
8cd22a08
CY
35062013-12-23 Chong Yidong <cyd@gnu.org>
3507
3508 * subr.el (set-transient-map): Rename from
3509 set-temporary-overlay-map. Doc fix.
3510
3511 * face-remap.el (text-scale-adjust):
3512 * indent.el (indent-rigidly):
3513 * kmacro.el (kmacro-call-macro):
3514 * minibuffer.el (minibuffer-force-complete):
3515 * repeat.el (repeat):
3516 * simple.el (universal-argument--mode):
3517 * calendar/todo-mode.el (todo-insert-item--next-param):
3518 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3519
7510b021
CY
3520 * indent.el (indent-rigidly): Use substitute-command-keys.
3521
72140a0f 35222013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
3523
3524 * net/eww.el (eww-tag-select): Add text-property to jump to next
3525 select field.
e9dc713d 3526 (eww): Add non-supported ftp error.
56890ecd 3527
1f87a56c
DG
35282013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3529
3530 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3531 comments. Handle electric indent after typing `?' and `!'.
3532
dca38cf9
CY
35332013-12-22 Chong Yidong <cyd@gnu.org>
3534
3535 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
3536 applicable to a frame, fall back on the defface spec.
3537 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 3538
f2351498
DG
35392013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3540
3541 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3542 after `{'. We need it after block openers, and it doesn't seem
3543 to hurt after hash openers.
3544
6cddebc1
DG
35452013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3546
3547 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3548 extracted from `ruby-smie-rules'.
3549 (ruby--electric-indent-chars): New variable.
3550 (ruby--electric-indent-p): New function.
3551 (ruby-mode): Use `electric-indent-functions' instead of
3552 `electric-indent-chars'.
3553
65a1da00
DG
35542013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3555
3556 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3557 docstring.
3558 (ruby-smie-rules): Indent plus one level after `=>'.
3559
b51ad4cf
RS
35602013-12-21 Richard Stallman <rms@gnu.org>
3561
3562 * simple.el (newline): Doc fix.
3563
72140a0f 35642013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 3565
e9dc713d 3566 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
3567 (eww-history-browse, eww-history-quit, eww-history-kill)
3568 (eww-history-mode-map, eww-history-mode): New command and
3569 functions to list browser histories.
e9dc713d
JB
3570 (eww-form-text): Support text form with disabled
3571 and readonly attributes.
3572 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 3573
5e1901c1
RS
35742013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3575
3576 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3577 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3578 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3579 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3580 Use `user-error'.
3581 (eww-bookmark-mode-map): Add menu.
3582 (eww-render, eww-mode): Use `setq-local'.
3583 (eww-tool-bar-map): New variable.
3584 (eww-mode): Set `tool-bar-map'.
3585 (eww-view-source): Check for `html-mode' with `fboundp'.
3586
073d5cfd
LMI
35872013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3588
3589 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3590 elements with text inside. Also remove debugging.
3591
41cf3d11
JD
35922013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3593
3594 * cus-start.el (all): Add ns-use-srgb-colorspace.
3595
aac2b673
CY
35962013-12-21 Chong Yidong <cyd@gnu.org>
3597
3598 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3599 undefined. Thus, theme settings for undefined faces do not take
3600 effect until the faces are defined with defface, the same as with
3601 theme variables.
3602
3603 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3604 (face-spec-reset-face): Don't assign extra properties in temacs.
3605 (face-spec-recalc): Apply X resources too.
3606
bacb0e77
CY
36072013-12-21 Chong Yidong <cyd@gnu.org>
3608
3609 * faces.el (face-spec-set):
3610 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3611 * custom.el (defface): Doc fixes (Bug#16203).
3612
77221051
CY
3613 * indent.el (indent-rigidly-map): Add docstring, and move commands
3614 into named functions.
3615 (indent-rigidly-left, indent-rigidly-right)
3616 (indent-rigidly-left-to-tab-stop)
3617 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3618 indentation direction based on bidi direction, and accumulate
3619 sequential commands in a single undo boundary.
3620 (indent-rigidly--pop-undo): New utility function.
3621
e0eb0550
JB
36222013-12-20 Juanma Barranquero <lekktu@gmail.com>
3623
3624 * faces.el (read-face-name): Require crm.el when using crm-separator.
3625
3282bd2e
DC
36262013-12-20 Daniel Colascione <dancol@dancol.org>
3627
3628 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3629 so that we don't reflow comments into the shebang line.
3630
1d42e5b6
JL
36312013-12-20 Juri Linkov <juri@jurta.org>
3632
3633 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3634 a position when `dired-directory' is non-nil. Check integer
3635 positions with `integerp'.
3636 (toggle-save-place, save-places-to-alist): Add check for
3637 `dired-directory'.
3638 (save-place-find-file-hook): Check integer positions with
3639 `integerp'.
3640 (save-place-dired-hook): Use `dired-goto-file' when
3641 `dired-filename' is found in the assoc list. Check integer
3642 positions with `integerp'.
3643 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3644
3645 * dired.el (dired-initial-position-hook): Rename back from
3646 `dired-initial-point-hook'.
3647 (dired-initial-position): Rename `dired-initial-point-hook' to
3648 `dired-initial-position-hook'.
3649 (dired-file-name-at-point): Doc fix. (Bug#15329)
3650
24da7273
JL
36512013-12-20 Juri Linkov <juri@jurta.org>
3652
3653 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3654 (read-regexp-suggestions): New function.
3655 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3656 Use `read-regexp-suggestions'. Add non-empty default to history
3657 for empty input.
3658 (occur-read-regexp-defaults-function): Remove function.
3659 (occur-read-primary-args): Use `regexp-history-last' instead of
3660 `occur-read-regexp-defaults-function'.
3661
3662 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3663 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3664 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3665 `hi-lock-read-regexp-defaults-function'. Doc fix.
3666 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3667 with `find-tag-default-as-symbol-regexp'. Doc fix.
3668 (hi-lock-read-regexp-defaults): Remove function.
3669 (hi-lock-regexp-okay): Add check for null.
3670
3671 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3672 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3673
3674 * subr.el (find-tag-default-as-symbol-regexp): New function.
3675 (find-tag-default-as-regexp): Move symbol regexp formatting to
3676 `find-tag-default-as-symbol-regexp'.
3677
137f57c8
S
36782013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3679
3680 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3681 (Bug#14179)
3682
f3a66082
SB
36832013-12-20 Stephen Berman <stephen.berman@gmx.net>
3684
3685 * calendar/todo-mode.el: New implementation of item insertion
3686 commands and key bindings.
3687 (todo-key-prompt): New face.
3688 (todo-insert-item): New command.
3689 (todo-insert-item--parameters): New defconst, replacing defvar
3690 todo-insertion-commands-args-genlist.
3691 (todo-insert-item--param-key-alist): New defconst, replacing
3692 defvar todo-insertion-commands-arg-key-list.
3693 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3694 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3695 (todo-insert-item--next-param): New functions.
3696 (todo-insert-item--args, todo-insert-item--argleft)
3697 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3698 New variables.
3699 (todo-key-bindings-t): Change binding of "i" from
3700 todo-insertion-map to todo-insert-item.
3701 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3702 (todo-insertion-command-name, todo-insertion-commands-names)
3703 (todo-define-insertion-command, todo-insertion-commands)
3704 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3705
2f99433b
SB
37062013-12-20 Stephen Berman <stephen.berman@gmx.net>
3707
3708 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3709 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3710 eval-when-compile.
3711 (todo-move-category): Allow choosing a non-existing todo file to
3712 move the category to, and create that file.
3713 (todo-default-priority): New user option.
3714 (todo-set-item-priority): Use it.
3715 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3716 (desktop-restore-file-buffer): Declare.
3717 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3718 (todo-modes-set-2): Locally set desktop-save-buffer to
3719 todo-desktop-save-buffer.
3720 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3721 (auto-mode-alist): Add autoload cookie.
3722
131e4695
BB
37232013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3724
3725 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3726 helpers.el was a poor choice of name.
3cbfb935
BB
3727 (string-remove-prefix): New function.
3728 (string-remove-suffix): New function.
131e4695 3729
c44de18d
MR
37302013-12-20 Martin Rudalics <rudalics@gmx.at>
3731
3732 Fix assignment for new window total sizes.
3733 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
3734 (window--pixel-to-total-1, window--pixel-to-total):
3735 Fix calculation of new total sizes.
c44de18d 3736
ca65efcc
VS
37372013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3738
3739 * comint.el (comint-output-filter): Fix rear-nonsticky property
3740 placement (Bug#16010).
3741
a9574eb7
CY
37422013-12-20 Chong Yidong <cyd@gnu.org>
3743
3744 * faces.el (read-color): Minor fix for completion function.
3745
b520f210
DG
37462013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3747
e0eb0550
JB
3748 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3749 New option. (Bug#16182)
b520f210
DG
3750 (ruby-smie--indent-to-stmt-p): Use it.
3751 (ruby-smie-rules): Revert the logic in the handling of `when'.
3752 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3753 (ruby-deep-arglist, ruby-deep-indent-paren)
3754 (ruby-deep-indent-paren-style): Update docstrings to note that the
3755 vars don't have any effect with SMIE.
3756
26b75b45
JB
37572013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3758
3759 * calc/calc.el (calc-enter, calc-pop): Use the variable
3760 `calc-context-sensitive-enter'.
3761
cf91cee7
LMI
37622013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3763
3764 * net/shr.el (shr-insert): Protect against infloops in degenerate
3765 tables.
3766
51d971b4
RS
37672013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3768
3769 * progmodes/octave.el (octave): Add link to manual and octave
3770 homepage.
3771 (octave-mode-menu): Link to octave-mode manual.
3772
8c2e462a
LL
37732013-12-20 Leo Liu <sdl.web@gmail.com>
3774
3775 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3776 insertion using skeleton-end-newline. (Bug#16138)
3777
501158bc
JL
37782013-12-20 Juri Linkov <juri@jurta.org>
3779
3780 * replace.el (occur-engine): Use `add-face-text-property'
3781 to add the face property to matches and titles. (Bug#14645)
3782
3783 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3784 the palette of other hi-lock colors.
3785 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3786
50ab1da6
JL
37872013-12-19 Juri Linkov <juri@jurta.org>
3788
3789 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3790 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3791 (minibuffer-history-symbol): Move variable declaration closer to
3792 its usage.
3793
3794 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3795 (Bug#14785)
3796
3d6e95e7
JL
37972013-12-19 Juri Linkov <juri@jurta.org>
3798
3799 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3800 New function.
3801 (log-edit-hook): Add it to :options. (Bug#16170)
3802
b41594fd
JL
38032013-12-19 Juri Linkov <juri@jurta.org>
3804
3805 * simple.el (eval-expression-print-format): Don't check for
3806 command names and the last command. Always display additional
3807 formats of the integer result in the echo area, and insert them
3808 to the current buffer only with a zero prefix arg.
3809 Display character when char-displayable-p is non-nil.
3810 (eval-expression): With a zero prefix arg, set `print-length' and
3811 `print-level' to nil, and insert the integer values from
3812 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3813
3814 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3815 `eval-last-sexp-arg-internal'. Doc fix.
3816 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3817 `eval-last-sexp-print-value'. Doc fix.
3818 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3819 Set `print-length' and `print-level' to nil when arg is zero.
3820 (eval-last-sexp): Doc fix.
3821 (eval-defun-2): Print the integer values from
3822 `eval-expression-print-format' at the end.
3823
3824 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3825 values from `eval-expression-print-format' at the end.
3826
3827 * ielm.el (ielm-eval-input): Print the integer
3828 values from `eval-expression-print-format' at the end.
3829
8f2be364
TZ
38302013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3831
3832 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3833 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3834
2230a6e3
SM
38352013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3836
3837 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3838 (hl-line-highlight, global-hl-line-highlight): Use it.
3839 (hl-line-overlay): Use defvar-local.
3840
1269a680
JD
38412013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3842
3843 * term/ns-win.el: Require dnd.
3844 (global-map): Remove drag items.
3845 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
3846 (ns-set-background-at-mouse):
3847 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3848 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3849 New functions.
1269a680 3850
049638ad
GM
38512013-12-19 Glenn Morris <rgm@gnu.org>
3852
3853 * emacs-lisp/ert.el (ert-select-tests):
3854 Fix string/symbol mixup. (Bug#16121)
3855
ce41edb4
DG
38562013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3857
3858 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3859 keywords to their parent.
3860
7e1549c9
DG
38612013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3862
3863 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3864 first arg to be a string (fixed dead code), or an operator symbol.
3865 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3866 operator symbols.
3867 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3868 did nothing. Don't respond to `(:after ".")', it will be called
3869 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3870 change anything. Only return indentation for binary operators
3871 when they are hanging. De-dent opening paren when its parent is
3872 `.', otherwise it looks bad when the dot is not at bol or eol
3873 (bug#16182).
3874
3ee4cd64
JL
38752013-12-19 Juri Linkov <juri@jurta.org>
3876
3877 * replace.el (query-replace-read-args): Split a non-negative arg
3878 and a negative arg into separate elements.
3879 (query-replace, query-replace-regexp, replace-string)
3880 (replace-regexp): Add arg `backward'. Doc fix.
3881 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3882 move point to the beginning of the match.
3883 (replace-search, replace-highlight): Use new arg `backward'
3884 to set the value of `isearch-forward'.
3885 (perform-replace): Add arg `backward' and use it to perform
3886 replacement backward. (Bug#14979)
3887
3888 * isearch.el (isearch-query-replace): Use a negative prefix arg
3889 to call `perform-replace' with a non-nil arg `backward'.
3890
0cda6b7b
JL
38912013-12-18 Juri Linkov <juri@jurta.org>
3892
3893 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3894 to the default list. Move `log-edit-show-files' to the end.
3895 Add more available functions to options.
3896 (log-edit): Move default specific settings to
3897 `log-edit-insert-message-template'. Don't move point.
3898 (log-edit-insert-message-template): New function.
3899 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3900 (Bug#16170)
3901
b216f0a6
JL
39022013-12-18 Juri Linkov <juri@jurta.org>
3903
3904 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3905 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3906
1d1c55dc
LL
39072013-12-18 Leo Liu <sdl.web@gmail.com>
3908
e9dc713d
JB
3909 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3910 (Bug#16186)
1d1c55dc 3911
64e4c76e
EZ
39122013-12-18 Eli Zaretskii <eliz@gnu.org>
3913
3914 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3915 formats for displaying file sizes when the -s switch is given.
3916 Instead, compute a separate format for displaying the size in
3917 blocks, which is displayed in addition to the "regular" size.
3918 When -h is given in addition to -s, produce size in blocks in
3919 human-readable form as well. (Bug#16179)
3920
b2984e39
TH
39212013-12-18 Tassilo Horn <tsdh@gnu.org>
3922
2230a6e3
SM
3923 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3924 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 3925
50ff2e06
CY
39262013-12-18 Chong Yidong <cyd@gnu.org>
3927
0081bc84
CY
3928 * cus-edit.el (custom-magic-alist): Fix "themed" description
3929 (Bug#14348).
3930
a7ee9424
CY
3931 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3932 is non-nil, do not create a new entry in the symbol's theme-value
3933 or theme-face property; update theme-settings only (Bug#14664).
18874304 3934 (custom-available-themes): Doc fix.
a7ee9424 3935
8f942537
CY
3936 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3937 (Bug#15674).
3938
50ff2e06
CY
3939 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3940
83c60f60
KI
39412013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3942
3943 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3944 (Bug#13914).
3945
e0eb0550 39462013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
3947
3948 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3949
1f41ee56
GM
39502013-12-18 Glenn Morris <rgm@gnu.org>
3951
3952 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 3953 * cus-start.el (load-prefer-newer): New option.
1f41ee56 3954
e82134b1
LW
39552013-12-18 Le Wang <l26wang@gmail.com>
3956
2230a6e3
SM
3957 * comint.el (comint-previous-matching-input-from-input):
3958 Retain point (Bug#13404).
e82134b1 3959
33f5d4c1
CY
39602013-12-18 Chong Yidong <cyd@gnu.org>
3961
3962 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3963
ccc9f6dc
GM
39642013-12-18 Glenn Morris <rgm@gnu.org>
3965
3966 * mail/emacsbug.el (report-emacs-bug):
3967 Only mention enable-multibyte-characters if non-standard.
3968
33dd8e95
JL
39692013-12-17 Juri Linkov <juri@jurta.org>
3970
3971 * arc-mode.el (archive-extract-by-file): Check if directory exists
3972 before deletion to not show irrelevant errors if it doesn't exist.
3973
7a409b30
JL
39742013-12-17 Juri Linkov <juri@jurta.org>
3975
3976 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3977 (Bug#14751)
3978
3979 * net/eww.el (browse-web): Add alias to `eww'.
3980 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3981 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3982
3983 * net/browse-url.el (browse-url-browser-function): Move `eww'
3984 closer to similar functions.
3985
3986 * startup.el (fancy-startup-screen, fancy-about-screen):
3987 Set browse-url-browser-function to eww-browse-url locally.
3988 (Bug#14751)
3989
2d6b6005
SM
39902013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * window.el (window--pixel-to-total): Remove unused `mini' var.
3993 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3994 (split-window): Remove unused `new' var.
3995 (window--display-buffer): Remove unused `frame' and `delta' vars.
3996 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3997 and display-width'.
3998
cf2b7efc
MR
39992013-12-17 Martin Rudalics <rudalics@gmx.at>
4000
4001 * dired.el (dired-mark-pop-up):
4002 * register.el (register-preview): Don't bind
4003 split-height-threshold here since it's now done in
4004 display-buffer-below-selected.
4005
ed3af8a7 40062013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4007
4008 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4009 xterm-rgb-convert-to-16bit.
4010 (rxvt-register-default-colors): Standardize with
4011 xterm-register-default-colors (Bug#14078).
4012
76da3455
DK
40132013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4014
4015 * simple.el (kill-region): Pass mark first, then point, so that
4016 kill-append works right (Bug#12819).
4017 (copy-region-as-kill, kill-ring-save): Likewise.
4018
2b84d763
LL
40192013-12-17 Leo Liu <sdl.web@gmail.com>
4020
4021 * net/rcirc.el (rcirc-add-face):
4022 * eshell/em-prompt.el (eshell-emit-prompt):
4023 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4024 (Bug#16167)
4025
e2f6a0bc
CY
40262013-12-17 Chong Yidong <cyd@gnu.org>
4027
4028 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4029 Suggested by Xue Fuqiao.
4030
35b249a6
DG
40312013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4032
4033 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4034
e9145444
SM
40352013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4036
4037 * net/shr.el (shr-insert-document): Remove unused var
4038 `shr-preliminary-table-render'.
4039 (shr-rescale-image): Remove unused arg `force'.
4040 (shr-put-image): Update calls accordingly.
4041 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4042
5556c0ce
DG
40432013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4044
4045 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4046 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4047 :close-all, to see which indentation method to use (Bug#16116).
4048 (smie-rules-function): Document the method :close-all.
4049
11bade0a
LMI
40502013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4051
1c4b1e61
LMI
4052 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4053
11bade0a
LMI
4054 * net/eww.el (eww-display-html): If we can't find the anchor we're
4055 looking for, then go to point-min.
4056
8fb8c4f3
PE
40572013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4058
4059 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4060 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4061 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4062 Expand dir too, in case it's relative.
4063
6c8e0ae6
JL
40642013-12-16 Juri Linkov <juri@jurta.org>
4065
4066 * desktop.el (desktop-auto-save-timeout): Change default to
4067 `auto-save-timeout'. Doc fix.
4068 (desktop-save): Skip the timestamp in desktop-saved-frameset
4069 when checking for auto-save changes.
4070 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4071 `desktop-auto-save' is called repeatedly by the idle timer.
4072 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4073 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4074 (Bug#15331)
4075
2178e858
JL
40762013-12-16 Juri Linkov <juri@jurta.org>
4077
4078 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4079 (Bug#16035)
4080 (isearch-pre-command-hook): Check `this-command' for symbolp.
4081
39cb42c6
SM
40822013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4083
4084 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4085
5b9b750a
TZ
40862013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4087
4088 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4089 (cfengine3--current-function): Bring in the current-function
4090 functionality from `cfengine3--current-word'.
4091 (cfengine3-completion-function): Bring in the
4092 bounds-of-current-word functionality from
4093 `cfengine3--current-word'.
4094
d144ef06
MR
40952013-12-16 Martin Rudalics <rudalics@gmx.at>
4096
39cb42c6
SM
4097 * window.el (display-buffer-below-selected):
4098 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 4099
a8bbe298
LL
41002013-12-16 Leo Liu <sdl.web@gmail.com>
4101
4102 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4103 Remove NOMSG arg and all uses changed.
4104
2013a2f9
SM
41052013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4108 (cua--deactivate-rectangle): Don't deactivate the mark.
4109 (cua-set-rectangle-mark): Don't set mark-active since
4110 cua--activate-rectangle already does it for us.
4111 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4112 non-rectangular region.
4113
4114 * emulation/cua-base.el (cua-repeat-replace-region):
4115 Use with-current-buffer.
4116
4117 * net/gnutls.el: Use cl-lib.
4118 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4119
5ae811dd
TZ
41202013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4121
4122 * emacs-lisp/package.el (package-built-in-p): Support both
4123 built-in and the package.el converted package descriptions.
4124 (package-show-package-list): Allow keywords.
4125 (package-keyword-button-action): Use it instead of
4126 `finder-list-matches'.
4127 (package-menu-filter-interactive): Interactive filtering (by
4128 keyword) function.
4129 (package-menu--generate): Support keywords and change keymappings
4130 and headers when they are given.
4131 (package--has-keyword-p): Helper function.
4132 (package-menu--refresh): Use it.
4133 (package--mapc): Helper function.
4134 (package-all-keywords): Use it.
4135 (package-menu-mode-map): Set up menu items and keybindings to
4136 provide a filtering UI.
4137
31b4827e
TZ
41382013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4139
4140 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4141 the behavior when a certificate fails validation. Defaults to
4142 old behavior: never abort, just warn.
4143 (gnutls-negotiate): Use it.
4144
f93cc74f
MR
41452013-12-14 Martin Rudalics <rudalics@gmx.at>
4146
4147 * window.el (display-buffer-below-selected): Never split window
4148 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4149
f77d7d17
TW
41502013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4151
4152 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4153 (package-buffer-info): Use it (bug#15108).
aa2bddd7 4154
7514d3f8
SM
41552013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4156
aa2bddd7 4157 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 4158 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 4159
276bc333
DG
41602013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4161
4162 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4163 open-paren tokens when preceded by a open-paren, too.
4164 (ruby-smie-rules): Handle virtual indentation after open-paren
4165 tokens specially. If there is code between it and eol, return the
4166 column where is starts (Bug#16118).
4167
d43957f3
TZ
41682013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4169
a5c1ac0c 4170 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 4171 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
4172 (cfengine3--current-word): Fix parameters.
4173 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
4174 (cfengine3-completion-function, cfengine3--current-function):
4175 Use `assq' for symbols.
d43957f3
TZ
4176 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4177
06a4f110
GM
41782013-12-13 Glenn Morris <rgm@gnu.org>
4179
4180 * loadup.el (load-path): Warn if site-load or site-init changes it.
4181 No more need to reset it when bootstrapping.
4182
978a5fda
TZ
41832013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4184
4185 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4186 locations for cf-promises.
4187 (cfengine-mode-syntax-functions-regex): New caching variable.
4188 (cfengine3-fallback-syntax): Fallback syntax for cases where
4189 cf-promises doesn't run.
4190 (cfengine3--current-word): Reimplement using
4191 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
4192 (cfengine3-completion-function, cfengine3--current-function):
4193 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
4194 (cfengine3-clear-syntax-cache): New function.
4195 (cfengine3-make-syntax-cache): Simplify and create
4196 `cfengine-mode-syntax-functions-regex' on demand.
4197 (cfengine3-format-function-docstring): Don't call
4198 `cfengine3-make-syntax-cache' explicitly.
4199
71e6691e
MR
42002013-12-13 Martin Rudalics <rudalics@gmx.at>
4201
4202 Fix windmove-find-other-window broken after pixelwise resizing
4203 (Bug#16017).
4204 * windmove.el (windmove-other-window-loc): Revert change from
4205 2013-12-04.
4206 (windmove-find-other-window): Call window-in-direction.
4207 * window.el (window-in-direction): New arguments SIGN, WRAP and
4208 MINI to emulate original windmove-find-other-window behavior.
4209
84c73ba0
DG
42102013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4211
4212 * simple.el (blink-matching--overlay): New variable.
4213 (blink-matching-open): Instead of moving point, highlight the
4214 matching paren with an overlay
4215 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4216
4217 * faces.el (paren-showing-faces, show-paren-match)
4218 (show-paren-mismatch): Move from paren.el.
4219
b9e20952
LL
42202013-12-13 Leo Liu <sdl.web@gmail.com>
4221
4222 * indent.el (indent-region): Disable progress reporter in
4223 minibuffer. (Bug#16108)
4224
4225 * bindings.el (visual-order-cursor-movement): Fix version.
4226
ce030451
FEG
42272013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4228
4229 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4230 Also match after beginning of line.
4231 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 4232 files. Thanks to Russell Sim. (Bug#15378)
ce030451 4233
4a9c6865
JL
42342013-12-13 Juri Linkov <juri@jurta.org>
4235
4236 * simple.el <Keypad support>: Remove key bindings duplicated
4237 with bindings.el. (Bug#14397)
4238
2bc170c3
JL
42392013-12-13 Juri Linkov <juri@jurta.org>
4240
4241 * comint.el (comint-mode-map): Replace `delete-char' with
4242 `delete-forward-char'. (Bug#16109)
4243
bc9222c9
FEG
42442013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4245
aa2bddd7 4246 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 4247 Fix de-denters cornercase. (Bug#15731)
bc9222c9 4248
cb3a1380
SM
42492013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4252 (advice--make): Pay attention to `depth'.
4253 (advice--make-1): Don't autoload commands eagerly.
4254 * emacs-lisp/elp.el (elp-instrument-function):
4255 * emacs-lisp/trace.el (trace-function-internal):
4256 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4257
4258 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4259
01633a17
EZ
42602013-12-12 Eli Zaretskii <eliz@gnu.org>
4261
4262 * term/w32-win.el (w32-handle-dropped-file):
4263 * startup.el (normal-top-level):
4264 * net/browse-url.el (browse-url-file-url):
4265 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4266 decode file names using 'utf-8' rather than
4267 file-name-coding-system.
4268
09faee72
FEG
42692013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4270
4271 * progmodes/python.el (python-indent-context)
4272 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 4273 behavior for comment blocks. (Bug#15916)
09faee72 4274
f4f84024 42752013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 4276
cb3a1380
SM
4277 * progmodes/python.el (python-indent-calculate-indentation):
4278 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
4279 operators when they are just string constituents. (Bug#15812)
4280
d5ccb7be
JL
42812013-12-12 Juri Linkov <juri@jurta.org>
4282
4283 * uniquify.el (uniquify-buffer-name-style): Change default to
4284 `post-forward-angle-brackets'.
4285
4286 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4287 `uniquify'. Change default to `post-forward-angle-brackets'.
4288
7b3f5679
GM
42892013-12-11 Glenn Morris <rgm@gnu.org>
4290
4291 * emacs-lisp/package.el (finder-list-matches):
4292 Autoload rather than falsely declaring.
4293
f4fe8fdd
TZ
42942013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4295
4296 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4297 (eww-mode-map): Use them.
4298
3c29190f
MR
42992013-12-11 Martin Rudalics <rudalics@gmx.at>
4300
4301 * window.el (display-buffer-in-side-window): Fix doc-string
4302 (Bug#16115).
4303
0cd616a2
JB
43042013-12-11 Juanma Barranquero <lekktu@gmail.com>
4305
4306 * vc/vc-git.el: Silence byte-compiler warnings.
4307 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4308 (log-edit-set-header): Declare.
4309
3ef8e0d1
EZ
43102013-12-11 Eli Zaretskii <eliz@gnu.org>
4311
4312 * Makefile.in (custom-deps, finder-data): Run output file names
4313 through unmsys--file-name. (Bug#16099)
4314
afdadaf7
SM
43152013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4316
7ae3ae39 4317 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 4318 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 4319
5b4f37ab
SM
4320 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4321 instead of deleting the selection "by hand" (bug#16098).
4322 Rely on insert-for-yank to yank rectangles.
4323 (cua-highlight-region-shift-only): Mark obsolete.
4324 (cua-mode): Don't enable/disable transient-mark-mode,
4325 shift-select-mode (cua-mode works both with and without them), and
4326 pc-selection-mode (obsolete).
4327 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4328 (cua--deactivate-rectangle): Deactivate it.
4329
4b72c12b
SM
4330 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4331 (delete-selection-helper): Make sure yank starts at the top of the
4332 deleted region.
4333 (minibuffer-keyboard-quit): Use region-active-p.
4334
e82af72d
SM
4335 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4336
afdadaf7
SM
4337 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4338 to `delete' (bug#16109).
4339
ed4bc201
RS
43402013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4341
4342 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4343 info manual and show keybindings and set `:group' keyword.
4344
bb8097b9
JL
43452013-12-11 Juri Linkov <juri@jurta.org>
4346
4347 * delsel.el (delete-active-region): Let-bind `this-command'
4348 to prevent `kill-region' from changing its original value.
4349 (delete-selection-helper): Handle `overwrite-mode' for the type
4350 `kill' exactly the same way as for the type `t'.
4351 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4352 Support more commands. (Bug#13312)
4353
c1916ff5
JL
43542013-12-11 Juri Linkov <juri@jurta.org>
4355
4356 * bindings.el: Map kp keys to non-kp keys systematically
4357 with basic modifiers control, meta and shift. (Bug#14397)
4358
7514d3f8 43592013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
4360
4361 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4362 "Close browser" menu items. Fix wrong function of "List
4363 bookmarks".
4364
4cc51eaf
JL
43652013-12-11 Juri Linkov <juri@jurta.org>
4366
4367 * misearch.el (multi-isearch-buffers): Set the value of
4368 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4369 arg of isearch-forward to t.
4370 (multi-isearch-buffers-regexp): Set the value of
4371 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4372 arg of isearch-forward-regexp to t.
4373 (multi-isearch-files): Set the value of
4374 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4375 arg of isearch-forward to t.
4376 (multi-isearch-files-regexp): Set the value of
c295fc18 4377 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
4378 arg of isearch-forward-regexp to t. (Bug#16035)
4379
4380 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4381 arg of isearch-forward to t.
4382 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4383 arg of isearch-forward-regexp to t.
4384 (dired-isearch-filter-filenames): Remove unnecessary check for
4385 `dired-isearch-filenames'.
4386
4387 * comint.el (comint-history-isearch-backward):
4388 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4389 (comint-history-isearch-backward-regexp):
4390 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4391
ceac12b7
EZ
43922013-12-10 Eli Zaretskii <eliz@gnu.org>
4393
4394 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4395 unmsys--file-name. (Bug#16099)
4396
5a565782
TZ
43972013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4398
cb3a1380
SM
4399 * emacs-lisp/package.el (package-keyword-button-action):
4400 Remove finder.el require dependency.
5a565782 4401
a81fc7ba
TZ
44022013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4403
4404 * emacs-lisp/package.el: Require finder.el.
4405 (describe-package-1): Add keyword buttons.
4406 (package-make-button): New convenience function.
4407 (package-keyword-button-action): Keyword button action using
e0eb0550 4408 `finder-list-matches'.
a81fc7ba 4409
6aaca951
EZ
44102013-12-09 Eli Zaretskii <eliz@gnu.org>
4411
4412 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4413 last commit.
4414
a1099a91
MA
44152013-12-09 Michael Albinus <michael.albinus@gmx.de>
4416
4417 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4418 symlinked files.
4419
8212d9c0
DG
44202013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4421
4422 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4423 after the end of a percent literal.
4424
8f48d131
CD
44252013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4426
cb3a1380
SM
4427 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4428 Handle caret-delimited strings (Bug#16079).
8f48d131 4429
ff8c9764
DG
44302013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4431
cb3a1380
SM
4432 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4433 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
4434 `ruby-parse-partial' (Bug#16078).
4435
d64643b4
LL
44362013-12-09 Leo Liu <sdl.web@gmail.com>
4437
4438 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4439
47e59c66
DG
44402013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4441
4442 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4443 (js-switch-indent-offset): New option.
4444 (js--proper-indentation): Use it. And handle the case when
4445 "default" is actually a key in an object literal.
4446 (js--same-line): New function.
4447 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
4448 (js--indent-in-array-comp, js--array-comp-indentation):
4449 New functions.
47e59c66
DG
4450 (js--proper-indentation): Use them, to handle array comprehension
4451 continuations.
4452
974ebc9c
LL
44532013-12-08 Leo Liu <sdl.web@gmail.com>
4454
4455 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4456 (flymake-make-overlay): Remove arg MOUSE-FACE.
4457 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4458
27262e39
SM
44592013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4460
4461 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4462 New function.
4463 (redisplay-highlight-region-function): Use it.
4464
4465 * emulation/cua-base.el (cua--explicit-region-start)
4466 (cua--last-region-shifted): Remove.
4467 (cua--deactivate): Use deactivate-mark.
4468 (cua--pre-command-handler-1): Don't handle shift-selection.
4469 (cua--post-command-handler-1): Don't change transient-mark-mode.
4470 (cua--select-keymaps): Use region-active-p rather than
4471 cua--explicit-region-start or cua--last-region-shifted.
4472 (cua-mode): Enable shift-select-mode.
4473
6407822c
LL
44742013-12-08 Leo Liu <sdl.web@gmail.com>
4475
27262e39
SM
4476 * progmodes/flymake.el (flymake-popup-current-error-menu):
4477 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
4478 (flymake-posn-at-point-as-event, flymake-popup-menu)
4479 (flymake-make-emacs-menu): Remove. (Bug#16077)
4480
00a2b823
SM
44812013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4482
02033d49
SM
4483 * rect.el (rectangle-mark-mode): Activate mark even if
4484 transient-mark-mode is off (bug#16066).
4485 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4486 is > mark and at bolp.
4487
6f8dfccf
SM
4488 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4489 (region-extract-function): Use it.
4490 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4491 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4492 Delete functions.
4493 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4494 kill-ring-save, kill-region, delete-char, delete-forward-char.
4495 Ignore self-insert-iso.
4496
4497 * emulation/cua-gmrk.el (cua--init-global-mark):
4498 Ignore `self-insert-iso'.
4499
4500 * emulation/cua-base.el (cua--prefix-copy-handler)
4501 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4502 checking cua--rectangle.
4503 (cua-delete-region): Use region-extract-function.
4504 (cua-replace-region): Delete function.
4505 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4506 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4507 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4508 (cua--init-keymaps): Don't remap delete-selection commands.
4509 (cua-mode): Use delete-selection-mode instead of rolling our own
4510 (bug#16085).
4511
4512 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4513 Obey region-extract-function.
4514
00a2b823
SM
4515 Make registers and delete-selection-mode work on rectangles.
4516 * register.el (describe-register-1): Don't modify the register's value.
4517 (copy-to-register): Obey region-extract-function.
4518 * delsel.el (delete-active-region): Obey region-extract-function.
4519
a92fa5f1
LL
45202013-12-08 Leo Liu <sdl.web@gmail.com>
4521
4522 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4523 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4524 (flymake-compilation-prevents-syntax-check)
4525 (flymake-start-syntax-check-on-newline)
4526 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4527 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4528 (flymake-xml-program, flymake-master-file-dirs)
4529 (flymake-master-file-count-limit)
4530 (flymake-allowed-file-name-masks): Relocate.
4531 (flymake-makehash, flymake-float-time)
4532 (flymake-replace-regexp-in-string, flymake-split-string)
4533 (flymake-get-temp-dir): Remove.
4534 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4535 (flymake-current-row, flymake-selected-frame)
4536 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4537 related functions. (Bug#16077)
4538
73c8ceea
BB
45392013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4540
4541 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4542
faec28d9
TH
45432013-12-07 Tassilo Horn <tsdh@gnu.org>
4544
4545 * help-fns.el (describe-function-1): Use new advice-* functions
4546 rather than old ad-* functions. Fix function type description and
4547 source links for advised functions and subrs.
4548
e330b646
LMI
45492013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4550
00a2b823 4551 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 4552
4803595d
MA
45532013-12-06 Michael Albinus <michael.albinus@gmx.de>
4554
4555 * progmodes/compile.el (compilation-start):
4556 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4557
4558 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4559 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4560
fa834a93
DG
45612013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4562
00a2b823
SM
4563 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4564 Touch up the last change.
fa834a93 4565
b2856a6f
LL
45662013-12-06 Leo Liu <sdl.web@gmail.com>
4567
4568 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4569 (inferior-octave-startup): Always use "octave> " for prompt.
4570 (octave-goto-function-definition)
4571 (octave-sync-function-file-names)
4572 (octave-find-definition-default-filename): Remove redundant backquotes.
4573
af67e79a
DG
45742013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4575
4576 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4577 syntax for `?'.
4578 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4579 where appropriate already.
4580 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4581 end of method names (Bug#15874).
4582
bf093209
JL
45832013-12-06 Juri Linkov <juri@jurta.org>
4584
4585 * isearch.el (isearch--saved-overriding-local-map):
4586 New internal variable.
4587 (isearch-mode): Set it to the initial value of
4588 `overriding-terminal-local-map'.
4589 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4590 with `isearch--saved-overriding-local-map'. (Bug#16035)
4591
16588fad
DG
45922013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4593
00a2b823
SM
4594 * progmodes/octave.el (inferior-octave-completion-table):
4595 Turn back into function, use `completion-table-with-cache'
16588fad
DG
4596 (Bug#11906). Update all references.
4597
4598 * minibuffer.el (completion-table-with-cache): New function.
4599
bf4906d7
CD
46002013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4601
4602 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4603
ff69c18f
TZ
46042013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4605
4606 * net/eww.el (eww-current-source): New variable to store page
4607 source.
4608 (eww-display-html, eww-mode, eww-save-history)
4609 (eww-restore-history): Use it.
4610 (eww-view-source): New command to view page source.
4611 Opportunistically uses `html-mode' to highlight the buffer.
4612 (eww-mode-map): Install it.
4613
b85eff45
MA
46142013-12-05 Michael Albinus <michael.albinus@gmx.de>
4615
4616 * net/dbus.el (dbus-unregister-service)
4617 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4618 Fix docstring.
4619 (dbus-unregister-service): Skip :serial entries in
4620 `dbus-registered-objects-table'.
4621 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4622
39eb0899
TZ
46232013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4624
4625 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4626 around keywords with extra `split-string' argument.
4627
456760a5
MR
46282013-12-04 Martin Rudalics <rudalics@gmx.at>
4629
4630 * windmove.el (windmove-other-window-loc): Handle navigation
4631 between windows (excluding the minibuffer window - Bug#16017).
4632
81961e4c
MA
46332013-12-04 Michael Albinus <michael.albinus@gmx.de>
4634
4635 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4636 in D-Bus type syntax.
4637 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4638 preserve unibyte strings. (Bug#16048)
4639
8497f938
SM
46402013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4643 Call force-mode-line-update is the proper buffer (bug#16042).
4644
dda61916
DG
46452013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4646
4647 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4648 `log-edit-remember-comment', make argument optional. Adjust all
4649 callers.
4650 (log-edit-mode): Add `log-edit-remember-comment' to
4651 `kill-buffer-hook' locally.
4652 (log-edit-kill-buffer): Don't remember comment explicitly since
4653 the buffer is killed anyway.
4654
c085e5b9
JL
46552013-12-04 Juri Linkov <juri@jurta.org>
4656
4657 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4658 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4659
e0eb0550 46602013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
4661
4662 * notifications.el (notifications-close-notification): Call the
81961e4c 4663 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 4664
39fa32d6
KY
46652013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4666
4667 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4668
9139632a
JL
46692013-12-03 Juri Linkov <juri@jurta.org>
4670
4671 * progmodes/compile.el (compilation-start): Rename window alist
4672 entry `no-display-ok' to `allow-no-window'.
4673
4674 * simple.el (shell-command): Add window alist entry
4675 `allow-no-window' to `display-buffer'.
4676 (async-shell-command): Doc fix.
4677
4678 * window.el (display-buffer-no-window): New action function.
4679 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4680
0f457a37
DG
46812013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4682
4683 * vc/log-edit.el (log-edit-set-header): Extract from
4684 `log-edit-toggle-header'.
4685 (log-edit-extract-headers): Separate the summary, when extracted
4686 from header, from the rest of the message with an empty line.
4687
4688 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4689 line, if present, to the Summary header.
4690
0962f376
SM
46912013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4694 in current-buffer (bug#16029).
4695
f345395c
HE
46962013-12-02 Helmut Eller <eller.helmut@gmail.com>
4697
4698 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4699 (debugger-mode-map): Bind it.
4700 (debugger--backtrace-base): New function.
4701 (debugger-eval-expression): Use it.
4702 (debugger-frame-number): Skip local vars when present.
4703 (debugger--locals-visible-p, debugger--insert-locals)
4704 (debugger--show-locals, debugger--hide-locals): New functions.
4705
a8a15d9d
MA
47062013-12-02 Michael Albinus <michael.albinus@gmx.de>
4707
4708 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4709 "LC_ALL".
4710 (tramp-get-remote-locale): New defun.
4711 (tramp-open-connection-setup-interactive-shell): Use it.
4712
0518b057
LL
47132013-12-02 Leo Liu <sdl.web@gmail.com>
4714
4715 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4716
4717 * progmodes/sh-script.el (sh-shell-process):
4718 * progmodes/octave.el (inferior-octave-process-live-p):
4719 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4720 (gdb-inferior-io-sentinel):
4721 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4722
3adc9c6d
DG
47232013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4724
4725 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4726 `save-selected-window' to `log-edit-hide-buf'. This makes
4727 `log-edit-show-files' idempotent.
4728 (log-edit-show-files): Mark the new window as dedicated.
4729
47e8b74e
DG
47302013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4731
4732 * vc/log-edit.el (log-edit-mode-map): Add binding for
4733 `log-edit-kill-biffer'.
4734 (log-edit-hide-buf): Add a FIXME comment.
4735 (log-edit-add-new-comment): New function, extracted from
4736 `log-edit-done'.
4737 (log-edit-done, log-edit-add-to-changelog): Use it.
4738 (log-edit-kill-buffer): New command.
4739
1f6e1bb0
LMI
47402013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4741
4742 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4743 instead of killing the buffer.
4744
fb651d15
SM
47452013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4748
8feacce0
RS
47492013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4750
fb651d15 4751 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 4752 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
4753 (eww-form-checkbox, eww-toggle-checkbox):
4754 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4755
e0eb0550 4756 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 4757 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 4758 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
4759 no :src tag was specified.
4760
fb651d15 4761 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
4762 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4763 Use \\` to match beginning of string instead of ^.
4764 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 4765 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 4766
177948a5
RS
4767 * net/shr.el (shr-tag-video): Display content for video if no
4768 poster is available.
eb2dd24d 4769 (shr-tag-audio): Add support for <audio> tag.
177948a5 4770
e0eb0550 4771 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
4772 (eww-process-text-input): Treat input types in
4773 `eww-text-input-types' as text.
4774
8feacce0
RS
4775 * net/shr.el (shr-tag-table): Fix comment typo.
4776
513562a1
LMI
47772013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4778
4779 * net/eww.el (eww-follow-link): New command to avoid reloading
4780 pages when we follow #target links (bug#15243).
de8a5633 4781 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 4782
9dd99753
KN
47832013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4784
4785 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4786 forms.
4787
3e9876de
LMI
47882013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4789
4790 * net/eww.el (eww-restore-history): Update the window title after
4791 moving in the history.
ab6dea82 4792 (eww-current-dom): New variable used to save the current DOM.
3e9876de 4793
52789f7f
DG
47942013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4795
4796 * vc/log-edit.el (log-edit-mode-map): Add binding for
4797 `log-edit-beginning-of-line'.
4798 (log-edit-setup-add-author): New user option.
4799 (log-edit-beginning-of-line): New command.
4800 (log-edit): Move major mode call above the contents setup so that
4801 the local variable values are already applied.
4802 (log-edit): Only insert "Author: " when
4803 `log-edit-setup-add-author' is non-nil.
4804 (log-edit): When SETUP is non-nil, position point after ": "
4805 instead of point-min.
4806
2e6710c3
GM
48072013-12-01 Glenn Morris <rgm@gnu.org>
4808
4809 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4810
fadec31f
EZ
48112013-11-30 Eli Zaretskii <eliz@gnu.org>
4812
4813 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 4814 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
4815 visible. (Bug#16014)
4816
10634b40 48172013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
4818
4819 Support resizing frames and windows pixelwise.
4820 * cus-start.el (frame-resize-pixelwise)
4821 (window-resize-pixelwise): New entries.
4822 * emacs-lisp/debug.el (debug): Use window-total-height instead
4823 of window-total-size.
4824 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
4825 * help.el (describe-bindings-internal): Use help-buffer as
4826 argument for with-help-window.
880e6158
MR
4827 (temp-buffer-max-width): New option.
4828 (resize-temp-buffer-window, help-window-setup)
4829 (with-help-window): Rewrite.
4830 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4831 dragging dividers.
4832 * window.el (frame-char-size, window-min-pixel-height)
4833 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4834 (window-min-pixel-width, window-safe-min-pixel-size)
4835 (window-combination-p, window-safe-min-size)
4836 (window-resizable-p, window--size-to-pixel)
4837 (window--pixel-to-size, window--resize-apply-p): New functions.
4838 (window-safe-min-height): Fix doc-string.
4839 (window-size, window-min-size, window--min-size-1)
4840 (window-sizable, window-sizable-p, window--min-delta-1)
4841 (window-min-delta, window--max-delta-1, window-max-delta)
4842 (window--resizable, window--resizable-p, window-resizable)
4843 (window-full-height-p, window-full-width-p, window-at-side-p)
4844 (window--in-direction-2, window-in-direction)
4845 (window--resize-reset-1, window--resize-mini-window)
4846 (window-resize, window-resize-no-error)
4847 (window--resize-child-windows-normal)
4848 (window--resize-child-windows, window--resize-siblings)
4849 (window--resize-this-window, window--resize-root-window)
4850 (window--resize-root-window-vertically)
4851 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4852 (maximize-window, minimize-window, delete-window)
4853 (quit-restore-window, window-split-min-size, split-window)
4854 (balance-windows-2, balance-windows)
4855 (balance-windows-area-adjust, balance-windows-area)
4856 (window--state-get-1, window-state-get, window--state-put-1)
4857 (window--state-put-2, window-state-put)
fb651d15
SM
4858 (display-buffer-record-window, window--display-buffer):
4859 Make functions handle pixelwise sizing of windows.
880e6158 4860 (display-buffer--action-function-custom-type)
fb651d15
SM
4861 (display-buffer-fallback-action):
4862 Add display-buffer-in-previous-window.
880e6158
MR
4863 (display-buffer-use-some-window): Resize window to height it had
4864 before.
4865 (fit-window-to-buffer-horizontally): New option.
4866 (fit-frame-to-buffer): Describe new values.
4867 (fit-frame-to-buffer-bottom-margin): Replace with
4868 fit-frame-to-buffer-margins.
4869 (window--sanitize-margin): New function.
4870 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4871 using window-text-pixel-size.
4872
f9b697dd
GM
48732013-11-30 Glenn Morris <rgm@gnu.org>
4874
3e2fb4db
GM
4875 * emacs-lisp/bytecomp.el (byte-compile-form):
4876 Make the `interactive-only' warning like the `obsolete' one.
4877 * comint.el (comint-run):
4878 * files.el (insert-file-literally, insert-file):
4879 * replace.el (replace-string, replace-regexp):
4880 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4881 (goto-line, insert-buffer, next-line, previous-line):
4882 Tweak `interactive-only' spec.
4883
f9b697dd
GM
4884 Stop keeping (most) generated cedet grammar files in the repository.
4885 * Makefile.in (semantic): New.
4886 (compile-main): Depend on semantic.
4887
da048127
SM
48882013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4889
7784b779
SM
4890 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4891 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4892
4e36a6a6
SM
4893 * uniquify.el (uniquify-buffer-name-style): Change default.
4894
4895 * loadup.el: Preload "uniquify".
4896
e0ba1308
SM
4897 * time.el (display-time-update): Update all mode lines (bug#15999).
4898
da048127
SM
4899 * electric.el (electric-indent-mode): Enable by default.
4900 * loadup.el: Preload "electric".
4901
015b3b3e
BB
49022013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4903
4904 * emacs-lisp/helpers.el (string-empty-p): New function.
4905 (string-blank-p): New function.
4906
7efb806d
AP
49072013-11-29 Andreas Politz <politza@hochschule-trier.de>
4908
4909 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4910 (Bug#14029).
4911
c8f0efc2
AP
49122013-11-29 Andreas Politz <politza@fh-trier.de>
4913 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4914 allow non-lambda lists as functions.
4915 (imenu--in-alist): Don't recurse into non-subalists.
4916 (imenu): Don't pass function itself as an argument (Bug#14029).
4917
bd15d9d1
SM
49182013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * progmodes/python.el (python-mode-map): Remove binding for ":".
4921 (python-indent-electric-colon): Remove command.
4922 (python-indent-post-self-insert-function): Integrate the previous code
4923 of python-indent-electric-colon. Make it conditional on
4924 electric-indent-mode.
4925 (python-mode): Add ?: to electric-indent-chars.
4926 Move python-indent-post-self-insert-function to the end of
4927 post-self-insert-hook.
4928
1b10adb6
SM
49292013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4930
655ab9a3
SM
4931 * doc-view.el (doc-view-goto-page): Update mode-line.
4932
1b10adb6
SM
4933 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4934
7e3bf78c
GM
49352013-11-27 Glenn Morris <rgm@gnu.org>
4936
4937 * international/charprop.el, international/uni-bidi.el:
4938 * international/uni-category.el, international/uni-combining.el:
4939 * international/uni-comment.el, international/uni-decimal.el:
4940 * international/uni-decomposition.el, international/uni-digit.el:
4941 * international/uni-lowercase.el, international/uni-mirrored.el:
4942 * international/uni-name.el, international/uni-numeric.el:
4943 * international/uni-old-name.el, international/uni-titlecase.el:
4944 * international/uni-uppercase.el:
4945 Remove generated files from VCS repository.
4946
fb6a5d68
EZ
49472013-11-27 Eli Zaretskii <eliz@gnu.org>
4948
4949 * filenotify.el (file-notify-add-watch): Don't special-case
4950 w32notify when computing the directory to watch.
4951
cb6c95a3
GM
49522013-11-27 Glenn Morris <rgm@gnu.org>
4953
20372d0c
GM
4954 Make bootstrap without generated uni-*.el files possible again.
4955 * loadup.el: Update command-line-args checking for unidata-gen.
4956 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4957 * composite.el, international/characters.el:
4958 Handle unicode tables being undefined.
4959
52d6635f 4960 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
4961 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4962 (compile-main): Depend on leim rule.
4963 (leim): New rule.
4964 * loadup.el: Move leim-list.el to leim/ subdirectory.
4965 * startup.el (normal-top-level): No more leim directory.
4966 * international/ja-dic-cnv.el (skkdic-convert):
4967 Disable version-control and autoloads in output files.
4968 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4969 Disable version-control and autoloads in output files.
4970 * leim/quail: Move here from ../leim.
4971 * leim/quail/hangul.el (hangul-input-method-activate):
4972 Add autoload cookie.
4973 (generated-autoload-load-name): Set file-local value.
4974 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4975 (generated-autoload-load-name): Set file-local value.
4976
7514d3f8 49772013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 4978
e0eb0550 4979 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 4980 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 4981 (eww-quit): Ask confirmation before quitting eww.
e47112ee 4982
0e2c793f
EZ
49832013-11-26 Eli Zaretskii <eliz@gnu.org>
4984
4985 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4986 reading output from Diff on MS-Windows and MS-DOS.
4987
447bdcb8
BB
49882013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4989
4990 * emacs-lisp/helpers.el (string-reverse): New function.
4991
5fbf6856
MA
49922013-11-26 Michael Albinus <michael.albinus@gmx.de>
4993
4994 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4995 names on MS Windows, like "/[::1]:".
4996
4997 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4998 SWITCHES.
4999
624780f0
GM
50002013-11-26 Glenn Morris <rgm@gnu.org>
5001
0bf3f0fa
GM
5002 * progmodes/python.el (python-indent-guess-indent-offset):
5003 Avoid corner-case error. (Bug#15975)
5004
624780f0
GM
5005 Preload leim-list.el. (Bug#4789)
5006 * loadup.el: Load leim-list.el when found.
5007 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5008
4301875e 50092013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
5010
5011 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5012
4301875e
BB
5013 * emacs-lisp/helpers.el (string-join): New function.
5014
1633a815 50152013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
5016
5017 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5018 Mark as obsolete and replace it with a symbol property.
5019 (byte-compile-form): Use new 'interactive-only property.
5020 * comint.el, files.el, replace.el, simple.el:
5021 Apply new 'interactive-only properly.
5022
00139435
MR
50232013-11-25 Martin Rudalics <rudalics@gmx.at>
5024
5025 * window.el (display-buffer-at-bottom): Make sure that
5026 split-window-sensibly creates the new window on bottom
5027 (Bug#15961).
5028
5f5b128d
DK
50292013-11-23 David Kastrup <dak@gnu.org>
5030
5031 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5032 on the conflict markers when available.
5033 (smerge--get-marker): New function.
5034 (smerge-end-re, smerge-base-re): Add subgroup.
5035
623891e5
SM
50362013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5037
5038 * frame.el (handle-focus-in, handle-focus-out): Add missing
5039 interactive spec.
5040
05ca27d8
MA
50412013-11-25 Michael Albinus <michael.albinus@gmx.de>
5042
5043 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5044 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5045
511fa0d3
SM
50462013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5047
e82ad66c
SM
5048 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5049 (gomoku--last-pos): New var.
5050 (gomoku--intangible-chars): New const.
5051 (gomoku--intangible): New function.
5052 (gomoku-mode): Use it. Derive from special-mode.
5053 (gomoku-move-up): Adjust line count.
5054 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5055 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5056 Simplify accordingly.
5057
511fa0d3
SM
5058 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5059 Remove blink-cursor code.
5060 (blink-cursor-timer-function, blink-cursor-suspend):
5061 Don't special-case GUIs.
5062 (blink-cursor-mode): Use focus-in/out-hook.
5063
6f20dd03
DG
50642013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5065
5066 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5067 work when annotation is invisible (Bug#13886).
5068
431dec31 50692013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
5070
5071 * json.el (json-alist-p): Only return non-nil if the alist has
5072 simple keys (Bug#13518).
5073
431dec31 50742013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
5075
5076 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5077 when control-statement is the first statement in a buffer (Bug#15956).
5078
ee4f0261
DG
50792013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5080
5081 * imenu.el (imenu-generic-skip-comments-and-strings):
5082 New option (Bug#15560).
5083 (imenu--generic-function): Use it.
5084
c484f866
JS
50852013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5086
e9dc713d
JB
5087 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5088 (Bug#13898)
c484f866 5089
41ce6f70
BB
50902013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5091
b55aea38
BB
5092 * emacs-lisp/helpers.el: Add some string helpers.
5093 (string-trim-left): Removes leading whitespace.
5094 (string-trim-right): Removes trailing whitespace.
5095 (string-trim): Removes leading and trailing whitespace.
5096
41ce6f70
BB
5097 * subr.el (string-suffix-p): New function.
5098
3cfb6af3
GM
50992013-11-23 Glenn Morris <rgm@gnu.org>
5100
5101 * progmodes/python.el (python-shell-send-file):
5102 Add option to delete file when done. (Bug#15647)
5103 (python-shell-send-string, python-shell-send-region): Use it.
5104
c27924b7
IS
51052013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5106
e1b01c7f
IS
5107 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5108 to set buffer-read-only to t, never to nil. (Bug#15938)
5109
c27924b7
IS
5110 * textmodes/tex-mode.el (latex-noindent-environments):
5111 Add safe-local-variable property. (Bug#15936)
5112
17e0445b
GM
51132013-11-23 Glenn Morris <rgm@gnu.org>
5114
92f78ea3
GM
5115 * textmodes/enriched.el (enriched-mode): Doc fix.
5116 * emacs-lisp/authors.el (authors-renamed-files-alist):
5117 Add enriched.doc -> enriched.txt.
5118
17e0445b
GM
5119 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5120
965bb23a
LL
51212013-11-22 Leo Liu <sdl.web@gmail.com>
5122
5123 * progmodes/octave.el (inferior-octave-startup): Spit out error
5124 message.
5125
d19ffd64
BB
51262013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5127
5128 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5129 Improve docstring.
15ba2182
BB
5130 Add :version.
5131 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 5132
7a7567d2
LL
51332013-11-22 Leo Liu <sdl.web@gmail.com>
5134
5135 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5136 (Bug#15076)
8c09f64b
LL
5137 (octave-help-mode): Adapt to change to help-mode-finish to use
5138 derived-mode-p on 2013-09-17.
5139 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 5140 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 5141
724bc265
LL
51422013-11-22 Leo Liu <sdl.web@gmail.com>
5143
5144 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5145 (inferior-octave-startup, inferior-octave-check-process)
5146 (inferior-octave-track-window-width-change)
5147 (octave-completion-at-point, octave-eldoc-function): Use it.
5148 (octave-kill-process): Provide confirmation. (Bug#10564)
5149
38637cca
LL
51502013-11-21 Leo Liu <sdl.web@gmail.com>
5151
511fa0d3
SM
5152 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5153 Fix obsolete variable comment-use-global-state.
38637cca 5154
06e752b4
RS
51552013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5156
511fa0d3
SM
5157 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5158 Add `octave-source-file'.
06e752b4
RS
5159 (octave-source-file): New function. (Bug#15935)
5160
7514d3f8 51612013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
5162
5163 * net/eww.el (eww-local-regex): New variable.
5164 (eww): Use it to detect localhost and similar.
5165
b6ffa04a
LL
51662013-11-21 Leo Liu <sdl.web@gmail.com>
5167
5168 Add completion for command `ag'.
2021a200
LL
5169 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5170 (pcomplete/ag): New function.
e9dc713d 5171 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 5172
d1a6bccc
SM
51732013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5174
5175 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5176 (bug#14646).
5177 (make-obsolete): Remove interactive spec.
5178
2df10228
GM
51792013-11-21 Glenn Morris <rgm@gnu.org>
5180
5181 * startup.el (command-line-1): Use path-separator with -L.
5182
86fd16b6
TZ
51832013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5184
5185 * emacs-lisp/package.el (describe-package-1): Add package archive
5186 to shown fields.
5187
0449d6cd 51882013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
5189
5190 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5191 Change default to "# encoding: %s" to differentiate it from the
5192 default Ruby encoding comment template.
5193
dc7e8c17 51942013-11-20 era eriksson <era+emacsbugs@iki.fi>
5195
5196 * ses.el (ses-mode): Doc fix. (Bug#14748)
5197
f0cfa5fe
LL
51982013-11-20 Leo Liu <sdl.web@gmail.com>
5199
5200 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5201
826dc7b6
DN
52022013-11-19 Dan Nicolaescu <dann@gnu.org>
5203
5204 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5205 when rebase or bisect are in progress.
5206
a6e3a5d5
XF
52072013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5208
5209 * filenotify.el (file-notify-add-watch): Doc fix.
5210
f130cb76
LL
52112013-11-19 Leo Liu <sdl.web@gmail.com>
5212
e0855d7d
LL
5213 * obsolete/rcompile.el: Mark obsolete.
5214
f130cb76 5215 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
5216 (compilation-goto-locus, compilation-find-file):
5217 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
5218 (Bug#13594)
5219
5220 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
5221 new parameter no-display-ok. Return either a window or nil
5222 but never a non-window value.
f130cb76 5223
1f35d401
SM
52242013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5225
25158c76
SM
5226 * electric.el (electric-indent-mode-map): Remove.
5227 (electric-indent-mode): Change the global-map instead (bug#15915).
5228
5229 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5230 Use add-function.
1f35d401 5231
9bc67baa
SM
52322013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5233
986545b5
SM
5234 * emacs-lisp/nadvice.el (remove-function): Align with
5235 add-function's behavior.
5236
9bc67baa
SM
5237 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5238 (gdb--string-regexp): New constant.
5239 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5240 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5241 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5242 submatch 1.
5243 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5244 Adjust use accordingly.
5245 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5246
56cd894e
AS
52472013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5248
5249 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5250 interpolation curlies (Bug#15914).
5251
014690de
JB
52522013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5253
5254 * calc/calc.el (calc-context-sensitive-enter): New variable.
5255 (calc-enter): Use `calc-context-sensitive-enter'.
5256
7e26a6c3
TZ
52572013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5258
5259 * progmodes/cfengine.el: Version bump.
5260 (cfengine-cf-promises): New defcustom to locate cf-promises.
5261 (cfengine3-vartypes): Add new "data" type.
5262 (cfengine3--current-word): New function to get current name-like
5263 word or its bounds.
5264 (cfengine3--current-function): New function to look up a CFEngine
5265 function's definition.
5266 (cfengine3-format-function-docstring): New function.
5267 (cfengine3-make-syntax-cache): New function.
5268 (cfengine3-documentation-function): New function: ElDoc glue.
5269 (cfengine3-completion-function): New function: completion glue.
5270 (cfengine3-mode): Set `compile-command',
5271 `eldoc-documentation-function', and add to
5272 `completion-at-point-functions'.
5273
355204dd
MA
52742013-11-16 Michael Albinus <michael.albinus@gmx.de>
5275
5276 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5277 `tramp-current-connection'.
5278
43cebc23
DG
52792013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5280
5281 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5282 nil/self/true/false with "end of symbol".
5283
a3fed6ff
BB
52842013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5285
5286 * subr.el (version-regexp-alist): Fix a typo.
5287
e675b3e4
MA
52882013-11-15 Michael Albinus <michael.albinus@gmx.de>
5289
5290 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5291 "en_US.utf8" and "LC_CTYPE" to "".
5292 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5293 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5294
a1f03e89
LL
52952013-11-15 Leo Liu <sdl.web@gmail.com>
5296
5297 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5298
5d9d9451
SM
52992013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5300
58362662
CS
5301 * progmodes/gud.el (ctl-x-map):
5302 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
5303 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5304
6c1bf086
BB
53052013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5306
0d5363c4
BB
5307 * subr.el (version-regexp-alist):
5308 Recognize hg, svn and darcs versions as snapshot versions.
5309
4e9fc48c
BB
5310 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5311 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5312 (ruby--encoding-comment-required-p): Extract from
5313 `ruby-mode-set-encoding'.
5314 (ruby-mode-set-encoding): Add the ability to always insert an
5315 utf-8 encoding comment. Fix and simplify coding comment update
5316 logic.
6c1bf086 5317
2f7e72f8
MA
53182013-11-14 Michael Albinus <michael.albinus@gmx.de>
5319
5320 * net/tramp-gvfs.el (top): Run init code only when
5321 `tramp-gvfs-enabled' is not nil.
5322 (tramp-gvfs-enabled): Check also :system bus.
5323
0f137a73
SM
53242013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5326 Sync with upstream verilog-mode revision 78e66ba.
5327 * progmodes/verilog-mode.el (verilog-end-of-defun)
5328 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5329 (verilog-get-end-of-defun): Remove unused argument.
5330 (verilog-comment-depth): Remove unused local `e'.
5331 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5332 Don't pass arg to verilog-get-end-of-defun.
5333
1c276bdd
GM
53342013-11-14 Glenn Morris <rgm@gnu.org>
5335
5336 * obsolete/assoc.el (aget): Prefix dynamic variable.
5337
5338 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5339
ff6ec81d
SM
53402013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5341
5342 * widget.el, hfy-cmap.el: Remove bogus package version number.
5343
75f777b6
GM
53442013-11-13 Glenn Morris <rgm@gnu.org>
5345
1d43dba1
GM
5346 * replace.el (replace-eval-replacement):
5347 Try to give more helpful error message. (Bug#15836)
5348
ff4b7bd5
GM
5349 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5350 (archive-7z-update): Avoid custom type mismatches.
5351
75f777b6
GM
5352 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5353
11151a06
MA
53542013-11-13 Michael Albinus <michael.albinus@gmx.de>
5355
e675b3e4 5356 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
5357 address can be empty.
5358
5359 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5360 Accept nil SWITCHES.
5361 (tramp-gvfs-handle-write-region): Implement APPEND.
5362
7b08f97e
DG
53632013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5364
5365 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
5366 binary "|" operator and closing block args delimiter.
5367 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
5368 (ruby-smie--implicit-semi-p): Not after "|" operator.
5369 (ruby-smie--closing-pipe-p): New function.
5370 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5371 (ruby-smie-rules): Indent after "|".
5372
f201cf3a
GM
53732013-11-12 Glenn Morris <rgm@gnu.org>
5374
5375 * ps-print.el (ps-face-attribute-list):
5376 Handle anonymous faces. (Bug#15827)
5377
e6f759f9
MR
53782013-11-12 Martin Rudalics <rudalics@gmx.at>
5379
5380 * window.el (display-buffer-other-frame): Fix doc-string.
5381 (Bug#15868)
5382
ecda65d4
SM
53832013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5386
7ce8fcc3
MA
53872013-11-11 Michael Albinus <michael.albinus@gmx.de>
5388
5389 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5390 (tramp-sh-handle-file-local-copy): Don't write a message when
5391 saving temporary files.
5392
5393 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5394 both directories are remote.
5395 (tramp-smb-handle-directory-files): Do not return double entries.
5396 Do not expand full file names.
5397 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5398 (tramp-smb-handle-write-region): Implement APPEND.
5399 (tramp-smb-get-stat-capability): Fix a stupid bug.
5400
7818df11
SM
54012013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5404
608c2085
NT
54052013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5406
5407 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5408 throwing error over malformed let/let* (bug#15814).
5409
122a7e46
SM
54102013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * iswitchb.el (iswitchb-mode): Mark obsolete.
5413
766284d9
GM
54142013-11-11 Glenn Morris <rgm@gnu.org>
5415
5416 * international/uni-bidi.el, international/uni-category.el:
5417 * international/uni-name.el, international/uni-numeric.el:
5418 Regenerate for Unicode 6.3.0.
5419
7072a4e9
MA
54202013-11-10 Michael Albinus <michael.albinus@gmx.de>
5421
5422 * net/tramp.el (tramp-methods):
5423 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5424 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5425
c9df215b
AS
54262013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5427
608c2085
NT
5428 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5429 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 5430
fa47d796
DG
54312013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5432
5433 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 5434 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
5435 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5436 (ispell-complete-word): Call `ispell-lookup-words' with the value
5437 independent of `ispell-look-p'.
5438
1629a329
DG
54392013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5440
5441 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5442 Not after "||".
5443 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5444 their parent.
5445
ad16897c
SM
54462013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5449 (ruby-font-lock-keywords): Use backquote.
5450
ffa2df72
DG
54512013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5452
5453 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5454 (ruby-smie--backward-token): Only consider full-string matches.
5455
5b97b4c0
JD
54562013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5457
5458 * faces.el (describe-face): Add distant-foreground.
5459
71731c03
BB
54602013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5461
4e9fc48c
BB
5462 * progmodes/ruby-mode.el: Improve encoding comment handling.
5463 (ruby-encoding-magic-comment-style): New option.
5464 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
5465 (ruby--insert-coding-comment, ruby--detect-encoding):
5466 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
5467 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5468 to control the style of the auto-inserted encoding comment.
71731c03 5469
da3b328d
DG
54702013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5471
ad16897c
SM
5472 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5473 Use `smie-backward-sexp' with token argument.
da3b328d 5474
1606c2d3
MA
54752013-11-08 Michael Albinus <michael.albinus@gmx.de>
5476
5477 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5478 Remove instrumentation code.
5479
b0f4c320
GM
54802013-11-08 Glenn Morris <rgm@gnu.org>
5481
5482 * progmodes/autoconf.el (autoconf-mode):
5483 Tweak comment-start-skip. (Bug#15822)
5484
43668fb1
SM
54852013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5486
5487 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5488 at bobp (bug#15826).
5489 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5490
daddb3fd
DH
54912013-11-08 Darren Hoo <darren.hoo@gmail.com>
5492
5493 * man.el (Man-start-calling): New macro, extracted from
5494 Man-getpage-in-background.
5495 (Man-getpage-in-background): Use it.
5496 (Man-update-manpage): New command.
5497 (Man-mode-map): Bind it.
5498
1f923923
DG
54992013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5500
5501 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5502 of "and", "or", "&&" and "||".
5503 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5504 argument. Prohibit opening curly brace because it could only be a
5505 block opener in that position.
daddb3fd
DH
5506 (ruby-smie--forward-token, ruby-smie--backward-token):
5507 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
5508 arguments.
5509 (ruby-smie--indent-to-stmt): New function, seeks the end of
5510 previous statement or beginning of buffer.
5511 (ruby-smie-rules): Use it.
5512 (ruby-smie-rules): Check if there's a ":" before a curly block
5513 opener candidate; if there is, it's a hash.
5514
3220d527
SM
55152013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5516
5517 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5518 (cl--block-wrapper): Fix last accidental change.
5519
1eb1f9e0
MA
55202013-11-07 Michael Albinus <michael.albinus@gmx.de>
5521
5522 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5523 Instrument, in order to hunt failure on hydra.
5524
e6e4db3c
NT
55252013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5526
5527 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5528 malformed bindings form (bug#15814).
5529
b420ccfc
DG
55302013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5531
5532 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
5533 "." compared to " @ ". This incidentally fixes some indentation
5534 examples with "do".
e6e4db3c 5535 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
5536 (ruby-smie-grammar): New tokens: "and" and "or".
5537 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5538 Exclude "and" and "or". Remove "do" in order to work around token
5539 priorities.
5540 (ruby-smie-rules): Add all infix tokens. Handle the case of
5541 beginning-of-buffer.
b420ccfc 5542
6b4ac03e
GM
55432013-11-06 Glenn Morris <rgm@gnu.org>
5544
5545 * Makefile.in (setwins_almost, setwins_for_subdirs):
5546 Avoid accidental matches.
5547
5ca114d1
SM
55482013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 * menu-bar.el (popup-menu): Use key-binding.
5551
f72552bd
EZ
55522013-11-06 Eli Zaretskii <eliz@gnu.org>
5553
5554 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5555 menus, support also the menus produced by minor modes.
5556 (Bug#15817)
5557
5d5c701e
LL
55582013-11-06 Leo Liu <sdl.web@gmail.com>
5559
5560 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 5561 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 5562
0a8b75e2
GM
55632013-11-06 Glenn Morris <rgm@gnu.org>
5564
5565 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
5566 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5567 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 5568
a35287ea
SM
55692013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5570
feca4e2d
SM
5571 * electric.el (electric-indent-just-newline): New command.
5572 (electric-indent-mode-map): New keymap.
5573 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5574 Re-add :group which weren't redundant.
5575
a35287ea
SM
5576 * electric.el (electric-indent-local-mode): New minor mode.
5577 (electric-indent-functions-without-reindent): New var.
5578 (electric-indent-post-self-insert-function): Use it.
5579 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5580
375761b2
EZ
55812013-11-05 Eli Zaretskii <eliz@gnu.org>
5582
9a6ad735
EZ
5583 * international/quail.el (quail-help): Be more explicit about the
5584 meaning of the labels shown on the keys. (Bug#15800)
5585
375761b2
EZ
5586 * startup.el (normal-top-level): Load the subdirs.el files before
5587 setting the locale environment. (Bug#15805)
5588
520a6e4a
SM
55892013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5590
0acfafef
SM
5591 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5592 via arguments so as to get the right ones (bug#15418).
5593
520a6e4a
SM
5594 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5595
15826261
MA
55962013-11-05 Michael Albinus <michael.albinus@gmx.de>
5597
5598 Fix problems found while writing a test suite.
5599
5600 * net/tramp-compat.el (tramp-compat-load): New defun.
5601 * net/tramp.el (tramp-handle-load): Use it.
5602
5603 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5604 "(numberp ok-if-already-exists)" correctly.
5605
d35f31a4
XF
56062013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5607
5608 * international/characters.el (glyphless-char-display-control):
5609 Add usage note.
5610
ae93bc74
BB
56112013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5612
520a6e4a
SM
5613 * progmodes/python.el (python-mode):
5614 * progmodes/scheme.el (scheme-mode):
5615 * progmodes/prolog.el (prolog-mode):
5616 * progmodes/ruby-mode.el (ruby-mode):
5617 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5618 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 5619
0ade65b5
SM
56202013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5621
a0d5f7a4
SM
5622 * rect.el (rectangle--highlight-for-redisplay):
5623 * emacs-lisp/smie.el (smie--next-indent-change):
5624 Use buffer-chars-modified-tick.
5625
c93f3f5c
SM
5626 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5627
0ade65b5
SM
5628 * electric.el (electric-indent-post-self-insert-function):
5629 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5630
ef9dd188
HE
56312013-11-04 Helmut Eller <eller.helmut@gmail.com>
5632
5633 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5634
306e7308
NT
56352013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5636
5637 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5638 (bug#15786).
5639
e5afbcac
SM
56402013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5641
1d01ad41
SM
5642 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5643
e5afbcac
SM
5644 * progmodes/python.el: Fix up last change.
5645 (python-shell--save-temp-file): New function.
5646 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5647 `string' comes from the current buffer.
5648 (python-shell-send-string-no-output): Remove `msg' arg.
5649 (python--use-fake-loc): New var.
5650 (python-shell-buffer-substring): Obey it. Try to compensate for the
5651 extra coding line added by python-shell--save-temp-file.
5652 (python-shell-send-region): Use python-shell--save-temp-file and
5653 python-shell-send-file directly. Add `nomain' argument.
5654 (python-shell-send-buffer): Use python-shell-send-region.
5655 (python-electric-pair-string-delimiter): New function.
5656 (python-mode): Use it.
5657
d0065ff1
EZ
56582013-11-04 Eli Zaretskii <eliz@gnu.org>
5659
5660 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5661 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5662 environment and decoding all of the default-directory's to here
5663 from command-line.
5664 (command-line): Decode also argv[0].
5665
5666 * loadup.el: Error out if default-directory is a multibyte string
5667 when we are dumping.
5668
5669 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5670
7397c587
TZ
56712013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5672
5673 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
5674 (package-menu--print-info, package-menu--archive-predicate):
5675 Add Archive column to package list.
7397c587 5676
b27cc9fc
MA
56772013-11-04 Michael Albinus <michael.albinus@gmx.de>
5678
5679 Fix problems found while writing a test suite.
5680
5681 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5682 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5683 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5684 to nil when running original file name handler. Otherwise,
5685 there are problems with constructs like "$$FOO".
5686
5687 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5688 for `localname'.
5689
d8c4f18a
BB
56902013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5691
7b530552
BB
5692 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5693
5694 * subr.el (version<, version<=, version=):
5695 Update docstrings with information for snapshot versions.
5696
d8c4f18a
BB
5697 * helpers.el: New library for misc helper functions.
5698 (hash-table-keys): New function returning a list of hash keys.
5699 (hash-table-values): New function returning a list of hash values.
5700
dca01b09
DG
57012013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5702
5703 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5704 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5705
0a749fa0
MN
57062013-11-04 Michal Nazarewicz <mina86@mina86.com>
5707
5708 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5709 checking whether point is after a 1-letter word.
5710
57112013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
5712
5713 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5714 Don't infloop when expanding region over `multiline' syntax-type that
5715 begins a line (bug#15778).
5716
4aca7145
SM
57172013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5718
5719 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5720 Make it into a proper minor mode.
9b017563 5721 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
4aca7145
SM
5722 (rectangle-mark-mode-map): New keymap.
5723 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5724
a0833f62
GM
57252013-11-04 Glenn Morris <rgm@gnu.org>
5726
5727 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5728
e61845c1
SM
57292013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5732 (ruby-smie-rules): Use smie-rule-parent instead.
5733
5734 * emacs-lisp/smie.el (smie-rule-parent): Always call
5735 smie-indent-virtual rather than only for hanging tokens.
5736 (smie--next-indent-change): New helper command.
5737
62942f89
GM
57382013-11-03 Glenn Morris <rgm@gnu.org>
5739
5740 * Makefile.in (abs_srcdir): Remove.
5741 (emacs): Unset EMACSLOADPATH.
5742
b0b9e592
GM
57432013-11-02 Glenn Morris <rgm@gnu.org>
5744
18ba6a33 5745 * Makefile.in (EMACS): Use a relative filename.
8061810d 5746 (abs_top_builddir): Remove.
18ba6a33
GM
5747 (custom-deps, finder-data, autoloads): Use --chdir.
5748
6a8b929e
GM
5749 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5750
c617f3d0
GM
5751 Use relative filenames in TAGS files.
5752 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5753 (lisptagsfiles4, TAGS): Use relative file names.
5754 (TAGS-LISP): Remove.
5755 (maintainer-clean): No more TAGS-LISP file.
5756
b0b9e592
GM
5757 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5758 (lisptagsfiles4): Use absolute filenames again.
5759 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5760 Remove all *loaddefs files, not just the first. Remove esh-groups.
5761 (maintainer-clean): Delete TAGS, TAGS-LISP.
5762
d1c0ea6a
BB
57632013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5764
e61845c1
SM
5765 * emacs-lisp/package.el (package-version-join):
5766 Recognize snapshot versions.
d1c0ea6a 5767
684d71c6
BB
57682013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5769
5770 * subr.el (version-regexp-alist): Add support for snapshot versions.
5771
3d42b968
DG
57722013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5773
e61845c1
SM
5774 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5775 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
5776 skip over our direct parent if it's an assignment token..
5777 (ruby-smie-rules): Use it.
5778
7ffd3721
DG
57792013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5780
8449dd1f 5781 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
5782 unconditionally. Remove now unnecessary forward declarations.
5783 Remove XEmacs-specific setup.
5784 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5785 (ruby-font-lock-syntactic-keywords)
5786 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5787 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5788 (ruby-here-doc-end-syntax): Remove.
5789 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5790 defined as function.
5791
a3996a2e
BB
57922013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5793
5794 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5795
6f9260e8
BB
57962013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5797
5798 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5799 table and abbrev table, `define-derived-mode' does that for us
5800 anyway.
5801
6014de84
GM
58022013-11-01 Glenn Morris <rgm@gnu.org>
5803
5804 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5805 files is atomic for some time, so no parallel compilation issues).
5806
3c334c14
JD
58072013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5808
5809 * faces.el (face-x-resources): Add :distant-foreground.
5810 (region): Use :distant-foreground for gtk and ns.
5811
9bc236c8
TH
58122013-11-01 Tassilo Horn <tsdh@gnu.org>
5813
5246583b 5814 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
5815 BibTeX.
5816 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5817 (reftex-locate-bibliography-files): Us it.
5818
d14c81ee
CB
58192013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5820
0e7690de
CB
5821 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5822 allow comments in pbm files.
5823
d14c81ee
CB
5824 * term/w32-win.el (dynamic-library-alist): Support newer versions
5825 of libjpeg starting with v7: look only for the DLL from the
5826 version against which Emacs was built.
ac1bf374 5827 Support versions of libpng beyond 1.4.x.
019c8218 5828 Support libtiff v4.x.
d14c81ee 5829
983d0df5
BB
58302013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5831
5832 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5833 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5834 Add property :safe.
5835 (ruby-deep-arglist): Add property :type.
5836
47f58d85
GM
58372013-10-31 Glenn Morris <rgm@gnu.org>
5838
5839 * Makefile.in (custom-deps, finder-data): No need to setq the target
5840 variables, we are in the right directory and the defaults work fine.
5841
4f85b479
GM
58422013-10-30 Glenn Morris <rgm@gnu.org>
5843
ca7dd4cd
GM
5844 * Makefile.in (autoloads): Do not use abs_lisp.
5845
4f85b479
GM
5846 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5847 `newline' does not respect `standard-output', so use `princ'.
5848
cf59e41c
AA
58492013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5850
5851 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5852 * buff-menu.el (Buffer-menu--unmark): New function.
5853 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5854
74cf04fb
GM
58552013-10-30 Glenn Morris <rgm@gnu.org>
5856
b040b60e
GM
5857 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5858
f53d3815
GM
5859 * emacs-lisp/package.el (lm-homepage): Declare.
5860
5413d873
GM
5861 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5862 Fix doc typos.
5863
cecedb36
GM
5864 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5865
74cf04fb
GM
5866 * Makefile.in (finder-data, autoloads, update-subdirs)
5867 (compile-main, compile-clean, compile-always, bootstrap-clean):
5868 Check return value of cd.
5869 (compile-calc): Remove.
5870
195ee2f0
SM
58712013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5872
ae4002ce
SM
5873 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5874
5875 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5876 (byte-compile-and-folded): New function.
5877 (=, <, >, <=, >=): Use it.
5878
5879 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5880 (path-separator, null-device, buffer-file-coding-system)
5881 (lpr-headers-switches): Check system-type before modifying them.
5882 (find-buffer-file-type-coding-system): Mark obsolete.
5883 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5884 find-file-not-found-set-buffer-file-coding-system.
35e951cd 5885 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 5886 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 5887 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
5888 (w32-direct-print-region-helper, w32-direct-print-region-function)
5889 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5890 * startup.el (normal-top-level-add-subdirs-to-load-path):
5891 * ps-print.el (ps-print-region-function):
5892 * lpr.el (print-region-function): Use new name.
5893
53b39e89
SM
5894 * subr.el (custom-declare-variable-early): Remove function.
5895 (custom-declare-variable-list): Remove var.
5896 (error, user-error): Remove `while' loop.
5897 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5898 (user-emacs-directory-warning, locate-user-emacs-file):
5899 Move to files.el.
5900 * simple.el (read-quoted-char-radix, read-quoted-char):
5901 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5902 Move from subr.el.
5903 * custom.el (custom-declare-variable-list): Don't process
5904 custom-declare-variable-list.
5905
195ee2f0
SM
5906 * progmodes/python.el (python-shell-get-buffer): New function.
5907 (python-shell-get-process): Use it.
5908 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5909 Python which encoding was used. Don't split-string since we only care
5910 about the first line. Return the temp-file, if applicable.
5911 (python-shell-send-region): Tell compile.el how to turn locations in
5912 the temp-file into locations in the source buffer.
5913
7e3561ee
SM
59142013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5915
4c9797cb
SM
5916 * subr.el (undefined): Add missing behavior from the C code for
5917 unbound keys.
5918
3472b6c6
SM
5919 * rect.el: Use lexical-binding. Add new rectangular region support.
5920 (rectangle-mark): New command.
5921 (rectangle--region): New var.
5922 (deactivate-mark-hook): Reset rectangle--region.
5923 (rectangle--extract-region, rectangle--insert-for-yank)
5924 (rectangle--highlight-for-redisplay)
5925 (rectangle--unhighlight-for-redisplay): New functions.
5926 (region-extract-function, redisplay-unhighlight-region-function)
5927 (redisplay-highlight-region-function): Use them to handle
5928 rectangular region.
5929 * simple.el (region-extract-function): New var.
5930 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5931 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5932 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5933 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5934 (redisplay-unhighlight-region-function)
5935 (redisplay-highlight-region-function): New vars.
5936 (redisplay--update-region-highlight): New function.
5937 (pre-redisplay-function): Use it.
5938 (exchange-point-and-mark): Don't deactivate the mark before
5939 reactivate-it anyway.
5940 * comint.el (comint-kill-region): Remove yank-handler argument.
5941 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5942 (delete-char): Remove property, since it's now part of their
5943 default behavior.
5944 (self-insert-iso): Remove property since this command doesn't exist.
5945
7e3561ee
SM
5946 * emacs-lisp/package.el (package--download-one-archive)
5947 (describe-package-1): Don't query the user about final newline.
5948
b9bef71f
DC
59492013-10-29 Daniel Colascione <dancol@dancol.org>
5950
5951 * net/tramp.el (tramp-methods): Document new functionality.
5952 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5953 tramp-hostname-checker if method provides one instead of scanning
5954 argument list for "%h" to decide hostname acceptability.
5955
4efc33f0
MA
59562013-10-28 Michael Albinus <michael.albinus@gmx.de>
5957
5958 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5959 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5960 Handle COPY-CONTENTS. (Bug#15737)
5961
ed42a877
DU
59622013-10-28 Daiki Ueno <ueno@gnu.org>
5963
9b017563 5964 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7e3561ee 5965 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 5966
18c9f8a2
XF
59672013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5968
35e951cd 5969 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 5970
b1e8e010
AM
59712013-10-27 Alan Mackenzie <acm@muc.de>
5972
5973 Indent statements in macros following "##" correctly.
7e3561ee
SM
5974 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5975 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 5976
73d40d1e 59772013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
5978
5979 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5980
c8c605ac
DG
59812013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5982
5983 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5984 after `=' is probably a new expression.
5985
ca7e59d4
RS
59862013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5987
5988 * man.el (man-imenu-title): New option.
5989 (Man-mode-map): Add menu. (Bug#15722)
5990 (Man-mode): Add imenu to menu.
5991
bae91342
DG
59922013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5993
5994 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5995 specific in what the first arg can be: a non-keyword word,
5996 string/regexp/percent literal opener, opening paren, or unary
5997 operator followed directly by word.
5998
eb89dc14
SM
59992013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6000
6001 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6002 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6003 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6004 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6005 Remove vars, they do not apply any more.
6006 (prolog-mode-abbrev-table): Remove redundant declaration.
6007 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6008 (prolog-use-smie): Remove.
6009 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6010 supported by prolog-electric-if-then-else-flag.
6011 (prolog-mode-variables, prolog-menu): Use setq-local.
6012 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6013 Remove binding to `Backspace' since this key doesn't exist anyway.
6014 Remove bindings for electric self-inserting keys.
6015 (prog-mode): Assume it's defined.
6016 (prolog-post-self-insert): New function.
6017 (prolog-mode): Use it.
6018 (prolog-indent-line, prolog-indent-level)
6019 (prolog-find-indent-of-matching-paren)
6020 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6021 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6022 (prolog-goto-next-paren, prolog-in-string-or-comment)
6023 (prolog-tokenize, prolog-inside-mline-comment)
6024 (prolog-find-start-of-mline-comment): Remove functions.
6025 (prolog-find-unmatched-paren, prolog-clause-end)
6026 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6027 (prolog-electric--if-then-else): Rename from
6028 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6029 (prolog-tokenize-searchkey): Remove const.
6030 (prolog-clause-info): Use forward-sexp.
6031 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6032 (prolog-electric-if-then-else): Remove commands.
6033 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6034 for use in post-self-insert-hook.
6035 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6036 for use in post-self-insert-hook.
6037 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6038 for use in post-self-insert-hook.
6039 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6040 adapt it for use in post-self-insert-hook.
6041
3dab0a83
MA
60422013-10-25 Michael Albinus <michael.albinus@gmx.de>
6043
6044 * emacs-lisp/ert.el (ert-run-tests-interactively):
6045 Use `completing-read'. (Bug#9756)
6046
fbfd0e1d
EZ
60472013-10-25 Eli Zaretskii <eliz@gnu.org>
6048
6049 * simple.el (line-move): Call line-move-1 instead of
6050 line-move-visual when the current window hscroll is zero, but
6051 temporary-goal-column indicates we will need to hscroll as result
6052 of the movement. (Bug#15712)
6053
963ce636
DG
60542013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6055
6056 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
6057 capitalization. Use :visible instead of :active.
6058 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
6059 commands that are used with SMIE.
6060 (ruby-do-end-to-brace): Insert space after `{'.
6061
a0be396a
JA
60622013-10-25 John Anthony <john@jo.hnanthony.com>
6063
f73754c9
JA
6064 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6065
6066 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 6067
f5bf77df
GM
60682013-10-25 Glenn Morris <rgm@gnu.org>
6069
6070 * vc/vc.el (vc-print-log): Don't use a working revision unless
6071 one was explicitly specified. (Bug#15322)
6072
37241f62
SM
60732013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6074
6075 * subr.el (add-to-list): Preserve return value in compiler-macro
6076 (bug#15692).
6077
6408a65d
RS
60782013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6079
6080 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6081 result. Ask user to retry using '-all' flag. (Bug#15701)
6082
71e3276b
SM
60832013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6084
6085 * emacs-lisp/smie.el: New smie-config system.
6086 (smie-config): New defcustom.
6087 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6088 (smie-config-guess, smie-config-save): New commands.
6089 (smie-config--mode-local, smie-config--buffer-local)
6090 (smie-config--trace, smie-config--modefuns): New vars.
6091 (smie-config--advice, smie-config--mode-hook)
6092 (smie-config--setter, smie-config-local, smie-config--get-trace)
6093 (smie-config--guess-value, smie-config--guess): New functions.
6094 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6095 text properties. Treat "string fence" syntax like string syntax.
6096
6097 * progmodes/sh-script.el (sh-use-smie): Change default.
6098 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6099 (sh-var-value): Simplify by CSE.
6100 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6101 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6102 is used.
6103 (sh-guess-basic-offset): Use cl-incf.
6104 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6105
60db713e
HE
61062013-10-24 Helmut Eller <eller.helmut@gmail.com>
6107
6108 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6109 (bug#15699).
6110
8b251df6
GM
61112013-10-24 Glenn Morris <rgm@gnu.org>
6112
6113 * Makefile.in (abs_top_srcdir): Remove.
6114 (update-subdirs): Use relative path to update-subdirs.
6115
6be0e22b
EZ
61162013-10-24 Eli Zaretskii <eliz@gnu.org>
6117
6118 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6119 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
6120 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6121 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 6122
50b5b857
MA
61232013-10-24 Michael Albinus <michael.albinus@gmx.de>
6124
6125 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6126 (ert-test-skipped): New error.
6127 (ert-skip, ert-stats-skipped): New defuns.
6128 (ert--skip-unless): New macro.
6129 (ert-test-skipped): New struct.
6130 (ert--run-test-debugger, ert-test-result-type-p)
6131 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6132 (ert--stats-set-test-and-result, ert-char-for-test-result)
6133 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 6134 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 6135 Handle skipped tests. (Bug#9803)
50b5b857 6136
6f317c2f
GM
61372013-10-24 Glenn Morris <rgm@gnu.org>
6138
e43817c1
GM
6139 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6140
6f317c2f
GM
6141 * Makefile.in (abs_top_srcdir): New, set by configure.
6142 (update-subdirs): Correct build-aux location.
6143
369bbf71
DG
61442013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6145
8297b2cf
DG
6146 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6147 value, whether we could auto-deduce `backend', or not.
6148
369bbf71
DG
6149 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6150 with parameters" example. Simplify the "is it block or is it
6151 hash" check, but also make it more thorough.
6152
d5f1282f
MF
61532013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6154
6155 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6156
bc4aaa31
SM
61572013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6158
03d44565
SM
6159 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6160 { if it is hanging.
6161
bc4aaa31
SM
6162 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6163 :before ";".
6164
f493ff19
JB
61652013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6166
6167 * progmodes/compile.el (compilation-directory-matcher)
6168 (compilation-page-delimiter):
6169 Support GNU Make-4.0 directory quoting. (Bug#15678)
6170
c744a3b9
LL
61712013-10-23 Leo Liu <sdl.web@gmail.com>
6172
6173 * ido.el (ido-tidy): Handle read-only text.
6174
b8e3b0a9
GM
61752013-10-23 Glenn Morris <rgm@gnu.org>
6176
6177 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6178 (emacs, compile, compile-always):
6179 Quote entities that might contain whitespace.
6180 (custom-deps, finder-data, autoloads): Use abs_lisp.
6181 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6182 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6183 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6184
ee4282cd
DG
61852013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6186
bc4aaa31
SM
6187 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6188 Use `following-char'.
7790a270 6189
ee4282cd 61902013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
6191
6192 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6193 * progmodes/ruby-mode.el (ruby-smie-rules):
6194 Remove corresponding workaround. Fix indentation rule of ";" so it
6195 also applies when ";" is the parent.
6196
d40a46d7
XF
61972013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6198
6199 * frame.el (display-screens, display-pixel-height)
6200 (display-pixel-width, display-mm-width, display-backing-store)
6201 (display-save-under, display-planes, display-color-cells)
7790a270
SM
6202 (display-visual-class, display-monitor-attributes-list):
6203 Mention the optional ‘display’ argument in doc strings.
d40a46d7 6204
a0f143c9
MG
62052013-10-22 Michael Gauland <mikelygee@amuri.net>
6206
6207 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6208 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6209
18cacc39
DG
62102013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6211
6212 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6213 TODO. Add "." after " @ ".
6214 (ruby-smie--at-dot-call): New function. Checks if point at method
6215 call with explicit target.
6216 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6217 to the method name tokens when it precedes them.
6218 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6219 (ruby-smie-rules): Add rule for indentation before and after "."
6220 token.
6221
df74c4be
SM
62222013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6223
c6dab55f
SM
6224 * textmodes/remember.el (remember-diary-extract-entries):
6225 Avoid add-to-list.
6226
df74c4be
SM
6227 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6228 an instruction.
6229
8c1ae481
DG
62302013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6231
e9dc713d
JB
6232 * progmodes/ruby-mode.el (ruby-smie-grammar):
6233 Add (almost) all infix operators.
cfef16c0
DG
6234 (ruby-smie--implicit-semi-p): Add new operator chars.
6235
8c1ae481
DG
6236 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6237 `smie-down-list'.
6238 (ruby-smie--args-separator-p): Check that there's no newline
6239 between method call and its arguments.
6240
87756ca9
AM
62412013-10-20 Alan Mackenzie <acm@muc.de>
6242
6243 Allow comma separated lists after Java "implements".
6244
df74c4be
SM
6245 * progmodes/cc-engine.el (c-backward-over-enum-header):
6246 Parse commas.
87756ca9
AM
6247 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6248 from a "disallowed" list in enum fontification.
6249
c25f8957
JB
62502013-10-20 Johan Bockgård <bojohan@gnu.org>
6251
df74c4be 6252 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 6253
c25f8957
JB
6254 * progmodes/verilog-mode.el (verilog-mode): Don't set
6255 comment-indent-function globally.
6256
aca5fcdc
JD
62572013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6258
5f161884
JD
6259 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6260 Move Info menu item creation to ns-win.el.
6261
6262 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6263 in menu bar.
6264
a6c4680a 6265 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
6266
6267 * term/ns-win.el (ns-initialize-window-system): ... to here.
6268
914b7f98
SM
62692013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6270
6271 * simple.el (newline): Only run post-self-insert-hook when
6272 called interactively.
6273
846ffe77
JB
62742013-10-19 Johan Bockgård <bojohan@gnu.org>
6275
6276 * icomplete.el (icomplete-with-completion-tables): Add :version.
6277
033f22dd
AM
62782013-10-19 Alan Mackenzie <acm@muc.de>
6279
6280 Fix fontification bugs with constructors and const.
6281
6282 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6283 CASE 2) Remove the check for the absence of a suffix construct
6284 after a function declaration with only types (no identifiers) in
6285 the parentheses. Also, accept a function declaration with just a
6286 type inside the parentheses, if this type can be positively
6287 recognised as such, or if a prefix keyword like "explicit" nails
6288 down the construct as a declaration.
6289
58ce0cfc
EZ
62902013-10-19 Eli Zaretskii <eliz@gnu.org>
6291
6292 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6293 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6294 the problem whereby selecting a menu item that leads to a
6295 minibuffer prompt moves the cursor out of the minibuffer window,
6296 making it hard to type at the prompt. Suggested by Stefan Monnier
6297 <monnier@iro.umontreal.ca>.
6298
50e28e7d
JD
62992013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6300
6301 * menu-bar.el: Don't make Services menu.
6302
7deed4bf
RS
63032013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6304
6305 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6306 (ffap-alist): Use ffap-c++-mode for c++-mode.
6307 (ffap-c++-path): New variable.
6308 (ffap-c++-mode): New function.
6309
7bcb455b
JVJ
63102013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6311
6312 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6313
f0ff1cd5
MA
63142013-10-18 Michael Albinus <michael.albinus@gmx.de>
6315
6316 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6317 introduced on 2013-09-08, which results in an infinite loop
6318 requesting a password.
6319
d64da4b7
GM
63202013-10-18 Glenn Morris <rgm@gnu.org>
6321
6322 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6323
ea89ff08
WS
63242013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6325
6326 Sync with upstream verilog-mode revision 1a6ecec7.
6327 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6328 (verilog-mode-release-date): Remove.
6329 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6330 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6331 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6332 (verilog-auto-tieoff-ignore-regexp)
6333 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6334 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6335 (verilog-signals-with, verilog-dir-cache-preserving)
6336 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6337 Doc fixes.
6338 (verilog-case-fold): New option, to control case folding in
6339 regexp searches, bug597.
6340 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6341 (verilog-string-match-fold, verilog-in-paren-count)
6342 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6343 (verilog-at-close-struct-p): New functions.
6344 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 6345 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
6346 (verilog-leap-to-case-head): Handle "unique0" case.
6347 (verilog-in-constraint-re): New constant.
6348 (verilog-keywords, verilog-type-font-keywords):
6349 Add some SystemVerilog 1800-2012 keywords.
6350 (verilog-label-be): Remove unimplemented argument, bug669.
6351 (verilog-batch-execute-func): When batch expanding clear
6352 create-lockfiles to prevent spurious user locks when a file ends
6353 up not changing.
6354 (verilog-calculate-indent, verilog-calc-1)
6355 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6356 (verilog-do-indent): Fix indentation of nested constraints
6357 and structures.
6358 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6359 (verilog-auto-inst-param): Use verilog-string-match-fold.
6360 (verilog-read-inst-module-matcher):
6361 Fix AUTOINST on gate primitives with #1.
6362 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6363 Reads all user-defined typed variables.
6364 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6365 (verilog-signals-matching-regexp)
6366 (verilog-signals-not-matching-regexp, verilog-auto):
6367 Respect verilog-case-fold.
6368 (verilog-diff-report): Fix line count.
6369 (verilog-auto-assign-modport): Remove unused local `modi'.
6370 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6371 better handle multidimensional arrays.
6372 Fix packed array ports misadding bit index in AUTOINST, bug637.
6373 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6374 to not double-declare existing outputs and inputs, respectively.
6375 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6376 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6377 (verilog-sk-uvm-component): New skeleton.
6378 (verilog-submit-bug-report): Add verilog-case-fold,
6379 remove verilog-mode-release-date.
6380
ef566920
BR
63812013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6382
a12bf61e 6383 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
6384 as before.
6385
29df8a0b
RT
63862013-10-18 Reuben Thomas <rrt@sc3d.org>
6387
e0eb0550 6388 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
6389 remember buffers (bug#13566).
6390
04a19a79
DC
63912013-10-18 Daniel Colascione <dancol@dancol.org>
6392
6393 When evaluating forms in ielm, direct standard output to ielm
6394 buffer. Add new ielm-return-for-effect command. Remove trailing
6395 whitespace throughout.
6396
6397 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6398 (ielm-return-for-effect): New command.
6399 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
6400 (ielm-eval-input): Accept optional `for-effect' parameter.
6401 Bind `standard-output' to stream we create using
04a19a79
DC
6402 `ielm-standard-output-impl'. Suppress printing result when
6403 `for-effect'.
6404 (ielm-standard-output-impl): New function.
6405 (inferior-emacs-lisp-mode): Explain new features in documentation.
6406
4c1f03ef
MA
64072013-10-17 Michael Albinus <michael.albinus@gmx.de>
6408
6409 Code cleanup.
6410
6411 * net/tramp.el (tramp-debug-message): Do not check for connection
6412 buffer.
6413 (tramp-message): Use "vector" connection property.
6414
6415 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6416 (tramp-equal-remote, tramp-eshell-directory-change)
6417 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6418 (tramp-adb-handle-rename-file)
6419 * net/tramp-cmds.el (tramp-list-remote-buffers)
6420 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6421 * net/tramp-compat.el (tramp-compat-process-running-p)
6422 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6423 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6424 (tramp-gvfs-handle-rename-file)
6425 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6426 (tramp-set-file-uid-gid)
6427 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6428 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6429 of `file-remote-p'.
6430
6431 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6432 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6433 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6434 (tramp-gw-open-network-stream): Suppress unrelated traces.
6435
6436 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6437 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6438 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6439 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6440 connection property.
6441
6442 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 6443 persistency file.
4c1f03ef
MA
6444
6445 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6446 Refactor common code. Improve debug message.
6447 (tramp-maybe-open-connection)
6448 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6449 connection buffer too early.
6450
6451 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6452 from `tramp-smb-actions-with-acl'.
6453 (tramp-smb-actions-set-acl): New defconst.
6454 (tramp-smb-handle-copy-directory)
6455 (tramp-smb-action-get-acl): New defun, renamed from
6456 `tramp-smb-action-with-acl'.
6457 (tramp-smb-action-set-acl): New defun.
6458 (tramp-smb-handle-set-file-acl): Rewrite.
6459
642eb8b6
GM
64602013-10-17 Glenn Morris <rgm@gnu.org>
6461
6462 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6463
85527ff3
SM
64642013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6465
921c1d62
SM
6466 * skeleton.el (skeleton-newline): Remove.
6467 (skeleton-internal-1): Use (insert "\n") instead.
6468
e333fb10
SM
6469 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6470 let-bindings.
6471
85527ff3
SM
6472 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6473 forward-sexp-function while we redo its job (bug#15613).
6474
c8722a97
JB
64752013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6476
6477 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6478 represented by lists.
6479
7a550bbb
GM
64802013-10-16 Glenn Morris <rgm@gnu.org>
6481
6482 * tmm.el (tmm--history): New dynamic variable.
6483 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6484
f19da8ad
MA
64852013-10-16 Michael Albinus <michael.albinus@gmx.de>
6486
6487 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6488 (tramp-smb-errors): Add error messages.
6489 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 6490 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
6491 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6492 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6493 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6494 (tramp-smb-get-stat-capability): Fix tests.
6495
a24b9961
DK
64962013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6497
6498 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6499 (bug#15580).
6500
62ad85e6
GM
65012013-10-16 Glenn Morris <rgm@gnu.org>
6502
0283d6b0
GM
6503 * ansi-color.el (ansi-color-drop-regexp):
6504 Add 1J, 1K, 2K. (Bug#15617)
6505
012e2f9f
GM
6506 * files.el (hack-local-variables--warned-lexical): New.
6507 (hack-local-variables):
6508 Warn about misplaced lexical-binding. (Bug#15616)
6509
62ad85e6
GM
6510 * net/eww.el (eww-render): Always set eww-current-url,
6511 and update header line. (Bug#15622)
6512 (eww-display-html): ... Rather than just doing it here.
6513
6456c0ea
EZ
65142013-10-15 Eli Zaretskii <eliz@gnu.org>
6515
6516 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6517 menu navigations commands.
6518
c2de5588
DK
65192013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6520
6521 * progmodes/subword.el (subword-capitalize): Be careful when
6522 the search for [[:alpha:]] fails (bug#15580).
6523
ccd4a783
EZ
65242013-10-14 Eli Zaretskii <eliz@gnu.org>
6525
6526 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6527 to commands that scroll the menu.
6528
1eda1d8d
DG
65292013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6530
c2de5588
DK
6531 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6532 Handle methods ending with `?' and `!'.
1eda1d8d 6533
e70181b8
AM
65342013-10-14 Akinori MUSHA <knu@iDaemons.org>
6535
6536 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6537 `japanese-cp932' to `cp932' to fix the problem where saving a
6538 source file written in Shift_JIS twice would end up having
6539 `coding: japanese-cp932' which Ruby could not recognize.
6540 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6541 in `ruby-encoding-map'.
6542 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6543 doesn't need to be explicitly declared in magic comment.
6544 (ruby-encoding-map): Add type declaration for better customize UI.
6545
9148ee92
GM
65462013-10-13 Glenn Morris <rgm@gnu.org>
6547
a5d38e34
GM
6548 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6549 Occur buffers are read-only. http://bugs.debian.org/720775
6550
9148ee92
GM
6551 * emacs-lisp/authors.el (authors-fixed-entries):
6552 Comment out old alpha stuff.
6553
a9ba094b
DG
65542013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6555
6556 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6557 to `after-save-hook' instead of `before-save-hook'.
6558 (ruby-mode-set-encoding): Use the value of coding system used to
6559 write the file. Call `basic-save-buffer-1' after modifying the
6560 buffer.
6561
7a068717
AM
65622013-10-13 Alan Mackenzie <acm@muc.de>
6563
6564 Fix indentation/fontification of Java enum with
6565 "implements"/generic.
6566
c2de5588
DK
6567 * progmodes/cc-engine.el (c-backward-over-enum-header):
6568 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
6569 (c-inside-bracelist-p): Uses new function above.
6570 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6571 function above.
6572 (c-font-lock-enum-tail): Uses new function above.
6573
85b64f02
KH
65742013-10-13 Kenichi Handa <handa@gnu.org>
6575
6576 * international/mule-cmds.el (select-safe-coding-system): Remove a
6577 superfluous condition in chekcing whether a coding system is safe
6578 or not.
6579
fc7f501b
OK
65802013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6581
6582 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6583
fdcb2049
AP
65842013-10-13 Andreas Politz <politza@hochschule-trier.de>
6585
6586 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6587
8c106d17
GM
65882013-10-13 Glenn Morris <rgm@gnu.org>
6589
feab892d
GM
6590 * menu-bar.el (menu-bar-update-buffers):
6591 Unify Buffers menu prompt string. (Bug#15576)
6592
b22d0686
GM
6593 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6594
8c106d17
GM
6595 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6596 Add some entries.
6597 (authors-fixed-entries): Use accented form of name.
6598
1b12c797
SM
65992013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6600
650fa7bf 6601 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 6602 method calls (bug#15594).
650fa7bf
SM
6603 (ruby-smie--args-separator-p): New function.
6604 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6605 recognize paren-free method calls.
6606
1b12c797
SM
6607 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6608 internals of universal-argument.
6609
029619c8
EZ
66102013-10-11 Eli Zaretskii <eliz@gnu.org>
6611
6612 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
6613 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6614 dropped menu on second mouse click on the menu bar.
029619c8 6615
dd070019
SM
66162013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6617
6618 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6619 (explicit-shell-file-name): Declare.
6620 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6621 (sh-completion-at-point-function): New function.
6622 (sh-mode): Use it.
6623 (sh-smie--keyword-p): Remove unused argument.
6624 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6625 vars.
6626 (sh-set-shell): Always setup SMIE, even if we use the
6627 old indentation code.
6628
0922b826
DG
66292013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6630
b68e2926
DG
6631 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6632 cases of ? and =.
6633 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6634 predicate would return nil are almost non-existent.
6635 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6636
0922b826
DG
6637 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6638 cache also after commands that modify the buffer but don't move
6639 point.
6640
ee041f2d
SM
66412013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * env.el (substitute-env-in-file-name): New function.
6644 (substitute-env-vars): Extend the meaning of the optional arg.
6645
a5dab159
EZ
66462013-10-10 Eli Zaretskii <eliz@gnu.org>
6647
6648 * term/w32-win.el (dynamic-library-alist): Define separate lists
6649 of GIF DLLs for versions before and after 5.0.0 of giflib.
6650 (Bug#15531)
6651
0449d6cd 66522013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
6653
6654 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6655 not locked, use last revision and current source as
6656 defaults. (Bug#15569)
6657
2f6e161e
MY
66582013-10-10 Masatake YAMATO <yamato@redhat.com>
6659
6660 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6661 menu-bar is hidden.
6662
6c8413fc
MR
66632013-10-10 Martin Rudalics <rudalics@gmx.at>
6664
6665 * window.el (pop-to-buffer-same-window): Fix doc-string.
6666 (Bug#15492)
6667
20832de0
SM
66682013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6669
6670 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6671
c6e8ae77
AC
66722013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6673
6674 * calendar/icalendar.el (icalendar-import-file):
6675 Fix interactive spec. (Bug#15482)
6676
9db13baf
GM
66772013-10-10 Glenn Morris <rgm@gnu.org>
6678
9271e90e
GM
6679 * desktop.el (desktop-save): Default to saving in .emacs.d,
6680 since PWD is no longer in desktop-path by default. (Bug#15319)
6681
9db13baf
GM
6682 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6683 now that text mode has a menu with the same entry.
6684 (menu-bar-text-mode-auto-fill): Remove now unused func.
6685 * textmodes/text-mode.el (text-mode-map):
6686 Use auto-fill help text from menu-bar.el.
6687
a0be396a 66882013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
6689
6690 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6691
2edcd3c7
JL
66922013-10-09 Juri Linkov <juri@jurta.org>
6693
6694 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6695 instead of this-command-keys. Add universal-argument-more and
6696 universal-argument-minus to the list of prefix commands. (Bug#15568)
6697
574411d0
GM
66982013-10-09 Glenn Morris <rgm@gnu.org>
6699
14afa541
GM
6700 * vc/vc-svn.el (vc-svn-create-repo):
6701 Expand paths in file://... url. (Bug#15446)
6702
574411d0
GM
6703 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6704 Add some entries.
6705 (authors): Remove unused local variables.
6706
79804536
SM
67072013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 * profiler.el: Create a more coherent calltree from partial backtraces.
6710 (profiler-format): Hide the tail with `invisible' so that C-s can still
6711 find the hidden elements.
6712 (profiler-calltree-depth): Don't recurse so enthusiastically.
6713 (profiler-function-equal): New hash-table-test.
6714 (profiler-calltree-build-unified): New function.
6715 (profiler-calltree-build): Use it.
6716 (profiler-report-make-name-part): Indent the calltree less.
6717 (profiler-report-mode): Add visibility specs for profiler-format.
6718 (profiler-report-expand-entry, profiler-report-toggle-entry):
6719 Expand the whole subtree when provided with a prefix arg.
6720
238150c8
DG
67212013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6722
6723 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6724 iuwu-mod token.
6725 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6726 hanging iuwu-mod token.
6727 (ruby-smie--forward-token): Do not include a dot after a token in
6728 that token.
6729 (ruby-smie--backward-token): Likewise.
6730
b0949cc4
JL
67312013-10-08 Juri Linkov <juri@jurta.org>
6732
6733 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6734 to isearch-other-control-char.
6735 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6736 and isearch-post-command-hook to post-command-hook.
6737 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6738 and isearch-post-command-hook from post-command-hook.
6739 (isearch-unread-key-sequence)
6740 (isearch-reread-key-sequence-naturally)
6741 (isearch-lookup-scroll-key, isearch-other-control-char)
6742 (isearch-other-meta-char): Remove functions.
6743 (isearch-pre-command-hook, isearch-post-command-hook):
6744 New functions based on isearch-other-meta-char rewritten
6745 relying on the new behavior of overriding-terminal-local-map
6746 that does not replace the local keymaps any more. (Bug#15200)
6747
4ed77415
EZ
67482013-10-08 Eli Zaretskii <eliz@gnu.org>
6749
6750 Support menus on text-mode terminals.
6751 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6752 functionality.
6753
6754 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6755
c2de5588
DK
6756 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6757 Move here from mouse.el.
4ed77415
EZ
6758 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6759 and arrow keys.
6760 (tty-menu-navigation-map): New map for TTY menu navigation.
6761
6762 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6763
6764 * frame.el (display-mouse-p): Report text-mode mouse as available
6765 on w32.
6766 (display-popup-menus-p): Report availability if mouse is
6767 available; don't condition on window-system.
6768
6769 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6770 (tty-menu-selected-face): New faces.
6771
b7d5bd82
TL
67722013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6773
06286513
SM
6774 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6775 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6776 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6777 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6778 New constants.
6779 (lisp-mode-variables): New `elisp' argument.
6780 (emacs-lisp-mode): Use it.
6781 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6782 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6783
b7d5bd82
TL
6784 * indent.el: Use lexical-binding.
6785 (indent-region): Add progress reporter.
6786 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6787 last step.
6788 (indent--next-tab-stop): New function to implement this behavior.
6789 (tab-to-tab-stop, move-to-tab-stop): Use it.
6790
67912013-10-08 Teemu Likonen <tlikonen@iki.fi>
6792
6793 * indent.el (indent-rigidly--current-indentation): New function.
6794 (indent-rigidly-map): New var.
6795 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6796
5ea75d23
BG
67972013-10-08 Bastien Guerry <bzg@gnu.org>
6798
f2726fa2 6799 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 6800
cc5da1ec
SM
68012013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6802
8ffa1a0b
SM
6803 * progmodes/perl-mode.el: Use lexical-binding.
6804 Remove redundant :group args.
6805 (perl-nochange): Change default to be closer to other major modes's
6806 standard behavior.
6807 (perl-indent-line): Don't consider text on current line as a
6808 valid beginning of function from which to indent.
6809
f2223371
SM
6810 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6811 with more than one argument (bug#15538).
6812
44256060
SM
6813 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6814
cc5da1ec
SM
6815 * vc/pcvs.el: Use lexical-binding.
6816 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6817 environment of `eval'.
6818 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6819 than a list of expressions. Adjust callers.
6820 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6821
0ea1599d
DG
68222013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6823
6824 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 6825 case of the dot in a chained method call being on the following line.
0ea1599d 6826
da3e5ebb
SM
68272013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6828
2abb4e65
SM
6829 * electric.el (electric-indent-inhibit): New var.
6830 (electric-indent-post-self-insert-function): Use it.
6831 * progmodes/python.el (python-mode): Set it.
6832
d2e0e795
SM
6833 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6834 open braces.
6835
6836 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6837
bdc6b4c8
SM
6838 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6839 (css-mode): Use electric-indent-chars.
6840
da3e5ebb
SM
6841 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6842 (font-lock-beg, font-lock-end): Move before first use.
6843 (nxml-mode): Use syntax-propertize-function.
6844 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6845 (nxml-extend-after-change-region): Remove.
6846 * nxml/xmltok.el: Use lexical-binding.
6847 (xmltok-save): Use `declare'.
6848 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6849 * nxml/nxml-util.el: Use lexical-binding.
6850 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6851 Use `declare'.
6852 * nxml/nxml-ns.el: Use lexical-binding.
6853 (nxml-ns-save): Use `declare'.
6854 (nxml-ns-prefixes-for): Avoid add-to-list.
6855 * nxml/rng-match.el: Use lexical-binding.
6856 (rng--ipattern): Use cl-defstruct.
6857 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6858 (rng-cons-group-after, rng-subst-group-after)
6859 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6860 Use closures instead of `(lambda...).
6861
f8f91d5d
MA
68622013-10-07 Michael Albinus <michael.albinus@gmx.de>
6863
6864 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6865 of BEG and END.
6866
da3e5ebb
SM
6867 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6868 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
6869 (tramp-gvfs-handle-insert-file-contents): Remove function.
6870
da3e5ebb
SM
6871 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6872 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
6873
6874 * net/trampver.el: Update release number.
6875
7ccae3b1
SM
68762013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6877
55ca2c0d
SM
6878 * progmodes/compile.el (compilation-parse-errors):
6879 Use compilation--put-prop.
6880 (compilation--ensure-parse): Check compilation-multiline.
6881
731fc3ae
SM
6882 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6883
da3e5ebb
SM
6884 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6885 lexical-binding.
a5833280 6886
2e7ba2c2
SM
6887 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6888
7ccae3b1
SM
6889 * progmodes/ruby-mode.el: Fix recently added tests.
6890 (ruby-smie-grammar): Add - and +.
6891 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6892 (ruby-smie--backward-id): New functions.
6893 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6894 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6895 any more.
6896
85698d63
LL
68972013-10-07 Leo Liu <sdl.web@gmail.com>
6898
6899 * register.el (register-preview-delay)
6900 (register-preview-functions): New variables.
6901 (register-read-with-preview, register-preview)
6902 (register-describe-oneline): New functions.
6903 (point-to-register, window-configuration-to-register)
6904 (frame-configuration-to-register, jump-to-register)
6905 (number-to-register, view-register, insert-register)
6906 (copy-to-register, append-to-register, prepend-to-register)
6907 (copy-rectangle-to-register): Use register-read-with-preview to
6908 read register. (Bug#15525)
6909
3986af6c
DS
69102013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6911
6912 * net/network-stream.el (network-stream-open-starttls): Don't add
6913 --insecure if it's already present, because that gnutls-cli
6914 rejects getting that parameter twice.
6915
5cd9cda9
DG
69162013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6917
6918 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6919 keyword, too.
6920
da9ea6d9
DG
69212013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6922
6923 * newcomment.el (comment-use-global-state): Change default value
6924 to t, mark obsolete (Bug#15251).
6925 (comment-beginning): In addition to `comment-to-syntax', check the
6926 value of `comment-use-global-state'.
6927
34d1a133
SM
69282013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6929
6930 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6931 (ruby-comment-column): Follow the global default, by default.
6932 (ruby-smie-grammar): Add assignment syntax.
6933 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6934 open-paren, a comma, or a \.
6935 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6936 and line continuations.
6937 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6938 followed by implicit semi-colons. Add rule for string concatenation
6939 and for indentation at BOB.
27821a89 6940 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
6941
6942 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6943 calling next-sexp, since next-token may have skipped chars which
6944 next-sexp doesn't know should be skipped!
6945
6f6ab820
LL
69462013-10-05 Leo Liu <sdl.web@gmail.com>
6947
34d1a133
SM
6948 * progmodes/octave.el (octave-send-region):
6949 Call compilation-forget-errors.
6f6ab820 6950
34ca0f4c
XF
69512013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6952
6953 * vc/vc-svn.el (vc-svn-find-admin-dir):
6954 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6955 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6956 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6957 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6958
a27c1b72
SM
69592013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6962
258ab3bc
SM
69632013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * subr.el (read-passwd): Hide chars even when called within a context
6966 where after-change-functions is disabled (bug#15501).
6967 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6968 until we removed ourself from overriding-terminal-local-map.
6969
939fb29c
LL
69702013-10-04 Leo Liu <sdl.web@gmail.com>
6971
258ab3bc
SM
6972 * progmodes/octave.el (inferior-octave-mode):
6973 Call compilation-forget-errors.
939fb29c 6974
63bd7f35
XF
69752013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6976
6977 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6978
9e6229fa
MA
69792013-10-04 Michael Albinus <michael.albinus@gmx.de>
6980
6981 * net/secrets.el (secrets-create-collection): Add optional
6982 argument ALIAS. Use proper Label keyword. Append ALIAS as
6983 dbus-call-method argument. (Bug#15516)
6984
1dab32a3
LL
69852013-10-04 Leo Liu <sdl.web@gmail.com>
6986
6987 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6988 (inferior-octave-compilation-font-lock-keywords): New variables.
6989 (compilation-error-regexp-alist)
6990 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6991 (inferior-octave-mode): Use compilation-shell-minor-mode.
6992
6cad7ba3
JS
69932013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6994
6995 * minibuffer.el (completion--replace): Be careful that `end' might be
6996 a marker.
6997
acbadd00
DU
69982013-10-03 Daiki Ueno <ueno@gnu.org>
6999
7000 Add support for package signature checking.
7001 * emacs-lisp/package.el (url-http-file-exists-p)
7002 (epg-make-context, epg-context-set-home-directory)
7003 (epg-verify-string, epg-context-result-for)
7004 (epg-signature-status, epg-signature-to-string)
7005 (epg-check-configuration, epg-configuration)
7006 (epg-import-keys-from-file): Declare.
7007 (package-check-signature): New user option.
7008 (package-unsigned-archives): New user option.
7009 (package-desc): Add `signed' field.
7010 (package-load-descriptor): Set `signed' field if .signed file exists.
7011 (package--archive-file-exists-p): New function.
7012 (package--check-signature): New function.
7013 (package-install-from-archive): Check package signature.
7014 (package--download-one-archive): Check archive signature.
7015 (package-delete): Remove .signed file.
7016 (package-import-keyring): New command.
7017 (package-refresh-contents): Import default keyring.
7018 (package-desc-status): Add "unsigned" status.
7019 (describe-package-1, package-menu--print-info)
7020 (package-menu-mark-delete, package-menu--find-upgrades)
7021 (package-menu--status-predicate): Support "unsigned" status.
7022
adf2aa61
SM
70232013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7024
7025 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7026 the new compilation scheme using the new byte-codes.
7027
7028 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7029 (byte-pophandler): New byte codes.
7030 (byte-goto-ops): Adjust accordingly.
7031 (byte-compile--use-old-handlers): New var.
7032 (byte-compile-catch): Use new byte codes depending on
7033 byte-compile--use-old-handlers.
7034 (byte-compile-condition-case--old): Rename from
7035 byte-compile-condition-case.
7036 (byte-compile-condition-case--new): New function.
7037 (byte-compile-condition-case): New function that dispatches depending
7038 on byte-compile--use-old-handlers.
7039 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7040 when we can.
7041
7042 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7043 Optimize under `condition-case' and `catch' if
7044 byte-compile--use-old-handlers is nil.
7045 (disassemble-offset): Handle new bytecodes.
7046
328a8179
SM
70472013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * subr.el (error): Use `declare'.
7050 (decode-char, encode-char): Use advertised-calling-convention instead
7051 of the docstring to discourage use of the `restriction' arg.
7052
15a1e936
DU
70532013-10-03 Daiki Ueno <ueno@gnu.org>
7054
7055 * epg.el (epg-verify-file): Add a comment saying that it does not
7056 notify verification error as a return value nor a signal.
7057 (epg-verify-string): Ditto.
7058
376f862a
KR
70592013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7060
7061 * progmodes/compile.el (compilation-start): Try globbing the arg to
7062 `cd' (bug#15417).
7063
a2f93a5f
MA
70642013-10-02 Michael Albinus <michael.albinus@gmx.de>
7065
7066 Sync with Tramp 2.2.8.
7067
7068 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7069 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7070 * net/trampver.el: Update release number.
7071
0daa0804
JD
70722013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7073
7074 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7075 and default-process-coding-system for darwin only.
7076
abd1ae34
SM
70772013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7078
7079 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7080
be4e325d
MH
70812013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7082
7083 * vc/vc-git.el (vc-git-grep): Disable pager.
7084
e9155c4a
DG
70852013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7086
494e898b
DG
7087 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7088 Use :url instead of :homepage, as per
7089 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7090
e9155c4a
DG
7091 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7092 non-nil, use `syntax-ppss' (Bug#15251).
7093
481a8e0f
RS
70942013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7095
be4e325d
MH
7096 * progmodes/octave.el (inferior-octave-startup-file):
7097 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 7098
056453c6
DG
70992013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7100
be4e325d
MH
7101 * emacs-lisp/package.el (package-desc-from-define):
7102 Accept additional arguments as plist, convert them to an alist and store
7103 them in the `extras' slot.
056453c6
DG
7104 (package-generate-description-file): Convert extras alist back to
7105 plist and append to the `define-package' form arguments.
7106 (package--alist-to-plist): New function.
7107 (package--ac-desc): Add `extras' slot.
7108 (package--add-to-archive-contents): Check if the archive-contents
7109 vector is long enough, and if it is, pass its `extras' slot value
7110 to `package-desc-create'.
7111 (package-buffer-info): Call `lm-homepage', pass the returned value
7112 to `package-desc-from-define'.
7113 (describe-package-1): Render the homepage button (Bug#13291).
7114
be4e325d
MH
7115 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7116 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 7117
832966e5
JD
71182013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7119
7120 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7121 and default-process-coding-system to utf-8-unix (Bug#15402).
7122
6cfe977d
XF
71232013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7124
7125 * subr.el (looking-back): Do not recommend using looking-back.
7126
38de11bd
AM
71272013-09-28 Alan Mackenzie <acm@muc.de>
7128
7129 Fix indentation/fontification of Java enum with "implements".
7130
7131 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7132 regexp which matches "implements", etc., in Java.
7133 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7134 specifier clauses coming after "enum".
7135 * progmodes/cc-fonts.el (c-font-lock-declarations)
7136 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7137 after "enum".
7138
1610938f
JD
71392013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7140
7141 * faces.el (region): Change ns_selection_color to
7142 ns_selection_fg_color, add ns_selection_bg_color.
7143
e090f499
LL
71442013-09-28 Leo Liu <sdl.web@gmail.com>
7145
4d2e94d1
LL
7146 * progmodes/octave.el (inferior-octave-completion-table)
7147 (inferior-octave-completion-at-point): Minor tweaks.
7148
e090f499
LL
7149 * textmodes/ispell.el (ispell-lookup-words): Rename from
7150 lookup-words. (Bug#15460)
7151 (lookup-words): Obsolete.
7152 (ispell-complete-word, ispell-command-loop): All uses changed.
7153
7e138a62
RS
71542013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7155
a12bf61e 7156 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
7157 (octave-mode-menu): Add octave-send-buffer.
7158 (octave-send-buffer): New function.
7159
5af5ed08
RS
71602013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7161
a12bf61e 7162 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
7163 octave-lookfor.
7164 (octave-mode-menu): Add octave-lookfor.
7165 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7166 octave-lookfor.
7167 (octave-lookfor): New function.
7168
3b7b2692
SM
71692013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7170
35e951cd 7171 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
7172 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7173 its convention.
7174 (cl--loop-set-iterator-function): New function.
7175 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7176 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7177 Bind `it' with `let' instead of substituting it with `cl-subst'.
7178 (cl--unused-var-p): New function.
7179 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7180 Eliminate some unused variable warnings (bug#15326).
7181
529fb53f
TH
71822013-09-27 Tassilo Horn <tsdh@gnu.org>
7183
7184 * doc-view.el (doc-view-scale-reset): Rename from
7185 `doc-view-reset-zoom-level'.
7186 (doc-view-scale-adjust): New command.
7187 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7188 `doc-view-scale-adjust'.
7189
0550c95a
TH
71902013-09-26 Tassilo Horn <tsdh@gnu.org>
7191
7192 * doc-view.el (doc-view-reset-zoom-level): New command.
7193 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7194 zoom commands (bug#15466).
7195
6950f152
KH
71962013-09-26 Kenichi Handa <handa@gnu.org>
7197
7198 * international/quail.el (quail-help): Make it not a command.
7199
39587580
LL
72002013-09-26 Leo Liu <sdl.web@gmail.com>
7201
7202 * minibuffer.el (completion-all-sorted-completions): Make args
7203 optional as they are.
7204
00578659
DC
72052013-09-25 Daniel Colascione <dancol@dancol.org>
7206
7207 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7208 specs are and that they're not evaluated.
7209
0c173878
SS
72102013-09-24 Sam Steingold <sds@gnu.org>
7211
7212 * midnight.el (clean-buffer-list-kill-regexps)
7213 (clean-buffer-list-kill-buffer-names): Update for the new Man
7214 buffer naming which includes the object name.
7215
84998447
SM
72162013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7217
7218 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7219 (eshell-parse-command, eshell-parse-pipeline): Use it since
7220 eshell-separate-commands requires a dynamic scoped var.
7221 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7222
33215353
LL
72232013-09-23 Leo Liu <sdl.web@gmail.com>
7224
7225 * autoinsert.el (auto-insert-alist): Make the value of
7226 lexical-binding match its file setting.
7227
57b16162
JB
72282013-09-23 Juanma Barranquero <lekktu@gmail.com>
7229
c8af4e67
JB
7230 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7231
57b16162
JB
7232 * autoarg.el (autoarg-kp-digit-argument):
7233 * electric.el (Electric-command-loop):
7234 * kmacro.el (kmacro-step-edit-insert):
7235 Do not set universal-argument-num-events.
7236
7186ba60
LL
72372013-09-22 Leo Liu <sdl.web@gmail.com>
7238
7239 * files.el (interpreter-mode-alist): Add octave.
7240
ece15004
AM
72412013-09-21 Alan Mackenzie <acm@muc.de>
7242
7243 C++: fontify identifier in declaration following "public:" correctly.
7244 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7245 to match "public", etc.
7246 (c-decl-prefix-re): Add ":" into the C++ value.
7247 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7248 bit. Add a check for a ":" preceded by "public", etc.
7249
75d83e22
EZ
72502013-09-21 Eli Zaretskii <eliz@gnu.org>
7251
7252 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7253 recognized by GDB 7.5 and later.
7254
d052d3bd
XF
72552013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7256
7257 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7258
31dca772
R
72592013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * subr.el (internal--call-interactively): New const.
7262 (called-interactively-p): Use it (bug#3984).
7263
98ccf24e
XF
72642013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7265
7266 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
7267 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7268 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 7269
c39cc7d1
SM
72702013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7273 (eshell-ls-orig-insert-directory): Remove.
7274 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7275 (eshell-ls-use-in-dired): Use advice-add/remove.
7276 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7277 Add `orig-fun' arg for use in :around advice.
7278 Make it check (redundantly) eshell-ls-use-in-dired.
7279
9a0289a2
GM
72802013-09-19 Glenn Morris <rgm@gnu.org>
7281
a2c501b8
GM
7282 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7283
c440407a
GM
7284 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7285
9a0289a2
GM
7286 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7287
85e05915
MA
72882013-09-19 Michael Albinus <michael.albinus@gmx.de>
7289
7290 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7291 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7292 (tramp-get-remote-python): New defuns.
7293 (tramp-get-remote-uid-with-perl)
7294 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7295 contributed by yary <not.com@gmail.com> (tiny change).
7296 (tramp-get-remote-uid-with-python)
7297 (tramp-get-remote-gid-with-python): New defuns. Python code
7298 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7299 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7300
ce503312
GM
73012013-09-19 Glenn Morris <rgm@gnu.org>
7302
f7544773
GM
7303 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7304
72fd2877
GM
7305 * eshell/em-unix.el (eshell-remove-entries):
7306 Rename argument to avoid name-clash with global `top-level'.
7307
336b5a56
GM
7308 * eshell/esh-proc.el (eshell-kill-process-function):
7309 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7310 (eshell-reset-after-proc): Remove unused arg `proc'.
7311
57a3a53d
GM
7312 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7313 (directory-files-and-attributes): Mark unused arg.
7314
3261d4af
GM
7315 * eshell/em-unix.el (eshell-remove-entries):
7316 Remove unused arg `path'. Update callers.
7317
8e51b5d0
GM
7318 * eshell/em-hist.el (eshell-hist-parse-arguments):
7319 Remove unused arg `silent'. Update callers.
7320
ce503312
GM
7321 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7322 Fix (f)boundp mix-up.
7323
7324 * eshell/em-smart.el (eshell-smart-scroll-window)
7325 (eshell-disable-after-change):
336b5a56 7326 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 7327
ee3ce8a7
AM
73282013-09-18 Alan Mackenzie <acm@muc.de>
7329
7330 Fix fontification of type when followed by "const".
7331 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7332 "known" types from fontification.
7333
ec9177ba
GM
73342013-09-18 Glenn Morris <rgm@gnu.org>
7335
7bb3e768
GM
7336 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7337 (chart-face-list): Drop Emacsen without display-color-p.
7338
5148da15
GM
7339 * net/eww.el (libxml-parse-html-region): Declare.
7340 (eww-display-html): Explicit error if no libxml2 support.
7341
2f68e157
GM
7342 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7343
9019d095
GM
7344 * image.el (image-type-from-buffer, image-multi-frame-p):
7345 Remove --without-x warning/error.
67645389 7346
5f30349b 7347 * mouse.el (mouse-yank-primary):
45069b2e 7348 * term.el (term-mouse-paste):
5f30349b
GM
7349 Reorder to silence --without-x compilation.
7350
cd8edbbe
GM
7351 * mpc.el (doc-view-mode): Silence --without-x compilation.
7352
8a78544e
GM
7353 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7354 Silence --without-x compilation.
7355
12679bfd
GM
7356 * progmodes/gud.el (gud-find-file, gud-mode):
7357 Silence --without-x compilation.
7358 (tooltip-mode): Declare.
30810a05 7359
f0047cb9
GM
7360 * wdired.el (dired-backup-overwrite): Remove declaration.
7361 (wdired-mode-map): Add doc string.
7362
e740f9d2
GM
7363 * custom.el (x-get-resource): Declare.
7364
92d77c89
GM
7365 * eshell/em-glob.el (ange-cache):
7366 * eshell/em-unix.el (ange-cache): Declare.
7367
76e69577
GM
7368 * faces.el (x-display-list, x-open-connection, x-get-resource):
7369 Declare.
7e58af4b
GM
7370
7371 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7372 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7373 Declare.
76e69577 7374
4bd4c0af 7375 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 7376
ffb82dbd
GM
7377 * net/gnutls.el (gnutls-log-level): Declare.
7378
986ed135
GM
7379 * net/shr.el (image-size, image-animate): Declare.
7380
e740f9d2
GM
7381 * simple.el (font-info): Declare.
7382
d2f3e9f8
GM
7383 * subr.el (x-popup-dialog): Declare.
7384
047a1a4c
GM
7385 * term/common-win.el (x-select-enable-primary)
7386 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7387 Declare.
7388
f4a1d572
GM
7389 * term/ns-win.el (x-handle-args): Declare.
7390
e843de77
GM
7391 * term/x-win.el (x-select-enable-clipboard): Declare.
7392
5fa89513
GM
7393 * term/w32-win.el (create-default-fontset): Declare.
7394
38702b5b
GM
7395 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7396 Declare.
7397
e740f9d2
GM
7398 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7399 (fit-frame-to-buffer): Explicit error if --without-x.
7400 (mouse-autoselect-window-select): Silence compiler.
7401
49a053fc
GM
7402 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7403
7404 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7405 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7406 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 7407 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
7408 Remove unused local variables.
7409
7410 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7411
ec9177ba
GM
7412 * textmodes/two-column.el: Make 2C-split work for --without-x.
7413 (scroll-bar-columns): Autoload.
7414 (top-level): Require fringe when compiling.
7415
9f25cb77
LL
74162013-09-18 Leo Liu <sdl.web@gmail.com>
7417
7418 * subr.el (add-hook): Robustify to handle closure as well.
7419
2b42da98
GM
74202013-09-17 Glenn Morris <rgm@gnu.org>
7421
7422 * simple.el (messages-buffer-mode-map): Unbind "g".
7423
e8b66a6a
SM
74242013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7425
9c0ad4f7
SM
7426 * help-mode.el (help-mode-finish): Use derived-mode-p.
7427 Remove obsolete highlighting.
7428
7a806dfb
SM
7429 * play/life.el (life-mode): Use define-derived-mode. Derive from
7430 special-mode.
7431 (life): Let-bind inhibit-read-only.
7432 (life-setup): Avoid `setq'. Use `life-mode'.
7433
96dbf5a8
SM
7434 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7435 which should not be needed any more.
7436 (package-menu-refresh, package-menu-describe-package): Use user-error.
7437
e8b66a6a
SM
7438 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7439 (eshell-post-rewrite-command-hook): Make obsolete.
7440 (eshell-parse-command): Simplify.
7441 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7442 (eshell--cmd): Declare.
7443 (eshell-parse-pipeline): Remove unused var `final-p'.
7444 Pass a dynvar to eshell-post-rewrite-command-hook.
7445 Implement the new eshell-post-rewrite-command-function.
7446 (eshell-invoke-directly): Remove unused arg `input'.
7447 * eshell/esh-io.el (eshell-io-initialize):
7448 Use eshell-post-rewrite-command-function (bug#15399).
7449 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7450 adjust to new calling convention.
7451 (eshell-create-handles): Rename args to avoid clashing with dynvar
7452 `standard-output'.
7453
90582f05
GM
74542013-09-17 Glenn Morris <rgm@gnu.org>
7455
7456 * simple.el (messages-buffer-mode): New major mode.
7457 (messages-buffer): New function.
7458 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7459 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 7460 (ert-run-test): Use `messages-buffer' function.
90582f05 7461 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
7462 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7463 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 7464
39eb0cb5 74652013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
7466
7467 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7468
1d42e5b6 7469 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 7470
70568a90
SM
74712013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7472
504a0381
SM
7473 * icomplete.el (icomplete-in-buffer): New var.
7474 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7475 vars and replace them with functions.
7476 (icomplete-minibuffer-setup): Adjust accordingly.
7477 (icomplete--completion-table, icomplete--completion-predicate)
7478 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7479 New functions.
7480 (icomplete-forward-completions, icomplete-backward-completions)
7481 (icomplete-simple-completing-p, icomplete-exhibit)
7482 (icomplete-completions): Use them.
7483 (icomplete--in-region-buffer): New var.
7484 (icomplete--in-region-setup): New function.
7485 (icomplete-mode): Use it.
7486
70568a90
SM
7487 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7488 (bug#15379).
7489 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7490 return args and options.
7491 (eshell-eval-using-options): Use the new return value of
7492 eshell--do-opts to set the options's vars in their scope.
7493 (eshell--set-option): Rename from eshell-set-option.
7494 Add arg `opt-vals'.
7495 (eshell--process-option): Rename from eshell-process-option.
7496 Add arg `opt-vals'.
7497 (eshell--process-args): Use an `opt-vals' alist to store the options's
7498 values during their processing and return them additionally to the
7499 remaining args.
7500
578c21bc
DG
75012013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7502
7503 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7504 continuation character an operator, as far as indentation is
7505 concerned (Bug#15369).
7506
c089653d
MR
75072013-09-15 Martin Rudalics <rudalics@gmx.at>
7508
7509 * window.el (window--state-put-2): Don't process buffer state
7510 when buffer doesn't exist any more (Bug#15382).
7511
1e53bb4b
GM
75122013-09-15 Glenn Morris <rgm@gnu.org>
7513
30753242
GM
7514 * eshell/em-unix.el (eshell/rm):
7515 Make -f ignore missing files. (Bug#15373)
7516
1e53bb4b
GM
7517 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7518 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7519 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7520
0d8863b3
GM
75212013-09-14 Glenn Morris <rgm@gnu.org>
7522
7523 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7524
d3fc6549
GM
75252013-09-13 Glenn Morris <rgm@gnu.org>
7526
7527 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7528 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7529
fcd42c11
DA
75302013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7531
7532 * frame.el (x-focus-frame): Mark as declared in frame.c.
7533
7830899f
SM
75342013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * ls-lisp.el: Use advice-add.
7537 (original-insert-directory): Remove.
7538 (ls-lisp--insert-directory): Rename from insert-directory; add
7539 `orig-fun' argument.
7540 (insert-directory): Advise.
7541
84387cd2
EZ
75422013-09-13 Eli Zaretskii <eliz@gnu.org>
7543
7544 * term.el (term-emulate-terminal): Decode the command string
7545 before passing it to term-command-hook. (Bug#15337)
7546
35ffc6ba
GM
75472013-09-13 Glenn Morris <rgm@gnu.org>
7548
5c3f9bcc
GM
7549 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7550
2ada368a
GM
7551 * eshell/esh-ext.el (eshell-search-path): Declare.
7552
fcef2e13
GM
7553 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7554 Otherwise an error occurs if eshell-dirs module not loaded.
7555
35ffc6ba
GM
7556 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7557
35c3d36e
MA
75582013-09-13 Michael Albinus <michael.albinus@gmx.de>
7559
7560 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7561 `tramp-check-proper-host'. Check for a valid method name.
7562
7563 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7564 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7565 * net/tramp-sh.el (tramp-maybe-open-connection):
7566 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7567
7568 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7569 also for hash values.
7570
ae5e4c48
SM
75712013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7572
379add74
SM
7573 * term/ns-win.el (parameters): Don't declare as dynamic.
7574 (before-make-frame-hook): Don't add ineffective function.
7575
ae5e4c48
SM
7576 * eshell/*.el: Use lexical-binding (bug#15231).
7577
b5623270
KH
75782013-09-12 Kenichi Handa <handa@gnu.org>
7579
ae5e4c48 7580 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 7581
30213927
GM
75822013-09-12 Glenn Morris <rgm@gnu.org>
7583
be94d713 7584 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 7585 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 7586
44915370
GM
7587 * subr.el (do-after-load-evaluation): Also give compiler warnings
7588 when obsolete files are used (except by obsolete files).
7589
a6ae021f
GM
7590 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7591 in the status output, assume `filename' is the first. (Bug#15322)
7592
40e64f0c
GM
7593 * vc/vc.el (vc-deduce-fileset): Doc fix.
7594
16d9f896
GM
7595 * calc/calc-help.el (Info-goto-node):
7596 * progmodes/cperl-mode.el (Info-find-node):
7597 * vc/ediff.el (Info-goto-node): Update declarations.
7598
dea01c6e
GM
7599 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7600
759880bf 7601 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
7602 (vc-bzr-pull): Require vc-dispatcher.
7603 * vc/vc-git.el (vc-compilation-mode): Declare.
7604 (vc-git-pull): Require vc-dispatcher.
7605
08d66420
GM
7606 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7607
30b626e9
GM
7608 * progmodes/octave.el (help-button-action): Declare.
7609
8c05cb10
GM
7610 * shell.el (shell-directory-tracker): Output error as a message
7611 rather than just returning it as a string.
7612 (shell-process-pushd): Remove useless use of message.
7613
30213927
GM
7614 * dframe.el (dframe-timer-fn):
7615 * files.el (dir-locals-read-from-file):
7616 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7617 (mpc-format):
7618 * reveal.el (reveal-post-command):
7619 * saveplace.el (load-save-place-alist-from-file):
7620 * shell.el (shell-resync-dirs):
7621 * w32-common-fns.el (x-get-selection-value):
7622 * emacs-lisp/copyright.el (copyright-find-copyright):
7623 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7624 * emulation/tpu-edt.el (tpu-copy-keyfile):
7625 * play/bubbles.el (bubbles--mark-neighbourhood):
7626 * progmodes/executable.el
7627 (executable-make-buffer-file-executable-if-script-p):
7628 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7629
d3b049e6
SM
76302013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7631
170266d0
SM
7632 Cleanup Eshell to rely less on dynamic scoping.
7633 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7634 last-value, and ext-command here. Bind `args' closer to `body'.
7635 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7636 (eshell--args): Declare new dynamic var.
7637 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7638 last-value, and ext-command. Pass `args' to `body'.
7639 (eshell-process-args): Bind eshell--args.
7640 (eshell-set-option): Use eshell--args.
7641 * eshell/eshell.el (eshell): Use derived-mode-p.
7642 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7643 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7644 (eshell-glob-function): Declare.
7645 * eshell/esh-util.el: Require cl-lib.
7646 (eshell-read-hosts-file): Avoid add-to-list.
7647 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7648 `err'.
7649 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7650 Declare.
7651 (eshell/diff): Remove unused var `err'.
7652 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7653 `killflag'.
7654 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7655 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7656 first use.
7657 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7658 Move declaration before first use.
7659 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
7660 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7661 rely on cl-return.
7662
56834f3b
GM
76632013-09-12 Glenn Morris <rgm@gnu.org>
7664
7665 * term/ns-win.el (global-map): Remove binding for ispell-next,
7666 deleted 1999-05-29. (Bug#15357)
7667
5c91a2b8
GM
76682013-09-11 Glenn Morris <rgm@gnu.org>
7669
da712f22
GM
7670 * echistory.el (electric-command-history): Remove call to deleted func.
7671
512e4cdc
GM
7672 * play/landmark.el (landmark-mode): Fix typos.
7673
d3506ca5
GM
7674 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7675 Check cvs-sort-ignore-file is bound.
7676
5c91a2b8
GM
7677 * savehist.el: No need for cl when compiling on Emacs.
7678
feeff482
SM
76792013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7680
656bd483
SM
7681 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7682 (bug#15338).
d3b049e6
SM
7683 (eshell-self-insert-command, eshell-send-invisible):
7684 Remove unused argument.
656bd483
SM
7685 (eshell-handle-control-codes): Remove unused var `orig'.
7686 Avoid delete-backward-char.
7687
feeff482
SM
7688 * files.el (set-auto-mode): Simplify a bit further.
7689
2a08047a
GM
76902013-09-11 Glenn Morris <rgm@gnu.org>
7691
7692 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7693 (set-auto-mode): Don't regexp-quote elements.
7694 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7695 * progmodes/cc-mode.el (interpreter-mode-alist):
7696 * progmodes/ruby-mode.el (interpreter-mode-alist):
7697 Revert previous change.
7698
34675540
SM
76992013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7700
1b3b87df
SM
7701 * play/snake.el (snake-mode):
7702 * play/mpuz.el (mpuz-mode):
7703 * play/landmark.el (lm-mode):
7704 * play/blackbox.el (blackbox-mode):
7705 * play/5x5.el (5x5-mode):
7706 * obsolete/options.el (Edit-options-mode):
7707 * net/quickurl.el (quickurl-list-mode):
7708 * net/newst-treeview.el (newsticker-treeview-mode):
7709 * mail/rmailsum.el (rmail-summary-mode):
7710 * mail/mspools.el (mspools-mode):
7711 * locate.el (locate-mode):
7712 * ibuffer.el (ibuffer-mode):
7713 * emulation/ws-mode.el (wordstar-mode):
7714 * emacs-lisp/debug.el (debugger-mode):
7715 * array.el (array-mode):
7716 * net/eudc.el (eudc-mode): Use define-derived-mode.
7717 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7718 Move initialization into declaration.
7719 (mairix-searches-mode): Use define-derived-mode.
7720 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7721 (eudc-edit-hotlist): Use dolist.
7722 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7723 (Man-mode): Use define-derived-mode.
7724 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7725 (Info-edit-mode): Use define-derived-mode.
7726 (Info-cease-edit): Use Info-mode.
7727 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7728 into declaration.
7729 (eshell-mode): Use define-derived-mode.
7730 * chistory.el (command-history-mode-map): Rename from
7731 command-history-map.
7732 (command-history-mode): Use define-derived-mode.
da712f22 7733 (Command-history-setup): Remove function.
1b3b87df
SM
7734 * calc/calc.el (calc-trail-mode-map): New var.
7735 (calc-trail-mode): Use define-derived-mode.
7736 (calc-trail-buffer): Set calc-main-buffer manually.
7737 * bookmark.el (bookmark-insert-annotation): New function.
7738 (bookmark-edit-annotation): Use it.
7739 (bookmark-edit-annotation-mode): Make it a proper major mode.
7740 (bookmark-send-edited-annotation): Use derived-mode-p.
7741 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7742 closer to its ideal place. Use \' to match EOS.
7743
34675540
SM
7744 * profiler.el (profiler-calltree-find): Use function-equal.
7745
6a5c15d9
GM
77462013-09-10 Glenn Morris <rgm@gnu.org>
7747
1af4c220
GM
7748 * files.el (interpreter-mode-alist): Convert to regexps.
7749 (set-auto-mode): Adapt for this. (Bug#15306)
7750 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7751 Comment out unused variable.
7752 * progmodes/cc-mode.el (interpreter-mode-alist):
7753 * progmodes/python.el (interpreter-mode-alist):
7754 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7755 * progmodes/sh-script.el (sh-set-shell):
7756 No longer use interpreter-mode-alist to get list of shells.
7757
6a5c15d9
GM
7758 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7759
8c27f5ff
SM
77602013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7761
02ef6c1a 7762 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 7763 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
7764 Bind switch-frame explicitly. Replace universal-argument-minus with
7765 a conditional binding.
7766 (universal-argument-num-events, saved-overriding-map): Remove.
7767 (restore-overriding-map): Remove.
7768 (universal-argument--mode): Rename from save&set-overriding-map,
7769 and rewrite.
7770 (universal-argument, universal-argument-more, negative-argument)
7771 (digit-argument): Adjust accordingly.
7772 (universal-argument-minus): Remove.
7773 (universal-argument-other-key): Remove.
7774
8c27f5ff
SM
7775 * subr.el (with-demoted-errors): Add `format' argument.
7776
6480194c
MA
77772013-09-10 Michael Albinus <michael.albinus@gmx.de>
7778
7779 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7780 `tramp-cleanup-connection'.
7781
7782 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7783 parameters KEEP-DEBUG and KEEP-PASSWORD.
7784
7785 * net/tramp.el (tramp-file-name-handler):
7786 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7787 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7788 (tramp-maybe-open-connection):
8c27f5ff
SM
7789 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7790 Use `tramp-cleanup-connection'.
6480194c 7791
8c27f5ff
SM
7792 * net/tramp-sh.el (tramp-maybe-open-connection):
7793 Catch 'uname-changed inside the progress reporter.
6480194c 7794
e5e916d8
GM
77952013-09-10 Glenn Morris <rgm@gnu.org>
7796
9a2c9b47
GM
7797 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7798
e5e916d8
GM
7799 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7800 returns "alternate access method" in mode (eg "-rw-r--r--.").
7801
144e38fe
GM
78022013-09-08 Glenn Morris <rgm@gnu.org>
7803
7804 * saveplace.el (load-save-place-alist-from-file):
7805 Demote errors. (Bug#15305)
7806
af9ff9e8
MA
78072013-09-08 Michael Albinus <michael.albinus@gmx.de>
7808
7809 Improve compatibility with older Emacsen, and XEmacs.
7810
7811 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7812 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
7813 (with-tramp-progress-reporter): Do not let-bind `result'.
7814 This yields to scoping errors in XEmacs.
af9ff9e8
MA
7815 (tramp-handle-make-auto-save-file-name): New function, moved from
7816 tramp-sh.el.
7817
7818 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7819 for `make-auto-save-file-name'.
8c27f5ff
SM
7820 (tramp-adb--gnu-switches-to-ash):
7821 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7822
7823 * net/tramp-cache.el (tramp-cache-print): Call
7824 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7825
7826 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7827 bound. It isn't for XEmacs.
7828
8c27f5ff
SM
7829 * net/tramp-compat.el (tramp-compat-copy-file):
7830 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
7831 (tramp-compat-replace-regexp-in-string): New defun.
7832
7833 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7834 for `make-auto-save-file-name'.
7835 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7836 `copy-file'.
7837 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7838 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7839 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7840
8c27f5ff
SM
7841 * net/tramp-gw.el (tramp-gw-open-network-stream):
7842 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 7843
8c27f5ff
SM
7844 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7845 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
7846 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7847 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
7848 (tramp-sh-file-inotifywait-process-filter):
7849 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7850 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7851
7852 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7853 for `make-auto-save-file-name'.
8c27f5ff
SM
7854 (tramp-smb-handle-copy-directory):
7855 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7856 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7857 (tramp-smb-handle-copy-file): Improve error message.
7858 (tramp-smb-handle-rename-file): Rename directly only in case
7859 `newname' does not exist yet. This is a restriction of smbclient.
7860 (tramp-smb-maybe-open-connection): Rerun the function only when
7861 `auth-sources' is non-nil.
7862
0ca754d0
KH
78632013-09-08 Kenichi Handa <handa@gnu.org>
7864
e0eb0550 7865 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
7866 more characters.
7867
e8dd0787
AM
78682013-09-07 Alan Mackenzie <acm@muc.de>
7869
7870 Correctly fontify Java class constructors.
7871 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7872 in Java Mode.
7873 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
7874 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7875 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
7876 "typeless" declaration there.
7877
f2f248e7
RW
78782013-09-07 Roland Winkler <winkler@gnu.org>
7879
7880 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7881 field subtitle for entry type book.
7882
67982e2b
SM
78832013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * minibuffer.el: Make minibuffer-complete call completion-in-region
7886 rather than other way around.
7887 (completion--some, completion-pcm--find-all-completions):
7888 Don't delay signals when debugging.
7889 (minibuffer-completion-contents): Beware fields within the
7890 minibuffer contents.
7891 (completion-all-sorted-completions): Use defvar-local.
7892 (completion--do-completion, completion--cache-all-sorted-completions)
7893 (completion-all-sorted-completions, minibuffer-force-complete):
7894 Add args `beg' and `end'.
7895 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7896 (minibuffer-complete): Use completion-in-region.
7897 (completion-complete-and-exit): New fun, extracted from
7898 minibuffer-complete-and-exit.
7899 (minibuffer-complete-and-exit): Use it.
7900 (completion--complete-and-exit): Rename from
7901 minibuffer--complete-and-exit.
7902 (completion-in-region--single-word): New function, extracted from
7903 minibuffer-complete-word.
7904 (minibuffer-complete-word): Use it.
7905 (display-completion-list): Make `common-substring' argument obsolete.
7906 (completion--in-region): Call completion--in-region-1 instead of
7907 minibuffer-complete.
7908 (completion-help-at-point): Pass boundaries to
7909 minibuffer-completion-help as args rather than via an overlay.
7910 (completion-pcm--string->pattern): Use `any-delim'.
7911 (completion-pcm--optimize-pattern): New function.
7912 (completion-pcm--pattern->regex): Handle `any-delim'.
7913 * icomplete.el (icomplete-forward-completions)
7914 (icomplete-backward-completions, icomplete-completions):
7915 Adjust calls to completion-all-sorted-completions and
7916 completion--cache-all-sorted-completions.
7917 (icomplete-with-completion-tables): Default to t.
7918 * emacs-lisp/crm.el (crm--current-element): Rename from
7919 crm--select-current-element. Don't put an overlay but return the
7920 boundaries instead.
7921 (crm--completion-command): Take two new args to bind to the boundaries.
7922 (crm-completion-help): Adjust accordingly.
7923 (crm-complete): Use completion-in-region.
7924 (crm-complete-word): Use completion-in-region--single-word.
7925 (crm-complete-and-exit): Use completion-complete-and-exit.
7926
e17d94a5
SM
79272013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7930 than dynamically.
7931
96727100
JL
79322013-09-06 Juri Linkov <juri@jurta.org>
7933
7934 * info.el (Info-display-images-node): When image file doesn't exist
7935 display text version of the image if it's provided in the Info file.
7936 Otherwise, display the location of missing image from SRC attribute.
7937 Add help-echo text property from ALT attribute. (Bug#15279)
7938
86cf7329
SM
79392013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7940
7941 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7942 (edit-abbrevs-mode): Use define-derived-mode.
7943
7944 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7945 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7946 that it's defined.
7947 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7948 Use define-derived-mode.
7949
7950 * epg.el (epg-start-encrypt): Minor CSE simplification.
7951
816244a2
WX
79522013-09-06 William Xu <william.xwl@gmail.com>
7953
7954 * arc-mode.el: Add support for 7za (bug#15264).
7955 (archive-7z-program): New var.
7956 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7957 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7958 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7959
1486fa31
MA
79602013-09-06 Michael Albinus <michael.albinus@gmx.de>
7961
7962 Remove URL syntax.
7963
7964 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7965 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7966 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7967 (tramp-postfix-host-format, tramp-file-name-regexp)
7968 (tramp-completion-file-name-regexp)
7969 (tramp-completion-dissect-file-name)
7970 (tramp-handle-substitute-in-file-name): Remove 'url case.
7971 (tramp-file-name-regexp-url)
7972 (tramp-completion-file-name-regexp-url): Remove constants.
7973
39785324
GM
79742013-09-06 Glenn Morris <rgm@gnu.org>
7975
7976 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7977
1f896cb7
DG
79782013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7979
7980 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7981 keywords" below "here-doc beginnings" (Bug#15270).
7982
c0458e0b
SM
79832013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7984
7985 * subr.el (pop): Use `car-safe'.
7986 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7987 to detect unused `pop' return value.
7988
7989 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7990 var `block-regexp'.
7991 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7992 (python-fill-string): Remove unused var `marker'.
7993 (python-skeleton-add-menu-items): Remove unused var `items'.
7994
7995 * international/mule-cmds.el: Require CL.
7996 (find-coding-systems-for-charsets): Avoid add-to-list.
7997 (sanitize-coding-system-list): New function, extracted from
7998 select-safe-coding-system-interactively.
7999 (select-safe-coding-system-interactively): Use it.
8000 (read-input-method-name): Accept symbols for `default'.
8001
8002 * emacs-lisp/advice.el (defadvice): Add indent rule.
8003
6c42fc3e
DH
80042013-09-05 Daniel Hackney <dan@haxney.org>
8005
8006 * dired-x.el:
8007 * net/ange-ftp.el:
8008 * net/browse-url.el:
8009 * net/dbus.el:
8010 * net/eudc.el:
8011 * net/eudcb-ldap.el:
8012 * net/eww.el:
8013 * net/imap.el:
8014 * printing.el:
8015 * vc/ediff-diff.el:
8016 * vc/ediff-init.el:
8017 * vc/ediff-merg.el:
8018 * vc/ediff-mult.el:
8019 * vc/ediff-util.el:
8020 * vc/ediff-wind.el:
8021 * vc/ediff.el:
8022 * vc/emerge.el:
8023 * vc/pcvs.el:
8024 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8025 byte compiler. Remove some unused let-bound variables.
8026
4c528aab
SM
80272013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8030 a "ref-cell", since it gets better optimized (bug#14883).
8031
bd15c390
GM
80322013-09-05 Glenn Morris <rgm@gnu.org>
8033
8034 * progmodes/cc-awk.el (c-forward-sws): Declare.
8035
1c3ac2e5
GM
80362013-09-04 Glenn Morris <rgm@gnu.org>
8037
8038 * generic-x.el [rul-generic-mode]: Require cc-mode.
8039 (c++-mode-syntax-table): Declare.
8040 (rul-generic-mode-syntax-table): Init in the defvar.
8041
52b1cc79
SM
80422013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8043
c828af56
SM
8044 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8045 (vc-do-command, vc-set-async-update):
8046 * vc/vc-mtn.el (vc-mtn-dir-status):
8047 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8048 (vc-hg-pull, vc-hg-merge-branch):
8049 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8050 (vc-git-merge-branch):
8051 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8052 (vc-cvs-dir-status-files):
8053 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8054 (vc-bzr-dir-status-files):
8055 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8056 * vc/vc-annotate.el: Use lexical-binding.
8057 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8058 (vc-sentinel-movepoint): Declare.
8059 (vc-annotate): Don't use `goto-line'.
8060 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8061 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8062 (vc-sentinel-movepoint): Declare.
8063 * vc/vc-svn.el: Use lexical-binding.
8064 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8065 * vc/vc-sccs.el:
8066 * vc/vc-rcs.el: Use lexical-binding.
8067
abae272c
SM
8068 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8069 `deleted'. Don't drop errors silently.
8070
52b1cc79
SM
8071 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8072
63191d9f
XF
80732013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8074
8075 * vc/vc.el (vc-ignore): Rewrite.
8076 (vc-default-ignore): New function.
8077 (vc-default-ignore-completion-table): Use find-ignore-file.
8078
8079 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8080 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8081 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8082 Remove. Most code moved to vc.el.
8083
9d3f707c
SM
80842013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8085
abae272c 8086 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
8087 * net/tramp-smb.el (tramp-smb-get-file-entries):
8088 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8089 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8090
fde38d49
SM
8091 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8092 Update call to it.
8093 (eww-change-select): Remove unused var `properties'.
8094 (eww-make-unique-file-name): Remove unused var `base'.
8095
8096 * finder.el (finder-compile-keywords): Don't mess with windows.
8097
84032db7
SM
8098 * calculator.el (calculator-funcall): Fix typo in last change.
8099
724f5e41
SM
8100 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8101
14b511d4
SM
8102 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8103 <pkg>-autoloads.el file stop us.
8104
9d3f707c 8105 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 8106 warnings, and factor out common code.
9d3f707c 8107
88527bc0
DG
81082013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8109
8110 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8111 two-character operators and whether the character preceding them
8112 changes their meaning (Bug#15208).
8113
96edb677
FEG
81142013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8115
8116 Format code sent to Python shell for robustness.
9d3f707c
SM
8117 * progmodes/python.el (python-shell-buffer-substring):
8118 New function.
96edb677
FEG
8119 (python-shell-send-region, python-shell-send-buffer): Use it.
8120
95beaef3
MA
81212013-09-02 Michael Albinus <michael.albinus@gmx.de>
8122
8123 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8124 * net/tramp.el (tramp-user-error): ... here.
8125 (tramp-find-method, tramp-check-proper-host)
8126 (tramp-dissect-file-name, tramp-debug-message)
8127 (tramp-handle-shell-command):
8128 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8129 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8130
8131 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8132
f167c27b
MR
81332013-09-02 Martin Rudalics <rudalics@gmx.at>
8134
8135 * avoid.el (mouse-avoidance-point-position)
8136 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8137 returns nil.
8138
cd16c5f1
FEG
81392013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8140
8141 * progmodes/python.el (python-shell-completion-get-completions):
8142 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 8143 (python-nav-if-name-main): New command.
cd16c5f1 8144
e73c3a0d
GM
81452013-09-01 Glenn Morris <rgm@gnu.org>
8146
f8ccce03
GM
8147 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8148 Avoid leading space in $wins. Otherwise the sed command used by
8149 eg compile-main ends up containing "/*.el". (Bug#15170)
8150
e73c3a0d
GM
8151 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8152
415f808e
GM
81532013-08-30 Glenn Morris <rgm@gnu.org>
8154
8155 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8156 Fix is-this-a-directory logic. (Bug#15220)
8157
f069bba8
SM
81582013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8159
112798c1
SM
8160 * textmodes/css-mode.el: Use SMIE.
8161 (css-smie-grammar): New var.
8162 (css-smie--forward-token, css-smie--backward-token)
8163 (css-smie-rules): New functions.
8164 (css-mode): Use them.
8165 (css-navigation-syntax-table): Remove var.
8166 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8167 (css-indent-calculate, css-indent-line): Remove functions.
8168
8169 Misc changes to reduce use of `(lambda...); and other cleanups.
8170 * cus-edit.el: Use lexical-binding.
8171 (customize-push-and-save, customize-apropos)
8172 (custom-buffer-create-internal): Use closures.
8173 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8174 * progmodes/ada-xref.el: Use setq.
8175 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8176 * dframe.el: Use lexical-binding.
8177 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8178 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8179 * descr-text.el: Use lexical-binding.
8180 (describe-text-widget, describe-text-sexp, describe-property-list):
8181 Use closures.
8182 * comint.el (comint-history-isearch-push-state): Use a closure.
8183 * calculator.el: Use lexical-binding.
8184 (calculator-number-to-string): Make it work with lexical-binding.
8185 (calculator-funcall): Same and use cl-letf.
8186
2da4c3ab
SM
8187 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8188 (lisp--company-doc-string, lisp--company-location): New functions.
8189 (lisp-completion-at-point): Use them to improve Company support.
8190
f069bba8
SM
8191 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8192 params of lambda expressions.
8193 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8194 (ruby-smie--opening-pipe-p): New function.
8195 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8196 symbols and matched |...| for formal params.
8197 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8198 from being treated as hanging. Handle "rescue".
8199
6758b6a8
GM
82002013-08-29 Glenn Morris <rgm@gnu.org>
8201
8202 * progmodes/cc-engine.el (c-pull-open-brace):
8203 Move definition before use.
8204
e8dfd197
SM
82052013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8208 are immutable. Don't use `unsafe' any more.
8209 (cl--defsubst-expand): Don't substitute at the same time as keeping
8210 a residual unused let-binding. Don't use `unsafe' any more.
8211
cc585c96
GM
82122013-08-29 Glenn Morris <rgm@gnu.org>
8213
ba579ea6
GM
8214 * calendar/cal-china.el (calendar-chinese-year-cache):
8215 Recenter on 2015.
8216
8201a87e
GM
8217 * nxml/nxml-util.el (nxml-debug-clear-inside):
8218 Use cl-loop rather than loop.
8219
6ee877c7
GM
8220 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8221
cc585c96
GM
8222 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8223
27be8d39
GM
82242013-08-28 Glenn Morris <rgm@gnu.org>
8225
397440a1
GM
8226 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8227
2bb762d4
GM
8228 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8229
27be8d39
GM
8230 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8231
2d69b99e
SM
82322013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8233
f663baa7
SM
8234 * simple.el (repeat-complex-command--called-interactively-skip):
8235 New function.
8236 (repeat-complex-command): Use it (bug#14136).
8237
dd4f8b74
SM
8238 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8239 (c-define-abbrev-table): Add `doc' argument.
8240 (c-mode-abbrev-table, c++-mode-abbrev-table)
8241 (objc-mode-abbrev-table, java-mode-abbrev-table)
8242 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8243 (awk-mode-abbrev-table): Use it.
8244 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8245 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8246 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8247 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8248 Move initialization into the declaration; and remove any
8249 autoload cookie.
8250
b58969f7
SM
8251 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8252 and dynamic let binding.
8253
4021d6a6
SM
8254 * vc/smerge-mode.el: Remove redundant :group args.
8255
2d69b99e
SM
8256 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8257 to load-path.
8258
274919fd
JL
82592013-08-28 Juri Linkov <juri@jurta.org>
8260
8261 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8262 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8263 (isearch-other-meta-char): Handle an undefined shifted printing
8264 character by downshifting it. (Bug#15200)
8265
121f8c95
JL
82662013-08-28 Juri Linkov <juri@jurta.org>
8267
8268 * isearch.el (isearch-search): Change regexp error message for
8269 non-regexp searches. (Bug#15166)
8270
50b13cde
PE
82712013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8272
8273 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8274 for portability to hosts where /bin/sh has problems.
8275
95888bca
SM
82762013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8277
8278 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8279
bbe558f1
JL
82802013-08-27 Juri Linkov <juri@jurta.org>
8281
8282 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8283 in the keyboard macro. (Bug#15126)
8284
26f98a7d
JL
82852013-08-27 Juri Linkov <juri@jurta.org>
8286
8287 * isearch.el (isearch-quote-char): Comment out converting unibyte
8288 to multibyte, thus syncing with its `quoted-insert' counterpart.
8289 (Bug#15166)
8290
7c97d35e
MR
82912013-08-27 Martin Rudalics <rudalics@gmx.at>
8292
8293 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
8294 argument in call of get-largest-window (Bug#15185).
8295 Reported by Stephen Leake.
7c97d35e 8296
a0b5606e 82972013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
8298
8299 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8300
9e89d835
SM
83012013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8302
8303 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8304 from a matcher-function unless there's no more matches (bug#15161).
8305
78fc2530
MA
83062013-08-26 Michael Albinus <michael.albinus@gmx.de>
8307
8308 * minibuffer.el: Revert change from 2013-08-20.
8309
8310 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8311 with text property `tramp-default', if appropriate.
8312 (tramp-check-proper-host): New defun.
8313 (tramp-dissect-file-name): Do not check hostname. Revert change
8314 of 2013-03-18.
8315 (tramp-backtrace): Make VEC-OR-PROC optional.
8316
8317 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8318 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8319 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
8320 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8321 Apply `tramp-check-proper-host'.
78fc2530 8322
edca97cd
TH
83232013-08-26 Tassilo Horn <tsdh@gnu.org>
8324
8325 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8326 lambda expression in order to have `describe-variable' display it.
8327
df54bcbd
MA
83282013-08-26 Michael Albinus <michael.albinus@gmx.de>
8329
8330 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8331 BUF can be optional. (Bug#15186)
8332
eed99101
XF
83332013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8334
8335 * progmodes/flymake.el (flymake-get-real-file-name-function):
8336 Fix broken customization. (Bug#15184)
8337
b5eb9035
AM
83382013-08-25 Alan Mackenzie <acm@muc.de>
8339
8a51e842
AM
8340 Improve indentation of bracelists defined by macros (without "=").
8341
8342 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8343 expansion begins with "{", regard it as bracelist when it doesn't
8344 contain a ";".
8345
869455d4
AM
8346 Parse C++ inher-intro when there's a template split over 2 lines.
8347
8348 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8349 rigorously the search for "class" etc. followed by ":".
8350
8351 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8352 random languages a regexp which never matches rather than nil.
8353
b5eb9035
AM
8354 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8355
8356 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8357 (c-awk-regexp-one-line-possibly-open-char-list-re)
8358 (c-awk-one-line-possibly-open-regexp-re)
8359 (c-awk-one-line-non-syn-ws*-re): Remove.
8360 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8361 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8362 (c-awk-space*-unclosed-regexp-/-re): New constants.
8363 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8364 aren't regexp delimiters.
8365
8366 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8367 handling for a rare situation in AWK Mode involving unterminated
8368 strings/regexps.
8369
61611d54
GM
83702013-08-23 Glenn Morris <rgm@gnu.org>
8371
2d85dc34
GM
8372 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8373
cb8d2612
GM
8374 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8375
bb35f42f
GM
8376 * files.el (create-file-buffer): If the result would begin with
8377 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 8378
b9808e77
SM
83792013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8380
e3a66363
SM
8381 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8382 text-properties (bug#15155).
8383
b9808e77
SM
8384 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8385 exist any more.
8386 (calc-keypad-redraw): Remove unused var `pad'.
8387 (calc-keypad-press): Remove unused var `menu'.
8388
7fd5f65e
MR
83892013-08-23 Martin Rudalics <rudalics@gmx.at>
8390
b9808e77
SM
8391 * window.el (display-buffer-pop-up-frame):
8392 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
8393 use it as the new frame's buffer (Bug#15133).
8394
8352b530
SM
83952013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * calendar/timeclock.el: Minor cleanups.
8398 (timeclock-ask-before-exiting, timeclock-use-display-time):
8399 Use `symbol'.
8400 (timeclock-modeline-display): Define as alias before the
8401 actual definition.
8402 (timeclock-mode-line-display): Use define-minor-mode.
8403 (timeclock-day-list-template): Make it a function, add an argument.
8404 (timeclock-day-list-required, timeclock-day-list-length)
8405 (timeclock-day-list-debt, timeclock-day-list-span)
8406 (timeclock-day-list-break): Adjust calls accordingly.
8407
9f7b1925
SM
84082013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8409
8410 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8411 Use read--expression so that completion works again.
8412
6e50e983
SS
84132013-08-21 Sam Steingold <sds@gnu.org>
8414
8415 Add rudimentary inferior shell interaction
8416 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8417 (sh-set-shell): Reset it.
9f7b1925
SM
8418 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8419 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 8420
dbb0d350
SM
84212013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 * align.el: Use lexical-binding.
8424 (align-region): Simplify accordingly.
8425
c88586a9
MA
84262013-08-20 Michael Albinus <michael.albinus@gmx.de>
8427
8428 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8429
8430 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8431 `non-essential' up.
8432
f95527c8
MA
84332013-08-17 Michael Albinus <michael.albinus@gmx.de>
8434
8435 * net/tramp.el:
8436 * net/tramp-adb.el:
8437 * net/tramp-cmds.el:
8438 * net/tramp-ftp.el:
8439 * net/tramp-gvfs.el:
8440 * net/tramp-gw.el:
8441 * net/tramp-sh.el: Don't wrap external variable declarations by
8442 `eval-when-compile'.
8443
4b5fe4ee
LMI
84442013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8445
8446 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8447 now that Emacs supports ImageMagick animations.
8448
13c366c9
MA
84492013-08-16 Michael Albinus <michael.albinus@gmx.de>
8450
8451 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8452 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8453
3dfc5cd6
MR
84542013-08-16 Martin Rudalics <rudalics@gmx.at>
8455
8456 * window.el (mouse-autoselect-window-select): Do autoselect when
8457 mouse pointer is on margin.
8458
4bbb4381
WP
84592013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8460
8461 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8462
3a2ddc2d
GM
84632013-08-16 Glenn Morris <rgm@gnu.org>
8464
e8bedf5a
GM
8465 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8466 Handle "Remote Directory" response of some clients. (Bug#15058)
8467
58c4682f
GM
8468 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8469 Tweak warning. (Bug#14926)
8470
57953f49
GM
8471 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8472 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8473
3a2ddc2d
GM
8474 * image-mode.el (image-mode-map): Add menu items to reverse,
8475 increase, decrease, reset animation speed.
8476 (image--set-speed, image-increase-speed, image-decrease-speed)
8477 (image-reverse-speed, image-reset-speed): New functions.
8478 (image-mode-map): Add bindings for speed commands.
8479
8480 * image.el (image-animate-get-speed, image-animate-set-speed):
8481 New functions.
8482 (image-animate-timeout): Respect image :speed property.
8483
10fa0ed3
SM
84842013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8487 previous line (bug#15101).
8488 (debugger-eval-expression, debugger-record-expression):
8489 Use read--expression (bug#15102).
8490
5d89d9d2
MA
84912013-08-15 Michael Albinus <michael.albinus@gmx.de>
8492
8493 Remove byte compiler warnings, visible when compiling with
8494 `byte-compile-force-lexical-warnings' set to t.
8495
8496 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8497 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8498 (tramp-handle-unhandled-file-name-directory)
8499 (tramp-handle-file-notify-add-watch, tramp-action-login)
8500 (tramp-action-succeed, tramp-action-permission-denied)
8501 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8502 arguments with "_".
8503
8504 * net/tramp-adb.el (tramp-adb-parse-device-names)
8505 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8506 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8507 (tramp-adb-handle-file-truename): Remove unused arguments.
8508
8509 * net/tramp-cache.el (tramp-flush-directory-property)
8510 (tramp-flush-connection-property, tramp-list-connections)
8511 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8512
10fa0ed3
SM
8513 * net/tramp-compat.el (tramp-compat-make-temp-file):
8514 Rename FILENAME to F.
5d89d9d2
MA
8515
8516 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8517 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8518 (tramp-zeroconf-parse-workstation-device-names)
8519 (tramp-zeroconf-parse-webdav-device-names)
8520 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8521
8522 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8523 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8524
8525 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8526 arguments.
8527 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8528 (tramp-sh-handle-insert-file-contents-literally)
8529 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8530 with "_".
8531 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8532 Remove unused variables.
8533
8534 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8535 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8536 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8537
8538 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8539 Make them a defconst.
8540 (tramp-uuencode-region): Remove unused variable.
8541
62f33bae
JB
85422013-08-14 Juanma Barranquero <lekktu@gmail.com>
8543
8544 * frameset.el (frameset--prop-setter): New function.
8545 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
8546 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8547 parameter was already set in FILTERED. Doc fix.
8548 (frameset--record-minibuffer-relationships): Allow saving a
8549 minibufferless frame without its corresponding minibuffer frame.
8550 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8551 frame, if the frame id matches.
8552 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8553 frames before orphaned ones.
8554 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 8555
c660a885
MR
85562013-08-14 Martin Rudalics <rudalics@gmx.at>
8557
8558 * window.el (window-make-atom): Don't overwrite parameter
8559 already present.
8560 (display-buffer-in-atom-window): Handle special case where we
8561 split an already atomic window.
8562 (window--major-non-side-window, display-buffer-in-side-window)
8563 (window--side-check): Ignore minibuffer window when walking
8564 window tree.
8565 (window-deletable-p): Return 'frame only if no other frame uses
8566 our minibuffer window.
8567 (record-window-buffer): Run buffer-list-update-hook.
8568 (split-window): Make sure window--check-frame won't destroy an
8569 existing atomic window in case the new window gets nested
8570 inside.
8571 (display-buffer-at-bottom): Ignore minibuffer window when
8572 walking window tree. Don't split a side window.
8573 (pop-to-buffer): Don't set-buffer here, the select-window call
8574 should do that.
8575 (mouse-autoselect-window-select): Autoselect only if we are in the
8576 text portion of the window.
8577
8259030d
LMI
85782013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8579
21c58ae2
LMI
8580 * net/shr.el (shr-parse-image-data): New function to grab both the
8581 data itself and the Content-Type.
8582 (shr-put-image): Use it.
8583
8584 * net/eww.el (eww-display-image): Ditto.
8585
8259030d
LMI
8586 * image.el (image-content-type-suffixes): New variable.
8587
ad756449
FEG
85882013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8589
8590 * progmodes/python.el (python-imenu--build-tree)
8591 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8592
f73f4ce6
XF
85932013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8594
8595 * simple.el (backward-word): Mention the optional argument.
8596
1f585e65
SM
85972013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 * frameset.el (frameset--make): Rename constructor from make-frameset.
8600 (frameset-p, frameset-valid-p): Don't autoload.
8601 (frameset-valid-p): Use normal accessors.
8602
af1c6c84
GM
86032013-08-13 Glenn Morris <rgm@gnu.org>
8604
55e47f95
GM
8605 * progmodes/compile.el (compile-command): Tweak example in doc.
8606 * obsolete/scribe.el (scribe-mode):
8607 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8608
f0024d8c
GM
8609 * mail/feedmail.el (feedmail-confirm-outgoing)
8610 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8611
8612 * cus-start.el (truncate-partial-width-windows): Fix type.
8613
8614 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8615
af1c6c84
GM
8616 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8617
5514cc4c
SM
86182013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * emacs-lisp/timer.el (timer--time-setter): New function.
8621 (timer--time): Use it as gv-setter.
8622
8623 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8624 setter is not a symbol.
8625
7997a2f1
GJ
86262013-08-12 Grégoire Jadi <daimrod@gmail.com>
8627
8628 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8629 if sending fails. This makes debugging easier.
8630
01f1a9ab
JB
86312013-08-12 Juanma Barranquero <lekktu@gmail.com>
8632
8633 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8634 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8635 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8636
594a4307
EZ
86372013-08-12 Eli Zaretskii <eliz@gnu.org>
8638
8639 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8640
7a22490f 86412013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
8642
8643 * format.el (format-annotate-function):
8644 Handle read-only text properties in the source. (Bug#14887)
8645
3e41a054
LMI
86462013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8647
5514cc4c
SM
8648 * net/eww.el (eww-display-html): Ignore coding system errors.
8649 One web site uses "utf-8lias" as the coding system.
3e41a054 8650
7ec326db
JB
86512013-08-11 Juanma Barranquero <lekktu@gmail.com>
8652
8653 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8654
5660113b
JB
86552013-08-10 Juanma Barranquero <lekktu@gmail.com>
8656
9a4ebc74
JB
8657 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8658 (tutorial--detailed-help): Remove unused local variables.
8659 (tutorial--save-tutorial-to): Use ignore-errors.
8660 (help-with-tutorial): Use looking-at-p.
8661
8662 * view.el (view-buffer-other-window, view-buffer-other-frame):
8663 Mark unused arguments.
8664
8665 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8666 (woman-select-symbol-fonts, woman, woman-find-file)
8667 (woman-insert-file-contents, woman-non-underline-faces):
8668 Use string-match-p.
8669 (woman1-unquote): Move declaration.
8670
8671 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8672 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8673 argument. Remove unused local variable.
8674 (xml-parse-elem-type): Use string-match-p.
8675 (xml-substitute-numeric-entities): Use ignore-errors.
8676
45fdb482
JB
8677 * calculator.el (calculator): Mark unused argument.
8678 (calculator-paste, calculator-quit, calculator-integer-p):
8679 Use ignore-errors.
8680 (calculator-string-to-number, calculator-decimal, calculator-exp)
8681 (calculator-op-or-exp): Use string-match-p.
8682
8683 * dired.el (dired-buffer-more-recently-used-p): Declare.
8684 (dired-insert-set-properties, dired-insert-old-subdirs):
8685 Use ignore-errors.
8686
8687 * dired-aux.el (dired-compress): Use ignore-errors.
8688 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8689 (dired-do-async-shell-command, dired-do-shell-command)
8690 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8691 (dired-insert-subdir-validate): Use string-match-p.
8692 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8693 (dired-add-entry): Use string-match-p, looking-at-p.
8694 (dired-insert-subdir-newpos): Remove unused local variable.
8695
8696 * filenotify.el (file-notify-callback): Remove unused local variable.
8697
8698 * filesets.el (filesets-error): Mark unused argument.
8699 (filesets-which-command-p, filesets-filter-dir-names)
8700 (filesets-directory-files, filesets-get-external-viewer)
8701 (filesets-ingroup-get-data): Use string-match-p.
8702
8703 * find-file.el (ff-other-file-name, ff-other-file-name)
8704 (ff-find-the-other-file, ff-cc-hh-converter):
8705 Remove unused local variables.
8706 (ff-get-file-name): Use string-match-p.
8707 (ff-all-dirs-under): Use ignore-errors.
8708
8709 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8710 (follow-select-if-visible): Remove unused local variable.
8711
8712 * forms.el (read-file-filter): Move declaration.
8713 (forms--make-format, forms--make-parser, forms-insert-record):
8714 Quote function with #'.
8715 (forms--update): Use string-match-p. Quote function with #'.
8716
8717 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8718 (help-make-xrefs): Use looking-at-p.
8719 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8720
8721 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8722 (ibuffer-confirm-operation-on): Use string-match-p.
8723
8724 * msb.el (msb-item-handler, msb-dired-item-handler):
8725 Mark unused arguments.
8726
8727 * ses.el (ses-decode-cell-symbol)
8728 (ses-kill-override): Remove unused local variable.
8729 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8730 (ses-load): Use ignore-errors, looking-at-p.
8731 (ses-jump-safe): Use ignore-errors.
8732 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8733
8734 * tabify.el (untabify, tabify): Mark unused arguments.
8735
8736 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8737 Mark unused argument.
8738 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8739 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8740
c880af52
JB
8741 * emacs-lisp/timer.el (timer--time): Define setter with
8742 gv-define-setter to avoid deprecation warning.
8743
5660113b 8744 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 8745 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
8746 (cmpl-statistics-block): Remove (body was commented out).
8747 All callers changed.
8748 (add-completions-from-buffer, load-completions-from-file):
8749 Remove unused variables.
8750
156aab80
JB
87512013-08-09 Juanma Barranquero <lekktu@gmail.com>
8752
5c5dee78
JB
8753 * filecache.el (file-cache-delete-file-list):
8754 Print message only when told so.
8755 (file-cache-files-matching): Use #' in mapconcat argument.
8756
156aab80
JB
8757 * ffap.el (ffap-url-at-point): Fix reference to variable
8758 thing-at-point-default-mail-uri-scheme.
8759
ad9dcd70
SM
87602013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8761
54bd972f
SM
8762 * subr.el (define-error): New function.
8763 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8764 error-file-not-found and define with define-error.
8765 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8766 and define with define-error.
8767 * userlock.el (file-locked, file-supersession):
8768 * simple.el (mark-inactive):
8769 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8770 * progmodes/ada-mode.el (ada-mode-errors):
8771 * play/life.el (life-extinct):
8772 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8773 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8774 * nxml/rng-util.el (rng-error):
8775 * nxml/rng-uri.el (rng-uri-error):
8776 * nxml/rng-match.el (rng-compile-error):
8777 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8778 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8779 * nxml/nxml-rap.el (nxml-scan-error):
8780 * nxml/nxml-outln.el (nxml-outline-error):
8781 * net/soap-client.el (soap-error):
8782 * net/gnutls.el (gnutls-error):
8783 * net/ange-ftp.el (ftp-error):
8784 * mpc.el (mpc-proc-error):
8785 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8786 (json-number-format, json-string-escape, json-string-format)
8787 (json-key-format, json-object-format):
8788 * jka-compr.el (compression-error):
8789 * international/quail.el (quail-error):
8790 * international/kkc.el (kkc-error):
8791 * emacs-lisp/ert.el (ert-test-failed):
8792 * calc/calc.el (calc-error, inexact-result, math-overflow)
8793 (math-underflow):
8794 * bookmark.el (bookmark-error-no-filename):
8795 * epg.el (epg-error): Define with define-error.
8796
0ea9e53a
SM
8797 * time.el (display-time-event-handler)
8798 (display-time-next-load-average): Don't call sit-for since it seems
8799 unnecessary (bug#15045).
8800
b0429158
SM
8801 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8802 Use #' instead of ' to quote functions.
8803 (checkdoc-output-mode): Use setq-local.
8804 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8805 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8806 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8807 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8808 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8809 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8810 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8811 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8812
ad9dcd70
SM
8813 * ido.el (ido-completion-help): Fix up compiler warning.
8814
77187e6f
JB
88152013-08-09 Juanma Barranquero <lekktu@gmail.com>
8816
8817 * frameset.el (frameset-p): Add autoload cookie.
8818 (frameset--jump-to-register): New function, based on code moved from
8819 register.el.
8820 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8821
8822 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8823 (frameset-restore, frameset-save, frameset-session-filter-alist):
8824 Remove declarations.
8825 (register-alist): Doc fix.
8826 (frameset-to-register): Move to frameset.el.
8827 (jump-to-register, describe-register-1): Remove frameset-specific code.
8828
9d3aa82c
JB
88292013-08-08 Juanma Barranquero <lekktu@gmail.com>
8830
8831 * allout-widgets.el (allout-widgets-pre-command-business)
8832 (allout-widgets-post-command-business)
8833 (allout-widgets-after-change-handler)
8834 (allout-decorate-item-and-context, allout-set-boundary-marker)
8835 (allout-body-modification-handler)
8836 (allout-graphics-modification-handler): Mark ignored arguments.
8837 (allout-widgets-post-command-business)
8838 (allout-widgets-exposure-change-processor)
8839 (allout-widgets-exposure-undo-processor)
8840 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8841 (allout-parse-item-at-point, allout-decorate-item-guides)
8842 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8843 * allout.el (epa-passphrase-callback-function): Declare.
8844 (allout-overlay-insert-in-front-handler)
8845 (allout-overlay-interior-modification-handler)
8846 (allout-isearch-end-handler, allout-chart-siblings)
8847 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8848 (allout-yank-processing, allout-process-exposed)
8849 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 8850 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
8851 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8852 (lisp-indent-defform): Mark ignored arguments.
8853 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8854 (calculate-lisp-indent): Remove unused variables.
8855 * international/characters.el (indian-2-column, arabic-2-column)
8856 (tibetan): Mark ignored arguments.
8857 (use-cjk-char-width-table): Mark ignored arguments.
8858 Remove unused variables.
8859 * international/fontset.el (build-default-fontset-data)
8860 (x-compose-font-name, create-fontset-from-fontset-spec):
8861 Mark ignored arguments.
8862 (fontset-plain-name): Remove unused variables.
8863 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8864 (keyboard-coding-system): Mark ignored arguments.
8865 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8866 * help.el (resize-temp-buffer-window):
8867 * window.el (display-buffer-in-major-side-window)
8868 (display-buffer-in-side-window, display-buffer-in-previous-window):
8869 Remove unused variables.
8870 * isearch.el (isearch-forward-symbol):
8871 * version.el (emacs-bzr-version-bzr):
8872 * international/mule-cmds.el (current-language-environment):
8873 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8874 (x-handle-display):
8875 * term/pc-win.el (x-list-fonts, x-display-planes)
8876 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8877 (x-server-version, x-display-screens, x-display-mm-height)
8878 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8879 (x-selection-owner-p, x-own-selection-internal)
8880 (x-disown-selection-internal, x-get-selection-internal)
8881 (msdos-initialize-window-system):
8882 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8883 * term/x-win.el (x-handle-no-bitmap-icon):
8884 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8885 (vc-default-find-file-hook, vc-default-extra-menu):
8886 Mark ignored arguments.
8887
0ca3f70e
SM
88882013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8891 break-condition in the context of the debugged code (bug#12685).
8892
74c5d24c
CS
88932013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8894
8895 * comint.el:
8896 Do not use an overlay to highlight the last prompt. (Bug#14744)
8897 (comint-mode): Make comint-last-prompt buffer local.
8898 (comint-last-prompt): New variable.
8899 (comint-last-prompt-overlay): Remove. Superseded by
8900 comint-last-prompt.
0ca3f70e
SM
8901 (comint-snapshot-last-prompt, comint-output-filter):
8902 Use comint-last-prompt.
74c5d24c 8903
c03c02ee
JB
89042013-08-08 Juanma Barranquero <lekktu@gmail.com>
8905
a3738d20 8906 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
8907 (frameset-save): Check validity of the resulting frameset.
8908
04263d23
XF
89092013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8910
8911 * ido.el (ido-record-command): Add doc string.
8912
76c5e5ab
JB
89132013-08-08 Juanma Barranquero <lekktu@gmail.com>
8914
8915 * frameset.el (frameset): Do not disable creation of the default
8916 frameset-p predicate. Doc fix.
8917 (frameset-valid-p): New function, copied from the old predicate-p.
8918 Add additional checks.
8919 (frameset-restore): Check with frameset-valid-p.
8920 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8921 (frameset-name, frameset-description, frameset-properties)
8922 (frameset-states): Add docstring.
f9dbf1cb
JB
8923 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8924 (frameset-filter-alist): Doc fixes.
76c5e5ab 8925
bd0c3c0b
JB
89262013-08-08 Juanma Barranquero <lekktu@gmail.com>
8927
8928 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8929
c735544c
SM
89302013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8931
8932 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8933 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8934 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8935 (byte-compile-normal-call): Remove obsolescence check.
8936
2805a651
JB
89372013-08-08 Juanma Barranquero <lekktu@gmail.com>
8938
3677ffeb
JB
8939 * frameset.el (frameset-restore): Doc fix.
8940
2805a651
JB
8941 * register.el (frameset-frame-id, frameset-frame-with-id)
8942 (frameset-p, frameset-restore, frameset-save): Declare.
8943 (register-alist): Document framesets.
8944 (frameset-session-filter-alist): Declare.
8945 (frameset-to-register): New function.
8946 (jump-to-register): Implement jumping to framesets. Doc fix.
8947 (describe-register-1): Describe framesets.
8948
8949 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8950
a912c016
JB
89512013-08-07 Juanma Barranquero <lekktu@gmail.com>
8952
8953 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8954 Use lexical-binding.
8955
8956 * frameset.el (frameset): Use type vector, not list (incompatible
8957 change). Do not declare a new constructor, use the default one.
8958 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8959 `name' and `description', respectively, and add read-only slot
8960 `timestamp'. Doc fixes.
8961 (frameset-copy, frameset-persistent-filter-alist)
8962 (frameset-filter-alist, frameset-switch-to-gui-p)
8963 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8964 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8965 (frameset-filter-iconified, frameset-keep-original-display-p):
8966 Doc fixes.
8967 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8968 Rename from frameset-filter-(save|restore)-param. All callers changed.
8969 Doc fix.
8970 (frameset-p): Adapt to change to vector and be more thorough.
8971 Change arg name to OBJECT. Doc fix.
8972 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8973 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8974 All callers changed.
8975 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8976 All callers changed.
8977 (frameset--record-minibuffer-relationships): Rename from
8978 frameset--process-minibuffer-frames. All callers changed.
8979 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8980 Use new default constructor (again). Doc fix.
c295fc18 8981 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
8982 All callers changed.
8983 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8984 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8985 Doc fix.
8986 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8987 PARAMETERS and WINDOW-STATE, respectively.
8988 (frameset-restore): Add new keyword argument PREDICATE.
8989 Reset frameset--target-display to nil. Doc fix.
8990
bb41480a
SM
89912013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8992
f001e98e
SM
8993 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8994 (bat-mode): Use it.
8995 (bat-mode-syntax-table): Mark \n as end-of-comment.
8996 (bat-font-lock-keywords): Remove comment rule.
8997
7679edb1
SM
8998 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8999 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9000
bb41480a
SM
9001 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9002 (byte-compile-callargs-warn): Use `push'.
9003 (byte-compile-arglist-warn): Ignore higher-order "calls".
9004 (byte-compile-file-form-autoload): Use `pcase'.
9005 (byte-compile-function-form): If quoting a symbol, check that it exists.
9006
cdc1ebb9
EZ
90072013-08-07 Eli Zaretskii <eliz@gnu.org>
9008
9009 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9010 and add a few popular commands found in batch files.
9011 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9012 (dos-mode): Doc fixes.
9013
312b1740
SM
90142013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9015
9016 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9017 (dos-mode): Use setq-local. Add space after "rem".
9018 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9019 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9020
400a3178
AM
90212013-08-07 Arni Magnusson <arnima@hafro.is>
9022
9023 * progmodes/dos.el: New file.
9024 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9025 dos-mode.
9026
3b5c03d3
GM
90272013-08-06 Glenn Morris <rgm@gnu.org>
9028
9029 * calendar/calendar.el: Add new faces, and day-header-array.
9030 (calendar-weekday-header, calendar-weekend-header)
9031 (calendar-month-header): New faces.
9032 (calendar-day-header-construct): New function.
9033 (calendar-day-header-width): Also :set calendar-day-header-array.
9034 (calendar-american-month-header, calendar-european-month-header)
9035 (calendar-iso-month-header): Use calendar- faces.
9036 (calendar-generate-month):
9037 Use calendar-day-header-array for day headers; apply faces to them.
9038 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9039 (calendar-abbrev-construct): Add optional maxlen argument.
9040 (calendar-day-name-array): Doc fix.
9041 (calendar-day-name-array, calendar-abbrev-length)
9042 (calendar-day-abbrev-array):
9043 Also :set calendar-day-header-array, and maybe redraw.
9044 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 9045 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
9046 (calendar-day-name): Add option to use header array.
9047
ec6a2d7a
LMI
90482013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9049
9050 * net/shr.el (shr-render-td): Remove debugging.
9051 (shr-render-td): Make width computation consistent by defaulting
9052 all zero-width columns to 10 characters. This may not be optimal,
9053 but it's at least consistent.
2122cb6d
LMI
9054 (shr-make-table-1): Redo last change to fix the real problem in
9055 colspan handling.
ec6a2d7a 9056
ed4fd9c5
DA
90572013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9058
0ca3f70e
SM
9059 * files.el (cache-long-line-scans):
9060 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 9061
64e22afe
JB
90622013-08-06 Juanma Barranquero <lekktu@gmail.com>
9063
024b38fc
JB
9064 * frameset.el (frameset, frameset-filter-alist)
9065 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9066 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9067 (frameset-compute-pos): Rename from frameset--compute-pos,
9068 and add docstring.
9069 (frameset-move-onscreen): Use frameset-compute-pos.
9070 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9071
64e22afe
JB
9072 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9073 Fix typos in docstrings.
9074
c8c2aca8
DA
90752013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9076
9077 * frame.el (get-other-frame): Tiny cleanup.
9078
1d237bba
JB
90792013-08-06 Juanma Barranquero <lekktu@gmail.com>
9080
8951efef
JB
9081 * vc/vc.el (vc-default-ignore-completion-table):
9082 Silence byte-compiler warning.
9083
307764cc 9084 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 9085 slot, which can indeed be nil.
307764cc
JB
9086 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9087 Move entry for `left' from persistent to live filter alist.
9088 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9089 Doc fixes.
9090 (frameset-filter-params): When restoring a frame, copy items added to
9091 `filtered', to avoid unwittingly modifying the original parameters.
9092 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9093 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9094
1d237bba
JB
9095 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9096 to use looking-at-p instead of looking-at. (Bug#15028)
9097
dc6c0eda
SM
90982013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 Revert introduction of isearch-filter-predicates (bug#14714).
9101 Rely on add-function instead.
9102 * isearch.el (isearch-filter-predicates): Rename it back to
9103 isearch-filter-predicate.
9104 (isearch-message-prefix): Use advice-function-mapc and advice
9105 properties to get the isearch-message-prefix.
9106 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9107 instead of run-hook-with-args-until-failure.
9108 (isearch-filter-visible): Not obsolete any more.
9109 * loadup.el: Preload nadvice.
9110 * replace.el (perform-replace): Revert to funcall
9111 instead of run-hook-with-args-until-failure.
9112 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9113 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9114 dired-isearch-filenames-toggle; make it into a proper minor mode.
9115 Use add/remove-function.
9116 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9117 Call the minor-mode rather than add/remove-hook.
9118 (dired-isearch-filter-filenames):
9119 Remove isearch-message-prefix property.
9120 * info.el (Info--search-loop): New function, extracted from Info-search.
9121 Funcall isearch-filter-predicate instead of
9122 run-hook-with-args-until-failure isearch-filter-predicates.
9123 (Info-search): Use it.
9124 (Info-mode): Use isearch-filter-predicate instead of
9125 isearch-filter-predicates.
9126
290d5b58
DA
91272013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9128
9129 Do not call to `selected-window' where it is assumed by default.
9130 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9131 `window-hscroll', `window-width', `window-height', `window-buffer',
9132 `window-frame', `window-start', `window-point', `next-window'
9133 and `window-display-table'.
9134 * abbrev.el (abbrev--default-expand):
9135 * bs.el (bs--show-with-configuration):
9136 * buff-menu.el (Buffer-menu-mouse-select):
9137 * calc/calc.el (calc):
9138 * calendar/calendar.el (calendar-generate-window):
9139 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9140 (diary-make-entry):
9141 * comint.el (send-invisible, comint-dynamic-complete-filename)
9142 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9143 * completion.el (complete):
9144 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9145 * disp-table.el (describe-current-display-table):
9146 * doc-view.el (doc-view-insert-image):
9147 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9148 * ehelp.el (with-electric-help):
9149 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9150 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9151 * emacs-lisp/helper.el (Helper-help-scroller):
9152 * emulation/cua-base.el (cua--post-command-handler-1):
9153 * eshell/esh-mode.el (eshell-output-filter):
9154 * ffap.el (ffap-gnus-wrapper):
9155 * help-macro.el (make-help-screen):
9156 * hilit-chg.el (highlight-compare-buffers):
9157 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9158 * hl-line.el (global-hl-line-highlight):
9159 * icomplete.el (icomplete-simple-completing-p):
9160 * isearch.el (isearch-done):
9161 * jit-lock.el (jit-lock-stealth-fontify):
9162 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 9163 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
9164 * mpc.el (mpc-tagbrowser, mpc):
9165 * net/rcirc.el (rcirc-any-buffer):
9166 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9167 * play/landmark.el (landmark-max-width, landmark-max-height):
9168 * play/zone.el (zone):
9169 * progmodes/compile.el (compilation-goto-locus):
9170 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9171 * progmodes/etags.el (find-tag-other-window):
9172 * progmodes/fortran.el (fortran-column-ruler):
9173 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9174 * progmodes/verilog-mode.el (verilog-point-text):
9175 * reposition.el (reposition-window):
9176 * rot13.el (toggle-rot13-mode):
9177 * server.el (server-switch-buffer):
9178 * shell.el (shell-dynamic-complete-command)
9179 (shell-dynamic-complete-environment-variable):
9180 * simple.el (insert-buffer, set-selective-display)
9181 (delete-completion-window):
9182 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9183 (speedbar-recenter):
9184 * startup.el (fancy-splash-head):
9185 * textmodes/ispell.el (ispell-command-loop):
9186 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9187 * tutorial.el (help-with-tutorial):
9188 * vc/add-log.el (add-change-log-entry):
9189 * vc/compare-w.el (compare-windows):
9190 * vc/ediff-help.el (ediff-indent-help-message):
9191 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9192 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9193 (ediff-setup-control-frame):
9194 * vc/emerge.el (emerge-position-region):
9195 * vc/pcvs-util.el (cvs-bury-buffer):
9196 * window.el (walk-windows, mouse-autoselect-window-select):
9197 * winner.el (winner-set-conf, winner-undo): Related users changed.
9198
38276e01
JB
91992013-08-05 Juanma Barranquero <lekktu@gmail.com>
9200
9201 * frameset.el (frameset--set-id): Doc fix.
9202 (frameset-frame-id, frameset-frame-id-equal-p)
9203 (frameset-locate-frame-id): New functions.
9204 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9205 (frameset-restore): Use them.
9206
12b4c0ea
DA
92072013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9208
9209 Do not call to `selected-frame' where it is assumed by default.
9210 Affected functions are `raise-frame', `redraw-frame',
9211 `frame-first-window', `frame-terminal' and `delete-frame'.
9212 * calendar/appt.el (appt-disp-window):
9213 * epg.el (epg-wait-for-completion):
9214 * follow.el (follow-delete-other-windows-and-split)
9215 (follow-avoid-tail-recenter):
9216 * international/mule.el (set-terminal-coding-system):
9217 * mail/rmail.el (rmail-mail-return):
9218 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9219 * progmodes/f90.el (f90-add-imenu-menu):
9220 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9221 * server.el (server-switch-buffer):
9222 * simple.el (delete-completion-window):
9223 * talk.el (talk):
9224 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9225 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9226 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9227 * vc/ediff.el (ediff-documentation): Related users changed.
9228 * frame.el (selected-terminal): Remove the leftover.
9229
17f25e76
GM
92302013-08-05 Glenn Morris <rgm@gnu.org>
9231
9232 * calendar/calendar.el (calendar-generate-month):
9233 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
9234 (calendar-generate-month, calendar-font-lock-keywords):
9235 Fix for calendar-day-header-width > length of any day name.
17f25e76 9236
063233c3
JB
92372013-08-05 Juanma Barranquero <lekktu@gmail.com>
9238
9239 * desktop.el (desktop-clear): Use new name of sort predicate.
9240
9241 * frameset.el (frameset): Add docstring. Move :version property to its
9242 own `version' slot.
9243 (frameset-copy): Rename from copy-frameset.
9244 (frameset-p): Check more thoroughly.
9245 (frameset-prop): Do not check for :version, which is no longer a prop.
9246 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9247 Use new :never value instead of t.
9248 (frameset-filter-alist): Expand and clarify docstring.
9249 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9250 (frameset-filter-minibuffer, frameset-filter-save-param)
9251 (frameset-filter-restore-param, frameset-filter-iconified):
9252 Add pointer to docstring of frameset-filter-alist.
9253 (frameset-filter-params): Rename filter values to be more meaningful:
9254 :never instead of t, and reverse the meanings of :save and :restore.
9255 (frameset--process-minibuffer-frames): Clarify error message.
9256 (frameset-save): Avoid unnecessary and confusing call to framep.
9257 Use new BOA constructor for framesets.
9258 (frameset--reuse-list): Doc fix.
9259 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9260 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9261 (frameset-minibufferless-first-p): Doc fix.
9262 Rename from frameset-sort-frames-for-deletion.
9263 (frameset-restore): Doc fixes. Use new function names.
9264 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9265
d5671a82
JB
92662013-08-04 Juanma Barranquero <lekktu@gmail.com>
9267
9268 * desktop.el (desktop-restore-forces-onscreen)
9269 (desktop-restore-reuses-frames): Document :keyword constant values.
9270 (desktop-filter-parameters-alist): Remove, now identical to
9271 frameset-filter-alist.
9272 (desktop--filter-tty*): Remove, moved to frameset.el.
9273 (desktop-save-frameset, desktop-restore-frameset):
9274 Do not pass :filters argument.
9275
9276 * frameset.el (frameset-live-filter-alist)
9277 (frameset-persistent-filter-alist): New variables.
9278 (frameset-filter-alist): Use them. Add autoload cookie.
9279 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9280 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9281 `frameset--id' (it's supposed to be internal to frameset.el).
9282 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9283 (frameset--initial-params): New function.
9284 (frameset--get-frame): Use it. Doc fix.
9285 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9286 Accept :all, not 'all.
9287 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9288 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9289 with fbound symbols. Fix frame id matching, and remove matching ids if
9290 the frame being restored is deleted. Obey :delete.
9291
671d5c16
SM
92922013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9293
9294 * subr.el (macrop): New function.
9295 (text-clone--maintaining): New var.
9296 (text-clone--maintain): Rename from text-clone-maintain. Use it
9297 instead of inhibit-modification-hooks.
9298
9299 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9300 a proxy, so as handle autoloads and redefinitions of the target.
9301 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9302
9303 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9304 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9305 (pcase--mutually-exclusive-p): New function.
9306 (pcase--split-consp): Use it.
9307 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9308 mutually exclusive with the current predicate.
9309
9310 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9311 (edebug-macrop): Remove. Use `macrop' instead.
9312 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9313 (ad-macro-p):
9314 * eshell/esh-cmd.el (eshell-macrop):
9315 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9316
1d44e9dc
SM
93172013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9320 (advice-mapc): New function, using it.
9321 (advice-function-member-p): New function.
9322 (advice--normalize): Store the cdr in advice--saved-rewrite since
9323 that's the part that will be changed.
9324 (advice--symbol-function): New function.
9325 (advice-remove): Handle removal before the function is defined.
9326 Adjust to new advice--saved-rewrite.
9327 (advice-member-p): Use advice-function-member-p and
9328 advice--symbol-function.
9329
5414a283
JB
93302013-08-04 Juanma Barranquero <lekktu@gmail.com>
9331
51d30f2c
JB
9332 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9333 (frameset-filter-minibuffer): Doc fix.
9334 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
9335 (frameset--set-id, frameset--process-minibuffer-frames)
9336 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9337 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 9338
5414a283
JB
9339 * desktop.el (desktop-clear): Only delete frames when called
9340 interactively and desktop-restore-frames is non-nil. Doc fix.
9341 (desktop-read): Set desktop-saved-frameset to nil.
9342
ab419665
XF
93432013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9344
9345 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 9346 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
9347 (vc--add-line, vc--remove-regexp): New functions.
9348
9349 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9350 (vc-svn-ignore-completion-table): New function.
9351
9352 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 9353 (vc-hg-ignore-completion-table)
ab419665
XF
9354 (vc-hg-find-ignore-file): New functions.
9355
9356 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 9357 (vc-git-ignore-completion-table)
ab419665
XF
9358 (vc-git-find-ignore-file): New functions.
9359
9360 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9361
9362 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 9363 (vc-bzr-ignore-completion-table)
ab419665
XF
9364 (vc-bzr-find-ignore-file): New functions.
9365
2613dea2
JB
93662013-08-03 Juanma Barranquero <lekktu@gmail.com>
9367
9368 * frameset.el (frameset-prop): New function and setter.
9369 (frameset-save): Do not modify frame list passed by the caller.
9370
9c959872
SM
93712013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9374
a104f656
SM
93752013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9376
70122acf
SM
9377 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9378 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9379
a104f656
SM
9380 * custom.el (custom-initialize-default, custom-initialize-set)
9381 (custom-initialize-reset, custom-initialize-changed): Affect the
9382 toplevel-default-value (bug#6275, bug#14586).
9383 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9384 for bug#6275.
9385
f078d570
JB
93862013-08-02 Juanma Barranquero <lekktu@gmail.com>
9387
185e3b5a
JB
9388 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9389 Add cl-def* expressions.
9390
f078d570
JB
9391 * frameset.el (frameset-filter-params): Fix order of arguments.
9392
9421876d
JB
93932013-08-02 Juanma Barranquero <lekktu@gmail.com>
9394
9395 Move code related to saving frames to frameset.el.
9396 * desktop.el: Require frameset.
9397 (desktop-restore-frames): Doc fix.
9398 (desktop-restore-reuses-frames): Rename from
9399 desktop-restoring-reuses-frames.
9400 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9401 (desktop-clear): Clear frames too.
9402 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9403 (desktop--filter-tty*, desktop-save, desktop-read):
9404 Use frameset functions.
9405 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9406 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9407 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9408 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9409 (desktop--process-minibuffer-frames, desktop-save-frames)
9410 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9411 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9412 (desktop--sort-states, desktop-restoring-frames-p)
9413 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9414 (desktop-restoring-frameset-p, desktop-restore-frameset)
9415 (desktop--check-dont-save, desktop-save-frameset): New functions.
9416 (desktop--app-id): New constant.
9417 (desktop-first-buffer, desktop-buffer-ok-count)
9418 (desktop-buffer-fail-count): Move before first use.
9419 * frameset.el: New file.
9420
76dc5996
SM
94212013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * files.el: Use lexical-binding.
9424 (dir-locals-read-from-file): Remove unused `err' variable.
9425 (hack-dir-local-variables--warned-coding): New var.
9426 (hack-dir-local-variables): Use it to avoid repeated warnings.
9427 (make-backup-file-name--default-function): New function.
9428 (make-backup-file-name-function): Use it as default.
9429 (buffer-stale--default-function): New function.
9430 (buffer-stale-function): Use it as default.
9431 (revert-buffer-insert-file-contents--default-function): New function.
9432 (revert-buffer-insert-file-contents-function): Use it as default.
9433 (insert-directory): Avoid add-to-list.
9434
9435 * autorevert.el (auto-revert-handler): Simplify.
9436 Use buffer-stale--default-function.
9437
06d36e2b
TH
94382013-08-01 Tassilo Horn <tsdh@gnu.org>
9439
5f648ab4
TH
9440 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9441
06d36e2b
TH
9442 * whitespace.el (whitespace-ensure-local-variables): New function.
9443 (whitespace-cleanup-region): Call it.
9444 (whitespace-turn-on): Call it.
9445
a43dc424
MA
94462013-08-01 Michael Albinus <michael.albinus@gmx.de>
9447
9448 Complete file name handlers.
9449
9450 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9451 (tramp-handle-verify-visited-file-modtime)
9452 (tramp-handle-file-notify-rm-watch): New functions.
9453 (tramp-call-process): Do not bind `default-directory'.
9454
44e18199
JB
9455 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9456 Order alphabetically.
afe1e4c8
GM
9457 <access-file, add-name-to-file, dired-call-process>:
9458 <dired-compress-file, file-acl, file-notify-rm-watch>:
9459 <file-ownership-preserved-p, file-selinux-context>:
9460 <make-directory-internal, make-symbolic-link, set-file-acl>:
9461 <set-file-selinux-context, set-visited-file-modtime>:
9462 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9463 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9464
9465 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
9466 <file-notify-add-watch, file-notify-rm-watch>:
9467 <set-file-times, set-visited-file-modtime>:
9468 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9469 (with-tramp-gvfs-error-message)
9470 (tramp-gvfs-handle-set-visited-file-modtime)
9471 (tramp-gvfs-fuse-file-name): Remove.
9472 (tramp-gvfs-handle-file-notify-add-watch)
9473 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9474 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9475
44e18199
JB
9476 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9477 Order alphabetically.
afe1e4c8
GM
9478 <file-notify-rm-watch>: Use default Tramp handler.
9479 <executable-find>: Remove private handler.
a43dc424
MA
9480 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9481 `default-directory'.
9482 (tramp-sh-handle-executable-find)
9483 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9484 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9485 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9486 Do not use `format' in `tramp-message'.
9487
9488 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
9489 <file-notify-rm-watch, set-visited-file-modtime>:
9490 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9491 (tramp-smb-call-winexe): Do not bind `default-directory'.
9492
7188b515
XF
94932013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9494
9495 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9496
2412ee1a
DG
94972013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9498
9499 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9500 use it.
9501 (log-view-diff-changeset): Same.
9502 (log-view-diff-common): Call backend command `previous-revision'
9503 to find out the previous revision, in both cases. Swap the
9504 variables `to' and `fr', so that `fr' usually refers to the
9505 earlier revision (Bug#14989).
9506
5002a754
KRC
95072013-07-31 Kan-Ru Chen <kanru@kanru.info>
9508
9509 * ibuf-ext.el (ibuffer-filter-by-filename):
9510 Make it work with dired buffers too.
9511
44e18199 95122013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
9513
9514 * emacs-lisp/re-builder.el (reb-color-display-p):
9515 * files.el (save-buffers-kill-terminal):
9516 * net/browse-url.el (browse-url):
9517 * server.el (server-save-buffers-kill-terminal):
9518 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9519 Prefer nil to selected-frame for the first arg of frame-parameter.
9520
aeca3fbb
XF
95212013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9522
9523 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9524
158bc55c
SB
95252013-07-30 Stephen Berman <stephen.berman@gmx.net>
9526
9527 * minibuffer.el (completion--twq-all): Try and preserve each
9528 completion's case choice (bug#14907).
9529
d50fceab
LMI
95302013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9531
ac38e731
LMI
9532 * net/network-stream.el (open-network-stream): Mention the new
9533 :nogreeting parameter.
9534 (network-stream-open-starttls): Use the :nogreeting parameter
9535 (bug#14938).
9536
1211de50
LMI
9537 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9538
997798bf
LMI
9539 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9540 more natural than popping.
9541
d50fceab 9542 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 9543 (shr-urlify): Highlight under mouse.
d50fceab 9544
5c09de04
XF
95452013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9546
207d1d04
XF
9547 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9548
9549 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9550
5c09de04
XF
9551 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9552 buffer for output.
9553
3cd51eaa
XF
9554 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9555 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 9556
44e18199 9557 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 9558 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
9559
9560 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9561
9562 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9563 buffer for output.
9564
35a89bdd
EZ
95652013-07-29 Eli Zaretskii <eliz@gnu.org>
9566
9567 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9568 initial frame is minibuffer-less. (Bug#14841)
9569
78822e94
MA
95702013-07-29 Michael Albinus <michael.albinus@gmx.de>
9571
9572 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9573 option.
9574
9575 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9576 (tramp-maybe-open-connection): Use it.
9577
9503c190
JB
95782013-07-28 Juanma Barranquero <lekktu@gmail.com>
9579
9580 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9581 minimal set of parameters passed when creating a frame, because
9582 the minibuffer status of a frame cannot be changed later.
9583
d5a845b4
SB
95842013-07-28 Stephen Berman <stephen.berman@gmx.net>
9585
9586 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9587 replace-regexp-in-string and inadvertent omissions in previous change.
9588 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 9589 name of filtered items buffer.
d5a845b4 9590
ddeffb17
JB
95912013-07-28 Juanma Barranquero <lekktu@gmail.com>
9592
9593 * desktop.el: Optionally force offscreen frames back onscreen.
9594 (desktop-restoring-reuses-frames): New option.
9595 (desktop--compute-pos, desktop--move-onscreen): New functions.
9596 (desktop--make-frame): Use desktop--move-onscreen.
9597
f5950f7a
AM
95982013-07-27 Alan Mackenzie <acm@muc.de>
9599
9600 Fontify a Java generic method as a function.
9601 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9602 value to t.
9603
ae43b66a
SB
96042013-07-27 Stephen Berman <stephen.berman@gmx.net>
9605
9606 * calendar/todo-mode.el: Add command to rename todo files.
9607 (todo-rename-file): New command.
9608 (todo-key-bindings-t): Add key binding for it. Change the
9609 bindings of todo-filter-regexp-items(-multifile) to use `x'
9610 instead of `r', since the latter is better suited to the new
9611 renaming command.
9612
5ab78d3d
AM
96132013-07-27 Alan Mackenzie <acm@muc.de>
9614
9615 Make Java try-with-resources statement parse properly.
9616 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9617 (c-block-stmt-1-2-key): New language constants/variables.
9618 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9619 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9620 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 9621 with c-block-stmt-1-2-key.
5ab78d3d 9622
d85c4d50
JB
96232013-07-27 Juanma Barranquero <lekktu@gmail.com>
9624
9625 * desktop.el (desktop--make-frame): Apply most frame parameters after
9626 creating the frame to force (partially or totally) offscreen frames to
9627 be restored as such.
9628
e4c467f9
XF
96292013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9630
9631 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 9632 (Bug#14948)
e4c467f9 9633
7ced0d04
SM
96342013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9635
9636 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9637 `base' arg of backtrace-frame.
9638
fec92060
EZ
96392013-07-26 Eli Zaretskii <eliz@gnu.org>
9640
9641 * simple.el (list-processes): Doc fix.
9642
d58d31fb
JB
96432013-07-26 Juanma Barranquero <lekktu@gmail.com>
9644
9645 * desktop.el (desktop--select-frame):
d85c4d50 9646 Try harder to reuse existing frames.
d58d31fb 9647
53ff3e77
SM
96482013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9649
9650 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9651 (edebug-eval): Use backtrace-eval.
9652 (edebug--display, edebug--recursive-edit): Don't let-bind the
9653 edebug-outer-* vars that keep track of variables we locally let-bind.
9654 (edebug-outside-excursion): Don't restore outside values of locally
9655 let-bound vars.
9656 (edebug--display): Use user-error.
9657 (cl-lexical-debug, cl-debug-env): Remove.
9658
045f7a53
JB
96592013-07-26 Juanma Barranquero <lekktu@gmail.com>
9660
9661 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9662 are restored to be sure that they are visible before deleting any
9663 remaining ones.
9664
59070b32
MM
96652013-07-26 Matthias Meulien <orontee@gmail.com>
9666
742a3501
XF
9667 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9668 vc-print-root-log. (Bug#14948)
59070b32 9669
b1fb3596
RS
96702013-07-26 Richard Stallman <rms@gnu.org>
9671
9672 Add aliases for encrypting mail.
9673 * epa.el (epa-mail-aliases): New option.
9674 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9675 Bind inhibit-read-only so read-only text doesn't ruin everything.
9676 (epa-mail-default-recipients): New subroutine broken out.
9677 Handle epa-mail-aliases.
9678
56ea7291
SM
96792013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9680
9681 Add support for lexical variables to the debugger's `e' command.
9682 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9683 vars, except for debugger-outer-match-data.
9684 (debugger-frame-number): Move check for "on a function call" from
9685 callers into it. Add `skip-base' argument.
9686 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9687 (debugger-env-macro): Only reset the state stored in non-variables,
9688 i.e. current-buffer and match-data.
9689 (debugger-eval-expression): Rewrite using backtrace-eval.
9690 * subr.el (internal--called-interactively-p--get-frame): Remove.
9691 (called-interactively-p):
9692 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9693 `base' arg of backtrace-frame instead.
9694
15ac32d5
GM
96952013-07-26 Glenn Morris <rgm@gnu.org>
9696
8358a09d
GM
9697 * align.el (align-regexp): Doc fix. (Bug#14857)
9698 (align-region): Explicit error if subexpression missing/does not match.
9699
15ac32d5
GM
9700 * simple.el (global-visual-line-mode):
9701 Do not duplicate the mode lighter. (Bug#14858)
9702
f47ad11b
MR
97032013-07-25 Martin Rudalics <rudalics@gmx.at>
9704
9705 * window.el (display-buffer): In display-buffer bind
9706 split-window-keep-point to t, bug#14829.
9707
02530987
JB
97082013-07-25 Juanma Barranquero <lekktu@gmail.com>
9709
9710 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9711 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9712 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9713 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9714 Change accordingly.
f63ebeb5
JB
9715 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9716 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 9717
6ccb9cab 97182013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 9719
6ccb9cab 9720 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 9721
cb3a56d2
JB
97222013-07-25 Juanma Barranquero <lekktu@gmail.com>
9723
9724 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9725 parameter to modify-frame-parameters if the value has not changed;
9726 this is a workaround for bug#14949.
9727 (desktop--make-frame): On cl-delete-if call, check parameter name,
9728 not full parameter.
9729
7aa7fff0
XF
97302013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9731
9732 * vc/vc.el (vc-ignore): New function.
9733
9734 * vc/vc-svn.el (vc-svn-ignore): New function.
9735
9736 * vc/vc-hg.el (vc-hg-ignore): New function.
9737
9738 * vc/vc-git.el (vc-git-ignore): New function.
9739
9740 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9741 (vc-dir-ignore): New function.
9742
9743 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 9744 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
9745
9746 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9747
9748 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9749
889acc5c
JB
97502013-07-24 Juanma Barranquero <lekktu@gmail.com>
9751
9752 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9753 (desktop-restore-frames): Warn when deleting an existing frame failed.
9754
86c40970
GM
97552013-07-24 Glenn Morris <rgm@gnu.org>
9756
9757 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9758
d5d3c58a
MA
97592013-07-24 Michael Albinus <michael.albinus@gmx.de>
9760
9761 * filenotify.el (file-notify-supported-p):
9762 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9763 Remove functions.
9764
35e951cd 9765 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
9766 (auto-revert-notify-add-watch):
9767 * net/tramp.el (tramp-file-name-for-operation):
9768 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9769 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9770 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9771 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9772 Remove `file-notify-supported-p' entry.
9773
d100084b
GM
97742013-07-24 Glenn Morris <rgm@gnu.org>
9775
9776 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 9777 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 9778
ac93e56b
SM
97792013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9780
249eea30
SM
9781 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9782 checked with memq (bug#14935).
9783
ac93e56b
SM
9784 * files.el (revert-buffer-function): Use a non-nil default.
9785 (revert-buffer-preserve-modes): Declare var to
9786 provide access to the `preserve-modes' argument.
9787 (revert-buffer): Let-bind it.
9788 (revert-buffer--default): New function, extracted from revert-buffer.
9789
2cdeb903
SM
97902013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9791
9792 * lpr.el: Signal print errors more prominently.
9793 (print-region-function): Don't default to nil.
9794 (lpr-print-region): New function, extracted from print-region-1.
9795 Check lpr's return value and signal an error in case of problem.
9796 (print-region-1): Use it.
9797 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9798 versions instead.
9799 (ps-printer-name): Default to nil.
9800 (ps-printer-name-option): Default to lpr-printer-switch.
9801 (ps-print-region-function): Don't default to nil.
9802 (ps-postscript-code-directory): Simplify default.
9803 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9804 (ps-string-list, ps-eval-switch, ps-flatten-list)
9805 (ps-flatten-list-1): Remove.
9806 (ps-multibyte-buffer): Avoid setq.
9807 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9808 (print-region-function, ps-print-region-function): Don't set them here.
9809
73600831
XF
98102013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9811
35e951cd
JB
9812 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9813 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9814 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
9815 (ido-decorations): Doc fix.
9816
73600831
XF
9817 * ansi-color.el: Fix old URL.
9818
3d012865
MM
98192013-07-23 Michael R. Mauger <michael@mauger.com>
9820
e903c210 9821 * progmodes/sql.el: Version 3.3
3d012865
MM
9822 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9823 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9824 (sql-interactive-remove-continuation-prompt): Rewrite, use
9825 functions above. Fix continuation prompt and complete output line
9826 handling.
9827 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9828 redirected output buffer.
9829 (sql-mode): Restore deleted code (Bug#13591).
9830
da77a2e2
JB
98312013-07-23 Juanma Barranquero <lekktu@gmail.com>
9832
9833 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9834
80ff0c71
MA
98352013-07-23 Michael Albinus <michael.albinus@gmx.de>
9836
9837 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9838
9839 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9840 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9841 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9842
b61d71e4
JB
98432013-07-23 Juanma Barranquero <lekktu@gmail.com>
9844
9845 * desktop.el (desktop-clear): Simplify; remove useless checks
9846 against invalid buffer names.
9847 (desktop-list*): Use cl-list*.
9848 (desktop-buffer-info, desktop-create-buffer): Simplify.
9849
c3512092
LL
98502013-07-23 Leo Liu <sdl.web@gmail.com>
9851
9852 * bookmark.el (bookmark-make-record): Restore NAME as a default
9853 value. (Bug#14933)
9854
0ac26976
SM
98552013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9856
7d22ce18
SM
9857 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9858 extracted from autoload--insert-text.
9859 (autoload--insert-text): Remove.
9860 (autoload--print-cookie-text): New function, extracted from
9861 autoload--insert-cookie-text.
9862 (autoload--insert-cookie-text): Remove.
9863 (autoload-generate-file-autoloads): Adjust calls accordingly.
9864
9b2607e8
SM
9865 * winner.el (winner-hook-installed-p): Remove.
9866 (winner-mode): Simplify accordingly.
9867
c43a8618
SM
9868 * subr.el (add-to-list): Fix compiler-macro when `append' is
9869 not constant. Don't use `cl-member' for the base case.
9870
0ac26976
SM
9871 * progmodes/subword.el: Fix boundary case (bug#13758).
9872 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9873 own group.
9874 (subword-backward-regexp): Make it a constant.
9875 (subword-forward-internal): Don't treat a trailing capital as the
9876 beginning of a word.
9877
6874724a
AR
98782013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9879
9880 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9881 global value of tabulated-list-revert-hook (bug#14930).
9882
70f1b5e8
JB
98832013-07-22 Juanma Barranquero <lekktu@gmail.com>
9884
a1c80d9d
JB
9885 * desktop.el: Require 'cl-lib.
9886 (desktop-before-saving-frames-functions): New hook.
9887 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9888 for frames being saved. Rename from desktop--save-minibuffer-frames.
9889 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
9890 Do not save frames with non-nil `desktop-dont-save' parameter.
9891 Filter out deleted frames.
a1c80d9d
JB
9892 (desktop--find-frame): Use cl-find-if.
9893 (desktop--select-frame): Use cl-(first|second|third) to access values
9894 of desktop-mini.
9895 (desktop--make-frame): Use cl-delete-if.
9896 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9897 (desktop-restore-frames): Use cl-(first|second|third) to access values
9898 of desktop-mini. Look for visible frame at the end, not while
9899 restoring frames.
9900
70f1b5e8
JB
9901 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9902 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9903 Use string-match-p, looking-at-p (bug#14927).
9904
728dc3cc
JB
99052013-07-21 Juanma Barranquero <lekktu@gmail.com>
9906
56bc453c
JB
9907 * desktop.el (desktop-saved-frame-states):
9908 Rename from desktop--saved-states; all users changed.
9909 (desktop-save-frames): Rename from desktop--save-frames.
9910 Do not save state to desktop file.
9911 (desktop-save): Save desktop-saved-frame-states to desktop file
9912 and reset to nil.
9913 (desktop-restoring-frames-p): New function.
9914 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9915 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9916 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9917
728dc3cc
JB
9918 * desktop.el: Correctly restore iconified frames.
9919 (desktop--filter-iconified-position): New function.
9920 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9921
862f1c9c
GM
99222013-07-20 Glenn Morris <rgm@gnu.org>
9923
c4074c9f
GM
9924 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9925 Let `message' do the formatting.
9926 (def-gdb-preempt-display-buffer): Add explicit format.
9927
d828e5f9
GM
9928 * image-dired.el (image-dired-track-original-file):
9929 Use with-current-buffer.
9930 (image-dired-track-thumbnail): Use with-current-buffer.
9931 Avoid changing point of wrong window.
9932
862f1c9c
GM
9933 * image-dired.el (image-dired-track-original-file):
9934 Avoid changing point of wrong window. (Bug#14909)
9935
f0398ec1 99362013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
9937
9938 * progmodes/gdb-mi.el (gdb-done-or-error):
9939 Guard against "%" in gdb output. (Bug#14127)
9940
1451928f
AS
99412013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9942
763a086d
JB
9943 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9944 (Bug#14826)
f7a03897 9945
1451928f
AS
9946 * international/mule.el (coding-system-iso-2022-flags): Fix last
9947 change.
9948
99107004
KH
99492013-07-20 Kenichi Handa <handa@gnu.org>
9950
763a086d
JB
9951 * international/mule.el (coding-system-iso-2022-flags):
9952 Add `8-bit-level-4'. (Bug#8522)
99107004 9953
48494e06
LMI
99542013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9955
8ba8eec5
LMI
9956 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9957 (bug#14815).
9958
dfbc66e3
LMI
9959 * net/eww.el (eww-process-text-input): Allow inputting when the
9960 point is at the start of the line, as the properties aren't
9961 front-sticky.
9962
48494e06
LMI
9963 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9964 degenerate widths.
9965
77c92cb9
RS
99662013-07-19 Richard Stallman <rms@gnu.org>
9967
aec7da77
RS
9968 * epa.el (epa-popup-info-window): Doc fix.
9969
77c92cb9
RS
9970 * subr.el (split-string): New arg TRIM.
9971
945c5bb1
JB
99722013-07-18 Juanma Barranquero <lekktu@gmail.com>
9973
9974 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9975 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9976
e06ec67f
MA
99772013-07-18 Michael Albinus <michael.albinus@gmx.de>
9978
c7064f05 9979 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
9980 `file-notify-support'. Do not autoload. Adapt all uses.
9981 (file-notify-supported-p): New defun.
9982
c7064f05
JB
9983 * autorevert.el (auto-revert-use-notify):
9984 Use `file-notify-supported-p' instead of `file-notify-support'.
9985 Adapt docstring.
e06ec67f
MA
9986 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9987
9988 * net/tramp.el (tramp-file-name-for-operation):
9989 Add `file-notify-supported-p'.
9990
9991 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9992 New defun.
9993 (tramp-sh-file-name-handler-alist): Add it as handler for
9994 `file-notify-supported-p '.
9995
9996 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9997 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9998 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9999 Add `ignore' as handler for `file-notify-*' functions.
10000
5dc8a629
EZ
100012013-07-17 Eli Zaretskii <eliz@gnu.org>
10002
10003 * simple.el (line-move-partial, line-move): Don't start vscroll or
10004 scroll-up if the current line is not taller than the window.
10005 (Bug#14881)
10006
77aea2fb
DG
100072013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10008
10009 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10010 highlight question marks in the method names as strings.
ac72c08d
DG
10011 (ruby-block-beg-keywords): Inline.
10012 (ruby-font-lock-keyword-beg-re): Extract from
10013 `ruby-font-lock-keywords'.
77aea2fb 10014
18c26d81
JD
100152013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10016
10017 * frame.el (blink-cursor-blinks): New defcustom.
10018 (blink-cursor-blinks-done): New defvar.
10019 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10020 (blink-cursor-timer-function): Check if number of blinks has been
10021 done on X and NS.
10022 (blink-cursor-suspend, blink-cursor-check): New defuns.
10023
da48522e
GM
100242013-07-15 Glenn Morris <rgm@gnu.org>
10025
10026 * edmacro.el (edmacro-format-keys): Fix previous change.
10027
0463c1ef
PE
100282013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10029
10030 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10031 The hack didn't work outside English locales anyway.
10032
b43f6451
JB
100332013-07-15 Juanma Barranquero <lekktu@gmail.com>
10034
10035 * simple.el (define-alternatives): Rename from alternatives-define,
10036 per RMS' suggestion.
10037
b958c0ad
JB
100382013-07-14 Juanma Barranquero <lekktu@gmail.com>
10039
10040 * desktop.el (desktop-restore-frames): Change default to t.
10041 (desktop-restore-in-current-display): Now offer more options.
10042 (desktop-restoring-reuses-frames): New customization option.
10043 (desktop--saved-states): Doc fix.
10044 (desktop-filter-parameters-alist): New variable, renamed and expanded
10045 from desktop--excluded-frame-parameters.
10046 (desktop--target-display): New variable.
10047 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10048 (desktop--filter-tty*, desktop--filter-*-color)
10049 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10050 (desktop--filter-save-desktop-parm)
10051 (desktop-restore-in-original-display-p): New functions.
10052 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10053 (desktop--save-minibuffer-frames): New function, inspired by a similar
10054 function from Martin Rudalics.
10055 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10056 (desktop--restore-in-this-display-p): Remove.
10057 (desktop--find-frame): Rename from desktop--find-frame-in-display
10058 and add predicate argument.
10059 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10060 (desktop--reuse-list): New variable.
10061 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10062 New functions.
10063 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10064
f6dd8b36
MA
100652013-07-14 Michael Albinus <michael.albinus@gmx.de>
10066
10067 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10068
2ce3c565
DG
100692013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10070
763a086d
JB
10071 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10072 Highlight conversion methods on Kernel.
2ce3c565 10073
2cdb7698
AM
100742013-07-13 Alan Mackenzie <acm@muc.de>
10075
10076 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10077 and comment it out. This out-commenting enables certain C++
10078 declarations to be parsed correctly.
10079
1a67b811
EZ
100802013-07-13 Eli Zaretskii <eliz@gnu.org>
10081
1b796d6b
EZ
10082 * international/mule.el (define-coding-system): Doc fix.
10083
1a67b811
EZ
10084 * simple.el (default-font-height): Don't call font-info if the
10085 frame's default font didn't change since the frame was created.
10086 (Bug#14838)
10087
58fbe886
LL
100882013-07-13 Leo Liu <sdl.web@gmail.com>
10089
10090 * ido.el (ido-read-file-name): Guard against non-symbol value.
10091
1f0480d4
FEG
100922013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10093
10094 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10095 in nested defuns.
10096
97ead0e5
LL
100972013-07-13 Leo Liu <sdl.web@gmail.com>
10098
10099 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10100 ido-set-matches call. (Bug#6852)
10101
0880a952
DG
101022013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10103
35e951cd 10104 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
10105 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10106 Ruby 2.0.
10107 (ruby-font-lock-keywords): Distinguish calls to functions with
10108 module-like names from module references. Highlight character
10109 literals.
10110
a7d8babb
SDJ
101112013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10112
10113 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 10114 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 10115
acfcc8c5
JB
101162013-07-12 Juanma Barranquero <lekktu@gmail.com>
10117
10118 * desktop.el (desktop--v2s): Remove unused local variable.
10119 (desktop-save-buffer): Make defvar-local; adjust docstring.
10120 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10121 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10122
051f2775
AS
101232013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10124
10125 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10126
f24e7572
GM
101272013-07-12 Eli Zaretskii <eliz@gnu.org>
10128
10129 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10130 (Bug#14842)
10131
539a920c
GM
101322013-07-12 Glenn Morris <rgm@gnu.org>
10133
10134 * doc-view.el: Require cl-lib at runtime too.
10135 (doc-view-remove-if): Remove.
10136 (doc-view-search-next-match, doc-view-search-previous-match):
10137 Use cl-remove-if.
10138
10139 * edmacro.el: Require cl-lib at runtime too.
10140 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10141 (edmacro-mismatch, edmacro-subseq): Remove.
10142
10143 * shadowfile.el: Require cl-lib.
10144 (shadow-remove-if): Remove.
10145 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10146 Use cl-remove-if.
10147
10148 * wid-edit.el: Require cl-lib.
10149 (widget-choose): Use cl-remove-if.
10150 (widget-remove-if): Remove.
10151
10152 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10153 (ebrowse-delete-if-not): Remove.
10154 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10155 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10156 Use cl-delete-if-not.
10157
1048af7c
JB
101582013-07-12 Juanma Barranquero <lekktu@gmail.com>
10159
10160 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10161 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10162
6c0674ee
LL
101632013-07-12 Leo Liu <sdl.web@gmail.com>
10164
10165 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10166
a19b3c2d
GM
101672013-07-11 Glenn Morris <rgm@gnu.org>
10168
4582a01c
GM
10169 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10170 (edebug-gensym-index, edebug-gensym):
10171 Remove reimplementation of cl-gensym.
10172 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10173
10174 * thumbs.el: Require cl-lib at run-time too.
10175 (thumbs-gensym-counter, thumbs-gensym):
10176 Remove reimplementation of cl-gensym.
10177 (thumbs-temp-file): Use cl-gensym.
10178
a19b3c2d
GM
10179 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10180 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10181 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10182 (ert--union, ert--gensym-counter, ert--gensym-counter)
10183 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10184 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10185 (ert-make-test-unbound, ert--expand-should-1)
10186 (ert--expand-should, ert--should-error-handle-error)
10187 (should-error, ert--explain-equal-rec)
10188 (ert--plist-difference-explanation, ert-select-tests)
10189 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10190 Use cl-lib functions rather than reimplementations.
10191
88f6a933
MA
101922013-07-11 Michael Albinus <michael.albinus@gmx.de>
10193
10194 * net/tramp.el (tramp-methods): Extend docstring.
10195 (tramp-connection-timeout): New defcustom.
10196 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10197 (with-tramp-progress-reporter): Simplify.
10198 (tramp-process-actions): Improve messages.
10199
10200 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10201 * net/tramp-sh.el (tramp-maybe-open-connection):
10202 Use `tramp-connection-timeout'.
afe1e4c8 10203 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
10204 (Bug#14808)
10205
a43d577e
LL
102062013-07-11 Leo Liu <sdl.web@gmail.com>
10207
10208 * ido.el (ido-read-file-name): Conform to the requirements of
10209 read-file-name. (Bug#11861)
10210 (ido-read-directory-name): Conform to the requirements of
10211 read-directory-name.
10212
d77974bf
JB
102132013-07-11 Juanma Barranquero <lekktu@gmail.com>
10214
10215 * subr.el (delay-warning): New function.
10216
35cb8a3e
EZ
102172013-07-10 Eli Zaretskii <eliz@gnu.org>
10218
10219 * simple.el (default-line-height): New function.
10220 (line-move-partial, line-move): Use it instead of computing the
10221 line height inline.
10222 (line-move-partial): Always compute ROWH. If the last line is
10223 partially-visible, but its text is completely visible, allow
10224 cursor to enter such a partially-visible line.
10225
525c5c77
MA
102262013-07-10 Michael Albinus <michael.albinus@gmx.de>
10227
10228 Improve error messages. (Bug#14808)
10229
10230 * net/tramp.el (tramp-current-connection): New defvar, moved from
10231 tramp-sh.el.
0ac26976 10232 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 10233 needed anymore.
0ac26976
SM
10234 (tramp-error-with-buffer): Show message in minibuffer.
10235 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
10236 (with-tramp-progress-reporter): Improve messages.
10237 (tramp-process-actions): Use progress reporter. Delete process in
10238 case of error. Improve messages.
10239
763a086d
JB
10240 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10241 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 10242 (tramp-current-connection): Remove.
525c5c77
MA
10243 (tramp-maybe-open-connection): The car of
10244 `tramp-current-connection' are the first 3 slots of the vector.
10245
c7a4d368
TZ
102462013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10247
10248 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10249 inside continued strings.
10250
954b166e
PE
102512013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10252
10253 Timestamp fixes for undo (Bug#14824).
10254 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10255
56973319
LL
102562013-07-10 Leo Liu <sdl.web@gmail.com>
10257
10258 * files.el (require-final-newline): Allow safe local value.
10259 (Bug#14834)
10260
5550a72c
LL
102612013-07-09 Leo Liu <sdl.web@gmail.com>
10262
10263 * ido.el (ido-read-directory-name): Handle fallback.
10264 (ido-read-file-name): Update DIR to ido-current-directory.
10265 (Bug#1516)
c28b9050 10266 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 10267
70c46b28
DG
102682013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10269
10270 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10271 "autoload". Remove "warn lower camel case" section, previously
10272 commented out. Highlight negation char. Do not highlight the
10273 target in singleton method definitions.
10274
0b64b838
SM
102752013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10276
7fd72e2c
SM
10277 * faces.el (tty-setup-hook): Declare the hook.
10278
0b64b838
SM
10279 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10280 and detect when a guard/pred depends on local vars (bug#14773).
10281 (pcase--u1): Adjust caller.
10282
ab49d60b
EZ
102832013-07-08 Eli Zaretskii <eliz@gnu.org>
10284
10285 * simple.el (line-move-partial, line-move): Account for
10286 line-spacing.
701d79aa
EZ
10287 (line-move-partial): Avoid setting vscroll when the last
10288 partially-visible line in window is of default height.
ab49d60b 10289
2d756ae0
LMI
102902013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10291
10292 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10293 been used a while.
10294
ed095bd7
JB
102952013-07-07 Juanma Barranquero <lekktu@gmail.com>
10296
10297 * subr.el (read-quoted-char): Remove unused local variable `char'.
10298
f1e6674b
MK
102992013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10300
584ee3fc
GM
10301 * ediff.el (ediff-version): Version update.
10302 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10303 (ediff-merge-with-ancestor-command, ediff-directories-command)
10304 (ediff-directories3-command, ediff-merge-directories-command)
10305 (ediff-merge-directories-with-ancestor-command): New functions.
10306 All are command-line interfaces to ediff: to facilitate calling
10307 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
10308
10309 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10310 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 10311
584ee3fc
GM
10312 * viper.el (viper-version): Version update.
10313 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 10314
584ee3fc
GM
103152013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10318 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10319 (viper-intercept-ESC-key): Simplify.
10320 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10321 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10322 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10323 (viper-setup-ESC-to-escape): New functions.
10324 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10325 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 10326
9aff9b38
EZ
103272013-07-07 Eli Zaretskii <eliz@gnu.org>
10328
5165d44a
JB
10329 * simple.el (default-font-height, window-screen-lines):
10330 New functions.
9aff9b38
EZ
10331 (line-move, line-move-partial): Use them instead of
10332 frame-char-height and window-text-height. This makes scrolling
10333 text smoother when the buffer's default face uses a font that is
10334 different from the frame's default font.
10335
1afb1d07
JD
103362013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10337
10338 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 10339 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 10340
23de972a
EZ
103412013-07-06 Eli Zaretskii <eliz@gnu.org>
10342
10343 * simple.el (line-move-partial): Adjust the row returned by
10344 posn-at-point for the current window-vscroll. (Bug#14567)
10345
54a42486
MA
103462013-07-06 Michael Albinus <michael.albinus@gmx.de>
10347
35e951cd 10348 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
10349 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10350 spaces.
10351
34ada5f4
MR
103522013-07-06 Martin Rudalics <rudalics@gmx.at>
10353
10354 * window.el (window-state-put-stale-windows): New variable.
10355 (window--state-put-2): Save list of windows without matching buffer.
10356 (window-state-put): Remove "bufferless" windows if possible.
10357
11e03d89
JB
103582013-07-06 Juanma Barranquero <lekktu@gmail.com>
10359
10360 * simple.el (alternatives-define): Remove leftover :group keyword.
10361 Tweak docstring.
10362
3504a4be
LL
103632013-07-06 Leo Liu <sdl.web@gmail.com>
10364
10365 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10366 (ido-enable-virtual-buffers): New variable.
10367 (ido-buffer-internal, ido-toggle-virtual-buffers)
10368 (ido-make-buffer-list): Use it.
10369 (ido-exhibit): Support turning on and off virtual buffers
10370 automatically.
10371
61e56e2c
JB
103722013-07-06 Juanma Barranquero <lekktu@gmail.com>
10373
10374 * simple.el (alternatives-define): New macro.
10375
321e1a9c
SM
103762013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10377
10378 * subr.el (read-quoted-char): Use read-key.
10379 (sit-for): Let read-event decode tty input (bug#14782).
10380
d610f6dd
SB
103812013-07-05 Stephen Berman <stephen.berman@gmx.net>
10382
10383 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
10384 mode command and externally. Fix various related bugs.
10385 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
10386 (todo-delete-file): New command.
10387 (todo-check-file): New function.
10388 (todo-show): Handle external deletion of the file we're trying to
10389 show (bug#14688). Replace called-interactively-p by an optional
10390 prefix argument to avoid problematic interaction with catch form
10391 when byte compiled (bug#14702).
10392 (todo-quit): Handle external deletion of the archive's todo file.
10393 Make sure the buffer that was visiting the archive file is still
10394 live before trying to bury it.
10395 (todo-category-completions): Handle external deletion of any
10396 category completion files.
10397 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10398 of todo files, in case of external deletion.
10399 (todo-add-file): Replace unnecessary setq by let-binding.
10400 (todo-find-archive): Check whether there are any archives.
10401 Replace unnecessary setq by let-binding.
10402 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
10403 archive buffer whether or not the archive already exists.
10404 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
10405 check if the archive is new; if it is, update list of archives.
10406 (todo-default-todo-file): Allow nil to be a valid value for when
10407 there are no todo files.
10408 (todo-reevaluate-default-file-defcustom): Use corrected definition
10409 of todo-default-todo-file.
10410 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10411 (todo-delete-category, todo-show-categories-table)
10412 (todo-category-number): Clarify comment.
10413 (todo-filter-items): Clarify documentation string.
10414 (todo-show-current-file, todo-display-as-todo-file)
10415 (todo-reset-and-enable-done-separator): Tweak documentation string.
10416 (todo-done-separator): Make separator length window-width, since
10417 bug#2749 is now fixed.
10418
ddbdfd6f
MA
104192013-07-05 Michael Albinus <michael.albinus@gmx.de>
10420
321e1a9c
SM
10421 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10422 Support both "gvfs-monitor-dir" and "inotifywait".
10423 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
10424 `tramp-sh-file-notify-process-filter'.
10425 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10426 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10427
96eb829a
LL
104282013-07-05 Leo Liu <sdl.web@gmail.com>
10429
10430 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10431
cf13177e
YM
104322013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10433
10434 * frame.el (display-pixel-height, display-pixel-width)
10435 (display-mm-height, display-mm-width): Mention behavior on
10436 multi-monitor setups in docstrings.
10437 (w32-display-monitor-attributes-list): Declare function.
10438 (display-monitor-attributes-list): Use it.
10439
864c58ca
MA
104402013-07-04 Michael Albinus <michael.albinus@gmx.de>
10441
10442 * filenotify.el: New package.
10443
10444 * autorevert.el (top): Require filenotify.el.
10445 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10446 instead.
10447 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10448 (auto-revert-notify-handler): Use `file-notify-*' functions.
10449
10450 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10451
321e1a9c
SM
10452 * net/tramp.el (tramp-file-name-for-operation):
10453 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
10454
10455 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10456 for `file-notify-add-watch' and `file-notify-rm-watch'.
10457 (tramp-process-sentinel): Improve trace.
10458 (tramp-sh-handle-file-notify-add-watch)
10459 (tramp-sh-file-notify-process-filter)
10460 (tramp-sh-handle-file-notify-rm-watch)
10461 (tramp-get-remote-inotifywait): New defuns.
10462
96673afe
JL
104632013-07-03 Juri Linkov <juri@jurta.org>
10464
10465 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10466 call of `occur-read-primary-args' to interactive spec.
10467
10468 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10469 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10470
924494f4
MM
104712013-07-03 Matthias Meulien <orontee@gmail.com>
10472
10473 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10474 `Buffer-menu-multi-occur'. Add it to the menu.
10475 (Buffer-menu-mode): Document it in docstring.
10476 (Buffer-menu-multi-occur): New command. (Bug#14673)
10477
56f75efc
DG
104782013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10479
10480 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10481 keywords and built-ins.
10482
9b057d61
GM
104832013-07-03 Glenn Morris <rgm@gnu.org>
10484
208dee4d
GM
10485 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10486
9b057d61
GM
10487 Make info-xref checks case-sensitive by default
10488 * info.el (Info-find-node, Info-find-in-tag-table)
10489 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10490 Add option for exact case matching of nodes.
10491 * info-xref.el (info-xref): New custom group.
10492 (info-xref-case-fold): New option.
10493 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10494
e01aa29c
LL
104952013-07-03 Leo Liu <sdl.web@gmail.com>
10496
10497 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10498
3086ca2e
DG
104992013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10500
10501 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10502 middle of block statement initially, lower the depth. Remove
10503 FIXME comment, not longer valid. Remove middle of block statement
10504 detection, no need to do that anymore since we've been using
10505 `ruby-parse-region' here.
10506
a3b49114
JD
105072013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10508
10509 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10510
08e5c823 105112013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
10512
10513 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10514
2addf922
JB
105152013-07-01 Juanma Barranquero <lekktu@gmail.com>
10516
10517 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10518 (desktop-restore-in-current-display): New customization option.
10519 (desktop--excluded-frame-parameters): Add `font'.
10520 (desktop--save-frames): Rename from desktop--save-windows.
10521 (desktop--restore-in-this-display-p): New function.
10522 (desktop--make-full-frame): Remove unwanted width/height from
10523 full(width|height) frames.
10524 (desktop--restore-frames): Rename from desktop--restore-windows.
10525 Obey desktop-restore-current-display. Do not delete old frames or
10526 select a new frame unless we were able to restore at least one frame.
10527
ef099a94
MN
105282013-06-30 Michal Nazarewicz <mina86@mina86.com>
10529
10530 * files.el (find-file-noselect): Simplify conditional expression.
10531
a12bf61e 10532 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
10533 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10534
10535 Add `remember-notes' function to store random notes across Emacs
10536 restarts.
3fcfc4ee
JB
10537 * textmodes/remember.el (remember-data-file): Add :set callback to
10538 affect notes buffer (if any).
ef099a94
MN
10539 (remember-notes): New command.
10540 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10541 New defcustoms for the `remember-notes' function.
10542 (remember-notes-save-and-bury-buffer): New command.
10543 (remember-notes-mode-map): New variable.
10544 (remember-mode): New minor mode.
10545 (remember-notes--kill-buffer-query): New function.
10546 * startup.el (initial-buffer-choice): Add notes to custom type.
10547
0865d506
EZ
105482013-06-30 Eli Zaretskii <eliz@gnu.org>
10549
0ba54312
EZ
10550 * bindings.el (right-char, left-char): Don't call sit-for, this is
10551 no longer needed. Use arithmetic comparison only for numerical
10552 arguments.
10553
ef099a94
MN
10554 * international/mule-cmds.el (select-safe-coding-system):
10555 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 10556
2fae38e5
LMI
105572013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10558
10559 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10560 progression on degenerate tables.
ef099a94 10561 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 10562
a47cbd64
JB
105632013-06-30 Juanma Barranquero <lekktu@gmail.com>
10564
10565 Some fixes and improvements for desktop frame restoration.
10566 It is still experimental and disabled by default.
10567 * desktop.el (desktop--save-windows): Put the selected frame at
10568 the head of the list.
10569 (desktop--make-full-frame): New function.
10570 (desktop--restore-windows): Try to re-select the frame that was
10571 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
10572 just show an error message and continue. Set up maximized frames
10573 so they have default non-maximized dimensions.
a47cbd64 10574
6dbafa30
DG
105752013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10576
ef099a94
MN
10577 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10578 Don't start heredoc inside a string or comment.
6dbafa30 10579
4c672a0f
EZ
105802013-06-29 Eli Zaretskii <eliz@gnu.org>
10581
10582 * bindings.el (visual-order-cursor-movement): New defcustom.
10583 (right-char, left-char): Provide visual-order cursor motion by
10584 calling move-point-visually. Update the doc strings.
10585
50960f36
KH
105862013-06-28 Kenichi Handa <handa@gnu.org>
10587
10588 * international/mule.el (define-coding-system): New coding system
10589 properties :inhibit-null-byte-detection,
10590 :inhibit-iso-escape-detection, and :prefer-utf-8.
10591 (set-buffer-file-coding-system): If :charset-list property of
10592 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10593 appropriate for setting.
10594
c1ea3abf
JB
10595 * international/mule-cmds.el (select-safe-coding-system):
10596 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10597 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
10598
10599 * international/mule-conf.el (prefer-utf-8): New coding system.
10600 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10601 files.
10602
75dbaf9d
IK
106032013-06-28 Ivan Kanis <ivan@kanis.fr>
10604
eadb6068
IK
10605 * net/shr.el (shr-render-region): New function.
10606
75dbaf9d
IK
10607 * net/eww.el: Autoload `eww-browse-url'.
10608
9ea5cf9f
DG
106092013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10610
c1ea3abf
JB
10611 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10612 Adapt to `package-desc-version' being a list.
10613 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
10614 archive element.
10615
39c0e36f
JB
106162013-06-27 Juanma Barranquero <lekktu@gmail.com>
10617
10618 New experimental feature to save&restore window and frame setup.
10619 * desktop.el (desktop-save-windows): New defcustom.
10620 (desktop--saved-states): New var.
10621 (desktop--excluded-frame-parameters): New defconst.
10622 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10623 (desktop--restore-windows, desktop--save-windows): New functions.
10624 (desktop-save): Call `desktop--save-windows'.
10625 (desktop-read): Call `desktop--restore-windows'.
10626
7f13406b
LMI
106272013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10628
ef099a94 10629 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 10630
1e072639
SB
106312013-06-27 Stephen Berman <stephen.berman@gmx.net>
10632
10633 * info.el (Info-try-follow-nearest-node): Move search for footnote
10634 above search for node name to prevent missing a footnote (bug#14717).
10635
f3e2cbde
SB
106362013-06-27 Stephen Berman <stephen.berman@gmx.net>
10637
10638 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10639
99906aa0
LL
106402013-06-27 Leo Liu <sdl.web@gmail.com>
10641
10642 * net/eww.el (eww-read-bookmarks): Check file size.
10643
539f75f4
SM
106442013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10647 advice--pending if newdef is nil or an autoload (bug#13820).
10648 (advice-mapc): New function.
10649
843571cb
LMI
106502013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10651
10652 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10653 probably.
23a75d7f 10654 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
10655 (eww-add-bookmark): New command.
10656 (eww-bookmark-mode): New mode and commands.
a285ce99 10657 (eww-add-bookmark): Remove newlines from the title.
47fd571b 10658 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 10659
f2136e1e
GM
106602013-06-26 Glenn Morris <rgm@gnu.org>
10661
eab35f39
GM
10662 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10663 (hfy-size): Handle ttys. (Bug#14668)
10664
f2136e1e
GM
10665 * info-xref.el: Update for Texinfo 5 change in *note format.
10666 (info-xref-node-re, info-xref-note-re): New constants.
10667 (info-xref-check-buffer): Use info-xref-note-re.
10668
a49ff80c
SM
106692013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10670
a343d218
SM
10671 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10672
a49ff80c
SM
10673 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10674 nil terminate the loop (bug#14718).
10675
8308f184
LMI
106762013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10677
10678 * net/eww.el: Rework history traversal. When going forward/back,
10679 put these actions into the history, too, so that they can be
10680 replayed.
26bf2b82 10681 (eww-render): Move the history reset to the correct buffer.
8308f184 10682
ec64c273
JL
106832013-06-25 Juri Linkov <juri@jurta.org>
10684
10685 * files-x.el (modify-dir-local-variable): Change the header comment
10686 in the file with directory local variables. (Bug#14692)
10687
e080a9d7
JL
10688 * files-x.el (read-file-local-variable-value): Add `default'.
10689 (Bug#14710)
10690
bfbc93a1
IK
106912013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10692
10693 * net/eww.el (eww-make-unique-file-name): Create a unique file
10694 name before saving to entering `y' accidentally asynchronously.
10695
106962013-06-25 Ivan Kanis <ivan@kanis.fr>
10697
10698 * net/eww.el (eww-download): New command and keystroke.
10699
16f74f10
LMI
107002013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10701
a49ff80c 10702 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
10703
10704 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10705 be more consistent with Info and dired.
10706
10707 * net/eww.el (eww-mode-map): Ditto.
10708
12059709
SM
107092013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10710
10711 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10712 packages from archives.
10713 (package-archive-contents): Change format; include obsolete packages.
10714 (package-desc): Use `dir' to mark builtin packages.
10715 (package--from-builtin): Set the `dir' field to `builtin'.
10716 (generated-autoload-file, version-control): Declare.
10717 (package-compute-transaction): Change first arg and return value to be
10718 lists of package-descs. Adjust to new package-archive-contents format.
10719 (package--add-to-archive-contents): Adjust to new
10720 package-archive-contents format.
10721 (package-download-transaction): Arg is now a list of package-descs.
10722 (package-install): If `pkg' is a package name, pass it as
10723 a requirement, so it is subject to the usual (e.g. disabled) checks.
10724 (describe-package): Accept package-desc as well.
10725 (describe-package-1): Describe a specific package-desc. Add links to
10726 other package-descs for the same package name.
10727 (package-menu-describe-package): Pass the actual package-desc.
10728 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10729 works correctly.
10730 (package-desc-status): New function.
10731 (package-menu--refresh): New function, extracted
10732 from package-menu--generate.
10733 (package-menu--generate): Use it.
10734 (package-delete): Update package-alist.
10735 (package-menu-execute): Don't call package-initialize.
10736
10737 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10738 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10739 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10740 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10741 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10742 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10743
8bbdea0f
MR
107442013-06-25 Martin Rudalics <rudalics@gmx.at>
10745
10746 * window.el (window--state-get-1): Workaround for bug#14527.
10747 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10748
e82b0991
LMI
107492013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10750
10751 * net/eww.el (eww-back-url): Implement the history by stashing all
10752 the data into a list.
d3f0f918 10753 (eww-forward-url): Allow going forward in the history, too.
e82b0991 10754
c763842b
SM
107552013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10756
10757 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10758 for values and use read--expression for expressions (bug#14710).
10759 (read-file-local-variable): Avoid setq.
10760 (read-file-local-variable-mode): Use minor-mode-list.
10761
bceff189
RW
107622013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10763
864c58ca 10764 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
10765 for DOI URLs.
10766
45f431c6
RW
107672013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10768
864c58ca 10769 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
10770 Update imenu-support when dialect changes.
10771
f42d8237
LL
107722013-06-25 Leo Liu <sdl.web@gmail.com>
10773
10774 * ido.el (ido-read-internal): Allow forward slash on windows.
10775
be549ce6
LMI
107762013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10777
10778 * net/eww.el (eww): Start of strings is \\`, not ^.
10779
71d4c19d
IK
107802013-06-24 Ivan Kanis <ivan@kanis.fr>
10781
5196f88a
IK
10782 * net/shr.el (shr-browse-url): Fix interactive spec.
10783
71d4c19d
IK
10784 * net/eww.el (eww): Add a trailing slash to domain names.
10785
ae36ca55
JB
107862013-06-24 Juanma Barranquero <lekktu@gmail.com>
10787
10788 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10789
0ebd92a3
LMI
107902013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10791
bdaa086b
LMI
10792 * net/shr.el (shr-browse-url): Use an external browser if given a
10793 prefix.
10794
c763842b 10795 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 10796
b89fc156
IK
107972013-06-24 Ivan Kanis <ivan@kanis.fr>
10798
10799 * net/eww.el (eww): Work more correctly for file: URLs.
10800 (eww-detect-charset): Allow quoted charsets.
10801 (eww-yank-page-url): New command and keystroke.
10802
18eb4bca
DU
108032013-06-24 Daiki Ueno <ueno@gnu.org>
10804
10805 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10806 file name of gpg executable.
10807 (epg-context-program): New function.
10808 (epg-context-home-directory): New function.
10809 (epg-context-set-program): New function.
10810 (epg-context-set-home-directory): New function.
10811 (epg--start): Use `epg-context-program' instead of
10812 'epg-gpg-program'.
10813 (epg--list-keys-1): Likewise.
10814
6c6268c8
LL
108152013-06-24 Leo Liu <sdl.web@gmail.com>
10816
10817 * ido.el (ido-read-internal): Fix bug#14620.
10818
5e400cb3
JB
108192013-06-23 Juanma Barranquero <lekktu@gmail.com>
10820
10821 * faces.el (face-documentation): Simplify.
10822 (read-face-attribute, tty-find-type, x-resolve-font-name):
10823 Use `string-match-p'.
10824 (list-faces-display): Use `string-match-p'. Simplify.
10825 (face-spec-recalc): Check face to avoid face alias loops.
10826 (read-color): Use `string-match-p' and non-capturing parenthesis.
10827
f3f9606c
LMI
108282013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10829
10830 * net/shr.el (shr-rescale-image): Use the new
10831 :max-width/:max-height functionality.
10832
a3ca09b9
IK
108332013-06-23 Ivan Kanis <ivan@kanis.fr>
10834
10835 * net/eww.el (eww-search-prefix): New variable.
10836 (eww): Use it.
f865b474
IK
10837 (eww-external-browser): New variable.
10838 (eww-mode-map): New keystroke.
10839 (eww-browse-with-external-browser): New command.
a3ca09b9 10840
e854cfc7
IK
10841 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10842
18bb9e21
JB
108432013-06-23 Juanma Barranquero <lekktu@gmail.com>
10844
10845 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10846 Don't skip aligning the next header field when padding is 0;
10847 otherwise, field width is not respected unless the title is as
10848 wide as the field.
10849
5b165ade
SM
108502013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * emacs-lisp/package.el (package-el-version): Remove.
10853 (package-process-define-package): Fix inf-loop.
10854 (package-install): Allow symbols as arguments again.
10855
12adebe9
DG
108562013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10857
10858 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10859 add some more keyword-like methods.
10860 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10861
388573ee
JB
108622013-06-22 Juanma Barranquero <lekktu@gmail.com>
10863
10864 * bs.el (bs-buffer-show-mark): Make defvar-local.
10865 (bs-mode): Use setq-local.
10866
10867 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10868 (emacs-lock--try-unlocking): Make defvar-local.
10869
4582a01c 108702013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 10871
2663dd23
GM
10872 * play/cookie1.el (cookie-apropos): Minor simplification.
10873
3d94f3ad
GM
10874 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10875
f72e2fdb
DG
108762013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10877
10878 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10879 `regexp-opt', it breaks the build during dumping.
10880
73eab938
DG
108812013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10882
c763842b
SM
10883 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10884 Highlight keyword-like methods on Kernel and Module with
73eab938 10885 font-lock-builtin-face.
5cf8176d
DG
10886 (auto-mode-alist): Consolidate different entries into one regexp
10887 and add more *file-s.
73eab938 10888
d26255f6
SB
108892013-06-21 Stephen Berman <stephen.berman@gmx.net>
10890
10891 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10892
10893 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10894 (diary-entry): Use it in the action of this button type instead of
10895 diary-goto-entry.
10896
10897 * calendar/todo-mode.el: New version.
10898 (todo-add-category): Append new category to end of file and give
10899 it the highest number, instead of putting it at the beginning and
10900 giving it 0. Incorporate noninteractive functionality.
10901 (todo-forward-category): Adapt to 1-based category numbering.
10902 Allow skipping over archived categories.
10903 (todo-backward-category): Derive from todo-forward-category.
10904 (todo-backward-item, todo-forward-item): Make noninteractive and
10905 delegate interactive part to new commands. Make sensitive to done items.
10906 (todo-categories): Make value an alist of category names and
10907 vectors of item counts.
10908 (todo-category-beg): Make a defconst.
10909 (todo-category-number): Use 1 instead of 0 as initial value.
10910 (todo-category-select): Make sensitive to overlays, optional item
10911 highlighting and done items.
10912 (todo-delete-item): Make sensitive to overlays and marked and done items.
10913 (todo-edit-item): Make sensitive to overlays and editing of
10914 date/time header optional. Add format checks.
10915 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10916 no-op if point is not on an item. Advertise using todo-edit-quit.
10917 (todo-edit-mode): Make sensitive to new format, font-locking, and
10918 multiple todo files.
10919 (todo-insert-item, todo-insert-item-here): Derive from
10920 todo-basic-insert-item and extend functionality.
10921 (todo-item-end, todo-item-start): Make sensitive to done items.
10922 (todo-item-string): Don't return text properties. Restore point.
10923 (todo-jump-to-category): Make sensitive to multiple todo files and
10924 todo archives. Use extended category completion.
10925 (todo-lower-item, todo-raise-item): Rename to *-priority and
10926 derive from todo-set-item-priority.
10927 (todo-mode): Derive from special-mode. Make sensitive to new
10928 format, font-locking and multiple todo files. Make read-only.
10929 (todo-mode-map): Don't suppress digit keys, so they can supply
10930 prefix arguments. Add many new key bindings.
10931 (todo-prefix): Insert as an overlay instead of file text.
10932 Change semantics from diary date expression to purely visual mark.
10933 (todo-print): Rename to todo-print-buffer. Make buffer display
10934 features printable. Remove option to restrict number of items
10935 printed. Add option to print to file.
10936 (todo-print-function): Rename to todo-print-buffer-function.
10937 (todo-quit): Extend to handle exiting new todo modes.
10938 (todo-remove-item): Make sensitive to overlays.
10939 (todo-save): Extend to buffers of filtered items.
10940 (todo-show): Make sensitive to done items, multiple todo files and
10941 new todo modes. Offer to convert legacy todo file before creating
10942 first new todo file.
10943 (todo-show-priorities): Rename to todo-top-priorities.
10944 Change semantics of value 0.
10945 (todo-top-priorities): Rename to todo-filter-top-priorities,
10946 derive from todo-filter-items and extend functionality.
10947 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10948 and extend functionality to other types of filtered items.
10949 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10950 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10951 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10952 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10953 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10954 (todo-edit-mode-hook, todo-entry-prefix-function)
10955 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10956 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10957 (todo-initials, todo-insert-threshold, todo-item-string-start)
10958 (todo-line-string, todo-menu, todo-mode-hook)
10959 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10960 (todo-print-priorities, todo-remove-separator)
10961 (todo-save-top-priorities-too, todo-string-count-lines)
10962 (todo-string-multiline-p, todo-time-string-format)
10963 (todo-tmp-buffer-name): Remove.
10964 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10965 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10966 (todo-edit-category-diary-inclusion)
10967 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10968 (todo-edit-file, todo-edit-item-date-day)
10969 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10970 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10971 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10972 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10973 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10974 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10975 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10976 (todo-filter-top-priorities-multifile, todo-find-archive)
10977 (todo-find-filtered-items-file, todo-go-to-source-item)
10978 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10979 (todo-jump-to-archive-category, todo-lower-category)
10980 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10981 (todo-move-category, todo-move-item, todo-next-button)
10982 (todo-next-item, todo-padded-string, todo-powerset)
10983 (todo-previous-button, todo-previous-item)
10984 (todo-print-buffer-to-file, todo-raise-category)
10985 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10986 (todo-set-category-number, todo-set-item-priority)
10987 (todo-set-top-priorities-in-category)
10988 (todo-set-top-priorities-in-file, todo-show-categories-table)
10989 (todo-sort-categories-alphabetically-or-numerically)
10990 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10991 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10992 (todo-toggle-item-header, todo-toggle-item-highlighting)
10993 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10994 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10995 (todo-unarchive-items, todo-unmark-category): New commands.
10996 (todo-absolute-file-name, todo-add-to-buffer-list)
10997 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10998 (todo-basic-insert-item, todo-category-completions)
10999 (todo-category-number, todo-category-string-matcher-1)
11000 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11001 (todo-check-format, todo-clear-matches)
11002 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11003 (todo-current-category, todo-date-string-matcher)
11004 (todo-define-insertion-command, todo-diary-expired-matcher)
11005 (todo-diary-goto-entry, todo-diary-item-p)
11006 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11007 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11008 (todo-done-item-section-p, todo-done-separator)
11009 (todo-done-string-matcher, todo-files, todo-filter-items)
11010 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11011 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11012 (todo-insert-category-line, todo-insert-item-from-calendar)
11013 (todo-insert-sort-button, todo-insert-with-overlays)
11014 (todo-insertion-command-name, todo-insertion-key-bindings)
11015 (todo-label-to-key, todo-longest-category-name-length)
11016 (todo-make-categories-list, todo-mode-external-set)
11017 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11018 (todo-modes-set-3, todo-multiple-filter-files)
11019 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11020 (todo-read-category, todo-read-date, todo-read-dayname)
11021 (todo-read-file-name, todo-read-time)
11022 (todo-reevaluate-category-completions-files-defcustom)
11023 (todo-reevaluate-default-file-defcustom)
11024 (todo-reevaluate-filelist-defcustoms)
11025 (todo-reevaluate-filter-files-defcustom)
11026 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11027 (todo-reset-done-separator, todo-reset-done-separator-string)
11028 (todo-reset-done-string, todo-reset-global-current-todo-file)
11029 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11030 (todo-reset-prefix, todo-set-categories)
11031 (todo-set-date-from-calendar, todo-set-show-current-file)
11032 (todo-set-top-priorities, todo-short-file-name)
11033 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11034 (todo-total-item-counts, todo-update-buffer-list)
11035 (todo-update-categories-display, todo-update-categories-sexp)
11036 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11037 New functions.
11038 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11039 New major modes.
11040 (todo-categories, todo-display, todo-edit, todo-faces)
11041 (todo-filtered): New defgroups.
11042 (todo-archived-only, todo-button, todo-category-string, todo-date)
11043 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11044 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11045 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11046 (todo-add-item-if-new-category, todo-always-add-time-string)
11047 (todo-categories-align, todo-categories-archived-label)
11048 (todo-categories-category-label, todo-categories-diary-label)
11049 (todo-categories-done-label, todo-categories-number-separator)
11050 (todo-categories-todo-label, todo-categories-totals-label)
11051 (todo-category-completions-files, todo-completion-ignore-case)
11052 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11053 (todo-done-separator-string, todo-done-string)
11054 (todo-files-function, todo-filter-done-items, todo-filter-files)
11055 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11056 (todo-initial-category, todo-initial-file, todo-item-mark)
11057 (todo-legacy-date-time-regexp, todo-mode-line-function)
11058 (todo-nondiary-marker, todo-number-prefix)
11059 (todo-print-buffer-function, todo-show-current-file)
11060 (todo-show-done-only, todo-show-first, todo-show-with-done)
11061 (todo-skip-archived-categories, todo-top-priorities-overrides)
11062 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11063 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11064 New defcustoms.
11065 (todo-category-done, todo-date-pattern, todo-date-string-start)
11066 (todo-diary-items-buffer, todo-done-string-start)
11067 (todo-filtered-items-buffer, todo-item-start)
11068 (todo-month-abbrev-array, todo-month-name-array)
11069 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11070 (todo-top-priorities-buffer): New defconsts.
11071 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11072 (todo-categories-with-marks, todo-category-string-face)
11073 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11074 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11075 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11076 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11077 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11078 (todo-font-lock-keywords, todo-global-current-todo-file)
11079 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11080 (todo-insertion-commands-args)
11081 (todo-insertion-commands-args-genlist)
11082 (todo-insertion-commands-names, todo-insertion-map)
11083 (todo-key-bindings-t, todo-key-bindings-t+a)
11084 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11085 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11086 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11087 (todo-visited): New variables.
11088
cad5d1cb
GM
110892013-06-21 Glenn Morris <rgm@gnu.org>
11090
11091 * play/cookie1.el (cookie-apropos): Add optional display argument.
11092 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11093 (psychoanalyze-pinhead): Use cookie-doctor.
11094
9e277302
JB
110952013-06-21 Juanma Barranquero <lekktu@gmail.com>
11096
11097 * emacs-lisp/package.el (tar-get-file-descriptor)
11098 (tar--extract): Declare.
11099
c5b0993e
EW
111002013-06-21 Eduard Wiebe <usenet@pusto.de>
11101
11102 Extend flymake's warning predicate to be a function (bug#14217).
11103 * progmodes/flymake.el (flymake-warning-predicate): New.
11104 (flymake-parse-line): Use it.
11105 (flymake-warning-re): Make obsolete alias to
11106 `flymake-warning-predicate'.
11107
a7d2d465
SM
111082013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11109
11110 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11111 (package-obsolete-list): Remove.
11112 (package-activate): Remove min-version argument. Add `force' argument.
11113 Adjust to new package-alist format.
11114 (package-mark-obsolete): Remove.
11115 (package-unpack): Force reload of the package's autoloads.
11116 (package-installed-p): Check builtins if the installed package is not
11117 recent enough.
11118 (package-initialize): Don't reset package-obsolete-list.
11119 Don't specify which package version to activate.
11120 (package-process-define-package, describe-package-1)
11121 (package-menu--generate): Adjust to new package-alist format.
11122
cedf5c9d
JB
111232013-06-21 Juanma Barranquero <lekktu@gmail.com>
11124
11125 * allout-widgets.el (allout-widgets-mode-off)
11126 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11127 (allout-widgets-post-command-business)
11128 (allout-widgets-after-copy-or-kill-function)
11129 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11130 (allout-decorate-item-and-context)
11131 (allout-graphics-modification-handler): Fix typos in docstrings.
11132 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11133
11134 * cmuscheme.el (scheme-start-file): Doc fix.
11135 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11136 (scheme-input-filter): Use `string-match-p'.
11137
11138 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11139
11140 * dired-x.el: Use Dired consistently in docstrings.
11141
11142 * dired.el: Use Dired consistently in docstrings.
11143 (dired-readin, dired-mode): Use `setq-local'.
11144 (dired-switches-alist): Make defvar-local.
11145 (dired-buffers-for-dir): Use `zerop'.
11146 (dired-safe-switches-p, dired-switches-escape-p)
11147 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11148 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 11149 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
11150 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11151 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11152 (dired-toggle-marks, dired-mark-files-containing-regexp)
11153 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11154 (dired-flag-auto-save-files, dired-flag-backup-files):
11155 Use `looking-at-p'.
11156 (dired-mark-files-regexp, dired-build-subdir-alist):
11157 Use `string-match-p', `looking-at-p'.
11158
11159 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11160 (direct-print-region-helper): Use `string-match-p'.
11161
aed838b5
LL
111622013-06-21 Leo Liu <sdl.web@gmail.com>
11163
cedf5c9d
JB
11164 * comint.el (comint-redirect-results-list-from-process):
11165 Fix infinite loop.
aed838b5 11166
d80a808f
LMI
111672013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11168
11169 * net/eww.el (eww-update-header-line-format): Quote % characters.
11170
e7a526e3
GM
111712013-06-21 Glenn Morris <rgm@gnu.org>
11172
11173 * play/cookie1.el (cookie): New custom group.
11174 (cookie-file): New option.
11175 (cookie-check-file): New function.
11176 (cookie): Make it interactive. Make start and end messages optional.
11177 Interactively, display the result. Default to cookie-file.
11178 (cookie-insert): Default to cookie-file.
11179 (cookie-snarf): Make start and end messages optional.
11180 Default to cookie-file. Use with-temp-buffer.
11181 (cookie-read): Rename from read-cookie.
11182 Make start and end messages optional. Default to cookie-file.
11183 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 11184 Do not autoload it.
e7a526e3
GM
11185 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11186 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11187
62efb35e
LL
111882013-06-21 Leo Liu <sdl.web@gmail.com>
11189
11190 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11191
21e3f963
GM
111922013-06-21 Glenn Morris <rgm@gnu.org>
11193
11194 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11195
fd846ab4
SM
111962013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11197 Daniel Hackney <dan@haxney.org>
11198
11199 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11200 Consolidate the single-file vs tarball code.
11201 (package-desc-suffix): New function.
11202 (package-desc-full-name): Don't bother inlining it.
11203 (package-load-descriptor): Return the new package-desc.
11204 (package-mark-obsolete): Remove unused arg `package'.
11205 (package-unpack): Make it work for single files as well.
11206 Make it update package-alist.
11207 (package--make-autoloads-and-stuff): Rename from
11208 package--make-autoloads-and-compile. Don't compile any more.
11209 (package--compile): New function.
11210 (package-generate-description-file): New function, extracted from
11211 package-unpack-single.
11212 (package-unpack-single): Remove.
11213 (package--with-work-buffer): Add indentation and debugging info.
11214 (package-download-single): Remove.
11215 (package-install-from-archive): Rename from package-download-tar, make
11216 it take a pkg-desc, and make it work for single files as well.
11217 (package-download-transaction): Simplify.
11218 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11219 external tar program.
11220 (package-install-from-buffer): Remove `pkg-desc' argument.
11221 Use package-tar-file-info for tar-mode buffers.
11222 (package-install-file): Simplify accordingly.
11223 (package-archive-base): Change to take a pkg-desc.
11224 * tar-mode.el (tar--check-descriptor): New function, extracted from
11225 tar-get-descriptor.
11226 (tar-get-descriptor): Use it.
11227 (tar-get-file-descriptor): New function.
11228 (tar--extract): New function, extracted from tar-extract.
11229 (tar--extract): Use it.
11230 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11231 case the summary uses non-ascii. Adjust to new calling convention of
11232 package-tar-file-info.
11233
b7deae5e
LL
112342013-06-21 Leo Liu <sdl.web@gmail.com>
11235
fd846ab4
SM
11236 * comint.el (comint-redirect-results-list-from-process):
11237 Fix random delay. (Bug#14681)
b7deae5e 11238
7a65a0b2
JB
112392013-06-21 Juanma Barranquero <lekktu@gmail.com>
11240
11241 * profiler.el (profiler-format-number): Use log, not log10.
11242
1493c2af
JB
112432013-06-20 Juanma Barranquero <lekktu@gmail.com>
11244
11245 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11246
aff6371e
SM
112472013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11248
11249 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11250 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11251 yet available.
11252 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11253 (AUTOGENEL): ... here.
11254 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11255 (cl--defsubst-expand): Use it.
11256
89561f72
PE
112572013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11258
11259 * subr.el (log10): Move here from C code, and declare as obsolete.
11260 All uses of (log10 X) replaced with (log X 10).
11261
47199123
JB
112622013-06-20 Juanma Barranquero <lekktu@gmail.com>
11263
11264 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11265 Declare with `defvar-local'.
11266 (tabulated-list-use-header-line, tabulated-list-entries)
11267 (tabulated-list-padding, tabulated-list-printer)
11268 (tabulated-list-sort-key): Declare with `defvar-local'.
11269 (tabulated-list-init-header, tabulated-list-print-fake-header):
11270 Use `setq-local'.
11271
4a172eab
MA
112722013-06-20 Michael Albinus <michael.albinus@gmx.de>
11273
47199123
JB
11274 * arc-mode.el (archive-mode): Add `archive-write-file' to
11275 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 11276
5fc0acc0
JB
112772013-06-20 Juanma Barranquero <lekktu@gmail.com>
11278
d5b27848
JB
11279 * cus-edit.el (custom-commands): Fix typos.
11280 (custom-display): Fix tooltip text.
11281 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11282 Fix typos in docstrings.
11283 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11284 (custom-unlispify-menu-entry, custom-magic-value-create)
11285 (custom-add-see-also, custom-group-value-create): Use ?\s.
11286 (custom-guess-type, customize-apropos, editable-field)
11287 (custom-face-value-create): Use `string-match-p'.
11288 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11289
11290 * custom.el (custom-load-symbol): Use `string-match-p'.
11291
a5c581d8
JB
11292 * ansi-color.el: Convert to lexical binding.
11293 (ansi-colors): Fix URL.
11294 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11295 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11296 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11297
970ad972
G
112982013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11299
11300 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11301
11302 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11303
113042013-06-19 Tom Tromey <tromey@redhat.com>
11305
11306 * net/eww.el (eww-top-url): Remove.
11307 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11308 (eww-render): Set new variables. Don't set eww-top-url.
11309 (eww-handle-link): Handle "prev", "home", and "contents".
11310 Downcase the rel text.
11311 (eww-top-url): Choose best top URL.
11312
113132013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11314
11315 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11316 relying in widget.el. Using widget.el leads to too many
11317 user interface inconsistencies.
11318 (eww-self-insert): Implement entering commands in text fields.
11319 (eww-process-text-input): New function to make text input field editing
11320 work.
11321 (eww-submit): Rewrite to use the new-style form methods.
11322 (eww-select-display): Display the correct selected item.
11323 (eww-change-select): Implement changing the select value.
11324 (eww-toggle-checkbox): Implement radio/checkboxes.
11325 (eww-update-field): Fix compilation error.
11326 (eww-tag-textarea): Implement <textarea>.
11327
11328 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11329 we don't shadow mode-specific bindings.
11330
11331 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11332 nothing to push.
11333
11334 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11335
4582a01c 113362013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
11337
11338 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11339
15b263dc
MA
113402013-06-19 Michael Albinus <michael.albinus@gmx.de>
11341
11342 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11343 not needed.
11344
11345 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11346
8f5297f7
LMI
113472013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11348
11349 * net/browse-url.el (browse-url-browser-function):
11350 `eww-browse-url' has the right calling signature, `eww' does not.
11351
011c4552
GM
113522013-06-19 Glenn Morris <rgm@gnu.org>
11353
2285bd27
GM
11354 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11355 Only eval autoloaded macros.
11356 (byte-compile-autoload): Only give the macro warning for macros.
11357
1d653303
GM
11358 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11359 (ps-underlined-faces): Declare.
11360
bdd779ec
GM
11361 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11362 (speedbar-add-supported-extension): Declare.
11363
011c4552
GM
11364 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11365 Don't include a date stamp in the header of the generated file;
11366 it leads to needless differences between output files.
11367
e59dfb0e
MA
113682013-06-19 Michael Albinus <michael.albinus@gmx.de>
11369
c763842b
SM
11370 * net/secrets.el (secrets-struct-secret-content-type):
11371 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 11372 Some servers do not offer introspection.
e59dfb0e 11373
102626e2
SM
113742013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 * electric.el (electric-pair-mode): Improve interaction with
11377 electric-layout-mode.
11378 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11379 (electric-pair-syntax): Use text-mode-syntax-table in comments
11380 and strings.
11381 (electric-pair--insert): New function.
11382 (electric-pair-post-self-insert-function): Use it and
11383 electric--after-char-pos.
11384
ad528125
LL
113852013-06-19 Leo Liu <sdl.web@gmail.com>
11386
11387 * progmodes/octave.el (octave-help): Fix regexp.
11388
924d6997
G
113892013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11390
11391 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11392 (shr-table-horizontal-line): Allow nil as a value, and change the
11393 default.
11394 (shr-insert-table-ruler): Respect the nil value.
11395
113962013-06-18 Tom Tromey <tromey@barimba>
11397
11398 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11399 New defvars.
11400 (eww-open-file): New defun.
11401 (eww-render): Initialize new variables.
11402 (eww-display-html): Handle "link" and "a".
11403 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11404 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11405 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
11406 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11407 New defuns.
924d6997 11408
d1bbba4f
DG
114092013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11410
11411 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11412 Distinguish ternary operator tokens from slash symbol and slash
11413 char literal.
11414
14dd22d2
JB
114152013-06-18 Juanma Barranquero <lekktu@gmail.com>
11416
11417 Convert symbol prettification into minor mode and global minor mode.
11418
11419 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11420 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11421 (prettify-symbols--keywords): Rename from
11422 `prog-prettify-symbols-alist' and make a local defvar.
11423 (prettify-symbols--compose-symbol): Rename from
11424 `prog--prettify-font-lock-compose-symbol'.
11425 (prettify-symbols--make-keywords): Rename from
11426 `prog-prettify-font-lock-symbols-keywords' and simplify.
11427 (prog-prettify-install): Remove.
11428 (prettify-symbols-mode): New minor mode, based on
11429 `prog-prettify-install'.
11430 (turn-on-prettify-symbols-mode): New function.
11431 (global-prettify-symbols-mode): New globalized minor mode.
11432
11433 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11434 * progmodes/cfengine.el (cfengine3-mode):
11435 * progmodes/perl-mode.el (perl-mode): Don't call
11436 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11437
292c880c
JL
114382013-06-18 Juri Linkov <juri@jurta.org>
11439
11440 * files-x.el (modify-file-local-variable-message): New function.
11441 (modify-file-local-variable)
11442 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11443 and call `modify-file-local-variable-message' when it's non-nil.
11444 (add-file-local-variable, delete-file-local-variable)
11445 (add-file-local-variable-prop-line)
11446 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11447 and use it. (Bug#9820)
11448
0950aa27
JL
114492013-06-18 Juri Linkov <juri@jurta.org>
11450
11451 * emulation/vi.el (vi-shell-op):
11452 * emulation/vip.el (vip-execute-com, ex-command):
11453 * emulation/viper-cmd.el (viper-exec-bang):
11454 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11455 the call of `shell-command-on-region'. (Bug#14637)
11456
11457 * simple.el (shell-command-on-region): Doc fix.
11458
8fbcca16
SM
114592013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11460
11461 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11462 (bug#14633).
11463
dd7426ea
GM
114642013-06-18 Glenn Morris <rgm@gnu.org>
11465
4ba54f7d
GM
11466 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11467
dd7426ea
GM
11468 * newcomment.el (comment-search-forward, comment-search-backward):
11469 Doc fix. (Bug#14376)
11470
58aa805b
JB
114712013-06-18 Juanma Barranquero <lekktu@gmail.com>
11472
11473 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11474 (buffer-face-mode-invoke): Doc fix.
11475
9a08a617
MM
114762013-06-18 Matthias Meulien <orontee@gmail.com>
11477
11478 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 11479 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 11480
f2f426ca
GM
114812013-06-18 Glenn Morris <rgm@gnu.org>
11482
9445f99b
GM
11483 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11484 Replace obsolete function generic-make-keywords with its expansion.
11485
e0df2d14
GM
11486 * progmodes/python.el (ffap-alist): Declare.
11487
f2f426ca
GM
11488 * textmodes/reftex.el (bibtex-mode-map): Declare.
11489
f7f9a720
SM
114902013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11491
11492 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11493 (package-unpack, package-unpack-single): Return the pkg-dir.
11494 (package-download-transaction): Use it to update package-alist.
11495
57ff04e0
LMI
114962013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11497
11498 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11499 possible choice.
11500
c048c022
JL
115012013-06-17 Juri Linkov <juri@jurta.org>
11502
11503 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11504
b5bcaee5
DG
115052013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11506
a020afb9
JB
11507 * emacs-lisp/package.el (package-load-descriptor):
11508 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
11509 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11510
551e07e5
JB
115112013-06-17 Juanma Barranquero <lekktu@gmail.com>
11512
11513 * startup.el (command-line): Expand package name returned by
11514 `package--description-file' (bug#14639).
11515
d363bffb
DG
115162013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11517
11518 * emacs-lisp/package.el (package-load-descriptor): Do not call
11519 `emacs-lisp-mode', just use its syntax table.
11520
f612933b
JB
115212013-06-17 Juanma Barranquero <lekktu@gmail.com>
11522
11523 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11524 `font-lock-extra-managed-props' if any prettifying keyword is added.
11525 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11526 (prog-mode): Use `setq-local'.
11527
db3b7db5
SM
115282013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11529
11530 * international/characters.el (standard-case-table): Set syntax of ?»
11531 and ?« to punctuation.
11532
f3d674df
JB
115332013-06-16 Juanma Barranquero <lekktu@gmail.com>
11534
11535 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11536 Save relevant match data before calling `syntax-ppss' (bug#14595).
11537
31489a32
JL
115382013-06-15 Juri Linkov <juri@jurta.org>
11539
11540 * files-x.el (modify-file-local-variable-prop-line): Add local
11541 variables to the end of the existing comment on the first line.
11542 Use `file-auto-mode-skip' to skip interpreter magic line,
11543 and also skip XML declaration.
11544
66bd25ab
SM
115452013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * startup.el (package--builtin-versions): New var.
11548 (package-subdirectory-regexp): Remove.
11549 (package--description-file): Hard code its value instead.
11550
11551 * emacs-lisp/package.el: Don't activate packages older than builtin.
11552 (package-obsolete-list): Rename from package-obsolete-alist, and make
11553 it into a simple list of package-desc.
11554 (package-strip-version): Remove.
11555 (package-built-in-p): Use package--builtin-versions.
11556 (package-mark-obsolete): Simplify.
11557 (package-process-define-package): Mark it obsolete if older than the
11558 builtin version.
11559 (package-handle-response): Use line-end-position.
11560 (package-read-archive-contents, package--download-one-archive):
11561 Simplify.
11562 (package--add-to-archive-contents): Skip if older than the builtin or
11563 installed version.
11564 (package-menu-describe-package): Fix last change.
11565 (package-list-unversioned): New var.
11566 (package-menu--generate): Use it.
11567
11568 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11569 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11570 (autoload-builtin-package-versions): New variable.
11571 (autoload-generate-file-autoloads): Use them.
11572 Remove the list of autoloaded functions/macros from the
11573 (autoload...) comments.
11574
11575 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11576
9583ec36
EZ
115772013-06-15 Eli Zaretskii <eliz@gnu.org>
11578
11579 * simple.el (line-move-partial): Don't jump to the next screen
11580 line as soon as it becomes visible. Instead, continue enlarging
11581 the vscroll until the portion of a tall screen line that's left on
11582 display is about the height of the frame's default font.
11583 (Bug#14567)
11584
f0100d8a
GM
115852013-06-15 Glenn Morris <rgm@gnu.org>
11586
b86a85ca
GM
11587 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11588 compilation-error-regexp-alist void, or local while let-bound.
11589
f0100d8a
GM
11590 * progmodes/make-mode.el (makefile-mode-syntax-table):
11591 Treat "=" as punctuation. (Bug#14614)
11592
05e7ce90
JB
115932013-06-15 Juanma Barranquero <lekktu@gmail.com>
11594
11595 * help-fns.el (describe-variable):
11596 Add extra line for permanent-local variables.
11597
12e5e86e
SH
115982013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11599
11600 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11601 Add export, import, library. (Bug#9164)
11602 (library): Set indent function.
11603
230dcbaf
GM
116042013-06-14 Glenn Morris <rgm@gnu.org>
11605
11606 * term/xterm.el (xterm--query):
11607 Stop after first matching handler. (Bug#14615)
11608
e36b2d20 116092013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
11610
11611 Add support for dired in saveplace.
11612 * dired.el (dired-initial-position-hook): New variable.
11613 (dired-initial-position): Call hook to place cursor position.
11614 * saveplace.el (save-place-to-alist): Add dired position.
11615 (save-place-dired-hook): New function.
11616
0b31660d
SM
116172013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11618
bf1e6ae8
SM
11619 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11620 through a symbol rather than letrec.
11621
1b8dff23
SM
11622 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11623 (package-desc): Add `dir' field.
11624 (package-desc-full-name): New function.
11625 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11626 (package-maybe-load-descriptor): Remove.
11627 (package-load-all-descriptors): Just call package-load-descriptor.
11628 (package--disabled-p): New function.
11629 (package-desc-vers, package-desc-doc): Remove aliases.
11630 (package--dir): Remove function.
11631 (package-activate): Check if a package is disabled.
11632 (package-process-define-package): New function, extracted from
11633 define-package.
11634 (define-package): Turn into a place holder.
11635 (package-unpack-single, package-tar-file-info):
11636 Use package--description-file.
11637 (package-compute-transaction): Use package--disabled-p.
11638 (package-download-transaction): Don't call
11639 package-maybe-load-descriptor since they're all loaded anyway.
11640 (package-install): Change argument to be a pkg-desc.
11641 (package-delete): Use a single pkg-desc argument.
11642 (describe-package-1): Use package-desc-dir instead of package--dir.
11643 Use package-desc property instead of package-symbol.
11644 (package-install-button-action): Adjust accordingly.
11645 (package--push): Rewrite.
11646 (package-menu--print-info): Adjust accordingly. Change the ID format
11647 to be a pkg-desc.
11648 (package-menu-describe-package, package-menu-get-status)
11649 (package-menu--find-upgrades, package-menu-mark-upgrades)
11650 (package-menu-execute, package-menu--name-predicate):
11651 Adjust accordingly.
11652 * startup.el (package--description-file): New function.
11653 (command-line): Use it.
11654 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11655 Use package-desc-version.
11656
0b31660d
SM
11657 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11658 (byte-compile-preprocess): Use it.
11659 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11660 can't quite recognize.
11661 (byte-compile-add-to-list): Remove.
11662 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11663 (cconv-closure-convert): Add assertion.
11664
11665 * emacs-lisp/map-ynp.el: Use lexical-binding.
11666 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11667 Factor out some repeated code.
11668
de0503df
SM
116692013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11670
11671 * subr.el (with-eval-after-load): New macro.
11672 (eval-after-load): Allow form to be a function.
11673 take advantage of lexical-binding.
11674 (do-after-load-evaluation): Use dolist and adjust to new format.
11675 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11676
bc5c8c5a
JL
116772013-06-13 Juri Linkov <juri@jurta.org>
11678
11679 * replace.el (perform-replace): Display "symbol " and other search
11680 modes from `isearch-message-prefix' in the *Help* buffer.
11681
11682 * isearch.el (isearch-query-replace): Add " symbol" and other
11683 possible search modes from `isearch-message-prefix' to the prompt.
11684 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11685 when reading a regexp to collect.
11686
a22289f7
JL
116872013-06-13 Juri Linkov <juri@jurta.org>
11688
11689 * isearch.el (word-search-regexp): Match whitespace if the search
11690 string begins or ends in whitespace. The LAX arg is applied to
11691 both ends of the search string. Use `regexp-quote' and explicit
11692 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11693 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11694 boundaries are replaced with symbol boundaries, and characters
11695 between symbols match non-word non-symbol syntax. (Bug#14602)
11696
cb89acab
JL
116972013-06-13 Juri Linkov <juri@jurta.org>
11698
11699 * isearch.el (isearch-del-char): Don't exceed the length of
11700 `isearch-string' by the prefix arg. (Bug#14563)
11701
6e8cfc81
JL
117022013-06-13 Juri Linkov <juri@jurta.org>
11703
11704 * isearch.el (isearch-yank-word, isearch-yank-line)
11705 (isearch-char-by-name, isearch-quote-char)
11706 (isearch-printing-char, isearch-process-search-char):
11707 Add optional count prefix arg. (Bug#14563)
11708
11709 * international/isearch-x.el
11710 (isearch-process-search-multibyte-characters):
11711 Add optional count prefix arg.
11712
c23d55f4
VS
117132013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11714
11715 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11716 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11717 lexical-binding.
11718
117192013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11720
11721 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11722
ba947bc4
GM
117232013-06-13 Glenn Morris <rgm@gnu.org>
11724
8baeb37a
GM
11725 * startup.el (tty-handle-args):
11726 Don't just discard "--" and anything after. (Bug#14608)
11727
ba947bc4
GM
11728 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11729
9abefce4
MA
117302013-06-13 Michael Albinus <michael.albinus@gmx.de>
11731
11732 Implement changes in Secret Service API. Make it backward compatible.
11733 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11734 (secrets-create-item): Use it. Prefix properties with interface.
11735
5755011f
MH
117362013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11737
11738 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11739 (term-emulate-terminal): Respect term-suppress-hard-newline.
11740
1261d2da
S
117412013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11742
11743 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11744 Only remove a `thumb-file' overlay. (Bug#14548)
11745
868490bb
GJ
117462013-06-12 Grégoire Jadi <daimrod@gmail.com>
11747
11748 * mail/reporter.el (reporter-submit-bug-report):
11749 Handle missing package-name. (Bug#14600)
11750
79d7167f
TH
117512013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11752
11753 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11754 (reftex-citation-prompt, reftex-default-bibliography)
11755 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11756 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11757 (reftex-bib-sort-author, reftex-bib-sort-year)
11758 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11759 (reftex-extract-bib-entries-from-thebibliography)
11760 (reftex-get-bibkey-default, reftex-get-bib-names)
11761 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11762 (reftex-format-bib-entry, reftex-parse-bibitem)
11763 (reftex-format-bibitem, reftex-do-citation)
11764 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11765 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11766 (reftex-insert-bib-matches, reftex-format-citation)
11767 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11768 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11769 existing comments into docstrings.
11770
5f9dbd7a
XF
117712013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11772
11773 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11774
94df41ab
AS
117752013-06-12 Andreas Schwab <schwab@suse.de>
11776
11777 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11778 for auto-save files.
11779
a7f3fecc
GM
117802013-06-12 Glenn Morris <rgm@gnu.org>
11781
001809f6
GM
11782 * ido.el (ido-delete-ignored-files): Remove.
11783 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11784 Go back to calling ido-ignore-item-p directly.
a7f3fecc 11785
834b5ded
EL
117862013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11787
08c73ed2
EL
11788 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11789
834b5ded
EL
11790 * ido.el (ido-delete-ignored-files): New function,
11791 split from ido-make-file-list-1.
11792 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11793 (ido-make-file-list-1): Use ido-delete-ignored-files.
11794
daabf15a
LL
117952013-06-12 Leo Liu <sdl.web@gmail.com>
11796
11797 * progmodes/octave.el (inferior-octave-startup)
11798 (inferior-octave-completion-table)
11799 (inferior-octave-track-window-width-change)
11800 (octave-eldoc-function-signatures, octave-help)
11801 (octave-find-definition): Use single quoted strings.
11802 (inferior-octave-startup-args): Change default value.
11803 (inferior-octave-startup): Do not hard code "-i" and
11804 "--no-line-editing".
11805 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11806 (inferior-octave-directory-tracker): Use it.
11807 (octave-goto-function-definition): Robustify.
11808 (octave-help): Support highlighting operators in 'See also'.
11809 (octave-find-definition): Find subfunctions only in Octave mode.
11810
cf4e5178
SM
118112013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11812
11813 * help-fns.el (help-fns--compiler-macro): If the handler function is
11814 named, then put a link to it.
11815 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11816 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11817 (cl-typep): Use it.
11818 (cl-eval-when): Simplify debug spec.
11819 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11820 compiler-macro function instead of setting `compiler-macro-file'.
11821
99c81280 118222013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
11823
11824 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11825 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11826
f56be016
SM
118272013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11828 Daniel Hackney <dan@haxney.org>
11829
11830 First part of Daniel Hackney's patch to package.el.
11831 * emacs-lisp/package.el: Use defstruct.
11832 (package-desc): New, main struct.
11833 (package--bi-desc, package--ac-desc): New structs, used to describe the
11834 format in external files.
11835 (package-desc-vers): Replace with package-desc-version accessor.
11836 (package-desc-doc): Replace with package-desc-summary accessor.
11837 (package-activate-1): Remove `package' arg since the pkg-vec now
11838 includes the name.
11839 (define-package): Use package-desc-from-define.
11840 (package-unpack-single): Change file-name arg to be a symbol.
11841 (package--add-to-archive-contents): Use package-desc-create and new
11842 accessor functions to package--ac-desc.
11843 (package-buffer-info, package-tar-file-info): Return a package-desc.
11844 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11845 arg to be a package-desc.
11846 (package-install-file): Adjust accordingly. Use \' to match EOS.
11847 (package--from-builtin): New function.
11848 (describe-package-1, package-menu--generate): Use it.
11849 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11850 (package-generate-autoloads): Idem and return the name of the file.
11851 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11852 Change pkg-info arg to be a package-desc.
11853 Use package-make-ac-desc.
11854 (package-upload-file): Use \' to match EOS.
11855 * finder.el (finder-compile-keywords): Use package-make-builtin.
11856
31119d63
SM
118572013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11858
931a2762
SM
11859 * vc/vc.el (vc-deduce-fileset): Change error message.
11860 (vc-read-backend): New function.
11861 (vc-next-action): Use it.
11862
5a3eb0c6
SM
11863 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11864
e3eb1bb7
SM
11865 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11866 (prolog-font-lock-keywords): Use regexp-opt instead.
11867 Don't manually highlight strings.
11868 (prolog-mode-variables): Simplify comment-start-skip.
11869 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11870
31119d63
SM
11871 * emacs-lisp/generic.el (generic--normalise-comments)
11872 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11873 (generic-mode-set-comments): Use them.
11874 (generic-bracket-support): Use setq-local.
11875 (generic-make-keywords-list): Declare obsolete.
11876
7de135d0
GM
118772013-06-11 Glenn Morris <rgm@gnu.org>
11878
11879 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11880 Prettify after setting font-lock-defaults. (Bug#14574)
11881
fa6bc6fd
JB
118822013-06-11 Juanma Barranquero <lekktu@gmail.com>
11883
11884 * replace.el (query-replace, occur-read-regexp-defaults-function)
11885 (replace-search):
11886 * subr.el (declare-function, number-sequence, local-set-key)
11887 (substitute-key-definition, locate-user-emacs-file)
11888 (with-silent-modifications, split-string, eval-after-load):
11889 Fix typos, remove unneeded backslashes and reflow some docstrings.
11890
cf1f9b9a
SM
118912013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11894 default for Elisp files.
11895
56602a4b
GM
118962013-06-11 Glenn Morris <rgm@gnu.org>
11897
11898 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11899 although define-derived-mode was doing this anyway. (Bug#14583)
11900
30ae0b2c
JB
119012013-06-10 Juanma Barranquero <lekktu@gmail.com>
11902
11903 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11904 Fix make-variable-buffer-local call to refer to the correct variable.
11905
fa472906
AG
119062013-06-10 Aidan Gauland <aidalgol@amuri.net>
11907
11908 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
11909 (eshell-visual-subcommands, eshell-visual-options):
11910 Add summary line to docstrings. Add cross-references.
fa472906 11911
ff4871b9
GM
119122013-06-10 Glenn Morris <rgm@gnu.org>
11913
11914 * epa.el (epa-read-file-name): New function. (Bug#14510)
11915 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11916
04fcf1b0
AG
119172013-06-09 Aidan Gauland <aidalgol@amuri.net>
11918
11919 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11920 output redirection to be ignored with visual commands.
11921
88b00caa
AG
119222013-06-09 Aidan Gauland <aidalgol@amuri.net>
11923
11924 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
11925 (eshell-term-initialize): Move long lambda to separate function
11926 eshell-visual-command-p.
27821a89 11927 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
11928 * eshell/em-script.el (eshell-script-initialize):
11929 Add missing #' to lambda.
88b00caa 11930
fda74125
LL
119312013-06-08 Leo Liu <sdl.web@gmail.com>
11932
11933 * progmodes/octave.el (octave-add-log-current-defun): New function.
11934 (octave-mode): Set add-log-current-defun-function.
11935 (octave-goto-function-definition): Do not move point if not found.
11936 (octave-find-definition): Enhance to try subfunctions first.
11937
467f3b33
GM
119382013-06-08 Glenn Morris <rgm@gnu.org>
11939
11940 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11941 (byte-compile-backward-char, byte-compile-backward-word):
11942 Improve previous change, to handle non-explicit nil.
11943
544badc3
SM
119442013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11945
11946 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11947 (smie--opener/closer-at-point): New function.
11948 (smie--matching-block-data): Use it. Don't match from right after an
11949 opener or right before a closer. Obey smie-blink-matching-inners.
11950 Don't signal a mismatch for repeated inners like "switch..case..case".
11951
a175bf33
LL
119522013-06-07 Leo Liu <sdl.web@gmail.com>
11953
11954 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11955 to t. (Bug#14303)
ce8209d4
LL
11956 (octave-function-header-regexp): Fix. (Bug#14570)
11957 (octave-help-mode-finish-hook, octave-help-mode-finish):
11958 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
11959
11960 * newcomment.el (comment-search-backward): Revert last change.
11961 (Bug#14434)
11962
11963 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11964
a822acff
EZ
119652013-06-07 Eli Zaretskii <eliz@gnu.org>
11966
11967 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11968 through xargs, to avoid failure due to MS-Windows limitations on
11969 command-line length.
11970
961166f5
GM
119712013-06-06 Glenn Morris <rgm@gnu.org>
11972
d0341459
GM
11973 * font-lock.el (lisp-font-lock-keywords-2):
11974 Treat user-error like error.
11975
961166f5
GM
11976 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11977 (byte-compile-backward-char, byte-compile-backward-word):
11978 Handle explicit nil arguments. (Bug#14565)
11979
80fa505f
AM
119802013-06-05 Alan Mackenzie <acm@muc.de>
11981
11982 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 11983 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 11984 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 11985 (Bug#9706)
80fa505f 11986
fccdc796
SM
119872013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * autorevert.el (auto-revert-notify-handler): Use memq.
11990 Hide assertion failure.
11991
11992 * skeleton.el: Use cl-lib.
11993 (skeleton-further-elements): Use defvar-local.
11994 (skeleton-insert): Use cl-progv.
11995
9bfff84b
TZ
119962013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11997
11998 * progmodes/prog-mode.el (prog-prettify-symbols)
11999 (prog-prettify-install): Update docstrings.
12000
55577e7c
SM
120012013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12002
12003 * simple.el: Move all the prog-mode code to prog-mode.el.
12004 * progmodes/prog-mode.el: New file.
12005 * loadup.el: Add prog-mode.el.
12006
8fc57765
TZ
120072013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12008
12009 * simple.el (prog-prettify-symbols): Add version.
12010 (prog-prettify-install): Add convenience function to prettify symbols.
12011
12012 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12013 (perl--augmented-font-lock-keywords-1)
12014 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12015 variables and use it.
12016
12017 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12018 (cfengine3-mode): Remove unneeded variable and use it.
12019
12020 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12021 (lisp--augmented-font-lock-keywords-1)
12022 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12023 Remove unneeded variables and use it.
12024
650645d5 120252013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
12026
12027 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 12028 to point when opening the connection. (Bug#14380)
28f5da6d 12029
781b4af6
SM
120302013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12031
12032 * subr.el (load-history-regexp, load-history-filename-element)
12033 (eval-after-load, after-load-functions, do-after-load-evaluation)
12034 (eval-next-after-load, display-delayed-warnings)
12035 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12036 definition of save-match-data.
12037 (overriding-local-map): Remove accidental obsolescence declaration.
12038
12039 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12040
3ca0d0b4
TZ
120412013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12042
12043 Generalize symbol prettify support to prog-mode and implement it
12044 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12045 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12046 (prog--prettify-font-lock-compose-symbol)
12047 (prog-prettify-font-lock-symbols-keywords): New variables and
12048 functions to support symbol prettification.
12049 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12050 (lisp--augmented-font-lock-keywords-1)
12051 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12052 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12053 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
12054 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12055 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
12056 * progmodes/perl-mode.el (perl-prettify-symbols)
12057 (perl--font-lock-compose-symbol)
12058 (perl--font-lock-symbols-keywords): Move to prog-mode.
12059 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12060 (perl-font-lock-keywords-1)
12061 (perl-font-lock-keywords-2): Remove explicit prettify support.
12062 (perl--augmented-font-lock-keywords)
12063 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
12064 (perl--augmented-font-lock-keywords-2, perl-mode):
12065 Implement prettify support.
3ca0d0b4 12066
976cb066
LL
120672013-06-05 Leo Liu <sdl.web@gmail.com>
12068
27821a89 12069 Re-implement SMIE matching block highlight using
976cb066
LL
12070 show-paren-data-function. (Bug#14395)
12071 * emacs-lisp/smie.el (smie-matching-block-highlight)
12072 (smie--highlight-matching-block-overlay)
12073 (smie--highlight-matching-block-lastpos)
12074 (smie-highlight-matching-block)
12075 (smie-highlight-matching-block-mode): Remove.
12076 (smie--matching-block-data-cache): New variable.
12077 (smie--matching-block-data): New function.
12078 (smie-setup): Use smie--matching-block-data for
12079 show-paren-data-function.
12080
12081 * progmodes/octave.el (octave-mode-menu): Fix.
12082 (octave-find-definition): Skip garbage lines.
12083
208d0342
SM
120842013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12085
12086 Fix compilation error with simultaneous dynamic+lexical scoping.
12087 Add warning when a defvar appears after the first let-binding.
12088 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12089 (byte-compile-close-variables): Initialize it.
12090 (byte-compile--declare-var): New function.
12091 (byte-compile-file-form-defvar)
12092 (byte-compile-file-form-define-abbrev-table)
12093 (byte-compile-file-form-custom-declare-variable): Use it.
12094 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12095 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12096 (byte-compile-bind): Handle dynamic bindings that shadow
12097 lexical bindings.
12098 (byte-compile-unbind): Make arg non-optional.
12099 (byte-compile-let): Simplify.
12100 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12101 (cconv--analyse-function, cconv-analyse-form): Populate it.
12102 Protect byte-compile-bound-variables to limit the scope of defvars.
12103 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12104 Remove unneeded rule for `declare'.
12105
12106 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12107 so as to avoid depending on cl-adjoin at run-time.
12108 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12109
12110 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12111 (macroexp--warn-and-return): Use it.
12112
1ac2891e
GM
121132013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12114
a12bf61e 12115 * subr.el: Convert to lexical binding.
1ac2891e
GM
12116 (overriding-local-map): Make obsolete.
12117 (add-to-list): Doc fix. Add compiler macro.
12118 (read-key): Swap values of local maps.
12119
2587b005
LL
121202013-06-05 Leo Liu <sdl.web@gmail.com>
12121
12122 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12123
f1da3c88
LL
121242013-06-04 Leo Liu <sdl.web@gmail.com>
12125
12126 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12127 (compilation-auto-jump): Suppress the "Mark set" message to give
12128 way to exit message.
12129
3caa391f
AM
121302013-06-04 Alan Mackenzie <acm@muc.de>
12131
12132 Remove faulty optimisation from indentation calculation.
12133 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12134 search limit based on 2000 characters back from indent-point.
12135
068922a2
TH
121362013-06-03 Tassilo Horn <tsdh@gnu.org>
12137
12138 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12139
1f8fdd53
SM
121402013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12141
bbcc4d97
SM
12142 * emacs-lisp/lisp.el: Use lexical-binding.
12143 (lisp--local-variables-1, lisp--local-variables): New functions.
12144 (lisp--local-variables-completion-table): New var.
208d0342 12145 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 12146
1f8fdd53
SM
12147 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12148 eagerly (bug#14422).
12149
c9628c79
MA
121502013-06-03 Michael Albinus <michael.albinus@gmx.de>
12151
12152 * autorevert.el (auto-revert-notify-enabled)
12153 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12154 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12155 (auto-revert-notify-handler): Handle also gfilenotify.
12156
e7b41c4c 12157 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 12158 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 12159 Remove.
c9628c79 12160
e5e4a942
JL
121612013-06-03 Juri Linkov <juri@jurta.org>
12162
12163 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12164 `M-s h .'. (Bug#14427)
12165
12166 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12167 command `hi-lock-face-symbol-at-point'.
12168 (hi-lock-face-symbol-at-point): New command.
12169 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12170 (hi-lock-menu): Add `highlight-symbol-at-point'.
12171 (hi-lock-mode): Doc fix.
12172
12173 * isearch.el (isearch-forward-symbol-at-point): New command.
12174 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12175 (isearch-highlight-regexp): Add a regexp which matches
12176 words/symbols for word/symbol mode.
12177
12178 * subr.el (find-tag-default-bounds): New function with the body
12179 mostly moved from `find-tag-default'.
12180 (find-tag-default): Move most code to `find-tag-default-bounds',
12181 call it and apply `buffer-substring-no-properties' afterwards.
12182
26b3353a
TH
121832013-06-03 Tassilo Horn <tsdh@gnu.org>
12184
781b4af6
SM
12185 * eshell/em-term.el (eshell-term-initialize):
12186 Use `cl-intersection' rather than `intersection'.
26b3353a 12187
51b60f53
XF
121882013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12189
fe054b63 12190 * vc/log-view.el: Doc fix.
d3ffe17c 12191 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 12192
a0eb10b3 121932013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
12194
12195 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12196 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12197 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12198 (eieio-unbound, eieio-default-superclass)
12199 (eieio--define-field-accessors, method-static, method-before)
12200 (method-primary, method-after, method-num-lists)
12201 (method-generic-before, method-generic-primary)
12202 (method-generic-after, method-num-slots)
12203 (eieio-specialized-key-to-generic-key)
12204 (eieio--check-type, class-v, class-p)
12205 (eieio-class-name, define-obsolete-function-alias)
12206 (eieio-class-parents-fast, eieio-class-children-fast)
12207 (same-class-fast-p, class-constructor, generic-p)
12208 (generic-primary-only-p, generic-primary-only-one-p)
12209 (class-option-assoc, class-option, eieio-object-p)
12210 (class-abstract-p, class-method-invocation-order)
12211 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12212 (eieio-class-un-autoload, eieio-defclass)
12213 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12214 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12215 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12216 (eieio-defgeneric-reset-generic-form)
12217 (eieio-defgeneric-form-primary-only)
12218 (eieio-defgeneric-reset-generic-form-primary-only)
12219 (eieio-defgeneric-form-primary-only-one)
12220 (eieio-defgeneric-reset-generic-form-primary-only-one)
12221 (eieio-unbind-method-implementations)
12222 (eieio--defmethod, eieio--typep)
12223 (eieio-perform-slot-validation, eieio-validate-slot-value)
12224 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12225 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12226 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12227 (eieio-slot-name-index, eieio-class-slot-name-index)
12228 (eieio-set-defaults, eieio-initarg-to-attribute)
12229 (eieio-attribute-to-initarg, eieio-c3-candidate)
12230 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12231 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12232 (eieio-class-precedence-list, eieio-generic-call-methodname)
12233 (eieio-generic-call-arglst, eieio-generic-call-key)
12234 (eieio-generic-call-next-method-list)
12235 (eieio-pre-method-execution-functions, eieio-generic-call)
12236 (eieio-generic-call-primary-only, eieiomt-method-list)
12237 (eieiomt-optimizing-obarray, eieiomt-install)
12238 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12239 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 12240 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
12241 (defclass): Remove `eval-and-compile' from macro.
12242 (call-next-method, shared-initialize): Instead of using
12243 `scoped-class' variable, use new eieio--scoped-class, and
12244 eieio--with-scoped-class.
12245 (initialize-instance): Rename local variable 'scoped-class' to
12246 'this-class' to remove ambiguitity from old global.
12247
12248 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12249 eieio.el.
4f405069
JB
12250 (eieio--scoped-class-stack): New variable.
12251 (eieio--scoped-class): New fcn.
890f7890
DE
12252 (eieio--with-scoped-class): New scoping macro.
12253 (eieio-defclass): Use pushnew instead of add-to-list.
12254 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12255 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12256 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12257 `scoped-class' variable, use new eieio--scoped-class, and
12258 eieio--with-scoped-class.
12259
12260 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12261
d105b0e2
TH
122622013-06-02 Tassilo Horn <tsdh@gnu.org>
12263
12264 * eshell/esh-ext.el (eshell-external-command): Pass args to
12265 `eshell-find-interpreter'.
12266 (eshell-find-interpreter): Add new second parameter ARGS.
12267
12268 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 12269 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12270
12271 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 12272 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
12273
12274 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12275 (eshell-visual-options): New defcustom.
12276 (eshell-escape-control-x): Adapt docstring.
12277 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12278 `eshell-visual-options' in addition to `eshell-visual-commands'.
12279 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12280
f46305c8 122812013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
12282
12283 * progmodes/python.el (python-indent-block-enders): Add break,
12284 continue and raise keywords.
12285
d870df21
GM
122862013-06-01 Glenn Morris <rgm@gnu.org>
12287
9133b82e
GM
12288 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12289
02c992ec 12290 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
12291 * progmodes/cc-cmds.el (delete-forward-p):
12292 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12293 * progmodes/cc-engine.el (buffer-syntactic-context):
12294 * progmodes/cc-fonts.el (face-property-instance):
12295 * progmodes/cc-mode.el (set-keymap-parents):
12296 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12297 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12298 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
12299 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12300 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 12301
31e7b090
GM
12302 * progmodes/cc-vars.el (other): Emacs has this widget since
12303 at least 21.1, so don't (re)define it.
12304
d870df21
GM
12305 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12306 Replace the obsolete alias pcomplete-arg-quote-list.
12307
c75c93c7
LL
123082013-06-01 Leo Liu <sdl.web@gmail.com>
12309
12310 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12311 punctuation syntax.
12312 (inferior-octave-minimal-columns)
12313 (inferior-octave-last-column-width): New variables.
12314 (inferior-octave-track-window-width-change): New function.
12315 (inferior-octave-mode): Adjust column width so that Octave output,
12316 for example from 'ls', can fit into the window nicely.
12317
973d1e12
DG
123182013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12319
12320 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12321 Highlight expansions inside regexp literals.
12322
0888c286
GM
123232013-05-31 Glenn Morris <rgm@gnu.org>
12324
e26aac1f
GM
12325 * obsolete/sym-comp.el (symbol-complete):
12326 Replace obsolete completion-annotate-function.
12327
0888c286
GM
12328 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12329
19bb8e62
DG
123302013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12331
781b4af6
SM
12332 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12333 New function, checks if point is inside a literal that allows
19bb8e62
DG
12334 expression expansion.
12335 (ruby-syntax-propertize-expansion): Use it.
12336 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12337 around the body.
12338
01dea85f
JL
123392013-05-30 Juri Linkov <juri@jurta.org>
12340
12341 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12342 to "\M-si".
12343 (isearch-invisible): New variable.
12344 (isearch-forward): Doc fix.
12345 (isearch-mode): Set `isearch-invisible'
12346 to the value of `search-invisible'.
12347 (isearch-toggle-case-fold): Doc fix.
12348 (isearch-toggle-invisible): New command.
12349 (isearch-query-replace): Let-bind `search-invisible'
12350 to the value of `isearch-invisible'.
12351 (isearch-search): Use `isearch-invisible' instead of
12352 `search-invisible'. Let-bind `search-invisible'
12353 to the value of `isearch-invisible'. (Bug#11378)
12354
ab1bdce5
JL
123552013-05-30 Juri Linkov <juri@jurta.org>
12356
12357 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12358 call when `query-flag' is nil and `search-invisible' is non-nil.
12359 (Bug#11746)
12360
d6d236e2
GM
123612013-05-30 Glenn Morris <rgm@gnu.org>
12362
8accd027
GM
12363 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12364
2a8bed1c
GM
12365 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12366 (cc-require): Suppress spurious "noruntime" warnings.
12367 (cc-require-when-compile): Use fboundp, for sake of compiler.
12368
d6d236e2
GM
12369 * progmodes/cc-mode.el: Move load of cc-vars before that of
12370 cc-langs (which in turn loads cc-vars), to quieten compiler.
12371
9190b35b
SM
123722013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 * paren.el: Simplify the code.
12375 (show-paren-mode): Always start the timer.
12376 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12377 (show-paren--overlay, show-paren--overlay-1): Rename from
12378 show-paren-overlay and show-paren-overlay-1, and initialize to an
12379 overlay rather than to nil.
12380 (show-paren-function): Misc cleanup and simplifications.
12381
4f8d1cf6
SM
123822013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12383
12384 * paren.el (show-paren-data-function): New hook.
12385 (show-paren--default): New function, extracted from show-paren-function.
12386 (show-paren-function): Use show-paren-data-function.
12387
02d844b5
GM
123882013-05-30 Glenn Morris <rgm@gnu.org>
12389
d209d4a9
GM
12390 * ielm.el (ielm-map, ielm-complete-symbol):
12391 Use completion-at-point rather than obsolete functions.
12392 (inferior-emacs-lisp-mode): Doc fix.
12393 Set completion-at-point-functions, rather than
12394 comint-dynamic-complete-functions.
12395
2082faa6
GM
12396 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12397 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12398 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12399
dd8620de
GM
12400 * image.el (image-animated-p): Tweak definition.
12401
ceca95b1
GM
12402 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12403 (rlogin-process-connection-type): Tweak default. Add set-after.
12404 (rlogin-host): Doc fix.
12405 (rlogin): Tweak prompt.
12406 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12407
ee9f1acc
GM
12408 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12409 * progmodes/tcl.el (inferior-tcl-mode-map):
12410 Use completion-at-point rather than obsolete alias.
12411
45ce222e
GM
12412 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12413
02d844b5
GM
12414 * minibuffer.el (read-file-name-completion-ignore-case):
12415 Move before completion--in-region, for eager macro expansion.
12416
ac44d6c1
JL
124172013-05-29 Juri Linkov <juri@jurta.org>
12418
12419 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12420 for total count of matching lines. Add `global-matches' for total
12421 count of matches. Rename `matches' to `lines' for count of
12422 matching lines. Add `matches' for count of matches.
12423 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12424 to `prev-line' for line number of prev match endpt.
12425 Increment `matches' for every match. Print the number of
12426 matching lines in the header.
12427 (occur-context-lines): Rename `lines' to `curr-line'.
12428 Rename `prev-lines' to `prev-line'. (Bug#14017)
12429
3c9c9d38
JL
124302013-05-29 Juri Linkov <juri@jurta.org>
12431
12432 * replace.el (perform-replace): Add `skip-read-only-count',
12433 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12434 Increment them for corresponding conditions and report the number
12435 of skipped occurrences in the final message. (Bug#11746)
12436 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12437 (replace-string, replace-regexp): Doc fix.
12438
33e249a2
SM
124392013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12440
8e399682
SM
12441 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12442
33e249a2 12443 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 12444 prog-mode-map (bug#14504).
33e249a2 12445
f236dd84
LL
124462013-05-29 Leo Liu <sdl.web@gmail.com>
12447
12448 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12449 (octave-help): Small simplification.
12450
12451 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12452 off the highlight first.
12453
3694d13f
GM
124542013-05-29 Glenn Morris <rgm@gnu.org>
12455
03983bdc
GM
12456 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12457 Handle idlwave-last-system-routine-info-cons-cell being nil.
12458
bc74a74a
GM
12459 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12460 (idlwave-write-paths): Simplify via with-temp-buffer.
12461
8b394200
GM
12462 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12463 * emulation/cua-rect.el: Also load cua-base at run time.
12464
3694d13f
GM
12465 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12466 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12467 (cperl-imenu-on-info): Require imenu.
12468
336d7284
AM
124692013-05-28 Alan Mackenzie <acm@muc.de>
12470
12471 Handle "capitalised keywords" correctly.
33e249a2 12472 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 12473
cb29c582
AG
124742013-05-28 Aidan Gauland <aidalgol@amuri.net>
12475
781b4af6 12476 * eshell/em-unix.el: Add -r option to cp.
cb29c582 12477
690e44b2
GM
124782013-05-28 Glenn Morris <rgm@gnu.org>
12479
e658d75c
GM
12480 * vc/vc-arch.el (vc-exec-after): Declare.
12481 (vc-switches): Autoload.
12482 * vc/vc-bzr.el: No need to require vc when compiling.
12483 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12484 (vc-resynch-buffer, vc-dir-refresh): Declare.
12485 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
12486 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12487 (vc-resynch-buffer): Declare.
12488 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 12489 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
12490 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12491 (grep-read-regexp, grep-read-files, grep-expand-template)
12492 (vc-dir-refresh): Declare.
12493 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12494 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12495 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
12496 * vc/vc-mtn.el (vc-exec-after): Declare.
12497 (vc-switches): Autoload.
12498 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12499 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12500 (vc-file-tree-walk): Declare.
712b9732
GM
12501 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12502 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12503 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
12504 * vc/vc-svn.el (vc-exec-after): Declare.
12505 (vc-switches, vc-setup-buffer): Autoload.
12506 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12507 Autoload.
12508 (vc-resynch-buffer): Declare.
12509
98e87fb3
GM
12510 * obsolete/fast-lock.el (byte-compile-warnings):
12511 Don't warn about obsolete features in this obsolete file.
12512
f5379553
GM
12513 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12514 Move definition before use.
12515
7a20ef83
GM
12516 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12517 (dun-unix-verbs): Remove dun-zippy.
12518 (dun-zippy): Remove function.
12519
690e44b2
GM
12520 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12521
3a52ccf7
JL
125222013-05-27 Juri Linkov <juri@jurta.org>
12523
12524 * replace.el (replace-search): New function with code moved out
12525 from `perform-replace'.
12526 (replace-highlight, replace-dehighlight): Move function definitions
12527 up closer to `replace-search'. (Bug#11746)
12528
d289938a
JL
125292013-05-27 Juri Linkov <juri@jurta.org>
12530
12531 * replace.el (perform-replace): Ignore invisible matches.
12532 In addition to checking `query-replace-skip-read-only', also
12533 filter out matches by calling `run-hook-with-args-until-failure'
12534 on `isearch-filter-predicates', and also check `search-invisible'
12535 for t or call `isearch-range-invisible'.
12536 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12537
66fc57e3
JL
125382013-05-27 Juri Linkov <juri@jurta.org>
12539
12540 * isearch.el (isearch-filter-predicates): Rename from
12541 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12542 (isearch-message-prefix): Display text from the property
12543 `isearch-message-prefix' of the currently active filters.
12544 (isearch-search): Don't compare `isearch-filter-predicate' with
12545 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12546 on `isearch-filter-predicates'. Also check `search-invisible' for t
12547 or call `isearch-range-invisible'.
12548 (isearch-filter-visible): Make obsolete.
12549 (isearch-lazy-highlight-search):
12550 Call `run-hook-with-args-until-failure' on
12551 `isearch-filter-predicates' and use `isearch-range-invisible'.
12552
12553 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12554 `isearch-filter-predicates' instead of `funcall'ing
12555 `isearch-filter-predicate'.
12556 (Info-mode): Set `Info-isearch-filter' to
12557 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12558
12559 * dired-aux.el (dired-isearch-filter-predicate-orig):
12560 Remove variable.
12561 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12562 (dired-isearch-filenames-end): Add and remove
12563 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12564 instead of changing the value of `isearch-filter-predicate'.
12565 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12566 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12567 Put property `isearch-message-prefix' to "filename " on
12568 `dired-isearch-filter-filenames'.
12569
12570 * wdired.el (wdired-change-to-wdired-mode):
12571 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12572 locally instead of changing `isearch-filter-predicate'.
12573 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12574
f1a60a0f
DG
125752013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12576
12577 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12578 return the commit hash (Bug#14459). Also set the
12579 `vc-git-detached' property.
12580 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12581 (vc-git-mode-line-string): Use the same help-echo format whether
12582 in detached mode or not, because we know the actual revision now.
12583 When in detached mode, shorten the revision to 7 chars.
12584
7f17cc40
SM
125852013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12586
12587 * emacs-lisp/easy-mmode.el (define-minor-mode):
12588 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12589 mode hook and provide a docstring.
12590
25c8401c
AM
125912013-05-27 Alan Mackenzie <acm@muc.de>
12592
12593 Remove spurious syntax-table text properties inserted by C-y.
12594 * progmodes/cc-mode.el (c-after-change): Also clear hard
12595 syntax-table property with value nil.
12596
dde84790
MA
125972013-05-27 Michael Albinus <michael.albinus@gmx.de>
12598
12599 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12600 when reading the events; the buffer layout shall not be changed.
12601
837fd9af
LL
126022013-05-27 Leo Liu <sdl.web@gmail.com>
12603
12604 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12605 New variable.
12606 (inferior-octave-directory-tracker): Automatically re-sync
12607 default-directory.
12608 (octave-help): Improve handling of 'See also'.
12609
4fd996b3
SM
126102013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12611
416f1802
SM
12612 * doc-view.el: Minor naming convention tweaks.
12613 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12614
4fd996b3
SM
12615 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12616 even if there's no `display' property yet (bug#14435).
12617
a052ef3b
EZ
126182013-05-25 Eli Zaretskii <eliz@gnu.org>
12619
4fd996b3 12620 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
12621
12622 * Makefile.in (custom-deps, finder-data, autoloads)
12623 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12624 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12625 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12626
c9023370
SM
126272013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12628
12629 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12630 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 12631 Don't burp at EOB.
c9023370 12632
24d699fa
LL
126332013-05-25 Leo Liu <sdl.web@gmail.com>
12634
12635 * comint.el (comint-previous-matching-input): Do not flood the
12636 *Messages* buffer with trivial messages.
12637
17e5c0cc
SM
126382013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12639
12640 * progmodes/flymake.el (flymake-nop): Don't return a string.
12641 (flymake-set-at): Fix typo.
12642
12643 * simple.el (read--expression): New function, extracted from
12644 eval-expression. Set completion-at-point-functions (bug#14465).
12645 (eval-expression, eval-minibuffer): Use it.
12646
5d028165
XF
126472013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12648
12649 * progmodes/flymake.el (flymake-save-buffer-in-file)
12650 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12651 (flymake-selected-frame, flymake-log, flymake-ins-after)
12652 (flymake-set-at, flymake-get-buildfile-from-cache)
12653 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12654 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12655 Refine the doc string.
12656 (flymake-get-file-name-mode-and-masks): Reformat.
12657 (flymake-get-real-file-name-function): Fix a minor bug.
12658
7a1d7ba7
JL
126592013-05-24 Juri Linkov <juri@jurta.org>
12660
12661 * progmodes/grep.el (grep-mode-font-lock-keywords):
12662 Support =linenumber= format used by git-grep for lines with
12663 function names. (Bug#13549)
12664
650cff3d
SM
126652013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12666
12667 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12668 0 after a semi-colon; it works better for smie-auto-fill.
12669 (octave--indent-new-comment-line): New function.
12670 (octave-indent-new-comment-line): Use it (indirectly).
12671 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12672 modify comment-line-break-function.
12673
12674 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12675 (smie-setup): Use add-function to set it.
12676
9631677d
SS
126772013-05-24 Sam Steingold <sds@gnu.org>
12678
12679 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12680 argument (before the `interactive' argument).
12681
50105835
SM
126822013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12683
12684 * image-mode.el (image-mode-winprops): Add winprops to
12685 image-mode-winprops-alist before running
12686 image-mode-new-window-functions.
12687 * doc-view.el (doc-view-new-window-function): Don't delay
12688 doc-view-goto-page via timers (bug#14435).
12689
57b9823e
TH
126902013-05-24 Tassilo Horn <tsdh@gnu.org>
12691
12692 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12693 (doc-view-desktop-save-buffer): New function.
12694 (doc-view-restore-desktop-buffer): New function.
50105835
SM
12695 (desktop-buffer-mode-handlers):
12696 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
12697 handler.
12698 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12699 `desktop-save-buffer' function.
12700
91aafa16
MA
127012013-05-24 Michael Albinus <michael.albinus@gmx.de>
12702
12703 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12704 (tramp-gvfs-file-name-handler): Raise a user error when
12705 `tramp-gvfs-enabled' is nil.
12706 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12707 Do not raise a user error when loading package. (Bug#14447)
12708
ec076379
MA
12709 * net/xesam.el: Move to obsolete/.
12710
db785726
GM
127112013-05-24 Glenn Morris <rgm@gnu.org>
12712
af5c7606
GM
12713 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12714
e5d1916a
GM
12715 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12716
ded62b08
GM
12717 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12718 (Info-find-node, Man-getpage-in-background): Declare.
12719
9e614a3f
GM
12720 * mail/unrmail.el (unrmail):
12721 Replace obsolete detect-coding-with-priority.
12722
892f8ca3
GM
12723 * net/socks.el (socks-split-string): Use this rather than split-string.
12724 (socks-nslookup-host): Update for above change.
12725 (dynamic-choice, s5-dynamic-choice-match)
12726 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12727 Comment out unused code.
12728
3c291973
GM
12729 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12730 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12731 (gud-tooltip-echo-area): Make obsolete.
12732 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12733
43cc956b
GM
12734 * progmodes/js.el (js--optimize-arglist): Declare.
12735
dab49a3b
GM
12736 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12737
36b9d085
GM
12738 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12739 (ediff-window-C): Declare.
12740
e354ae76
GM
12741 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12742 Tweak requires to silence compiler.
12743
b8e57bf4
GM
12744 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12745 (he-search-string, he-tried-table, he-expand-list)
12746 (he-init-string, he-string-member, he-substitute-string)
12747 (he-reset-string): Declare.
12748
db785726
GM
12749 * obsolete/options.el (list-options): Use custom-variable-p,
12750 rather than obsolete alias.
12751
b3531901
SS
127522013-05-23 Sam Steingold <sds@gnu.org>
12753
12754 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 12755 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
12756 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12757
bdda4c66
SM
127582013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12759
12760 * emacs-lisp/smie.el (smie-indent-forward-token)
12761 (smie-indent-backward-token): Handle string tokens (bug#14381).
12762
c43d45f9
TH
127632013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12764
fe1eb856
RS
12765 * ielm.el (ielm-menu): New menu.
12766 (inferior-emacs-lisp-mode): Set comment-start.
96172128 12767
fe1eb856
RS
127682013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12769
a12bf61e 12770 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
12771 Fix deactivate action.
12772
a12bf61e 12773 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 12774 Add cleveref macros.
074dd971 12775
9b017563
JB
12776 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
12777 Accept options for bibliography commands.
a12bf61e 12778 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
12779 Add addbibresource. Basic Biblatex support.
12780
7764286e
MA
127812013-05-23 Michael Albinus <michael.albinus@gmx.de>
12782
12783 * net/tramp-gvfs.el (top):
12784 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12785 when loading package. (Bug#14447)
12786
d361bc10
GM
127872013-05-23 Glenn Morris <rgm@gnu.org>
12788
8fa23984
GM
12789 * progmodes/js.el: No need to load comint when compiling.
12790 (ring-insert, comint-send-string, comint-send-input)
12791 (comint-last-input-end, ido-chop): Declare.
12792
a5c7df1a
GM
12793 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12794 * vc/ediff-mult.el: Adjust requires.
12795 (ediff-directories-internal, ediff-directory-revisions-internal)
12796 (ediff-patch-file-internal): Declare.
12797 * vc/ediff-ptch.el: Adjust requires.
12798 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12799 (ediff-find-file): Autoload.
12800 * vc/ediff-util.el: No need to load ediff when compiling.
12801 (ediff-regions-internal): Declare.
12802 * vc/ediff-wind.el: Adjust requires.
12803 (ediff-compute-toolbar-width): Define when compiling.
12804 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12805 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12806 (dired-get-filename, dired-get-marked-files)
12807 (ediff-last-dir-patch, ediff-patch-default-directory)
12808 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12809 (ediff-patch-buffer-internal): Declare.
12810
e2aec513
GM
12811 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12812 (ispell-process, ispell-buffer-local-words, lm-summary)
12813 (lm-section-start, lm-section-end): Declare.
12814 (checkdoc-ispell-init): Simplify.
12815
e68bbd7c
GM
12816 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12817 (he-string-member, he-reset-string, he-substitute-string): Declare.
12818
7efe0991
GM
12819 * eshell/em-ls.el: Adjust requires.
12820 (eshell-glob-regexp): Declare.
f87b1284
GM
12821 * eshell/em-tramp.el: Adjust requires.
12822 (eshell-parse-command): Autoload.
12823 * eshell/em-xtra.el: Adjust requires.
12824 (eshell-parse-command): Autoload.
12825 * eshell/esh-ext.el: Adjust requires.
12826 (eshell-parse-command, eshell-close-handles): Autoload.
12827 * eshell/esh-io.el: Adjust requires.
12828 (eshell-output-filter): Autoload.
12829 * eshell/esh-util.el: No need to load tramp when compiling.
12830 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12831 Declare.
12832 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12833 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12834 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12835 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12836 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12837 * eshell/esh-opt.el, eshell/esh-proc.el:
12838 * eshell/esh-var.el: Adjust requires.
12839 * eshell/eshell.el: Do not require esh-util twice.
12840 (eshell-add-input-to-history): Declare.
12841 (eshell-command): Check history module is active before using it.
12842
d361bc10
GM
12843 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12844
85d090a9
LL
128452013-05-22 Leo Liu <sdl.web@gmail.com>
12846
12847 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12848
5d0acd9d
MA
128492013-05-22 Michael Albinus <michael.albinus@gmx.de>
12850
12851 * autorevert.el (auto-revert-notify-add-watch)
12852 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12853 it indicates changes in file modification time.
12854
0cdffd7d
GM
128552013-05-22 Glenn Morris <rgm@gnu.org>
12856
ca5995ec
GM
12857 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12858 Always delete the autoloaded function from the noruntime and
12859 unresolved functions lists.
12860
6450907e
GM
12861 * allout.el: No need to load epa, epg, overlay when compiling.
12862 (epg-context-set-passphrase-callback, epg-list-keys)
12863 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12864 (epg-key-user-id-list): Declare.
12865
9c6906f6
GM
12866 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12867 (viper-set-parsing-style-toggling-macro)
12868 (viper-set-emacs-state-searchstyle-macros):
12869 Use called-interactively-p on Emacs.
12870 (viper-looking-back): Make it an obsolete alias. Update callers.
12871 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12872 Use looking-back rather than viper-looking-back.
12873 (viper-tmp-insert-at-eob, viper-enlarge-region)
12874 (viper-read-string-with-history, viper-register-to-point)
12875 (viper-append-to-register, viper-change-state-to-vi)
12876 (viper-backward-char-carefully, viper-forward-char-carefully)
12877 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12878 (viper-change-state-to-emacs): Declare.
12879 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12880 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12881 * emulation/viper-mous.el: Do not load viper-cmd.
12882 (viper-backward-char-carefully, viper-forward-char-carefully)
12883 (viper-forward-word, viper-adjust-window): Declare.
12884
5f70c169
GM
12885 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12886
b1b7f300
GM
12887 * progmodes/idlw-help.el (idlwave-help-fontify):
12888 Use called-interactively-p.
12889
f6ebbb46
GM
12890 * term/w32console.el (w32-get-console-codepage)
12891 (w32-get-console-output-codepage): Declare.
12892
0cdffd7d
GM
12893 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12894 Remove unnecessary declarations.
12895 (dframe-message): Doc fix.
12896
12897 * info.el (dframe-select-attached-frame, dframe-current-frame):
12898 Declare.
12899
12900 * speedbar.el (speedbar-message): Make it an obsolete alias.
12901 Update all callers.
12902 (speedbar-with-attached-buffer)
12903 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12904 (speedbar-with-writable): Use backquote.
12905 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12906 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12907 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12908 rather than speedbar- aliases.
12909 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12910 (speedbar-make-specialized-keymap, speedbar-insert-button)
12911 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12912 (speedbar-do-function-pointer): Declare.
12913 (rmail-speedbar-button, rmail-speedbar-find-file)
12914 (rmail-speedbar-move-message):
12915 Use dframe-with-attached-buffer rather than speedbar- alias.
12916 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12917 (dframe-message, speedbar-make-specialized-keymap)
12918 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12919 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12920 (speedbar-insert-button, dframe-select-attached-frame)
12921 (dframe-maybee-jump-to-attached-frame)
12922 (speedbar-change-initial-expansion-list)
12923 (speedbar-previously-used-expansion-list-name): Declare.
12924 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12925 Use dframe-message, dframe-with-attached-buffer rather than
12926 speedbar- aliases.
12927 (gud-sentinel): Silence compiler.
12928 * progmodes/vhdl-mode.el (speedbar-refresh)
12929 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12930 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12931 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12932 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12933 (speedbar-file-lists, speedbar-make-tag-line)
12934 (speedbar-line-directory, speedbar-goto-this-file)
12935 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12936 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12937 (speedbar-make-button, speedbar-reset-scanners)
12938 (speedbar-files-item-info, speedbar-line-text)
12939 (speedbar-find-file-in-frame, speedbar-set-timer)
12940 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12941 (speedbar-with-writable): Do not (re)define it.
12942 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12943 rather than speedbar- alias.
12944
ee44b62a
LL
129452013-05-21 Leo Liu <sdl.web@gmail.com>
12946
12947 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12948 menu items.
12949 (octave-mode): Tweak fill-nobreak-predicate.
12950 (inferior-octave-startup): Check process to avoid infinite loop.
12951 (inferior-octave): Pop to buffer first to show abornmal process
12952 exit information.
12953
640f050f
GM
129542013-05-21 Glenn Morris <rgm@gnu.org>
12955
79458038
GM
12956 * printing.el (pr-menu-bar): Define when compiling.
12957
9cc3e83f
LL
129582013-05-21 Leo Liu <sdl.web@gmail.com>
12959
12960 * progmodes/octave.el (octave-auto-fill): Remove.
12961 (octave-indent-new-comment-line): Improve.
12962 (octave-mode): Use auto fill mode through
4f405069 12963 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 12964 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 12965 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
12966 (octave-help): Show parent directory.
12967
f440830d
GM
129682013-05-21 Glenn Morris <rgm@gnu.org>
12969
12970 * files.el (dired-unmark):
12971 * progmodes/gud.el (gdb-input): Update declarations.
12972
12973 * calculator.el (electric, ehelp): No need to load when compiling.
12974 (Electric-command-loop, electric-describe-mode): Declare.
12975
12976 * doc-view.el (doc-view-current-converter-processes): Move before use.
12977
12978 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12979 Move MODE-set-explicitly definition before use.
12980
12981 * international/mule-diag.el (mule-diag):
12982 Don't use obsolete window-system-version.
12983
12984 * mail/feedmail.el (smtpmail): No need to load when compiling.
12985 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12986
12987 * mail/mail-utils.el (rfc822): No need to load when compiling.
12988 (rfc822-addresses): Autoload it.
12989 (mail-strip-quoted-names): Trivial simplification.
12990
12991 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12992 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12993
12994 * net/snmp-mode.el (tempo): Don't duplicate requires.
12995
12996 * progmodes/prolog.el (info): No need to load when compiling.
12997 (comint): Require before shell requires it.
12998 (Info-goto-node): Autoload it.
12999 (Info-follow-nearest-node): Declare.
13000 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13001
13002 * textmodes/artist.el (picture-mode-exit): Declare.
13003
13004 * textmodes/reftex-parse.el (reftex-parse-from-file):
13005 Trivial rewrite so the compiler can parse it better.
13006
b4da2cbb
LL
130072013-05-20 Leo Liu <sdl.web@gmail.com>
13008
13009 * progmodes/octave.el (octave-help-mode-map)
13010 (octave-help-mode-finish-hook): New variables.
13011 (octave-help-mode, octave-help-mode-finish): New functions.
13012 (octave-help): Use octave-help-mode.
13013
33c0f65b
GM
130142013-05-20 Glenn Morris <rgm@gnu.org>
13015
13016 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13017
1a0a0a8a
DG
130182013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13019
13020 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13021 start at point, so that expansion starting right after opening
13022 slash in a regexp is recognized.
13023 (ruby-syntax-before-regexp-re): New defvar, extracted from
13024 ruby-syntax-propertize-function. Since the value of this regexp
13025 is looked up at runtime now, we should be able to turn
13026 `ruby-syntax-methods-before-regexp' into a defcustom later.
13027 (ruby-syntax-propertize-function): Split regexp matching into two
13028 parts, for opening and closing slashes. That allows us to skip
13029 over string interpolations and support multiline regexps.
13030 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13031 for them, which calls `ruby-syntax-propertize-expansion'.
13032 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13033 call to `ruby-syntax-propertize-function'.
13034 (ruby-syntax-propertize-expansion): Extracted from
13035 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
13036 (ruby-syntax-propertize-percent-literal): Leave point right after
13037 the percent symbol, so that the expression expansion rule can
13038 propertize the contents.
462388b6
DG
13039 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13040 heredoc openers.
13041 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 13042
c1a6c0a4
JL
130432013-05-18 Juri Linkov <juri@jurta.org>
13044
13045 * man.el (Man-default-man-entry): Remove `-' from the end
13046 of the default value. (Bug#14400)
13047
8051fccd
GM
130482013-05-18 Glenn Morris <rgm@gnu.org>
13049
13050 * comint.el (comint-password-prompt-regexp):
13051 Allow "password for XXX" where XXX contains colons (eg https://...).
13052
5e80b74f
LL
130532013-05-18 Leo Liu <sdl.web@gmail.com>
13054
13055 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 13056 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
13057 (octave-source-directories): Don't check process.
13058 (octave-source-directories, octave-find-definition): Doc fix.
13059
521a54c5
GM
130602013-05-18 Glenn Morris <rgm@gnu.org>
13061
86a94b05
GM
13062 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13063 Remove backspace/delete bindings. (Bug#14392)
13064
521a54c5
GM
13065 * cus-dep.el (custom-make-dependencies): Sort the output.
13066 (custom-versions-load-alist): Convert comment to doc.
13067
42caeb89
LL
130682013-05-17 Leo Liu <sdl.web@gmail.com>
13069
13070 * newcomment.el (comment-search-backward): Stricter in finding
13071 comment start. (Bug#14303)
13072
13073 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13074 (octave-comment-start-skip): Properly anchored.
13075
e219dd97
LL
130762013-05-17 Leo Liu <sdl.web@gmail.com>
13077
fe1eb856
RS
13078 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13079 Clean up when turned off. (Bug#14395)
e219dd97
LL
13080 (smie--highlight-matching-block-overlay): No longer buffer-local.
13081 (smie-highlight-matching-block): Adjust.
13082
dc5dcb4b
PE
130832013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13084
13085 Doc string fix for "nanoseconds" (Bug#14406).
13086 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13087 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13088
1db165f0
JB
130892013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13090
13091 * calc/calc-units.el (math-extract-units): Preserve powers
13092 of units.
13093
c7a8fcac
LL
130942013-05-17 Leo Liu <sdl.web@gmail.com>
13095
13096 * subr.el (delete-consecutive-dups): New function.
13097 * ido.el (ido-set-matches-1): Use it.
13098 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13099 * ido.el (ido-remove-consecutive-dups): Remove.
13100
f678b18a
SM
131012013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13102
13103 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13104 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13105 regexp-opt's `words'.
13106
ebfe68e8
LL
131072013-05-16 Leo Liu <sdl.web@gmail.com>
13108
13109 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13110 (smie--highlight-matching-block-overlay)
13111 (smie--highlight-matching-block-lastpos)
13112 (smie--highlight-matching-block-timer): New variables.
13113 (smie-highlight-matching-block): New function.
13114 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13115 (smie-setup): Conditionally enable smie-blink-matching-open.
13116
bc8bc17d
WS
131172013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13118
13119 Sync with upstream verilog-mode r840.
13120 * progmodes/verilog-mode.el (verilog-mode-version)
13121 (verilog-mode-release-date): Update.
13122 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13123 (verilog-sig-tieoff): Fix string error on
13124 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13125 (verilog-read-decls): Fix parameters confusing
13126 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13127
df065a0b
EZ
131282013-05-16 Eli Zaretskii <eliz@gnu.org>
13129
13130 * subr.el (reveal-filename): New function.
13131
13132 * loadup.el: Compute Emacs executable versions on MS-Windows,
13133 where executables have the .exe extension. Add a hard link
13134 emacs-XX.YY.ZZ.exe on MS-Windows.
13135
13136 * Makefile.in (XARGS_LIMIT): New variable.
13137 (custom-deps, finder-data, autoloads)
13138 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13139 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13140 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13141 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13142
2d4bf34b
LL
131432013-05-16 Leo Liu <sdl.web@gmail.com>
13144
13145 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13146 (octave-mode-menu, octave-mode-map): Remove its uses.
13147
6b9c2d85
RZ
131482013-05-16 Reto Zimmermann <reto@gnu.org>
13149
13150 Sync with upstream vhdl mode v3.34.2.
13151 * progmodes/vhdl-mode.el: Use `push' throughout.
13152 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13153 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13154 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13155 (vhdl-actual-generic-name): New option to derive actual generic name.
13156 (vhdl-port-paste-signals): Replace formal by actual generics.
13157 (vhdl-beautify): New name for old group vhdl-align. Update users.
13158 (vhdl-beautify-options): New option.
13159 (vhdl-last-input-event): New compat alias. Use throughout.
13160 (vhdl-goto-line): Replace user level function `goto-line'.
13161 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13162 vhdl-fix-statement-buffer.
13163 (vhdl-create-mode-menu): Add some entries.
13164 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13165 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13166 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13167 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13168 to force statements on one line.
13169 (vhdl-remove-trailing-spaces-region):
13170 New, split from vhdl-remove-trailing-spaces.
13171 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13172 Respect vhdl-beautify-options.
13173 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13174 (vhdl-update-sensitivity-list): Not add with index if exists without.
13175 Not include array index with signal. Ignore keywords in comments.
13176 (vhdl-get-visible-signals): Regexp tweaks.
13177 (vhdl-template-component-inst): Handle empty library.
13178 (vhdl-template-type): Add template for 'enum' type.
13179 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13180 Use vhdl-replace-string.
13181 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13182 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13183 (vhdl-speedbar-initialize): Update for above name change.
13184 (vhdl-compose-wire-components): Fix in handling of constants.
13185 (vhdl-error-regexp-emacs-alist): New variable.
13186 (vhdl-error-regexp-add-emacs): New function;
13187 adds support for new compile.el (Emacs 22+)
13188 (vhdl-generate-makefile-1): Change target order for single lib. units.
13189 Allow use of absolute file names.
13190
9df4ec5e
LL
131912013-05-16 Leo Liu <sdl.web@gmail.com>
13192
13193 * simple.el (prog-indent-sexp): Indent enclosing defun.
13194
f5ba00a6
GM
131952013-05-15 Glenn Morris <rgm@gnu.org>
13196
ed8be7ff
GM
13197 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13198 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13199 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13200 (whitespace-highlight): Move to whitespace group.
13201
13202 * comint.el (comint-source):
13203 * pcmpl-linux.el (pcmpl-linux):
13204 * shell.el (shell-faces):
13205 * eshell/esh-opt.el (eshell-opt):
13206 * international/ccl.el (ccl): Remove empty custom groups.
13207
13208 * completion.el (dynamic-completion-mode):
13209 * jit-lock.el (jit-lock-debug-mode):
13210 * minibuffer.el (completion-in-region-mode):
13211 * type-break.el (type-break-mode-line-message-mode)
13212 (type-break-query-mode):
13213 * emulation/tpu-edt.el (tpu-edt-mode):
13214 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13215 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13216 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13217
13218 * term/xterm.el (xterm): Change parent group to terminals.
13219
13220 * master.el (master): Remove empty custom group.
13221 (master-mode): Remove unused :group argument.
13222 * textmodes/refill.el (refill): Remove empty custom group.
13223 (refill-mode): Remove unused :group argument.
13224
13225 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13226
82a7c41b
GM
13227 * cus-dep.el: Provide a feature.
13228 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
13229 Don't mistakenly ignore files whose basenames match a basename
13230 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 13231 Add a fallback method for getting :group.
f5ba00a6 13232
6d65486d
JL
132332013-05-15 Juri Linkov <juri@jurta.org>
13234
da547b32
JL
13235 * isearch.el (isearch-char-by-name): Rename from
13236 `isearch-insert-char-by-name'. Doc fix.
13237 (isearch-forward): Mention `isearch-char-by-name' in
13238 the docstring. (Bug#13348)
13239
6d65486d
JL
13240 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13241 `exit-minibuffer' instead of
13242 `isearch-nonincremental-exit-minibuffer'.
13243 (isearch-edit-string): Remove mention of
13244 `isearch-nonincremental-exit-minibuffer' from docstring.
13245 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13246 (isearch-forward-exit-minibuffer)
13247 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13248
c9990474
SM
132492013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13250
6e911150
SM
13251 * loadup.el: Just use unversioned DOC.
13252
c9990474
SM
13253 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13254 literals as extending to EOB.
13255 (nxml-last-fontify-end): Remove unused variable.
13256 (nxml-after-change1): Use with-silent-modifications.
13257 (nxml-extend-after-change-region): Simplify.
13258 (nxml-extend-after-change-region1): Remove function.
13259 (nxml-after-change1): Don't adjust for dependent regions.
13260 (nxml-fontify-matcher): Simplify.
13261 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13262 (xmltok-add-dependent): Remove function.
13263 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13264 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13265 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13266 unclosed <[[, <?, comment, and other literals as extending to EOB.
13267 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13268 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13269 Remove functions.
13270 (rng-do-some-validation-1): Don't mark dependent regions.
13271 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13272 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13273 (nxml-clear-dependent-regions): Remove functions.
13274 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13275 (nxml-ensure-scan-up-to-date):
13276 Don't clear&mark dependent regions.
13277
e3772e98
LL
132782013-05-15 Leo Liu <sdl.web@gmail.com>
13279
c9990474
SM
13280 * progmodes/octave.el (octave-goto-function-definition):
13281 Improve and fix callers.
e3772e98 13282
5ac2eb34
SM
132832013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13284
c46c57b0
SM
13285 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13286 the setter (bug#14387).
13287
5ac2eb34
SM
13288 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13289 surrounding group (bug#14402).
13290
180ed218
JL
132912013-05-14 Juri Linkov <juri@jurta.org>
13292
13293 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13294 (Bug#14390)
13295
0ac0fecb
GM
132962013-05-14 Glenn Morris <rgm@gnu.org>
13297
13298 * progmodes/f90.el (f90-imenu-generic-expression):
13299 Fix typo in 2013-05-08 change. (Bug#14402)
13300
2e78e6a7
JPG
133012013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13302
5ac2eb34
SM
13303 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13304 Remove signals for which replies are never received.
2e78e6a7 13305
53267cca
JPG
133062013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13307
13308 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13309 (gdb-handler-alist, gdb-handler-number): Remove variables.
13310 (gdb-handler-list): New variable.
13311 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13312 (gdb-pending-handler-p, gdb-handle-reply)
13313 (gdb-remove-all-pending-triggers): New functions.
13314 (gdb-discard-unordered-replies): New defcustom.
13315 (gdb-handler): New defstruct.
13316 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13317 instead of gdb-pending-triggers. Update docstring.
13318 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13319 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13320 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13321 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13322 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13323 (gdb-frame-handler): Pending triggers are now automatically managed.
13324 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13325 Remove argument.
13326 (gdb-input): Automatically handles pending triggers. Update docstring.
13327 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13328 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13329 Update comments.
13330 (gdb-done-or-error): Now use gdb-handle-reply.
13331
d04ce803
JPG
133322013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13333
13334 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13335 gdb-debug-log.
13336
0114073a
GM
133372013-05-14 Glenn Morris <rgm@gnu.org>
13338
13339 * subr.el (user-emacs-directory-warning): New option.
13340 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13341
4d25fd7e
LL
133422013-05-14 Leo Liu <sdl.web@gmail.com>
13343
13344 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13345 during redisplay.
13346 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
13347 (octave-font-lock-texinfo-comment): Fix invalid search bound
13348 error: wrong side of point.
4d25fd7e 13349
27c8b6eb
GM
133502013-05-14 Glenn Morris <rgm@gnu.org>
13351
61aaeb01
GM
13352 * progmodes/flymake.el (flymake-xml-program): New option.
13353 (flymake-xml-init): Use it.
13354
5bf90bc5
GM
13355 * term/xterm.el: Provide a feature.
13356
13357 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 13358
f4c7dfd2
GM
133592013-05-13 Glenn Morris <rgm@gnu.org>
13360
13361 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13362 Add compat aliases as a hack workaround. (Bug#14384)
13363
2aeb3a1d
LL
133642013-05-13 Leo Liu <sdl.web@gmail.com>
13365
b0e069c2
LL
13366 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13367 ###, and %!.
f5a9432f
LL
13368 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13369 C-M-q.
b0e069c2
LL
13370 (octave-comment-start-skip): Include %!.
13371 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 13372
30ea8374
LL
133732013-05-12 Leo Liu <sdl.web@gmail.com>
13374
13375 * progmodes/octave.el (inferior-octave-startup): Store the value
13376 of __octave_srcdir__ for octave-source-directories.
13377 (inferior-octave-check-process): New function refactored out of
13378 inferior-octave-send-list-and-digest.
13379 (octave-source-directories)
13380 (octave-find-definition-filename-function): New variables.
13381 (octave-source-directories)
13382 (octave-find-definition-default-filename): New functions.
13383 (octave-find-definition): Improve to find functions implemented in C++.
13384
472a3834
GM
133852013-05-12 Glenn Morris <rgm@gnu.org>
13386
13387 * calendar/diary-lib.el (diary-outlook-format-1):
13388 Don't include dayname in the output. (Bug#14349)
13389
3191b52f
GM
133902013-05-11 Glenn Morris <rgm@gnu.org>
13391
0060ac73
GM
13392 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13393
3191b52f
GM
13394 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13395 Treat cc-provide like provide.
13396
e065ba74
KR
133972013-05-11 Kevin Ryde <user42@zip.com.au>
13398
13399 * cus-dep.el (custom-make-dependencies):
13400 Use generated-autoload-load-name for the sake of files such
13401 such cedet/semantic/bovine/c.el, where the base file name
13402 is not in load-path. (Bug#5277)
13403
36f84c37
GM
134042013-05-11 Glenn Morris <rgm@gnu.org>
13405
13406 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13407 Provide features.
13408
c8730c3a
LL
134092013-05-11 Leo Liu <sdl.web@gmail.com>
13410
13411 * progmodes/octave.el (octave-indent-comment): Improve.
13412 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
13413 (octave-eldoc-function-signatures, octave-eldoc-function):
13414 New functions.
c8730c3a
LL
13415 (octave-mode, inferior-octave-mode): Add eldoc support.
13416
212e29f2
RS
134172013-05-11 Richard Stallman <rms@gnu.org>
13418
13419 * epa.el (epa-decrypt-file): Take output file name as argument
13420 and read it using `interactive'.
13421
083fe0d7
LL
134222013-05-11 Leo Liu <sdl.web@gmail.com>
13423
13424 * progmodes/octave.el (octave-beginning-of-line)
13425 (octave-end-of-line): Check before using up-list because it jumps
13426 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
13427 (octave-indent-comment): New function.
13428 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
13429 (octave-begin-keywords, octave-end-keywords)
13430 (octave-reserved-words, octave-smie-bnf-table)
13431 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 13432
8582e4c4
GM
134332013-05-11 Glenn Morris <rgm@gnu.org>
13434
f20def1f
GM
13435 * faces.el (internal-face-x-get-resource):
13436 * frame.el (ns-display-monitor-attributes-list):
d78abe37 13437 * calc/calc-aent.el (math-to-radians-2):
f20def1f 13438 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 13439 Fix declarations.
f20def1f 13440
445f95e2
GM
13441 * calc/calc-menu.el: Make it loadable in isolation.
13442
13443 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13444 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13445 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13446 (eudc-bbdb-query-internal): Require 'bbdb.
13447
99fb2756
GM
13448 * lpr.el (lpr-headers-switches):
13449 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13450
13451 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13452
0da7ad96
GM
13453 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13454
8582e4c4
GM
13455 * term.el (term-set-escape-char): Make it idempotent.
13456
f71c50d0
LL
134572013-05-10 Leo Liu <sdl.web@gmail.com>
13458
5ac2eb34
SM
13459 * progmodes/octave.el (inferior-octave-completion-table):
13460 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
13461 completion due to bug#11906.
13462 (octave-beginning-of-defun): Re-write to be more general.
13463
d5837773
GM
134642013-05-10 Glenn Morris <rgm@gnu.org>
13465
13466 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13467
027c0f75
SM
134682013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13469
13470 * comint.el (comint-redirect-send-command-to-process): Use :around
13471 rather than :override for comint-redirect-filter.
13472 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13473 Call it instead of comint-redirect-original-filter-function (which
13474 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13475
4465bfb4
JD
134762013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13477
13478 * frame.el (display-monitor-attributes-list): Add NS case.
13479 (ns-display-monitor-attributes-list): Declare.
13480
2d809ffa 134812013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
13482
13483 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13484
e54eeb9b
GM
134852013-05-09 Glenn Morris <rgm@gnu.org>
13486
56cd351d
GM
13487 * international/fontset.el (vertical-centering-font-regexp):
13488 Set standard-value.
13489
d84b6108
GM
13490 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13491
a931698a
GM
13492 * bookmark.el (bookmark-search-delay):
13493 * cus-start.el (vertical-centering-font-regexp):
13494 * ps-mule.el (ps-mule-font-info-database-default):
13495 * ps-print.el (ps-default-fg, ps-default-bg):
13496 * type-break.el (type-break-good-break-interval):
13497 * whitespace.el (whitespace-indentation-regexp)
13498 (whitespace-space-after-tab-regexp):
13499 * emacs-lisp/testcover.el (testcover-1value-functions)
13500 (testcover-noreturn-functions, testcover-progn-functions)
13501 (testcover-prog1-functions):
13502 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13503 * eshell/em-glob.el (eshell-glob-translate-alist):
13504 * play/tetris.el (tetris-tty-colors):
13505 * progmodes/cpp.el (cpp-face-default-list):
13506 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13507 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13508 (idlwave-help-browser-generic-args):
13509 * progmodes/make-mode.el (makefile-special-targets-list):
13510 * progmodes/python.el (python-shell-virtualenv-path):
13511 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13512 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13513 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13514 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13515 * textmodes/reftex-vars.el (reftex-format-label-function):
13516 * textmodes/remember.el (remember-diary-file): Fix custom types.
13517
e54eeb9b
GM
13518 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13519 Add :version.
13520
455851dd
LL
135212013-05-09 Leo Liu <sdl.web@gmail.com>
13522
13523 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 13524 Restore file completion. (Bug#14300)
455851dd
LL
13525 (inferior-octave-startup): Fix incorrect highlighting for the
13526 first prompt.
13527
a9e4425b
SM
135282013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13529
13530 * progmodes/ruby-mode.el: First cut at SMIE support.
13531 (ruby-use-smie): New var.
13532 (ruby-smie-grammar): New constant.
13533 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13534 (ruby-smie--forward-token, ruby-smie--backward-token)
13535 (ruby-smie-rules): New functions.
13536 (ruby-mode-variables): Setup SMIE if applicable.
13537
060ca408
EZ
135382013-05-08 Eli Zaretskii <eliz@gnu.org>
13539
13540 * simple.el (line-move-visual): Signal beginning/end of buffer
13541 only if vertical-motion moved less than it was requested. Avoids
13542 silly incorrect error messages when there are display strings with
13543 multiple newlines at EOL.
13544
1d5963cc
SM
135452013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13546
13547 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13548 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13549 (prolog-char-quote-workaround):
13550 * progmodes/cperl-mode.el (cperl-under-as-char):
13551 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
13552 Mark as obsolete.
13553 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
13554 their declaration.
13555 (vhdl-mode-syntax-table-init): Remove.
13556
c9990474
SM
13557 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13558 last change.
1d5963cc
SM
13559
13560 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13561 syntax for "_".
13562 (ld-script-font-lock-keywords):
13563 Change regexps to use things like \_< and \_>.
13564
13565 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13566 Change all regexps to use things like \_< and \_>.
13567
13568 * progmodes/autoconf.el (autoconf-definition-regexp)
13569 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13570 Handle a _ with symbol syntax.
13571 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13572
c9990474
SM
13573 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13574 Consolidate declaration.
1d5963cc
SM
13575 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13576 the declaration.
13577 (ada-create-syntax-table): Remove.
13578 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13579 already has the right syntax nowadays.
13580 (ada-goto-next-word): Don't change the syntax of "_".
13581
13582 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13583 with-wrapper-hook.
13584
72d3cfca
SS
135852013-05-08 Sam Steingold <sds@gnu.org>
13586
13587 * thingatpt.el (thing-at-point): Accept optional second argument
13588 NO-PROPERTIES to strip the text properties from the return value.
13589 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13590 to `thing-at-point' instead of stripping the properties ourselves.
13591 Also, when `thing-at-point' fails to find a url, prepend "http://"
13592 to the filename at point on the assumption that the user is
13593 pointing at something like gnu.org/gnu.
13594
5cb15713
JB
135952013-05-08 Juanma Barranquero <lekktu@gmail.com>
13596
13597 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13598 * faces.el (crm-separator):
13599 Silence byte-compiler.
13600
13601 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13602 (tool-bar-map): Remove unneeded defvars.
13603
ea78b95b
LL
136042013-05-08 Leo Liu <sdl.web@gmail.com>
13605
13606 Re-work a fix for bug#10994 based on Le Wang's patch.
13607 * ido.el (ido-remove-consecutive-dups): New helper.
13608 (ido-completing-read): Use it.
13609 (ido-chop): Revert fix for bug#10994.
13610
dc7466df
AS
136112013-05-08 Adam Spiers <emacs@adamspiers.org>
13612
13613 * cus-edit.el (custom-save-variables):
13614 Pretty-print long values. (Bug#14187)
13615
9ecf672a
GM
136162013-05-08 Glenn Morris <rgm@gnu.org>
13617
13618 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13619 (m4-mode-syntax-table): Init in the defvar.
13620 (m4-mode-abbrev-table): Let define-derived-mode define it.
13621
3f555be8
TT
136222013-05-08 Tom Tromey <tromey@redhat.com>
13623
13624 * progmodes/m4-mode.el (m4-mode-syntax-table):
13625 Do not treat "_" as word constituent. (Bug#14167)
13626
7cc8ae06
GM
136272013-05-07 Glenn Morris <rgm@gnu.org>
13628
4f58bc06
GM
13629 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13630 Remove explicit eshell-isearch-cancel-map.
13631
7cc8ae06
GM
13632 * progmodes/f90.el (f90-smart-end-names): New option.
13633 (f90-smart-end): Doc fix.
13634 (f90-end-block-optional-name): New constant.
13635 (f90-block-match): Respect f90-smart-end-names.
13636
ceb57e59
SM
136372013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13638
13639 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13640 about implicit semi-colons (bug#14218).
13641
4e3f9230
YM
136422013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13643
13644 * frame.el (display-monitor-attributes-list)
13645 (frame-monitor-attributes): New functions.
13646
203a5572
LL
136472013-05-06 Leo Liu <sdl.web@gmail.com>
13648
13649 * progmodes/octave.el (octave-syntax-propertize-function): Change
13650 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13651 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 13652 (octave-completion-at-point): Rename from
203a5572
LL
13653 octave-completion-at-point-function.
13654 (inferior-octave-directory-tracker): Robustify.
13655 (octave-text-functions): Remove and fix its uses. No such things
13656 any more.
13657
ee6cff99
SM
136582013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * emacs-lisp/trace.el (trace--display-buffer): New function.
13661 (trace-make-advice): Use it.
13662
32985194
JL
136632013-05-06 Juri Linkov <juri@jurta.org>
13664
13665 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13666 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13667 Doc fix.
13668 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13669 in the help string. (Bug#12985)
13670
a1c700de
KD
136712013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13672
13673 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13674
c67c0839
SM
136752013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13676
323885fd
SM
13677 * progmodes/perl-mode.el: Add support for here documents.
13678 (perl-syntax-propertize-function): Match here-doc markers.
13679 (perl-syntax-propertize-special-constructs): Find their end.
13680 (perl-imenu-generic-expression): Use [:alnum:].
13681
c67c0839
SM
13682 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13683 (advice--add-function): Refresh the advice if already present
13684 (bug#14317).
13685
d491e7a8
IA
136862013-05-06 Ivan Andrus <darthandrus@gmail.com>
13687
13688 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13689
ddf9925e
GM
136902013-05-06 Glenn Morris <rgm@gnu.org>
13691
7cc3af27
GM
13692 * w32-fns.el (w32-charset-info-alist): Declare.
13693
16e343d6
GM
13694 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13695 of its defcustom properties.
13696 (eshell-cmpl-initialize): No need to load pcomplete.
13697
7d889a47
GM
13698 * generic-x.el: No need to require comint when compiling.
13699
ddf9925e
GM
13700 * net/eudc-export.el: Make it loadable without bbdb.
13701 (top-level): Use require rather than load-library.
13702 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13703 (eudc-batch-export-records-to-bbdb)
13704 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13705 Require bbdb.
13706
1e2c18df
SM
137072013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13708
13709 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13710 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13711 some tweaks, instead.
13712
02502a5f
LL
137132013-05-05 Leo Liu <sdl.web@gmail.com>
13714
13715 * progmodes/octave.el (octave-font-lock-keywords)
13716 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13717 (inferior-octave-send-list-and-digest): Improve error message.
13718 (octave-mode, inferior-octave-mode): Use setq-local.
13719 (octave-help): Set info-lookup-mode.
13720
0dc04f42
RS
137212013-05-05 Richard Stallman <rms@gnu.org>
13722
6c54491c
RS
13723 * vc/compare-w.el (compare-windows-whitespace):
13724 Treat no-break space as whitespace.
13725
0dc04f42
RS
13726 * mail/rmailsum.el (rmail-summary-rmail-update):
13727 Detect empty summary and don't change selected message.
13728 (rmail-summary-goto-msg): Likewise.
13729
df8f35df
RS
13730 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13731 Doc fixes, rename args.
13732
5356e1a3
AM
137332013-05-05 Alan Mackenzie <acm@muc.de>
13734
13735 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13736
d44014cb
JL
137372013-05-05 Juri Linkov <juri@jurta.org>
13738
13739 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13740 to not add the length of the summary segment to the return value.
13741 (Bug#14125)
13742
c129b51f
LL
137432013-05-05 Leo Liu <sdl.web@gmail.com>
13744
13745 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13746 (inferior-octave-output-filter): Remove.
13747 (octave-send-region, inferior-octave-startup): Fix callers.
13748 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13749 (octave-binary-file-extensions): New user variable.
13750 (octave-find-definition): Confirm if opening binary files.
13751 (octave-help-file): Use octave-find-definition to get the binary
13752 confirmation.
13753 (octave-help): Adjust for octave-help-file change.
13754
aa7dab97
SM
137552013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13756
13757 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13758 Merge the two entries that handle function definitions.
13759 (pascal--syntax-propertize): New const.
13760 (pascal-mode): Use it. Use setq-local.
13761
fd3a9a6b
GM
137622013-05-04 Glenn Morris <rgm@gnu.org>
13763
13764 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13765 (diary-from-outlook): Respect diary-from-outlook-function.
13766
30c7e542
SM
137672013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13768
13769 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13770 Move the declaration from C.
13771 (read-minibuffer, eval-minibuffer): Move from C.
13772 (completion-setup-function): Avoid minibuffer-completion-contents.
13773
b54f978b
LL
137742013-05-03 Leo Liu <sdl.web@gmail.com>
13775
13776 * progmodes/octave.el (octave-font-lock-keywords): Do not
13777 dehighlight 'end' in comments or strings.
30c7e542
SM
13778 (octave-completing-read, octave-goto-function-definition):
13779 New helpers.
d4d0f9b3
LL
13780 (octave-help-buffer): New user variable.
13781 (octave-help-file, octave-help-function): New button types.
13782 (octave-help): New command and bind it to C-h ;.
13783 (octave-find-definition): New command and bind it to M-.
d74a1581 13784 (user-error): Alias to error if not defined.
b54f978b 13785
27135018
LL
137862013-05-02 Leo Liu <sdl.web@gmail.com>
13787
13788 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13789 for \. (bug#14332)
13790 (octave-font-lock-keywords): Include [ and {.
13791
0d634d3a
LL
137922013-05-02 Leo Liu <sdl.web@gmail.com>
13793
13794 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13795 (inferior-octave): Remove calling comint-mode and return the buffer.
13796 (inferior-octave-startup): Cosmetic changes.
13797
b4c8295e
LL
137982013-05-02 Leo Liu <sdl.web@gmail.com>
13799
30c7e542
SM
13800 * progmodes/octave.el (octave-syntax-propertize-function):
13801 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 13802
f12ad6ec
GM
138032013-05-02 Glenn Morris <rgm@gnu.org>
13804
13805 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13806 * desktop.el (vc-dir-mode): Just autoload it here.
13807
30cac1e0
AM
138082013-05-02 Alan Mackenzie <acm@muc.de>
13809
13810 Eliminate variable c-standard-font-lock-fontify-region-function.
13811 * progmodes/cc-mode.el
13812 (c-standard-font-lock-fontify-region-function): Remove.
13813 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13814
d8ef28b1
LL
138152013-05-01 Leo Liu <sdl.web@gmail.com>
13816
2640d52e 13817 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 13818 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 13819 variables were removed from Octave in 2007.
d8ef28b1
LL
13820 (inferior-octave-startup): Fix uses.
13821 (comint-line-beginning-position): Remove compatibility code for
13822 emacs 21.
13823
ac63ec89
JL
138242013-05-01 Juri Linkov <juri@jurta.org>
13825
13826 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13827
9e9be37c
JL
138282013-05-01 Juri Linkov <juri@jurta.org>
13829
13830 * comint.el (comint-previous-matching-input): Don't print message
13831 "History item: %d" when `isearch-mode' is active.
13832 (comint-history-isearch-message): Print message "History item: %d"
13833 when `comint-input-ring-index' is not empty and this function is
13834 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13835
9b92c13b
LL
138362013-05-01 Leo Liu <sdl.web@gmail.com>
13837
13838 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13839 definitions. Use completion-at-point to insert keywords.
13840 (octave-abbrev-start): Remove.
13841 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13842
b12d33d7
LL
138432013-04-30 Leo Liu <sdl.web@gmail.com>
13844
13845 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13846 change.
13847
3d1c39fa
AM
138482013-04-30 Alan Mackenzie <acm@muc.de>
13849
13850 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
13851 * progmodes/cc-engine.el (c-back-over-member-initializers):
13852 new function.
3d1c39fa
AM
13853 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13854 (most) member init lists.
13855
5147fc17
RS
138562013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13857
13858 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13859 variable.
13860
5b78d7fc
LL
138612013-04-30 Leo Liu <sdl.web@gmail.com>
13862
13863 * progmodes/octave.el (octave-variables): Remove. No builtin
13864 variables any more. All converted to functions.
13865 (octave-font-lock-keywords, octave-completion-at-point-function):
13866 Fix uses.
13867 (octave-font-lock-texinfo-comment): New user variable.
13868 (octave-texinfo-font-lock-keywords): New variable for texinfo
13869 comment block.
13870 (octave-function-comment-block): New face.
13871 (octave-font-lock-texinfo-comment): New function.
13872 (octave-mode): Font lock texinfo comment block.
13873
38d8527b
LL
138742013-04-29 Leo Liu <sdl.web@gmail.com>
13875
13876 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13877 indexing expression.
13878 (octave-continuation-string): Do not use \.
13879 (inferior-octave-complete-impossible): Remove.
13880 (inferior-octave-completion-table)
13881 (inferior-octave-completion-at-point): Remove its uses.
13882 (inferior-octave-startup): completion_matches was introduced to
13883 Octave in 1996 so safe to assume it.
13884 (octave-function-file-comment): Improve to follow how Octave does it.
13885 (octave-update-function-file-comment): Tweak.
13886
2ec12cb0
LL
138872013-04-29 Leo Liu <sdl.web@gmail.com>
13888
13889 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13890 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13891 (octave-function-file-comment): Fix typo.
13892 (octave-sync-function-file-names): Use read-char-choice.
13893
6eaed048
JB
138942013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13895
13896 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13897 to t for the less important warnings.
13898
3ffa2d4f
DH
138992013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13900
13901 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13902
685c9501
GM
139032013-04-27 Glenn Morris <rgm@gnu.org>
13904
13905 * vc/log-view.el (log-view-current-entry):
13906 Treat "---" separator lines as part of the following rev. (Bug#14169)
13907
0208ede7
JL
139082013-04-27 Juri Linkov <juri@jurta.org>
13909
13910 * subr.el (read-number): Doc fix about using it by interactive
13911 code letter `n'. (Bug#14254)
13912
5db9dace
JL
139132013-04-27 Juri Linkov <juri@jurta.org>
13914
13915 * desktop.el (desktop-auto-save-timeout): New option.
13916 (desktop-file-checksum): New variable.
13917 (desktop-save): Add optional arg `auto-save' and don't auto-save
13918 if nothing changed.
13919 (desktop-auto-save-timer): New variable.
13920 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13921 (after-init-hook): Call `desktop-auto-save-set-timer'.
13922 Suggested by Reuben Thomas <rrt@sc3d.org> in
13923 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13924
b7260dd4
LL
139252013-04-27 Leo Liu <sdl.web@gmail.com>
13926
13927 * progmodes/octave.el (octave-function-file-p)
13928 (octave-skip-comment-forward, octave-function-file-comment)
13929 (octave-update-function-file-comment): New functions.
13930 (octave-mode-map): Bind C-c ; to
13931 octave-update-function-file-comment.
13932 (octave-mode-menu): Add octave-update-function-file-comment.
13933 (octave-mode, inferior-octave-mode): Fix doc-string.
13934 (octave-insert-defun): Conform to Octave's coding convention.
13935 (Bug#14285)
13936
13937 * files.el (basic-save-buffer): Don't let errors in
13938 before-save-hook prevent saving buffer.
13939
c46da669
RW
139402013-04-20 Roland Winkler <winkler@gnu.org>
13941
13942 * faces.el (read-face-name): Use completing-read if arg multiple
13943 is nil.
13944
a81ee1eb
IL
139452013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13946
13947 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
13948 displayed, move point to after the totals line.
13949 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
13950 for the details.
13951
4fac34ce
SM
139522013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13953
13954 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13955 Add current dir to the load-path.
13956 (package-generate-autoloads): Don't rely on
13957 autoload-ensure-default-file.
13958
f6bfc063
RT
139592013-04-26 Reuben Thomas <rrt@sc3d.org>
13960
d40ab5cf
BG
13961 * textmodes/remember.el (remember-store-in-files): Document that
13962 the file name format is passed to `format-time-string'.
f6bfc063 13963
e55d3b04
LL
139642013-04-26 Leo Liu <sdl.web@gmail.com>
13965
13966 * progmodes/octave.el (octave-sync-function-file-names): New function.
13967 (octave-mode): Use it in before-save-hook.
13968
e53052d3
SM
139692013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13970
140ef50c
SM
13971 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13972 (bug#14274).
13973
e53052d3
SM
13974 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13975 \n and comment, even if it's not an implicit ; (bug#14218).
13976
af80458d 139772013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
13978
13979 * subr.el (read-number): Once more use `read' rather than
13980 `string-to-number', to trap non-numeric input. (Bug#14254)
13981
af80458d 139822013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
13983
13984 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13985 Use `syntax-multiline' text property consistently instead of
8a621d53 13986 `font-lock-multiline'. (Bug#14237)
70203c2e 13987
e6ea1f6c
GM
139882013-04-26 Glenn Morris <rgm@gnu.org>
13989
13990 * emacs-lisp/shadow.el (list-load-path-shadows):
13991 No longer necessary to check for duplicate simple.el, since
13992 2012-07-07 change to init_lread to not include installation lisp
13993 directories in load-path when running uninstalled. (Bug#14270)
13994
070ccca4
LL
139952013-04-26 Leo Liu <sdl.web@gmail.com>
13996
13997 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13998 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 13999 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
14000 octave-in-string-or-comment-p.
14001 (octave-in-comment-p, octave-in-string-p)
14002 (octave-in-string-or-comment-p): Replace defsubst with defun.
14003
9d1c5fb6
PE
140042013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14005
14006 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14007
c034abda
BG
140082013-04-25 Bastien Guerry <bzg@gnu.org>
14009
14010 * textmodes/remember.el (remember-data-directory)
14011 (remember-directory-file-name-format): Fix custom types.
14012
584ea277
LL
140132013-04-25 Leo Liu <sdl.web@gmail.com>
14014
e53052d3
SM
14015 * progmodes/octave.el (octave-completion-at-point-function):
14016 Make use of inferior octave process.
584ea277
LL
14017 (octave-initialize-completions): Remove.
14018 (inferior-octave-completion-table): New function.
14019 (inferior-octave-completion-at-point): Use it.
14020 (octave-completion-alist): Remove.
14021
1693b06a
SM
140222013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14023
14024 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14025 (opascal-mode-syntax-table): New var.
14026 (opascal-literal-kind, opascal-is-literal-end)
14027 (opascal-literal-token-at): Rewrite.
14028 (opascal--literal-start-re, opascal-font-lock-keywords)
14029 (opascal--syntax-propertize): New constants.
14030 (opascal-font-lock-defaults): Adjust.
14031 (opascal-mode): Use them. Set comment-<foo> variables as well.
14032 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14033 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14034 (delphi-other-face, opascal-other-face): Remove face variables.
14035 (opascal-save-state): Remove macro.
14036 (opascal-fontifying-progress-step): Remove constant.
14037 (opascal--ignore-changes): Remove var.
14038 (opascal-set-token-property, opascal-parse-next-literal)
14039 (opascal-is-stable-literal, opascal-complete-literal)
14040 (opascal-is-literal-start, opascal-face-of)
14041 (opascal-parse-region, opascal-parse-region-until-stable)
14042 (opascal-fontify-region, opascal-after-change)
14043 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14044 (opascal-debug-parse-region, opascal-debug-parse-window)
14045 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14046 (opascal-debug-fontify-buffer): Remove.
14047 (opascal-debug-mode-map): Adjust accordingly.
14048
be64c05d
LL
140492013-04-25 Leo Liu <sdl.web@gmail.com>
14050
14051 Merge octave-mod.el and octave-inf.el into octave.el with some
14052 cleanups.
14053 * progmodes/octave.el: New file renamed from octave-mod.el.
14054 * progmodes/octave-inf.el: Merged into octave.el.
14055 * progmodes/octave-mod.el: Renamed to octave.el.
14056
d79d37bd
TH
140572013-04-25 Tassilo Horn <tsdh@gnu.org>
14058
14059 * textmodes/reftex-vars.el
14060 (reftex-label-ignored-macros-and-environments): New defcustom.
14061
14062 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14063
ced3fc5d
SM
140642013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14065
14066 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14067 (smie-indent-keyword): Improve the check to ensure that the next
14068 comment is really on the same line.
14069 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14070
14071 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14072 semi-colons if the line is not otherwise empty (bug#14218).
14073
1c141dad
GM
140742013-04-25 Glenn Morris <rgm@gnu.org>
14075
14076 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14077
5058062a
SM
140782013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14079
14080 * progmodes/opascal.el (opascal-set-token-property): Rename from
14081 opascal-set-text-properties and only set `token' (bug#14134).
14082 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14083 (opascal-literal-text-properties): Remove.
14084 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14085 Adjust callers.
14086
5db9dace 140872013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
14088
14089 * textmodes/remember.el (remember-handler-functions): Add an
14090 option for a new handler `remember-store-in-files'.
14091 (remember-data-directory, remember-directory-file-name-format):
14092 New options.
14093 (remember-store-in-files): New function to store remember notes
14094 as separate files within a directory.
14095
4391916c
MH
140962013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14097
14098 * progmodes/compile.el (compilation-next-error-function):
14099 Pass "formats" to compilation-find-file (bug#11777).
14100
bb7cdf58
GM
141012013-04-24 Glenn Morris <rgm@gnu.org>
14102
3b8fe752 14103 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
14104 * vc/vc-hg.el (vc-hg-print-log):
14105 * vc/vc-svn.el (vc-svn-print-log):
14106 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14107
bb7cdf58
GM
14108 * vc/vc-bzr.el (vc-bzr-print-log):
14109 * vc/vc-cvs.el (vc-cvs-print-log):
14110 * vc/vc-git.el (vc-git-print-log):
14111 * vc/vc-hg.el (vc-hg-print-log):
14112 * vc/vc-mtn.el (vc-mtn-print-log):
14113 * vc/vc-rcs.el (vc-rcs-print-log):
14114 * vc/vc-sccs.el (vc-sccs-print-log):
14115 * vc/vc-svn.el (vc-svn-print-log):
14116 * vc/vc.el (vc-print-log-internal): Doc fixes.
14117
b46a056e
GM
141182013-04-23 Glenn Morris <rgm@gnu.org>
14119
14120 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14121 Remove venerable code attempting to avoid substitute-command-keys.
14122
0aecf718
TH
141232013-04-23 Tassilo Horn <tsdh@gnu.org>
14124
4391916c
MH
14125 * textmodes/reftex-vars.el (reftex-label-regexps):
14126 Call `reftex-compile-variables' after changes to this variable.
0aecf718 14127
117f94cf
SM
141282013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14129
4391916c 14130 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
14131 Use lexical-binding.
14132 (jit-lock-force-redisplay): Use markers, check buffer's continued
14133 existence and beware narrowed buffers.
14134 (jit-lock-fontify-now): Adjust call accordingly.
14135
1d829c64
SM
141362013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14137
14138 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14139 to avoid misleading the user.
14140
72d548a9
LL
141412013-04-22 Leo Liu <sdl.web@gmail.com>
14142
14143 * info-look.el: Prefer latex2e.info. (Bug#14240)
14144
d0853629
MA
141452013-04-22 Michael Albinus <michael.albinus@gmx.de>
14146
14147 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14148
14149 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 14150 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
14151 (tramp-set-completion-function, tramp-parse-putty):
14152 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14153 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14154 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14155 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14156 (tramp-call-local-coding-command): Use `tramp-call-process'
14157 instead of `tramp-compat-call-process'.
14158
14159 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14160 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 14161 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 14162 (tramp-find-inline-compress): Improve traces.
d0853629
MA
14163 (tramp-maybe-send-script): Check for Perl binary.
14164 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14165
38cc0210
DU
141662013-04-22 Daiki Ueno <ueno@gnu.org>
14167
14168 * epg.el (epg-context-pinentry-mode): New function.
14169 (epg-context-set-pinentry-mode): New function.
14170 (epg--start): Pass --pinentry-mode option to gpg command.
14171
cc641ee1
XF
141722013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14173
02d844b5 14174 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 14175 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 14176 `completion-at-point'. (Bug#13774)
5d4e5c31 14177
cc641ee1
XF
14178 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14179 default key binding for `describe-distribution' has been moved to
14180 `C-h C-o'. (Bug#13970)
14181
1b42ee43
GM
141822013-04-21 Glenn Morris <rgm@gnu.org>
14183
14184 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14185 Add doc strings.
14186 (vc-print-log): Clarify interactive prompt.
14187
a6d63d97
GM
141882013-04-20 Glenn Morris <rgm@gnu.org>
14189
14190 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14191 No longer include timestamp etc information.
14192
d7f5c16f
RW
141932013-04-20 Roland Winkler <winkler@gnu.org>
14194
14195 * faces.el (read-face-name): Bug fix, return just one face if arg
14196 multiple is nil. (Bug#14209)
14197
bcd7a0a4
SM
141982013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14199
14200 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14201 (remove-function): Autoload.
14202
14203 * comint.el (comint-redirect-original-filter-function): Remove.
14204 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
14205 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14206 (vc-cvs-annotate-command):
bcd7a0a4
SM
14207 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14208 * progmodes/prolog.el (prolog-consult-compile):
14209 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14210 Use add/remove-function instead.
14211 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14212 (gud-tooltip-process-output, gud-tooltip-tips):
14213 Use add/remove-function instead.
14214 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14215 (scheme-interaction-mode, exit-scheme-interaction-mode):
14216 Use add/remove-function instead.
14217
14218 * vc/vc-dispatcher.el: Use lexical-binding.
14219 (vc--process-sentinel): Rename from vc-process-sentinel.
14220 Change last arg to be the code to run. Don't use vc-previous-sentinel
14221 and vc-sentinel-commands any more.
14222 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14223 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14224
e36b2d20 142252013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 14226
bcd7a0a4 14227 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 14228 Handle function names with a single character. (Bug#14111)
4d3268ba 14229
27821a89 142302013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
14231
14232 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14233 for subroutines defined in an eval (bug#14182).
14234
7d688336
TV
142352013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14236
14237 * bookmark.el (bookmark-completing-read): Improve handling of empty
14238 string (bug#14176).
14239
31dcede0
SM
142402013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14241
14242 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14243
adc31213
FEG
142442013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14245
14246 New faster Imenu implementation (bug#14058).
9b017563 14247 * progmodes/python.el (python-imenu-prev-index-position)
adc31213
FEG
14248 (python-imenu-format-item-label-function)
14249 (python-imenu-format-parent-item-label-function)
14250 (python-imenu-format-parent-item-jump-label-function):
14251 New vars.
14252 (python-imenu-format-item-label)
14253 (python-imenu-format-parent-item-label)
14254 (python-imenu-format-parent-item-jump-label)
14255 (python-imenu--put-parent, python-imenu--build-tree)
14256 (python-imenu-create-index, python-imenu-create-flat-index)
14257 (python-util-popn): New functions.
14258 (python-mode): Set imenu-create-index-function to
14259 python-imenu-create-index.
14260
cdca8255
SM
142612013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14262
14263 * winner.el (winner-active-region): Use region-active-p, activate-mark
14264 and deactivate-mark (bug#14225).
14265
14266 * simple.el (deactivate-mark): Don't inline it.
14267
beb42340
MA
142682013-04-18 Michael Albinus <michael.albinus@gmx.de>
14269
14270 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14271
fc7f4d7e
TH
142722013-04-18 Tassilo Horn <tsdh@gnu.org>
14273
14274 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14275 file extensions from the archive-mode entry in order to prefer
14276 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14277
29f47822
LL
142782013-04-18 Leo Liu <sdl.web@gmail.com>
14279
14280 * bindings.el (help-event-list): Add ?\?.
14281
d36ed1c8
SM
142822013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14283
14284 * subr.el (with-wrapper-hook): Declare obsolete.
14285 * simple.el (filter-buffer-substring-function): New hook.
14286 (filter-buffer-substring): Use it.
14287 (filter-buffer-substring-functions): Mark obsolete.
14288 * minibuffer.el (completion-in-region-function): New hook.
14289 (completion-in-region): Use it.
14290 (completion-in-region-functions): Mark obsolete.
14291 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14292 * abbrev.el (abbrev-expand-function): New hook.
14293 (expand-abbrev): Use it.
14294 (abbrev-expand-functions): Mark obsolete.
14295 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14296 and :filter-return.
14297
04754d36
FEG
142982013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14299
14300 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14301 and do not care about match data.
14302
dd8791e9
SM
143032013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14304
14305 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14306 completion tables when completing error conditions and
14307 `declare' arguments.
14308 (lisp-complete-symbol, field-complete): Mark as obsolete.
14309 (check-parens): Unmatched parens are user errors.
14310 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14311
ffe54a13
AM
143122013-04-17 Michal Nazarewicz <mina86@mina86.com>
14313
dd8791e9
SM
14314 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14315 command changed buffer (ie. `flyspell-pre-buffer' is not current
14316 buffer), which prevents making decisions based on invalid value of
14317 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14318 cause an error when `flyspell-pre-point' was nil after switching
14319 buffers.
14320 (flyspell-post-command-hook): No longer needs to change buffers when
14321 checking pre-word. While at it remove unnecessary progn.
ffe54a13 14322
ec7e39f2
AM
143232013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14324
14325 * textmodes/ispell.el (ispell-add-per-file-word-list):
14326 Fix `flyspell-correct-word-before-point' error when accepting
14327 words and `coment-padding' is an integer by using
14328 `comment-normalize-vars' (Bug #14214).
14329
083850a6
FEG
143302013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14331
14332 New defun movement commands.
14333 * progmodes/python.el (python-nav--syntactically)
14334 (python-nav--forward-defun, python-nav-backward-defun)
14335 (python-nav-forward-defun): New functions.
14336
619ed6e1
FEG
143372013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14338
14339 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14340 (python-syntax-context): Use named compiler-macro for backwards
14341 compatibility with Emacs 24.x.
14342
7a1beb6c
LL
143432013-04-17 Leo Liu <sdl.web@gmail.com>
14344
14345 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14346 octave-hide-process-buffer.
14347
2d3fa3e5
SM
143482013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14349
14350 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14351 (bug#14216).
14352
7ce5be54
JPG
143532013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14354
14355 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14356 Fix adjustment of offset when receiving incomplete responses from GDB
14357 (bug#14129).
14358
351edece
SM
143592013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14360
14361 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14362 python-mode-abbrev-table.
14363 (python-skeleton-define): Adjust accordingly.
14364 (python-mode-abbrev-table): New table that inherits from it so that
14365 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14366
14367 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14368 (abbrev-symbol): Use it.
14369 (abbrev--before-point): Use it since we already handle inheritance.
14370
613f9481
LL
143712013-04-16 Leo Liu <sdl.web@gmail.com>
14372
14373 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14374 binding to info-lookup-symbol.
14375
51646b62
JB
143762013-04-16 Juanma Barranquero <lekktu@gmail.com>
14377
14378 * minibuffer.el (completion--twq-all):
14379 * term/ns-win.el (ns-initialize-window-system):
14380 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14381
efb3f01d
SM
143822013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14383
36c0a301
SM
14384 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14385 global bindings.
14386
efb3f01d
SM
14387 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14388
fb549d64
DG
143892013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14390
14391 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14392 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14393 to nil.
14394 (ruby-end-of-defun): Remove the unused arg, change the docstring
14395 to reflect that this function is only used as the value of
14396 `end-of-defun-function'.
14397 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14398 to reflect an earlier change that beginning/end-of-defun functions
14399 jump between methods in a class definition, as well as top-level
14400 functions.
14401
21e8fe2f
SM
144022013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14403
14404 * minibuffer.el (minibuffer-complete): Don't just scroll
14405 a *Completions* that's been iconified.
14406 (minibuffer-force-complete): Make sure repetitions do cycle when going
14407 through completion-in-region -> minibuffer-complete.
14408
20e527d0
AM
144092013-04-15 Alan Mackenzie <acm@muc.de>
14410
14411 Correct the placement of c-cpp-delimiters when there're #s not at
14412 col 0.
14413
14414 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14415 place a submatch around the #.
21e8fe2f
SM
14416 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14417 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
14418 on the #, not BOL.
14419
dabefae5
SM
144202013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14421
14422 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14423 (advice--member-p): New arg `name'.
14424 (advice--add-function, advice-member-p): Use it (bug#14202).
14425
85c9ab64
AM
144262013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14427
14428 Reformulate java imenu-generic-expression.
14429 The old expression contained ill formed regexps.
14430
14431 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14432 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14433 (cc-imenu-java-method-arg-regexp): New defconsts.
14434 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 14435 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
14436 handling of spaces in the regexp.
14437
0f821d99
AM
144382013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14439
14440 * textmodes/ispell.el (ispell-command-loop): Remove
14441 flyspell highlight of a word when ispell accepts it (bug #14178).
14442
eb922adf
MA
144432013-04-15 Michael Albinus <michael.albinus@gmx.de>
14444
14445 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14446 uses code from the previous `ange-ftp-run-real-handler'.
14447 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14448 only in case that function exist. This is needed for proper
14449 unloading of Tramp.
14450
4d9a0979
TH
144512013-04-15 Tassilo Horn <tsdh@gnu.org>
14452
14453 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14454
14455 * textmodes/reftex.el (reftex-compile-variables): Use it.
14456
a829b0dc
SM
144572013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14458
91e8293c
SM
14459 * files.el (normal-mode): Only use default major-mode if no other mode
14460 was specified.
14461
830aed4d
SM
14462 * emacs-lisp/trace.el (trace-values): New function.
14463
a829b0dc
SM
14464 * files.el: Allow : in local variables (bug#14089).
14465 (hack-local-variable-regexp): New var.
14466 (hack-local-variables-prop-line, hack-local-variables): Use it.
14467
7ae9f0fb
RW
144682013-04-13 Roland Winkler <winkler@gnu.org>
14469
14470 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14471 data before it gets modified by bibtex-beginning-of-entry.
14472
6646e848
RW
144732013-04-13 Roland Winkler <winkler@gnu.org>
14474
14475 * textmodes/bibtex.el (bibtex-url): Doc fix.
14476
144772013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
14478
14479 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14480 does not visit a BibTeX file, exclude it from the list of buffers
14481 returned by bibtex-initialize.
14482
0aa3616e
SB
144832013-04-13 Stephen Berman <stephen.berman@gmx.net>
14484
14485 * window.el (split-window): Remove interactive form, since as a
14486 command this function is a special case of split-window-below.
14487 Correct doc string.
14488
011cddd6
RW
144892013-04-12 Roland Winkler <winkler@gnu.org>
14490
14491 * faces.el (read-face-name): Do not override value of arg default.
14492 Allow single faces and strings as default values. Remove those
14493 elements from return value that are not faces.
14494 (describe-face): Simplify.
14495 (face-at-point): New optional args thing and multiple so that this
14496 function can provide the same functionality previously provided by
14497 read-face-name.
14498 (make-face-bold, make-face-unbold, make-face-italic)
14499 (make-face-unitalic, make-face-bold-italic, invert-face)
14500 (modify-face, read-face-and-attribute): Use face-at-point.
14501
14502 * cus-edit.el (customize-face, customize-face-other-window)
14503 * cus-theme.el (custom-theme-add-face)
14504 * face-remap.el (buffer-face-set)
14505 * facemenu.el (facemenu-set-face): Use face-at-point.
14506
f24e0036
MA
145072013-04-12 Michael Albinus <michael.albinus@gmx.de>
14508
14509 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14510
da3cda2d
TH
145112013-04-10 Tassilo Horn <tsdh@gnu.org>
14512
14513 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14514 off leading { and trailing } from field values.
14515
15e54145
SM
145162013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14517
78ce603d
SM
14518 * emacs-lisp/timer.el (timer--check): New function.
14519 (timer--time, timer-set-function, timer-event-handler): Use it.
14520 (timer-set-idle-time): Simplify.
14521 (timer--activate): CSE.
14522 (timer-event-handler): Give more info in error message.
14523 (internal-timer-start-idle): New function, moved from C.
14524
15e54145
SM
14525 * mpc.el (mpc-proc): Add `restart' argument.
14526 (mpc-proc-cmd): Use it.
14527 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14528 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14529 less often.
14530
7144c627
MY
145312013-04-10 Masatake YAMATO <yamato@redhat.com>
14532
14533 * progmodes/sh-script.el: Implement `sh-mode' own
14534 `add-log-current-defun-function' (bug#14112).
14535 (sh-current-defun-name): New function.
14536 (sh-mode): Use the function.
14537
b39792eb
BG
145382013-04-09 Bastien Guerry <bzg@gnu.org>
14539
14540 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14541
8acdeb71
SM
145422013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14543
6fcdab68
SM
14544 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14545
8acdeb71
SM
14546 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14547 timer (bug#14156).
14548
e3e7b504
NF
145492013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14550
14551 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14552 declaration.
14553
201bb296
LL
145542013-04-07 Leo Liu <sdl.web@gmail.com>
14555
14556 * pcmpl-x.el: New file.
14557
ebb19708
DA
145582013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14559
14560 Do not set x-display-name until X connection is established.
14561 This is needed to prevent from weird situation described at
14562 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14563 * frame.el (make-frame): Set x-display-name after call to
14564 window system initialization function, not before.
14565 * term/x-win.el (x-initialize-window-system): Add optional
14566 display argument and use it.
14567 * term/w32-win.el (w32-initialize-window-system):
14568 * term/ns-win.el (ns-initialize-window-system):
14569 * term/pc-win.el (msdos-initialize-window-system):
14570 Add compatible optional display argument.
14571
33bb237a
EZ
145722013-04-06 Eli Zaretskii <eliz@gnu.org>
14573
14574 * files.el (normal-backup-enable-predicate): On MS-Windows and
14575 MS-DOS compare truenames of temporary-file-directory and of the
14576 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14577 don't fail comparison by compare-strings. Also, compare file
14578 names case-insensitively on MS-Windows and MS-DOS.
14579
134abf1f
SM
145802013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14581
14582 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14583 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14584
d695cb94
DG
145852013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14586
e3e7b504
NF
14587 * whitespace.el (whitespace-color-on, whitespace-color-off):
14588 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 14589
f4ad7ea1 145902013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
14591
14592 * ispell.el (ispell-set-spellchecker-params):
14593 Really set `ispell-args' for all equivs.
14594
632556e4
SM
145952013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14596
14597 * ido.el (ido-completions): Use extra elements of ido-decorations
14598 (bug#14143).
14599 (ido-decorations): Update docstring.
14600
2a417372
MA
146012013-04-05 Michael Albinus <michael.albinus@gmx.de>
14602
14603 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14604 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14605 nil during initialization, in order not to miss changes since the
14606 file was opened. (Bug#14140)
14607
fc164b0c
LL
146082013-04-05 Leo Liu <sdl.web@gmail.com>
14609
14610 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14611
0ccecc08
JB
146122013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14613
14614 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14615
51af1aa2
GM
146162013-04-04 Glenn Morris <rgm@gnu.org>
14617
14618 * electric.el (electric-pair-inhibit-predicate): Add :version.
14619
b208ebc6
SM
146202013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14621
14622 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14623 when a package is required several times (bug#14082).
14624
f3d3eaf0
RW
146252013-04-04 Roland Winkler <winkler@gnu.org>
14626
14627 * faces.el (read-face-name): Behave as promised by the docstring.
14628 Assume that arg default is a list of faces.
14629 (describe-face): Call read-face-name with list of default faces.
14630
2575da50
TV
146312013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14632
14633 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14634 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14635 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14636 the header.
14637 (bookmark-exit-hook-internal): Save even if list is empty.
14638
397703b4
YH
146392013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14640
14641 * emacs-lisp/package.el (package-pinned-packages): New var.
14642 (package--add-to-archive-contents): Obey it (bug#14118).
14643
691e26ae
AM
146442013-04-03 Alan Mackenzie <acm@muc.de>
14645
8a621d53
JB
14646 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14647 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
14648
14649 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14650 parameter `not-in-delimiter'. Handle being inside comment opener.
14651 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14652 character in case we're typing a '*' after a '/'.
14653 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14654 instead by passing the parameter to c-state-pp-to-literal.
14655
14656 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14657 for elt. 7 of a parse state.
14658
4b725a70
PE
146592013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14660
14661 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14662 * international/latin1-disp.el, international/mule-util.el:
14663 * language/cyril-util.el, language/european.el, language/ind-util.el:
14664 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14665 * language/tibetan.el, language/viet-util.el:
14666 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14667
15c579f0
SM
146682013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14669
14670 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14671 (electric-pair-post-self-insert-function): Use it.
14672 (electric-pair-default-inhibit): New function, extracted from
14673 electric-pair-post-self-insert-function.
14674
a77e2924
RW
146752013-03-31 Roland Winkler <winkler@gnu.org>
14676
14677 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14678
2bd8a4a8
SM
146792013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14682
8d3655be 146832013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
14684
14685 Un-indent after "pass" and "return" statements (Bug#13888)
14686 * progmodes/python.el (python-indent-block-enders): New var.
14687 (python-indent-calculate-indentation): Use it.
14688
8d3655be 146892013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
14690
14691 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14692 defun. Defining it as defalias could introduce too eager
14693 byte-compiler optimization. (Bug#14030)
14694
8d3655be 146952013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
14696
14697 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14698
0b1619da
LL
146992013-03-30 Leo Liu <sdl.web@gmail.com>
14700
14701 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14702 (kmacro-execute-from-register): Pass the keyboard macro to
14703 kmacro-call-macro or repeating won't work correctly.
14704
0b938190
TZ
147052013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14706
14707 * progmodes/subword.el: Back to using `forward-symbol'.
14708
14709 * subr.el (forward-whitespace, forward-symbol)
14710 (forward-same-syntax): Move from thingatpt.el.
14711
35710234
LL
147122013-03-29 Leo Liu <sdl.web@gmail.com>
14713
14714 * kmacro.el (kmacro-to-register): New command.
14715 (kmacro-execute-from-register): New function.
14716 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14717
efc0bb73
SM
147182013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14719
14720 * mpc.el: Use defvar-local and setq-local.
14721 (mpc--proc-connect): Connection failures are not bugs.
14722 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14723 (mpc-volume-map): Bind to the up-events.
14724
75a2f981
TZ
147252013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14726
14727 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14728 instead of `forward-symbol'.
14729
17c781d1
SM
147302013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14733 (edebug--recursive-edit): Use it.
14734 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14735 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14736
f67bfbcf
LL
147372013-03-28 Leo Liu <sdl.web@gmail.com>
14738
14739 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14740
b59f639d
EZ
147412013-03-27 Eli Zaretskii <eliz@gnu.org>
14742
14743 * facemenu.el (list-colors-callback): New defvar.
14744 (list-colors-redisplay): New function.
14745 (list-colors-display): Install list-colors-redisplay as the
14746 revert-buffer-function. (Bug#14063)
14747
f557c1b1
SM
147482013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14749
b1da2957
SM
14750 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14751 and suffixes don't overlap (bug#14061).
14752
f557c1b1
SM
14753 * case-table.el: Use lexical-binding.
14754 (case-table-get-table): New function.
14755 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14756
002668e1
TZ
147572013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14758
14759 * progmodes/subword.el: Add `superword-mode' to do word motion
14760 over symbol_words (parallels and leverages `subword-mode' which
14761 does word motion inside MixedCaseWords).
14762
73572c72
AG
147632013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14764
78b8f320 14765 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 14766 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 14767
69b2c07e
SM
147682013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14769
14770 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14771 Change return value to be a sexp. Delay `get-buffer' to after
14772 restoring the desktop (bug#13951).
14773
08bb5ee2
LL
147742013-03-26 Leo Liu <sdl.web@gmail.com>
14775
14776 * register.el: Move semantic tag handling back to
14777 cedet/semantic/senator.el. (Bug#14052)
14778
8d4c974e
SM
147792013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14780
14781 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14782 into the prompt either (bug#13963).
14783
b234d92c
SM
147842013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14785
14786 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14787 part of "(error-foo)".
14788
ddfa3cb4
JL
147892013-03-24 Juri Linkov <juri@jurta.org>
14790
14791 * replace.el (list-matching-lines-prefix-face): New defcustom.
14792 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14793 `occur-engine' if `face-differs-from-default-p' returns t.
14794 (occur-engine): Add `,' inside backquote construct to evaluate
14795 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14796 Pass `prefix-face' to the functions `occur-context-lines' and
14797 `occur-engine-add-prefix'.
14798 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14799 `prefix-face' and propertize the prefix with `prefix-face'.
14800 (Bug#14017)
14801
7b0e2f85
LL
148022013-03-24 Leo Liu <sdl.web@gmail.com>
14803
14804 * nxml/rng-valid.el (rng-validate-while-idle)
14805 (rng-validate-quick-while-idle): Guard against deleted buffer.
14806 (Bug#13999)
14807
14808 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14809 is the last entry in kill-buffer-hook.
14810
14811 * files.el (kill-buffer-hook): Doc fix.
14812
b3082f49
DG
148132013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14814
b234d92c
SM
14815 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14816 Make it safe-local.
bde73d27 14817
b3082f49
DG
14818 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14819
a320a2db
LL
148202013-03-23 Leo Liu <sdl.web@gmail.com>
14821
7e74b0fb
LL
14822 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14823 Remove.
14824
14825 * nxml/rng-valid.el (rng-validate-mode)
14826 (rng-after-change-function, rng-do-some-validation):
14827 * nxml/rng-maint.el (rng-validate-buffer):
14828 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14829 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14830 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14831 (nxml-extend-after-change-region): Use with-silent-modifications.
14832
a320a2db
LL
14833 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14834 timer-idle-list.
14835
14836 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14837 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14838 timer-idle-list. (Bug#13999)
14839
e38e6780
JL
148402013-03-23 Juri Linkov <juri@jurta.org>
14841
14842 * info.el (info-index-match): New face.
14843 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14844 main pattern and add text properties with the new face to matches
14845 in index entries relative to the beginning of the index entry.
14846 (Bug#14015)
14847
e8cc7880
DE
148482013-03-21 Eric Ludlam <zappo@gnu.org>
14849
39c87140 14850 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
14851 Inhibit read only while inserting objects.
14852
9bb0d822
TZ
148532013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14854
14855 * progmodes/cfengine.el: Update docs to mention
14856 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14857 symbol motion. Remove "_" from the word syntax.
14858
aa703640
TZ
148592013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14860
14861 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14862 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14863
afff09d0
JL
148642013-03-20 Juri Linkov <juri@jurta.org>
14865
14866 * info.el (Info-next-reference-or-link)
14867 (Info-prev-reference-or-link): New functions.
14868 (Info-next-reference, Info-prev-reference): Use them.
14869 (Info-try-follow-nearest-node): Handle footnote navigation.
14870 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14871
9a1ff164
SM
148722013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14873
14874 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14875 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14876
2667d15d
PE
148772013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14878
14879 Suppress unnecessary non-ASCII chatter during build process.
14880 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14881 (batch-skkdic-convert): Suppress most of the chatter.
14882 It's not needed so much now that machines are faster,
14883 and its non-ASCII component was confusing; see Dmitry Gutov in
14884 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14885
438b0579
LL
148862013-03-20 Leo Liu <sdl.web@gmail.com>
14887
14888 * ido.el (ido-chop): Fix bug#10994.
14889
c128ab07
DG
148902013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14891
14892 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14893 Remove vars.
9a1ff164
SM
14894 (whitespace-color-on, whitespace-color-off):
14895 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 14896
0e6008c5
SM
148972013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14898
14899 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14900 remapping in mode-line.
14901 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14902
627b52b0
DG
149032013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14904
14905 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14906 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
14907 (whitespace-font-lock-keywords): Change description.
14908 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14909 the constructed keywords instead.
14910 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 14911
50c3a20b
LL
149122013-03-19 Leo Liu <sdl.web@gmail.com>
14913
14914 * progmodes/compile.el (compilation-display-error): New command.
14915 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14916 C-o. (Bug#13992)
14917
2aa2157b
PE
149182013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14919
14920 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14921
e477dbfa
JD
149222013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14923
14924 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14925
64ab82d1
MA
149262013-03-18 Michael Albinus <michael.albinus@gmx.de>
14927
14928 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14929
14930 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14931 * net/tramp-gvfs.el (top):
14932 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14933 (tramp-handle-shell-command): Use it.
14934 (tramp-dissect-file-name): Raise an error when hostname is a
14935 method name, and neither method nor user is specified.
14936
14937 * net/trampver.el: Update release number.
14938
33cef733
LL
149392013-03-18 Leo Liu <sdl.web@gmail.com>
14940
14941 Make sure eldoc can be turned off properly.
14942 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14943 eldoc-mode.
14944 (eldoc-display-message-p): Revert last change.
14945 (eldoc-display-message-no-interference-p)
14946 (eldoc-print-current-symbol-info): Tweak.
14947
2167b7b2
TH
149482013-03-18 Tassilo Horn <tsdh@gnu.org>
14949
14950 * doc-view.el (doc-view-new-window-function): Check the new window
14951 overlay's display property instead the char property of the
14952 buffer's first char. Use `with-selected-window' instead of
14953 `save-window-excursion' with `select-window'.
14954 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 14955 display property instead the char property of the buffer's first char.
2167b7b2 14956
982efbcd
PE
149572013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14958
14959 Automate the build of ja-dic.el (Bug#13984).
14960 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14961 from the input, rather than assume that it's been done for us by the
14962 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14963 the current date into a ja-dic.el comment, as that complicates
14964 regression testing.
14965
2fcc7665
SM
149662013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14967
14968 * whitespace.el: Fix double evaluation.
14969 (whitespace-space, whitespace-hspace, whitespace-tab)
14970 (whitespace-newline, whitespace-trailing, whitespace-line)
14971 (whitespace-space-before-tab, whitespace-indentation)
14972 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14973 obsolete defvars.
14974 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14975 (whitespace-color-on): Use a single font-lock-add-keywords call.
14976 Fix double-evaluation of face variables.
14977
67c0a6e6
MA
149782013-03-17 Michael Albinus <michael.albinus@gmx.de>
14979
2fcc7665
SM
14980 * net/tramp-adb.el (tramp-adb-parse-device-names):
14981 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 14982 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 14983
69489f1d
LL
149842013-03-17 Leo Liu <sdl.web@gmail.com>
14985
14986 Extend eldoc to display info in the mode-line. (Bug#13978)
14987 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14988 (eldoc-mode-line-string): New variable.
14989 (eldoc-minibuffer-message): New function.
14990 (eldoc-message-function): New variable.
14991 (eldoc-message): Use it.
14992 (eldoc-display-message-p)
2fcc7665
SM
14993 (eldoc-display-message-no-interference-p):
14994 Support eldoc-post-insert-mode.
69489f1d
LL
14995
14996 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14997 (eval-expression): Run it.
14998
9c44569e
RW
149992013-03-17 Roland Winkler <winkler@gnu.org>
15000
15001 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15002 strings in the list of return values.
15003
327f1f6f
JB
150042013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15005
15006 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15007 radix before checking for HMS forms.
15008
67ed8fcd
LL
150092013-03-16 Leo Liu <sdl.web@gmail.com>
15010
15011 * progmodes/scheme.el: Add indentation and font-locking for λ.
15012 (Bug#13975)
15013
78be8b64 150142013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
15015
15016 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15017 token before point (bug#13942).
15018
78be8b64 150192013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 15020
95b43468 15021 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 15022
98e775e6
EZ
150232013-03-16 Eli Zaretskii <eliz@gnu.org>
15024
15025 * startup.el (command-line-normalize-file-name): Fix handling of
15026 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15027 <xfq.free@gmail.com> in
15028 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15029
2edd6029
MA
150302013-03-15 Michael Albinus <michael.albinus@gmx.de>
15031
15032 Sync with Tramp 2.2.7.
15033
15034 * net/trampver.el: Update release number.
15035
d35f5864
TH
150362013-03-14 Tassilo Horn <tsdh@gnu.org>
15037
e903c210 15038 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
15039 (doc-view-insert-image): Don't modify overlay associated to
15040 non-live windows, and implement horizontal centering of image in
15041 case it's smaller than the window.
15042 (doc-view-new-window-function): Force redisplay of new windows on
15043 doc-view buffers.
d35f5864 15044
1c4a85ed
KF
150452013-03-13 Karl Fogel <kfogel@red-bean.com>
15046
15047 * saveplace.el (save-place-alist-to-file): Don't sort
15048 `save-place-alist', just pretty-print it (bug#13882).
15049
85b66a21
MA
150502013-03-13 Michael Albinus <michael.albinus@gmx.de>
15051
a020afb9
JB
15052 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15053 Check whether `default-file-name-coding-system' is bound.
15054 It isn't in XEmacs.
85b66a21 15055
175600da
SM
150562013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15057
e7f7cb1a
SM
15058 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15059 backquotes for `obsolete' (bug#13929).
15060
175600da
SM
15061 * international/mule.el (find-auto-coding): Include file name in
15062 obsolescence warning (bug#13922).
15063
ca68a22e
TZ
150642013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15065
15066 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15067 for CFEngine 3-specific indentation.
15068 (cfengine3-indent-line): Use it. Fix up category regex.
15069 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15070
940e5099
SM
150712013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15072
15073 * type-break.el (type-break-file-name):
15074 * textmodes/remember.el (remember-data-file):
15075 * strokes.el (strokes-file):
15076 * shadowfile.el (shadow-initialize):
15077 * saveplace.el (save-place-file):
15078 * ps-bdf.el (bdf-cache-file):
15079 * progmodes/idlwave.el (idlwave-config-directory):
15080 * net/quickurl.el (quickurl-url-file):
15081 * international/kkc.el (kkc-init-file-name):
15082 * ido.el (ido-save-directory-list-file):
15083 * emulation/viper.el (viper-custom-file-name):
15084 * emulation/vip.el (vip-startup-file):
15085 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15086 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15087
cc725808
PE
150882013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15089
15090 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15091 * language/thai-word.el: Switch to UTF-8.
15092
a020afb9 15093See ChangeLog.16 for earlier changes.
e3d51b27
MR
15094
15095;; Local Variables:
15096;; coding: utf-8
e3d51b27
MR
15097;; End:
15098
ba318903 15099 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
15100
15101 This file is part of GNU Emacs.
15102
15103 GNU Emacs is free software: you can redistribute it and/or modify
15104 it under the terms of the GNU General Public License as published by
15105 the Free Software Foundation, either version 3 of the License, or
15106 (at your option) any later version.
15107
15108 GNU Emacs is distributed in the hope that it will be useful,
15109 but WITHOUT ANY WARRANTY; without even the implied warranty of
15110 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15111 GNU General Public License for more details.
15112
15113 You should have received a copy of the GNU General Public License
15114 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.