]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/info.el: Use lexical-binding and cl-lib.
[gnu-emacs] / lisp / ChangeLog
1 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * info.el: Use lexical-binding and cl-lib.
4 Use defvar-local and setq-local instead of make-local-variable.
5 (Info-apropos-matches): Avoid add-to-list.
6 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
7
8 2014-04-24 Daniel Colascione <dancol@dancol.org>
9
10 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
11
12 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
15
16 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
17
18 * dired.el (dired-insert-set-properties): Do not consider
19 subdirectory headings and empty lines to be information that
20 `dired-hide-details-mode' should hide. (Bug#17228)
21
22 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
23
24 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
25 Remove test messages.
26 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
27 and `target' twice.
28
29 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
32 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
33
34 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
35
36 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
37
38 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
39 Set "IFS=" when using read builtin, in order to preserve spaces in
40 the file name. Add test messages for hunting a bug on hydra.
41 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
42
43 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
46 Don't prettify a word within a symbol.
47
48 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
49
50 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
51 possible.
52
53 2014-04-22 Daniel Colascione <dancol@dancol.org>
54
55 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
56 use defun to define `function-put'.
57
58 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
59
60 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
61 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
62 (lisp-mode-variables): Set font-lock-extra-managed-props.
63
64 * emacs-lisp/byte-run.el (function-put): New function.
65 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
66 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
67 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
68 Use them.
69
70 2014-04-22 Daniel Colascione <dancol@dancol.org>
71
72 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
73 Add `full-p' parameter; when nil, call `macroexpand' instead of
74 `macroexpand-all'.
75
76 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
77 Improve docstrings.
78
79 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
80 Use lambda function values, not quoted lambdas.
81 (byte-compile-recurse-toplevel): Remove extraneous &optional.
82
83 * emacs-lisp/cl-macs.el
84 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
85 (cl-struct-slot-value): Conditionally use aref or nth so that the
86 compiler produces optimal code.
87
88 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
91 (inline): Don't inline cl--set-elt.
92 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
93 Define as inlinable instead.
94 (cl-struct-set-slot-value): Remove.
95
96 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
97 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
98 Use setf instead.
99
100 2014-04-21 Daniel Colascione <dancol@dancol.org>
101
102 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
103 last two parameters after all.
104 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
105 (cl--compiler-macro-assoc,cl-struct-slot-value)
106 (cl-struct-set-slot-value): Stop using them.
107
108 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
111 entry in image-mode-winprops-alist.
112
113 2014-04-21 Daniel Colascione <dancol@dancol.org>
114
115 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
116 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
117 (byte-compile-toplevel-file-form): Use it.
118
119 * emacs-lisp/cl-macs.el:
120 (cl--loop-let): Properly destructure `while' clauses.
121
122 2014-04-20 Daniel Colascione <dancol@dancol.org>
123
124 * vc/vc.el (vc-root-dir): New public autoloaded function for
125 generically finding the current VC root.
126 * vc/vc-hooks.el (vc-not-supported): New error.
127 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
128
129 2014-04-20 Daniel Colascione <dancol@dancol.org>
130
131 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
132 argument.
133 (cl--const-expr-val): cl--const-expr-val should macroexpand its
134 argument in case we're inside a symbol-macrolet.
135 (cl--do-arglist, cl--compiler-macro-typep)
136 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
137 environment to `cl--const-expr-val'.
138 (cl-struct-sequence-type,cl-struct-slot-info)
139 (cl-struct-slot-offset, cl-struct-slot-value)
140 (cl-struct-set-slot-value): New functions.
141
142 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
145 assignments such as "case=hello" (bug#17297).
146
147 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
148
149 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
150 Do not autoload.
151 (tramp-file-name-handler, tramp-completion-file-name-handler):
152 Revert patch from 2014-04-10, it isn't necessary anymore.
153 (tramp-autoload-file-name-handler)
154 (tramp-register-autoload-file-name-handlers): New defuns.
155 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
156 (tramp-register-file-name-handlers): Remove also
157 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
158 Do not autoload its invocation, but eval it after loading of 'tramp.
159
160 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
161
162 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
163
164 2014-04-17 Daniel Colascione <dancol@dancol.org>
165
166 Add support for bracketed paste mode; add infrastructure for
167 managing terminal mode enabling and disabling automatically.
168
169 * xt-mouse.el:
170 (xterm-mouse-mode): Simplify.
171 (xterm-mouse-tracking-enable-sequence)
172 (xterm-mouse-tracking-disable-sequence): New constants.
173 (turn-on-xterm-mouse-tracking-on-terminal)
174 (turn-off-xterm-mouse-tracking-on-terminal):
175 Use tty-mode-set-strings and tty-mode-reset-strings terminal
176 parameters instead of random hooks.
177 (turn-on-xterm-mouse-tracking)
178 (turn-off-xterm-mouse-tracking): Delete.
179
180 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
181 (xterm-paste-ending-sequence): New constant.
182 (xterm-paste): New command used for bracketed paste support.
183
184 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
185 (terminal-init-xterm-bracketed-paste-mode): New function.
186 (terminal-init-xterm): Call it.
187 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
188 and tty-mode-reset-strings instead of random hooks.
189 (xterm-turn-on-modify-other-keys)
190 (xterm-turn-off-modify-other-keys)
191 (xterm-remove-modify-other-keys): Delete obsolete functions.
192
193 * term/screen.el: Rewrite to just use the xterm code.
194 Add copyright notice. Mention tmux.
195
196 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
197
198 * image-mode.el (image-mode-window-put): Also update the property of
199 the "default window".
200 * doc-view.el (doc-view-new-window-function): If no window
201 exists, move to the last known page.
202
203 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
204
205 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
206 here-documents (bug#17262).
207
208 2014-04-16 Eli Zaretskii <eliz@gnu.org>
209
210 * term/pc-win.el (x-list-fonts, x-get-selection-value):
211 Provide doc strings, as required by snarf-documentation.
212
213 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
214
215 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
216 arg of overlays-at. Use `invisible-p'.
217
218 * obsolete/lucid.el (extent-at):
219 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
220 overlays-at.
221 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
222
223 2014-04-16 João Távora <joaotavora@gmail.com>
224
225 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
226 links. (Bug#17217).
227
228 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
229
230 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
231 Use mapc to loop over a vector. (Bug#17257).
232
233 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
234
235 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
236 patch, there are new problems with file names containing spaces.
237 Get rid of backticks. (Bug#17238)
238
239 2014-04-16 João Távora <joaotavora@gmail.com>
240
241 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
242 possible bug.
243
244 2014-04-16 Eli Zaretskii <eliz@gnu.org>
245
246 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
247 (blink-cursor-mode): Mention customization variables and the
248 effect of 'blink-cursor-blinks'.
249
250 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
251
252 * simple.el (undo): Prevent insertion of identity mapping into
253 undo-equiv-table so as undo-only does not inf loop in the presence
254 of consecutive nils in undo list.
255
256 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
257
258 * faces.el (make-face): Deprecate optional argument as it is no
259 longer needed/used since the conditional X resources handling
260 has been pushed down to make-face-x-resource-internal itself.
261 (make-empty-face): Don't pass optional argument to make-face.
262
263 2014-04-16 Karl Fogel <kfogel@red-bean.com>
264
265 * savehist.el (savehist-save): Remove workaround for a read-passwd
266 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
267 noticing that the shim was still present.
268
269 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
272
273 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
274
275 * faces.el (face-set-after-frame-default): Remove unused local variable.
276
277 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
278
279 * progmodes/grep.el: Use lexical-binding.
280 (grep-expand-template): Pass explicit lexical env to `eval'.
281 (zrgrep): Let-bind grep-find-template explicitly.
282
283 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
284 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
285
286 2014-04-12 Eli Zaretskii <eliz@gnu.org>
287
288 * international/characters.el <standard-case-table>: Add entries
289 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
290 Set category of Coptic characters be 'g' (Greek).
291
292 2014-04-12 Leo Liu <sdl.web@gmail.com>
293
294 * progmodes/octave.el (completion-table-with-cache):
295 Define if not available.
296 (octave-goto-function-definition, octave-sync-function-file-names)
297 (octave-find-definition-default-filename):
298 Backquote upattern for compatibility.
299
300 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
301
302 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
303 name twice due to backticks. (Bug#17238)
304
305 2014-04-12 Glenn Morris <rgm@gnu.org>
306
307 * term/w32-win.el (x-win-suspend-error):
308 * term/x-win.el (x-win-suspend-error): Sync docs.
309
310 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
311
312 * faces.el (make-face): Remove deprecated optional argument.
313 The conditional application of X resources is handled directly by
314 make-face-x-resource-internal since Emacs 24.4.
315 (make-empty-face): Don't pass optional argument to make-face.
316
317 2014-04-11 Glenn Morris <rgm@gnu.org>
318
319 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
320
321 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 Ediff's overlay priorities cause more trouble than they solve.
324 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
325 (ediff-highest-priority): Remove function (bug#17234).
326 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
327 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
328 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
329 overlay priorities.
330
331 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
332
333 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
334 entry; use symbol boundaries to avoid mis-matches.
335
336 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
337
338 * net/tramp.el (tramp-file-name-handler)
339 (tramp-completion-file-name-handler): Avoid recursive loading.
340
341 * net/tramp-sh.el (tramp-make-copy-program-file-name):
342 Quote result also locally.
343
344 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
347 Remove left-over code.
348
349 * newcomment.el (comment-indent-new-line): Sink code where it's used.
350 Reuse the previous comment's indentation unconditionally if it's on its
351 own line.
352
353 2014-04-09 Daniel Colascione <dancol@dancol.org>
354
355 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
356 `no-syntax-crossing' arguments. Forward to `up-list'.
357 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
358 Implement logic for escaping from strings. Use narrowing to deal
359 with corner cases.
360
361 2014-04-09 Leo Liu <sdl.web@gmail.com>
362
363 * net/rcirc.el (rcirc-connection-info): New variable.
364 (rcirc-connect): Use it to store connection info.
365 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
366 for killed process.
367 (rcirc-cmd-reconnect): New command. (Bug#17045)
368 (rcirc-mode, set-rcirc-encode-coding-system)
369 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
370
371 2014-04-09 Daniel Colascione <dancol@dancol.org>
372
373 * emacs-lisp/cl-indent.el: Add comment claiming
374 facility is also good for elisp.
375 (lisp-indent-find-method): New function.
376 (common-lisp-indent-function): Recognize cl-loop.
377 (common-lisp-indent-function-1): Recognize cl constructs; use
378 `lisp-indent-find-method' instead of `get' directly.
379 (if): Use else-body style for elisp.
380
381 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
382
383 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
384 Module methods. (Bug#17216)
385
386 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * help.el (describe-bindings): Fix buffer handling (bug#17210).
389 (describe-bindings-internal): Mark obsolete.
390
391 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
392
393 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
394 buffer-file-name, and buffer-file-truename any more.
395
396 2014-04-08 Leo Liu <sdl.web@gmail.com>
397
398 Use lexical-binding and require cl-lib.
399 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
400 (rcirc-handler-generic, rcirc-fill-paragraph)
401 (rcirc-format-response-string, rcirc-target-buffer)
402 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
403 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
404 (rcirc-ctcp-sender-PING, rcirc-browse-url)
405 (rcirc-markup-timestamp, rcirc-markup-attributes)
406 (rcirc-markup-my-nick, rcirc-markup-urls)
407 (rcirc-markup-bright-nicks, rcirc-markup-fill)
408 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
409 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
410 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
411 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
412 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
413 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
414 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
415 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
416 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
417 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
418 use cl-lib.
419
420 2014-04-07 João Távora <joaotavora@gmail.com>
421
422 * elec-pair.el (electric-pair--syntax-ppss):
423 When inside comments parse from comment beginning.
424 (electric-pair--balance-info): Fix typo in comment.
425 (electric-pair--in-unterminated-string-p): Delete.
426 (electric-pair--unbalanced-strings-p): New function.
427 (electric-pair-string-bound-function): New var.
428 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
429 according to `electric-pair--in-unterminated-string-p'
430
431 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
432 Inhibit quote pairing if point-max is inside an unterminated string.
433 (electric-pair--looking-at-unterminated-string-p): Delete.
434 (electric-pair--in-unterminated-string-p): New function.
435
436 2014-04-07 Glenn Morris <rgm@gnu.org>
437
438 * shell.el (shell-directory-tracker):
439 Go back to just ignoring failures. (Bug#17159)
440
441 2014-04-07 João Távora <joaotavora@gmail.com>
442
443 Fix `electric-pair-delete-adjacent-pairs' in modes binding
444 backspace. (bug#16981)
445 * elec-pair.el (electric-pair-backward-delete-char): Delete.
446 (electric-pair-backward-delete-char-untabify): Delete.
447 (electric-pair-mode-map): Bind backspace to a menu item filtering
448 a new `electric-pair-delete-pair' command.
449 (electric-pair-delete-pair): New command.
450
451 * progmodes/python.el (python-electric-pair-string-delimiter):
452 Fix triple-quoting electricity. (Bug#17192)
453
454 * elec-pair.el (electric-pair-post-self-insert-function):
455 Don't skip whitespace when `electric-pair-text-pairs' and
456 `electric-pair-pairs' were used. syntax to
457 electric-pair--skip-whitespace. (Bug#17183)
458
459 2014-04-07 Eli Zaretskii <eliz@gnu.org>
460
461 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
462 "<F>". (Bug#17199)
463
464 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
465
466 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
467 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
468
469 2014-04-07 Glenn Morris <rgm@gnu.org>
470
471 * help.el (view-lossage): Doc tweak.
472
473 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
474
475 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
476 only when inhibit-x-resources is nil, and do that earlier in the
477 function. Doc fix. (Bug#16694)
478 (face-spec-choose): Accept additional optional argument, whose
479 value is returned if no matching attributes are found.
480 (face-spec-recalc): Use the new optional argument when calling
481 face-spec-choose. (Bug#16378)
482 (make-face-x-resource-internal): Do nothing when
483 inhibit-x-resources is non-nil. Don't touch the default face if
484 reversed video is given--as was done in previous versions of Emacs.
485 (face-set-after-frame-default): Don't call
486 make-face-x-resource-internal here. (Bug#16434)
487
488 2014-04-07 Tassilo Horn <tsdh@gnu.org>
489
490 * doc-view.el (doc-view-bookmark-jump):
491 Use `bookmark-after-jump-hook' to jump to the right page after the
492 buffer is shown in a window. (bug#16090)
493
494 2014-04-07 Eli Zaretskii <eliz@gnu.org>
495
496 * international/characters.el (mirroring): Fix last change:
497 instead of loading uni-mirrored.el explicitly, do that implicitly
498 by creating the 'mirroring' uniprop table. This avoids announcing
499 the loading of uni-mirrored.el.
500
501 2014-04-07 Glenn Morris <rgm@gnu.org>
502
503 * files.el (buffer-stale--default-function)
504 (buffer-stale-function, revert-buffer--default):
505 * autorevert.el (auto-revert-buffers): Doc tweaks.
506
507 2014-04-07 Eli Zaretskii <eliz@gnu.org>
508
509 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
510
511 2014-04-07 Glenn Morris <rgm@gnu.org>
512
513 * files.el (make-backup-file-name-function)
514 (make-backup-file-name, make-backup-file-name--default-function)
515 (make-backup-file-name-1, find-backup-file-name)
516 (revert-buffer-function, revert-buffer-insert-file-contents-function)
517 (buffer-stale--default-function, buffer-stale-function)
518 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
519 (revert-buffer, revert-buffer--default)
520 (revert-buffer-insert-file-contents--default-function):
521 Doc fixes related to defaults no longer being nil.
522 (make-backup-file-name-function): Bump :version.
523 Restore nil as a valid but deprecated custom type.
524
525 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * progmodes/perl-mode.el (perl-syntax-propertize-function):
528 Handle $' used as a variable (bug#17174).
529
530 * progmodes/perl-mode.el (perl-indent-new-calculate):
531 Handle forward-sexp failure (bug#16985).
532 (perl-syntax-propertize-function): Add "foreach" and "for" statement
533 modifiers introducing expressions (bug#17116).
534
535 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
538
539 2014-04-05 Leo Liu <sdl.web@gmail.com>
540
541 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
542 Add define-compilation-mode.
543
544 2014-04-04 João Távora <joaotavora@gmail.com>
545
546 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
547 parse from comment beginning.
548 (electric-pair--balance-info): Fix typo in comment.
549 (electric-pair--in-unterminated-string-p): Delete.
550 (electric-pair--unbalanced-strings-p): New function.
551 (electric-pair-string-bound-function): New var.
552 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
553 according to `electric-pair--in-unterminated-string-p'.
554
555 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
556
557 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
558 Move declaration before first use.
559 (reftex-move-to-next-arg): Silence compiler warning.
560
561 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
562
563 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
564 Use `window-total-width' instead of `window-width'.
565
566 2014-04-03 Daniel Colascione <dancol@dancol.org>
567
568 * subr.el (set-transient-map): Remove rms's workaround entirely;
569 use new `suspicious-object' subr to mark our lambda for closer
570 scrutiny during gc.
571
572 2014-04-02 Richard Stallman <rms@gnu.org>
573
574 * subr.el (set-transient-map): Comment out previous change.
575
576 2014-04-02 Glenn Morris <rgm@gnu.org>
577
578 * menu-bar.el (menu-bar-file-menu):
579 * vc/ediff.el (ediff-current-file):
580 Update for revert-buffer-function no longer being nil by default.
581
582 * simple.el (command-execute): Respect nil disabled-command-function.
583
584 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
585
586 * simple.el (command-execute): Do not execute the command when it
587 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
588
589 2014-04-02 Juri Linkov <juri@jurta.org>
590
591 * dired-aux.el (dired-compress-file): Don't use string-match-p
592 because its match data is used afterwards.
593
594 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
597 0 like nil.
598
599 2014-04-02 João Távora <joaotavora@gmail.com>
600
601 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
602 Inhibit quote pairing if point-max is inside an unterminated string.
603 (electric-pair--looking-at-unterminated-string-p):
604 Delete.
605 (electric-pair--in-unterminated-string-p): New function.
606
607 2014-04-01 Daniel Colascione <dancol@dancol.org>
608
609 * minibuffer.el (minibuffer-complete): Prevent assertion failure
610 when trying to complete the prompt.
611
612 2014-03-31 Leo Liu <sdl.web@gmail.com>
613
614 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
615 Refactor out eldoc-documentation-function-default.
616 (eldoc-documentation-function-default): New function.
617 (eldoc-documentation-function): Change value.
618
619 2014-03-31 Glenn Morris <rgm@gnu.org>
620
621 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
622
623 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
624 (vhdl-compose-components-package, vhdl-compose-configuration):
625 Abbreviate default-directory (missing from some previous upstream sync).
626
627 2014-03-31 Reto Zimmermann <reto@gnu.org>
628
629 Sync with upstream vhdl mode v3.35.2.
630 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
631 (top-level): No longer require assoc.
632 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
633 New functions. Use throughout to replace aget etc.
634 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
635 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
636 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
637 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
638 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
639 except `vhdl-compiler'.
640 (vhdl-error-regexp-add-emacs): Remove all other compilers,
641 when appropriate.
642
643 2014-03-31 Glenn Morris <rgm@gnu.org>
644
645 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
646 Revert 2014-03-26 merge goof; go back to using defalias.
647
648 2014-03-30 Daniel Colascione <dancol@dancol.org>
649
650 * comint.el (comint-send-input):
651 Deactivate completion-in-region-mode before we send comint input.
652 (Bug#17139).
653
654 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
655 on keyboard-quit.
656
657 2014-03-29 Glenn Morris <rgm@gnu.org>
658
659 * textmodes/reftex.el: Manage most autoloads automatically.
660 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
661 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
662 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
663 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
664 * textmodes/reftex-toc.el: Set generated-autoload-file,
665 and add autoload cookies for reftex.el.
666 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
667
668 2014-03-28 Glenn Morris <rgm@gnu.org>
669
670 * cus-start.el (report-emacs-bug-address): Set custom properties.
671 * mail/emacsbug.el (report-emacs-bug-address):
672 Variable is now defined in emacs.c.
673
674 * mail/emacsbug.el (report-emacs-bug):
675 Include system-configuration-features.
676
677 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
678
679 * simple.el (cycle-spacing): Never delete spaces on first run by
680 default, but do so in a new 'fast mode and if there are already
681 N spaces (the previous behavior).
682 Compare N with its value in previous invocation so that changing
683 prefix argument restarts `cycle-spacing' sequence.
684 The idea is that with this change, binding M-SPC to
685 `cycle-spacing' should not introduce any changes in behavior of
686 the binding so long as users do not type M-SPC twice in a raw with
687 the same prefix argument or lack thereof.
688
689 2014-03-28 Glenn Morris <rgm@gnu.org>
690
691 * faces.el (term-file-aliases): New variable.
692 (tty-run-terminal-initialization): Respect term-file-aliases.
693 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
694 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
695 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
696
697 2014-03-27 Glenn Morris <rgm@gnu.org>
698
699 * startup.el (inhibit-startup-hooks): Doc tweak.
700 (normal-top-level): Simplify running of hooks.
701 For window-setup-hook, respect inhibit-startup-hooks.
702 (command-line-1): Don't set window-setup-hook to nil.
703
704 Allow selective autoloading from obsolete/ directory.
705 * Makefile.in (obsolete-autoloads): New rule.
706 (autoloads): Run obsolete-autoloads.
707 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
708 * simple.el (iswitchb-mode): Remove hand-written autoloads.
709
710 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
711
712 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
713 Highlight special globals with font-lock-builtin-face. (Bug#17057)
714
715 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
716 Don't propertize `?' or `!' as symbol constituent when after
717 colon. (Bug#17097)
718
719 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
720
721 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
722 which is no longer needed and causes trouble in GTK builds (bug#17046).
723
724 * emacs-lisp/package-x.el (package--archive-contents-from-url):
725 Use url-insert-file-contents; package-handle-response no longer exists.
726
727 2014-03-26 Daniel Colascione <dancol@dancol.org>
728
729 * simple.el (process-menu-mode-map): New variable.
730 (process-menu-delete-process): New command.
731
732 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
733
734 * emacs-lisp/package.el: Fix bug#16733 (again).
735 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
736 (url-http-target-url): Remove unused declarations.
737 (package-handle-response): Remove.
738 (package--with-work-buffer): Use url-insert-file-contents and simplify.
739 (package--download-one-archive): Use current-buffer instead of
740 dynamic binding of `buffer'.
741 (describe-package-1): Do not decode readme-string.
742
743 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
744
745 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
746
747 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
748 from 2014-03-07, it decreases performance unnecessarily. Let-bind
749 `remote-file-name-inhibit-cache' to nil in the second pass.
750 (tramp-find-executable): Do not call "which" on SunOS.
751 (tramp-send-command-and-check): Fix docstring.
752 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
753 check whether source directory has set the sticky bit.
754
755 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
756
757 * simple.el (primitive-undo): Only process marker adjustments
758 validated against their corresponding (TEXT . POS). Issue warning
759 for lone marker adjustments in undo history. (Bug#16818)
760 (undo-make-selective-list): Add marker adjustments to selective
761 undo list based on whether their corresponding (TEXT . POS) is in
762 the region. Remove variable adjusted-markers, which was unused
763 and only non nil during undo-make-selective-list.
764 (undo-elt-in-region): Return nil when passed a marker adjustment
765 and explain in function doc.
766
767 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
768
769 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
770
771 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
772
773 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
774 Match special global variables without curlies, too.
775 (ruby-font-lock-keywords): Simplify the matcher for special global
776 variables. Don't require a non-word character after the variable.
777 (Bug#17057)
778
779 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
780
781 * simple.el (redisplay-highlight-region-function): Increase priority of
782 overlay to make sure boundaries are visible (bug#15899).
783
784 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
785
786 * frameset.el (frameset--initial-params): Fix typo in parameter name.
787 (frameset-restore): Compare display strings with equal.
788
789 * frame.el (make-frame): Don't quote display name in error message,
790 it is already a string.
791
792 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
793
794 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
795 the password.
796
797 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
798
799 * emacs-lisp/package.el (package--add-to-archive-contents):
800 Include already installed and built-in packages in
801 `package-archive-contents'.
802 (package-install): Don't include already installed packages in the
803 options during interactive invocation. (Bug#16762)
804 (package-show-package-list): If the buffer is already displayed in
805 another window, switch to that window.
806
807 2014-03-26 Reto Zimmermann <reto@gnu.org>
808
809 Sync with upstream vhdl mode v3.35.1.
810 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
811 (vhdl-compiler-alist): Doc fix.
812 (vhdl-goto-line): Remove.
813 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
814 (vhdl-mode) <paragraph-start>: Fix value.
815 (vhdl-fix-statement-region): Not `for' in wait-statement.
816 (vhdl-beautify-region): Also (un)tabify.
817 (vhdl-get-visible-signals):
818 Scan declarative part of generate statements.
819 (vhdl-template-record): Fix indentation for record type declaration.
820 (vhdl-expand-abbrev, vhdl-expand-paren):
821 Revert to using fset again rather than defalias.
822 (vhdl-scan-directory-contents): Tweak.
823 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
824 (vhdl-compose-components-package):
825 Replace vhdl-goto-line with forward-line.
826 (top-level): Tweak speedbar frame selection.
827 (vhdl-generate-makefile-1): Support for compilers with no
828 unit-to-file name mapping (create directory with dummy files).
829
830 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
831
832 Sync with upstream verilog-mode revision 702457d.
833 * progmodes/verilog-mode.el (verilog-mode-version): Update.
834 (create-lockfiles): Declare.
835 (verilog-read-decls): Fix module header imports, bug709.
836 Reported by Victor Lau.
837 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
838 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
839 interface-only modules, bug721. Reported by Dean Hoyt.
840
841 2014-03-26 Glenn Morris <rgm@gnu.org>
842
843 * obsolete/gulp.el: Move here from emacs-lisp/.
844
845 * files.el (lock-buffer, unlock-buffer, file-locked-p):
846 Remove fallback aliases, since they are always defined now.
847
848 2014-03-24 Daniel Colascione <dancol@dancol.org>
849
850 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
851 instead of cl-loop search function.
852
853 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
854
855 * calendar/parse-time.el (parse-time-iso8601-regexp)
856 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
857 it more generally.
858
859 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
860
861 * net/dns.el (network-interface-list): Define for XEmacs.
862
863 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
864
865 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
866 the network interfaces changed.
867 (dns-query): Use it to flush the data.
868
869 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
870
871 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
872
873 2014-03-23 Daniel Colascione <dancol@dancol.org>
874
875 Change subword-mode to use `find-word-boundary-function-table' and
876 replace `capitalized-words-mode'. Also, convert to lexical
877 binding.
878
879 * progmodes/cap-words.el: Delete now-obsolete file.
880 * progmodes/subword.el: Reimplement using
881 `find-word-boundary-function-table'.
882 (subword-mode-map): Hollow out.
883 (capitalized-words-mode): Define as obsolete alias for
884 `subword-mode'.
885 (subword-mode, superword-mode): Tweak documentation to reflect new
886 implementation; call `subword-setup-buffer'.
887 (subword-forward, subword-capitalize): Add underscore to indicate
888 unused variable.
889 (subword-find-word-boundary-function-table): New constant.
890 (subword-empty-char-table): New constant.
891 (subword-setup-buffer): New function.
892 (subword-find-word-boundary): New function.
893
894 2014-03-23 Daniel Colascione <dancol@dancol.org>
895
896 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
897 list to look for keyword arguments instead of `memq', fixing
898 (Bug#3647) --- unfortunately, only for freshly-compiled code.
899 Please make bootstrap.
900
901 2014-03-22 Glenn Morris <rgm@gnu.org>
902
903 * dired.el (dired-read-regexp): Make obsolete.
904 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
905 (dired-flag-files-regexp):
906 * dired-aux.el (dired-mark-read-regexp):
907 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
908
909 * startup.el (fancy-startup-text):
910 * help.el (describe-gnu-project): Visit online info about GNU project.
911
912 * help-fns.el (help-fns--interactive-only): New function.
913 (help-fns-describe-function-functions): Add the above function.
914 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
915 (next-line, previous-line): Remove hand-written interactive-only
916 information from doc strings, it is auto-generated now.
917 * bookmark.el (bookmark-write):
918 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
919 (epa-mail-import-keys): Mark interactive-only,
920 and remove hand-written interactive-only information from doc strings.
921 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
922 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
923 * files.el (not-modified):
924 * simple.el (mark-whole-buffer): Mark interactive-only.
925
926 * emacs-lisp/byte-run.el (defun-declarations-alist):
927 Add interactive-only. Doc tweak.
928 (macro-declarations-alist): Doc tweak.
929 * subr.el (declare): Doc tweak (add xref to manual).
930 * comint.el (comint-run):
931 * files.el (insert-file-literally, insert-file):
932 * replace.el (replace-string, replace-regexp):
933 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
934 (delete-forward-char, goto-line, insert-buffer, next-line)
935 (previous-line): Set interactive-only via declare.
936
937 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
938
939 * emacs-lisp/package.el (package-desc): Use the contents of the
940 quoted form, not its cdr. (Bug#16873)
941
942 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
943
944 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
945 benefit of doc.c; change parameter profile to match the X function.
946
947 2014-03-22 Leo Liu <sdl.web@gmail.com>
948
949 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
950 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
951
952 2014-03-21 Richard Stallman <rms@gnu.org>
953
954 * battery.el (battery-linux-sysfs): Search for each field
955 from the beginning of the buffer.
956
957 * subr.el (set-transient-map): Clear out function and value
958 of the temporary symbol when we're done with it.
959
960 * mail/rmailsum.el (rmail-summary-delete-forward):
961 Optimize case of reaching end and handling count.
962 (rmail-summary-mark-deleted): Optimize when N is current msg.
963 Don't create new summary line.
964 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
965 (rmail-summary-undelete-many): Rewrite for speed.
966 (rmail-summary-msg-number): New function.
967
968 * mail/rmail.el (rmail-delete-message): Update summary.
969 (rmail-undelete-previous-message): Handle repeat count arg.
970 (rmail-delete-backward, rmail-delete-forward): Likewise.
971
972 2014-03-21 Daniel Colascione <dancol@dancol.org>
973
974 * mail/emacsbug.el (report-emacs-bug): Include memory usage
975 information in bug reports.
976
977 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
978
979 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
980 and `tramp-copy-env'.
981
982 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
983 (tramp-maybe-open-connection): Handle `tramp-login-env'.
984
985 2014-03-21 Glenn Morris <rgm@gnu.org>
986
987 * electric.el (electric-indent-post-self-insert-function): Add doc.
988
989 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
990
991 * emacs-lisp/package.el (package-compute-transaction):
992 Use `version-list-<=' to compare the requirement version against
993 the version of package already to be installed. Update the error
994 message. (Bug#16826)
995
996 * progmodes/ruby-mode.el (ruby-smie-rules):
997 Add indentation rule for ` @ '. (Bug#17050)
998
999 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1000
1001 * align.el (align-regexp): Remove superfluous backslash.
1002
1003 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1004 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1005 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1006 Fix docstring typos.
1007 (ffap-next): Use C-u in docstring.
1008 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1009 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1010 Remove superfluous backslashes.
1011 (ffap-string-at-point): Reflow docstring.
1012
1013 * server.el (server-host): Reflow docstring.
1014 (server-unload-function): Fix docstring typo.
1015 (server-eval-at): Remove superfluous backslash.
1016
1017 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1018 (skeleton-insert): Doc fix.
1019 (skeleton-insert): Reflow docstring.
1020
1021 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1022 (tty-color-approximate, tty-color-by-index, tty-color-values)
1023 (tty-color-desc): Remove superfluous backslashes.
1024
1025 2014-03-21 Glenn Morris <rgm@gnu.org>
1026
1027 * cus-start.el (history-length): Bump :version.
1028
1029 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1030 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1031 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1032 Don't set `make-backup-files'.
1033
1034 * info.el (info--prettify-description): New function,
1035 to give info-finder descriptions consistent case, punctuation.
1036 (Info-finder-find-node): Use it. Sort packages.
1037 Refer to "description" rather than "commentary".
1038
1039 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1040
1041 * frameset.el (frameset--print-register): New function.
1042 (frameset-to-register): Use it.
1043
1044 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1045
1046 * progmodes/hideif.el (hif-string-to-number): New function.
1047 (hif-tokenize): Use it to understand non-decimal floats.
1048
1049 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1050
1051 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1052
1053 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1054
1055 * electric.el (electric-newline-and-maybe-indent): New command.
1056 Bind it globally to C-j.
1057 (electric-indent-mode): Don't mess with the global map any more.
1058 Don't drop the post-self-insert-hook is some buffer is still using it
1059 (bug#16770).
1060
1061 * bindings.el (global-map): Remove C-j binding.
1062
1063 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1064 the docstring of functions advised before dumping (bug#16993).
1065
1066 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1067
1068 * ps-print.el (ps-generate-postscript-with-faces):
1069 Explicitly deactivate the mark (bug#16866).
1070 * simple.el (deactivate-mark): Update region highlight.
1071
1072 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1073
1074 * emacs-lisp/package.el (describe-package-1):
1075 Decode commentary (bug#16733).
1076
1077 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1078
1079 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1080 modification of the value argument of :set (bug#16755).
1081
1082 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * simple.el (newline-and-indent): Do autofill (bug#17031).
1085
1086 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1087
1088 * newcomment.el (comment-normalize-vars): Only add escaping check
1089 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1090 (comment-beginning): Use `narrow-to-region' instead of moving back
1091 one character.
1092 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1093 (comment-start-skip): Update the docstring.
1094
1095 2014-03-18 Richard Stallman <rms@gnu.org>
1096
1097 * dired.el (dired-display-file): Force use of other window.
1098
1099 2014-03-18 Daniel Colascione <dancol@dancol.org>
1100
1101 * startup.el (tty-handle-args): Remove debug message from 2007.
1102
1103 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1106 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1107 (advice--make-1, advice-add, advice-remove):
1108 Remove braindead :advice-pending hack.
1109
1110 2014-03-17 Glenn Morris <rgm@gnu.org>
1111
1112 * calendar/calendar.el (calendar-generate-month): Apply weekend
1113 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1114
1115 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1116
1117 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1118 (tramp-call-process): Trace also DESTINATION.
1119
1120 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1121 Quote file names when they are local. Remove superfluous trace.
1122
1123 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1124
1125 * newcomment.el (comment-beginning): If `comment-start-skip'
1126 doesn't match, move back one char and try again. (Bug#16971)
1127
1128 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1129 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1130 Set `comment-start-skip' to a simpler value that doesn't try to
1131 check if the semicolon is escaped (this is handled by
1132 `syntax-ppss' now). (Bug#16971)
1133
1134 * progmodes/scheme.el (scheme-mode-variables): Same.
1135
1136 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1137
1138 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1139 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1140 current (Bug#16816, Bug#17007).
1141 (with-current-buffer-window): New macro doing the same as
1142 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1143 * help.el (help-print-return-message): Warn in doc-string to not
1144 use this in `with-help-window'.
1145 (describe-bindings-internal): Call `describe-buffer-bindings'
1146 from within help buffer. See Juanma's scenario in (Bug#16816).
1147 (with-help-window): Update doc-string.
1148 * dired.el (dired-mark-pop-up):
1149 * files.el (save-buffers-kill-emacs):
1150 * register.el (register-preview): Use `with-current-buffer-window'
1151 instead of `with-temp-buffer-window'.
1152
1153 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1154
1155 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1156 Implement inserting into current buffer, documented in their docstrings.
1157 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1158 (rst-section-tree-point, rst-forward-section, rst-indent)
1159 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1160 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1161 (rst-font-lock-handle-adornment-pre-match-form)
1162 (rst-repeat-last-character): Reflow docstrings.
1163 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1164 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1165 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1166 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1167 Fix docstring typos.
1168 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1169 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1170 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1171
1172 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1173
1174 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1175 for compatibility with other ports.
1176 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1177 from the -xrm command line argument, but in the Nextstep port its value
1178 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1179
1180 * progmodes/python.el (defconst, python-syntax-count-quotes)
1181 (python-indent-region, python-indent-shift-right)
1182 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1183 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1184 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1185 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1186 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1187 (python-shell-buffer-substring, python-shell-send-buffer)
1188 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1189 (python-completion-complete-at-point, python-fill-docstring-style)
1190 (python-eldoc-function, python-imenu-format-item-label)
1191 (python-imenu-format-parent-item-label)
1192 (python-imenu-format-parent-item-jump-label)
1193 (python-imenu--build-tree, python-imenu-create-index)
1194 (python-imenu-create-flat-index): Fix docstring typos.
1195 (python-indent-context, python-shell-prompt-regexp, run-python):
1196 Remove superfluous backslashes.
1197 (python-indent-line, python-nav-beginning-of-defun)
1198 (python-shell-get-buffer, python-shell-get-process)
1199 (python-info-current-defun, python-info-current-line-comment-p)
1200 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1201 (python-indent-post-self-insert-function, python-shell-send-file)
1202 (python-shell-completion-get-completions)
1203 (python-shell-completion-complete-or-indent)
1204 (python-eldoc--get-doc-at-point): Reflow docstrings.
1205
1206 2014-03-14 Glenn Morris <rgm@gnu.org>
1207
1208 * emacs-lisp/package.el (package-menu-mode-map):
1209 Replace use of obsolete function alias. Tweak menu item text.
1210
1211 * info.el (Info-finder-find-node):
1212 Ignore the `emacs' metapackage. (Bug#10813)
1213
1214 * finder.el (finder-list-matches): Include unversioned packages
1215 in the result of a keyword search.
1216
1217 * finder.el (finder--builtins-descriptions): New constant.
1218 (finder-compile-keywords): Use finder--builtins-descriptions.
1219
1220 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1221
1222 * simple.el (blink-matching-paren): Describe the new value,
1223 `jump', enabling the old behavior.
1224 (blink-matching-open): Use that value. (Bug#17008)
1225
1226 2014-03-14 Glenn Morris <rgm@gnu.org>
1227
1228 * finder.el (finder-no-scan-regexp): Add leim-list.
1229 (finder-compile-keywords):
1230 Don't skip files with same basename. (Bug#14010)
1231 * Makefile.in (setwins_finder): New, excluding leim.
1232 (finder-data): Use setwins_finder.
1233
1234 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1235 (help-function-arglist, help-make-usage): Move from here...
1236 * help.el (help-split-fundoc, help-add-fundoc-usage)
1237 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1238 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1239
1240 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1241
1242 * net/socks.el (socks, socks-override-functions)
1243 (socks-find-services-entry):
1244 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1245 (hif-find-ifdef-block):
1246 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1247
1248 * net/tls.el (tls-program): Reflow docstring.
1249
1250 * progmodes/pascal.el (pascal-mode-abbrev-table)
1251 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1252 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1253 (pascal-outline-mode): Fix docstring typos.
1254 (pascal-mode): Let define-derived-mode document mode hook.
1255 (pascal-uncomment-area): Reflow.
1256 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1257
1258 * progmodes/opascal.el (opascal-compound-block-indent)
1259 (opascal-case-label-indent): Fix docstring typos.
1260 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1261
1262 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1263
1264 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1265 Fontify multiple adjacent negation chars. (Bug#17004)
1266
1267 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1268
1269 * emacs-lisp/package.el (package--prepare-dependencies):
1270 Accept requirements without explicit version (bug#14941).
1271
1272 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1273
1274 * register.el (register-separator, copy-to-register): Doc fixes.
1275 (register-preview-default): Remove unnecessary call to concat.
1276
1277 * frameset.el (frameset-restore): When checking for a visible frame,
1278 use the action map instead of calling visible-frame-list.
1279
1280 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1281
1282 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1283
1284 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1285
1286 * window.el (fit-frame-to-buffer): Get maximum width from
1287 display's width instead of height.
1288
1289 2014-03-12 Glenn Morris <rgm@gnu.org>
1290
1291 * desktop.el (desktop-restore-frames)
1292 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1293 (desktop-restore-reuses-frames): Doc tweaks.
1294
1295 * electric.el (electric-indent-mode): Doc fix.
1296
1297 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1298
1299 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1300 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1301 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1302 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1303 (cvs-dired-use-hook): Fix docstring typos.
1304 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1305 Doc fixes.
1306
1307 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1308 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1309 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1310 (cvs-execute-single-dir): Fix docstring typos.
1311
1312 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1313 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1314
1315 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1316
1317 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1318 Fix docstring typos.
1319
1320 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1321
1322 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1323 called from jump-to-register after unloading the frameset package.
1324
1325 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1326
1327 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1328 (bug#16975). Deactivate the mark before setting it to nil.
1329 (activate-mark): Do nothing if region is already active.
1330
1331 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1332
1333 * frameset.el (frameset--target-display): Remove definition; declare.
1334 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1335
1336 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1337
1338 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1339 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1340 when the advice is pending.
1341 (advice-remove): Remove this marker when not needed any more.
1342
1343 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1344
1345 * frameset.el: Separate options for reusing frames and cleaning up.
1346 (frameset--reuse-list): Remove definition; declare.
1347 (frameset--action-map): Declare.
1348 (frameset--find-frame-if): Doc fix.
1349 (frameset--restore-frame): Cache frame action.
1350 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1351 how to clean up the frame list after restoring. Remove cleaning
1352 options from REUSE-FRAMES. Change all keyword values to symbols.
1353 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1354
1355 * desktop.el (desktop-restore-forces-onscreen)
1356 (desktop-restore-reuses-frames): Use non-keyword values.
1357 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1358
1359 2014-03-10 Glenn Morris <rgm@gnu.org>
1360
1361 * files.el (find-file): Doc fix: update info node name.
1362
1363 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1364 Doc fix: remove references to deleted info nodes.
1365
1366 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1367
1368 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1369 Do not add `nil' to the environment, when there's no remote `locale'.
1370 (tramp-find-inline-encoding): Check, that the remote host has
1371 installed perl, before sending scripts.
1372
1373 2014-03-10 Leo Liu <sdl.web@gmail.com>
1374
1375 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1376 Clear eldoc-last-message. (Bug#16920)
1377
1378 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1381 (bug#14430).
1382
1383 2014-03-09 Juri Linkov <juri@jurta.org>
1384
1385 * ansi-color.el (ansi-color-names-vector): Copy default colors
1386 from `xterm-standard-colors' that look well on the default white
1387 background (and also on the black background) to avoid illegible
1388 color combinations like yellow-on-white and white-on-white.
1389 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1390
1391 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1392
1393 * frameset.el (frameset-restore): When no frame is visible, do not
1394 generate a list of frames, just make visible the selected one.
1395
1396 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1397
1398 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1399 it only contains the repository root. (Bug#16897)
1400
1401 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1402
1403 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1404 only when `remote-file-name-inhibit-cache' is nil.
1405 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1406
1407 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1408
1409 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1410 Fix doc-strings.
1411 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1412 fit-frame-to-buffer variable. Fix doc-string.
1413 (fit-window-to-buffer): Set ONLY argument in call of
1414 fit-frame-to-buffer. Fix doc-string.
1415
1416 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1417
1418 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1419 (tramp-action-password): Clear password cache if needed.
1420 (tramp-read-passwd): Do not clear password cache.
1421
1422 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1423 cache unless it is the first password request.
1424
1425 2014-03-06 Glenn Morris <rgm@gnu.org>
1426
1427 * simple.el (newline): Doc tweak.
1428
1429 * emacs-lisp/shadow.el (load-path-shadows-find):
1430 Ignore dir-locals. (Bug#12357)
1431
1432 2014-03-05 Glenn Morris <rgm@gnu.org>
1433
1434 * files.el (interpreter-mode-alist):
1435 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1436
1437 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1438
1439 * frameset.el (frameset--initial-params): Filter out null entries.
1440
1441 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1442
1443 * window.el (window-min-height, window-min-width):
1444 Rewrite doc-strings.
1445 (window-body-size): Add PIXELWISE argument to make it consistent
1446 with its callees.
1447
1448 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1449
1450 * finder.el (finder-mode-map, finder-mode-syntax-table):
1451 Revert part of 2014-02-28 change.
1452
1453 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1454
1455 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1456 (eww-setup-buffer): Clear next/prev/etc more reliably.
1457 (eww-textarea-map): [tab] doesn't work on tty.
1458 Reported by Mario Lang.
1459
1460 * net/shr.el (shr-map): Ditto.
1461
1462 2014-03-04 Glenn Morris <rgm@gnu.org>
1463
1464 * minibuffer.el (completion-hilit-commonality):
1465 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1466
1467 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1468
1469 * hilit-chg.el (hilit-chg-unload-function): New function.
1470 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1471 (hilit-chg-map-changes): Prefer cardinal number to digit.
1472 (hilit-chg-display-changes): Reflow docstring.
1473 (highlight-changes-rotate-faces): Remove superfluous backslash.
1474
1475 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1476
1477 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1478 `tramp-send-command-and-check'.
1479
1480 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1481
1482 * hexl.el (hexl-address-region, hexl-ascii-region)
1483 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1484 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1485 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1486 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1487 (hexl-mode): Doc fix.
1488 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1489 (hexl-mode-ruler): Fix typos in docstrings.
1490
1491 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1492 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1493 Remove superfluous backslashes.
1494 (strokes-last-stroke, strokes-global-map, strokes-mode):
1495 Reflow docstrings.
1496 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1497 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1498 (strokes-distance-squared, strokes-global-set-stroke)
1499 (strokes-global-set-stroke-string): Doc fixes.
1500 (strokes-help): Fix typos; reflow docstring.
1501
1502 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1503
1504 * window.el (window-in-direction): Fix doc-string.
1505
1506 2014-03-04 Glenn Morris <rgm@gnu.org>
1507
1508 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1509 Explicit error if no grammar.
1510 (smie-config-save): Doc fix. Fix quote typo.
1511
1512 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1515 electric-indent-mode-hook if we obey electric-indent-mode.
1516 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1517 decide whether we obey electric-indent-mode.
1518 (c-change-set-fl-decl-start, c-extend-after-change-region):
1519 Silence warnings.
1520 (c-electric-indent-mode-hook): Assume we do want to obey
1521 electric-indent-mode.
1522
1523 * electric.el (electric-indent-mode-has-been-called): Remove.
1524 (electric-indent-mode): Fix accordingly.
1525
1526 * files.el (hack-local-variables): Mention file name in warning.
1527
1528 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1529
1530 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1531
1532 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1533 * simple.el (delete-forward-char): Mark as interactive-only.
1534
1535 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1536
1537 * icomplete.el (icomplete-completions):
1538 Follow-up to 2014-03-01 change.
1539
1540 * icomplete.el: Miscellaneous doc fixes.
1541 Use Icomplete everywhere instead of icomplete for consistency.
1542 (icomplete-max-delay-chars): Fix typo.
1543 (icomplete-mode): Use \[].
1544 (icomplete-tidy, icomplete-exhibit): Reflow.
1545 (icomplete-minibuffer-setup-hook, icomplete-completions):
1546 Remove superfluous backlashes.
1547
1548 * ido.el: Miscellaneous doc fixes.
1549 Use Ido everywhere instead of ido or `ido' for consistency.
1550 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1551 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1552 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1553 (ido-separator): Extract obsolescence info from docstring and declare
1554 with make-obsolete-variable.
1555 (ido-minibuffer-setup-hook): Simplify example.
1556 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1557 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1558 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1559 (ido-everywhere): Reflow docstring.
1560 (ido-toggle-vc): Doc fix.
1561 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1562 of long list of keybindings.
1563
1564 2014-03-03 Glenn Morris <rgm@gnu.org>
1565
1566 * frame.el (display-pixel-height, display-pixel-width)
1567 (display-mm-dimensions-alist, display-mm-height)
1568 (display-mm-width): Doc tweaks.
1569
1570 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1571
1572 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1573 case of undo in region.
1574
1575 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1576
1577 * window.el (fit-window-to-buffer): Fix argument in window-size
1578 call when window is horizontally combined.
1579
1580 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1581
1582 * icomplete.el (icomplete-completions): Use string-width.
1583 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1584
1585 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1586
1587 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1588 Highlight regexp options. (Bug#16914)
1589
1590 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1591
1592 * window.el (window--max-delta-1): Round down when calculating
1593 how many lines/columns we can get from a window.
1594
1595 2014-03-01 Glenn Morris <rgm@gnu.org>
1596
1597 * isearch.el (search-invisible): Doc fix.
1598
1599 * minibuffer.el (completion-hilit-commonality):
1600 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1601 * comint.el (comint-dynamic-list-completions): Doc fix.
1602 * comint.el (comint-dynamic-list-completions):
1603 * filecache.el (file-cache-minibuffer-complete):
1604 * tempo.el (tempo-display-completions):
1605 * eshell/em-hist.el (eshell-list-history):
1606 Replace use of obsolete argument of display-completion-list.
1607
1608 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1609
1610 * icomplete.el (icomplete-completions):
1611 Revert back to using "..." when ?… cannot be displayed.
1612
1613 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1614
1615 * finder.el (finder-unload-function): New function.
1616
1617 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1618
1619 * dframe.el (dframe-detach):
1620 * find-dired.el (find-dired, find-name-dired):
1621 * finder.el (finder-mode-map, finder-mode-syntax-table)
1622 (finder-headmark, finder-select, finder-mouse-select):
1623 Fix docstring typos.
1624
1625 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1626
1627 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1628 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1629 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1630 Fix doc-string based on a suggestion by Nicolas Richard
1631 <theonewiththeevillook@yahoo.fr>.
1632 * help.el (with-help-window): Fix doc-string.
1633
1634 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1635
1636 * net/shr.el (shr-image-animate): New option.
1637 (shr-put-image): Respect shr-image-animate.
1638
1639 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1640
1641 * net/tramp-adb.el (tramp-adb-parse-device-names):
1642 Use `accept-process-output'.
1643 (tramp-adb-handle-file-truename): Cache the localname only.
1644 (tramp-adb-handle-make-directory)
1645 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1646 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1647 modes cannot be changed.
1648
1649 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1650 file properties of symlinks.
1651
1652 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1653
1654 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1655 required/optional fields to match development biblatex. (Bug#16781)
1656
1657 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1658
1659 * saveplace.el (toggle-save-place):
1660 Fix argument handling. (Bug#16673)
1661
1662 2014-02-28 Glenn Morris <rgm@gnu.org>
1663
1664 * minibuffer.el (completions-first-difference)
1665 (completions-common-part, completion-hilit-commonality): Doc fixes.
1666
1667 2014-02-28 Karl Berry <karl@gnu.org>
1668
1669 * info.el (Info-mode-map): Add H for describe-mode,
1670 to synchronize with standalone Info.
1671
1672 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1673
1674 * progmodes/sql.el (sql-interactive-mode):
1675 Avoid setting global comint-input-ring-separator. (Bug#16814)
1676
1677 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1678
1679 * net/dbus.el (dbus--init-bus): Declare function.
1680 (dbus-path-local, dbus-interface-local): New defconst.
1681 (dbus-init-bus): Use them.
1682 (dbus-return-values-table): Extend doc.
1683 (dbus-handle-bus-disconnect): Extend error message.
1684
1685 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1686
1687 * subr.el (y-or-n-p): Fix double space issue in message.
1688
1689 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1690
1691 * net/tramp.el (tramp-call-process): Improve trace message.
1692 (tramp-handle-insert-file-contents): Trace error case.
1693
1694 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1695 <insert-directory>: Use `tramp-handle-insert-directory'.
1696 (tramp-adb-handle-insert-directory): Remove function.
1697 (tramp-adb-send-command-and-check): New defun, replacing
1698 `tramp-adb-command-exit-status'. Change all callees.
1699 (tramp-adb-handle-file-attributes)
1700 (tramp-adb-handle-directory-files-and-attributes): Use it.
1701 (tramp-adb-ls-output-name-less-p):
1702 Use `directory-listing-before-filename-regexp'.
1703 (tramp-adb-handle-delete-directory): Flush also file properties of
1704 the truename of directory.
1705 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1706 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1707 (tramp-adb-handle-write-region): Implement APPEND.
1708 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1709 properties correctly.
1710 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1711 variables. Check for connected devices only when needed.
1712
1713 2014-02-27 Glenn Morris <rgm@gnu.org>
1714
1715 * minibuffer.el (completion-table-dynamic)
1716 (completion-table-with-cache): Doc fixes.
1717
1718 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1719 (completing-read-multiple): Doc fixes.
1720
1721 2014-02-27 Daniel Colascione <dancol@dancol.org>
1722
1723 * minibuffer.el (completion--nth-completion): Fix indentation.
1724
1725 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1726 explicit tramp path is empty.
1727
1728 2014-02-27 Glenn Morris <rgm@gnu.org>
1729
1730 * emacs-lisp/crm.el (completing-read-multiple):
1731 Empower help-enable-auto-load.
1732
1733 2014-02-26 Glenn Morris <rgm@gnu.org>
1734
1735 * startup.el (command-line): Don't init the tty in daemon mode.
1736
1737 Avoid calling tty-setup-hook twice, eg if a term file
1738 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1739 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1740 (tty-create-frame-with-faces): Use it.
1741 * startup.el (command-line): Pass run-hook argument
1742 to tty-run-terminal-initialization.
1743
1744 * dired.el (dired-restore-desktop-buffer): Demote errors;
1745 eg in case a glob match fails. (Bug#16884)
1746
1747 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1748
1749 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1750 error from `read-from-string'. (Bug#16850)
1751
1752 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1753 result of `completing-read' in the interactive form. (Bug#16854)
1754
1755 2014-02-25 Glenn Morris <rgm@gnu.org>
1756
1757 * image.el (image-animate, image-animate-timeout):
1758 Stop animating images in dead buffers. (Bug#16878)
1759
1760 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1761
1762 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1763 Doc fixes.
1764 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1765 * term/sun.el (sun-raw-prefix-hooks):
1766 Use tty-setup-hook instead of term-setup-hook.
1767 (terminal-init-sun): Construct message from bytecomp plist.
1768 * term/wyse50.el (enable-arrow-keys): Doc fix.
1769
1770 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1771
1772 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1773 Fix docstring typos.
1774
1775 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1776
1777 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1778
1779 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1780
1781 * minibuffer.el (completion--try-word-completion):
1782 Fix error when completing M-x commands (bug#16808).
1783
1784 2014-02-24 Leo Liu <sdl.web@gmail.com>
1785
1786 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1787
1788 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1789
1790 * apropos.el (apropos-print): Avoid formatting error when
1791 apropos-do-all and apropos-compact-layout are both t.
1792
1793 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1794
1795 * apropos.el (apropos-property, apropos-all-words-regexp)
1796 (apropos-true-hit, apropos-variable, apropos-print):
1797 Fix docstring typos, and remove obsolete comment.
1798
1799 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1800
1801 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1802 Preserve trailing "/". (Bug#16851)
1803
1804 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1805
1806 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1807 after `=>' (bug#16811).
1808 (ruby-smie-rules): Handle the inconsistent second element of the
1809 list returned by `smie-indent--parent'.
1810 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1811 method call.
1812
1813 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1814
1815 * elec-pair.el (electric-pair-text-syntax-table)
1816 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1817 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1818 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1819 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1820
1821 2014-02-22 Glenn Morris <rgm@gnu.org>
1822
1823 * imenu.el (imenu--generic-function): Doc fix.
1824
1825 * register.el (frame-configuration-to-register): Make obsolete.
1826
1827 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1828
1829 * desktop.el (desktop-save-buffer-p): Do not fail when
1830 desktop-files-not-to-save is nil. Return t for true result
1831 as the doc says.
1832
1833 2014-02-22 Daniel Colascione <dancol@dancol.org>
1834
1835 * net/secrets.el (secrets-create-item, secrets-search-items):
1836 Check that attribute values are strings, avoiding the construction
1837 of invalid dbus messages.
1838
1839 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1840
1841 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1842 defun-declarations-alist.
1843
1844 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1847 (bug#16829).
1848
1849 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1850
1851 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1852 (whitespace-newline, whitespace-trailing, whitespace-line)
1853 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1854 (whitespace-space-after-tab): Fix typo in docstrings.
1855
1856 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1857
1858 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1859
1860 * electric.el (electric-indent-functions-without-reindent):
1861 Add `yaml-indent-line'.
1862
1863 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1864
1865 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1866 It has done nothing for years; should be removed after the release.
1867
1868 * simple.el (choose-completion): Fix docstring typo.
1869 (read-quoted-char-radix): Remove unneeded * in docstring.
1870 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1871 Don't escape parentheses unnecessarily in docstrings.
1872
1873 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1874
1875 Fix handling of window-min-height/-width (Bug#16738).
1876 * window.el (window--dump-window, window--dump-frame):
1877 New functions.
1878 (window--min-size-1): Account for window dividers.
1879 When window-resize-pixelwise is nil, delay rounding till after the
1880 sum of the window components has been calculated.
1881 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1882 nil make sure at least one text line and two text columns remain
1883 fully visible.
1884 (window-resize): Signal an error when window-resize-apply fails.
1885 (window--resize-child-windows): Fix calculation of by how many
1886 pixels a window can still be shrunk via window-new-normal.
1887 (adjust-window-trailing-edge): Call window--resizable with
1888 correct TRAIL argument.
1889
1890 (with-temp-buffer-window): Don't evaluate BODY within
1891 with-current-buffer (Bug#16816).
1892
1893 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1894
1895 * net/tramp.el (tramp-check-cached-permissions):
1896 Call `file-attributes' with `suffix' being a symbol but a string.
1897
1898 2014-02-21 Daniel Colascione <dancol@dancol.org>
1899
1900 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1901 (dbus-init-bus): New function: call into dbus-init-bus-1
1902 and installs a handler for the disconnect signal.
1903 (dbus-call-method): Rewrite to look for result in cons.
1904 (dbus-call-method-handler): Store result in cons.
1905 (dbus-check-event): Recognize events with nil sender as valid.
1906 (dbus-handle-bus-disconnect): New function. React to bus
1907 disconnection signal by synthesizing dbus error for each
1908 pending synchronous or asynchronous call.
1909 (dbus-notice-synchronous-call-errors): New function.
1910 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1911 is true, not all the time.
1912
1913 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1914
1915 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1916 Remove obsolescence declarations, these variables do not exist anymore.
1917
1918 * savehist.el (savehist-save-minibuffer-history)
1919 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1920 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1921 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1922 mostly, refer to "Savehist mode" when talking about the mode,
1923 and not the function.
1924
1925 * saveplace.el (save-place): Remove redundant info in docstring.
1926 (save-place-forget-unreadable-files, toggle-save-place)
1927 (save-place-forget-unreadable-files, save-place-dired-hook):
1928 Fix typos and remove unneeded backslashes.
1929
1930 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1931
1932 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1933 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1934
1935 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1936 <insert-directory>: Use `tramp-handle-insert-directory'.
1937 (tramp-gvfs-handle-insert-directory): Remove function.
1938
1939 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1940 Call `tramp-handle-insert-directory'.
1941
1942 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1943
1944 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1945 before the start of buffer/region (bug#16799).
1946
1947 2014-02-20 Glenn Morris <rgm@gnu.org>
1948
1949 * isearch.el (search-invisible): Doc fix.
1950
1951 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1952
1953 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1954 (bug#16657).
1955
1956 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1957
1958 * frameset.el (frameset-restore): Delay removing an old frame's
1959 duplicate id until the new frame has been correctly created.
1960
1961 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1962
1963 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1964 (tramp-check-cached-permissions): Call `file-attributes' if the
1965 cache is empty.
1966
1967 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1968 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1969
1970 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1971 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1972 (tramp-gvfs-maybe-open-connection): Set always connection
1973 properties, even if target is mounted already.
1974
1975 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1976 Set tramp-autoload cookie.
1977 (tramp-get-remote-touch): New defun.
1978 (tramp-sh-handle-set-file-times): Use it.
1979 (tramp-sh-handle-directory-files-and-attributes):
1980 Use `tramp-handle-directory-files-and-attributes' if neither stat
1981 nor perl are available on the remote host.
1982
1983 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1984 "/". Write long listing only when "l" belongs to the switches.
1985
1986 * net/trampver.el: Update release number.
1987
1988 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1989
1990 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1991
1992 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1993
1994 * window.el (window-state-put): Allow WINDOW to refer to an
1995 internal window (Bug#16793).
1996
1997 2014-02-19 Glenn Morris <rgm@gnu.org>
1998
1999 * textmodes/remember.el: Move provide statement to end.
2000 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2001 (remember-notes): Doc fixes.
2002
2003 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * delsel.el (delete-char): Restore incorrectly erased property
2006 (bug#16795).
2007
2008 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2009
2010 * frameset.el (frameset--restore-frame): When a frame is being reused
2011 and its root window is not alive, delete all the frame's windows before
2012 restoring the window state. This works around the issue in bug#16793.
2013
2014 2014-02-18 Glenn Morris <rgm@gnu.org>
2015
2016 * textmodes/remember.el (remember-data-directory)
2017 (remember-directory-file-name-format, remember-store-in-files)
2018 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2019 (remember-notes-save-and-bury-buffer)
2020 (remember-notes--kill-buffer-query): Doc fixes.
2021
2022 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2023
2024 2014-02-17 Alan Mackenzie <acm@muc.de>
2025
2026 Connect electric-indent-mode up with CC Mode. Bug #15478.
2027 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2028 to electric-indent-{,local-}-mode.
2029 (c-basic-common-init): Set electric-indent-inhibit.
2030 Initialise c-electric-flag from electric-indent-mode.
2031 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2032 New hook functions which propagate electric-indent-mode to CC mode.
2033
2034 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2035 hit, toggle electric-indent-local-mode.
2036
2037 * electric.el (electric-indent-mode-has-been-called):
2038 New variable.
2039
2040 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2041
2042 * frameset.el (frameset-cfg-id): New function.
2043 (frameset--reuse-frame, frameset-restore): Use it.
2044 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2045
2046 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * ido.el (ido-file-internal): Remove unused var `d'.
2049 Use \` for to match BoS. Fit within 80n columns.
2050
2051 2014-02-17 Daniel Colascione <dancol@dancol.org>
2052
2053 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2054 dbus-call-method check for completion using a busy-wait loop with
2055 gradual backoff.
2056
2057 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2058
2059 Sync with Tramp 2.2.9.
2060
2061 * net/trampver.el: Update release number.
2062
2063 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2064
2065 * ido.el (ido-file-internal): Don't add the name of an existing
2066 directory twice. (Bug#16747)
2067
2068 2014-02-16 Glenn Morris <rgm@gnu.org>
2069
2070 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2071 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2072
2073 2014-02-15 Michael R. Mauger <michael@mauger.com>
2074
2075 * progmodes/sql.el: Version 3.4
2076 (sql-oracle-options): New default value ("-L").
2077 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2078 (sql-placeholders-filter): Correct placeholder pattern.
2079 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2080 (sql-login-delay): New variable.
2081 (sql-product-interactive): Use it.
2082
2083 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2084
2085 * frameset.el (frameset--jump-to-register): Check that buffer is live
2086 (bug#16749).
2087
2088 2014-02-15 Glenn Morris <rgm@gnu.org>
2089
2090 * info.el (info-initialize): Revert 2014-01-10 change.
2091
2092 2014-02-14 Glenn Morris <rgm@gnu.org>
2093
2094 * replace.el (map-query-replace-regexp)
2095 (read-regexp-defaults-function, read-regexp): Doc fixes.
2096
2097 * dired.el (dired-read-regexp):
2098 * faces.el (list-faces-display):
2099 * misearch.el (multi-isearch-read-matching-buffers)
2100 (multi-isearch-read-matching-files):
2101 * play/cookie1.el (cookie-apropos):
2102 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2103
2104 * textmodes/remember.el (remember): Use frameset-to-register
2105 rather than frame-configuration-to-register.
2106
2107 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2108
2109 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2110 incorrect keybinding.
2111
2112 2014-02-13 Daniel Colascione <dancol@dancol.org>
2113
2114 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2115 when adding overlays so that line numbers from compiler match line
2116 numbers we use.
2117
2118 2014-02-13 Glenn Morris <rgm@gnu.org>
2119
2120 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2121
2122 * jit-lock.el (jit-lock-mode): Doc fix.
2123
2124 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * apropos.el (apropos-read-pattern): When the user passes an empty
2127 string, give a more helpful error message than "Wrong type
2128 argument: stringp, nil".
2129
2130 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2133
2134 2014-02-13 Glenn Morris <rgm@gnu.org>
2135
2136 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2137
2138 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2141 shift-select commands.
2142
2143 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2144
2145 * progmodes/js.el (js-indent-line): Don't widen.
2146 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2147
2148 2014-02-12 Glenn Morris <rgm@gnu.org>
2149
2150 * icomplete.el (icomplete): Add info-link to defgroup.
2151 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2152 (icomplete-minibuffer-map, icomplete-mode)
2153 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2154
2155 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2156 (package-menu-filter): Rename from package-menu-filter-interactive.
2157 Doc fix.
2158
2159 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2160
2161 * frameset.el (frameset--jump-to-register): Select the required
2162 window and buffer before restoring position (bug#16696).
2163
2164 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2165
2166 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2167
2168 2014-02-10 Glenn Morris <rgm@gnu.org>
2169
2170 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2171
2172 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2173
2174 * w32-common-fns.el (x-get-selection): Doc fix.
2175 * select.el (x-get-selection): Doc fix. (Bug#15109)
2176
2177 * face-remap.el (face-remap-add-relative)
2178 (face-remap-remove-relative, face-remap-reset-base)
2179 (face-remap-set-base): Call force-mode-line-update to redisplay
2180 the current buffer due to potential change in faces. (Bug#16709)
2181
2182 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2183
2184 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2185 script more robustly.
2186
2187 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2188
2189 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2190
2191 * simple.el (choose-completion): Doc fix (bug#14160).
2192
2193 * subr.el (event-start): Say what a nil EVENT value means.
2194
2195 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2196 (bug#14197).
2197
2198 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2199
2200 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2201
2202 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2203
2204 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2205 predicate function (bug#15455).
2206
2207 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2208
2209 * ielm.el (inferior-emacs-lisp-mode): Instead of
2210 `comment-use-global-state', set `comment-use-syntax'.
2211
2212 2014-02-10 Glenn Morris <rgm@gnu.org>
2213
2214 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2215
2216 2014-02-09 Alan Mackenzie <acm@muc.de>
2217
2218 Fix c-invalidate-state-cache on narrowed buffers.
2219 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2220 Widen when setting and clearing the CPP delimiter properties.
2221
2222 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2223
2224 * help.el (describe-bindings): Doc fix (bug#9888).
2225
2226 * files.el (save-buffer): Use ARG as the parameter name for
2227 consistency (bug#10346).
2228 (save-buffer): Clarify the 0 argument (bug#10346).
2229
2230 * cus-edit.el (customize-apropos): Fix error string.
2231 (custom-buffer-create): Doc fix (bug#11122).
2232 (custom-sort-items): Doc fix (bug#11121).
2233
2234 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2235
2236 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2237 (icomplete-simple-completing-p): Mention the previous variable.
2238
2239 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2240 meaning of the parameter (bug#12282).
2241
2242 * files.el (find-file-noselect): Clarify prompt when changing
2243 readedness (bug#13261).
2244 (locate-file): Suffixes aren't returned, so don't say that they
2245 are (bug#12674).
2246 (backup-inhibited): Doc clarification (bug#12525).
2247
2248 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2249 before we actually start to delete things (bug#16331).
2250
2251 * subr.el (event-start): Doc fix (bug#14228).
2252 (event-end): Ditto.
2253
2254 2014-02-09 Glenn Morris <rgm@gnu.org>
2255
2256 * emacs-lisp/warnings.el (lwarn):
2257 Empower help-enable-auto-load. (Bug#15940)
2258
2259 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2260
2261 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2262 (Bug#16690)
2263
2264 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2265
2266 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2267 Insert output at end of buffer. (Bug#16120)
2268
2269 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2270
2271 * simple.el (choose-completion-string-functions): Document new
2272 calling convention (bug#14153).
2273 (execute-extended-command): Clarify doc string (bug#13373).
2274
2275 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2276
2277 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2278 (find-grep-dired): Doc fix (bug#14288).
2279
2280 2014-02-08 Juri Linkov <juri@jurta.org>
2281
2282 * isearch.el (isearch-quote-char): Check character validity
2283 like in `quoted-insert' (bug#16677).
2284
2285 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2286
2287 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2288
2289 * isearch.el (isearch-hide-immediately): Doc clarification
2290 (bug#14723).
2291
2292 * simple.el (line-move): Document utility function used many
2293 places in the Emacs sources (bug#14843).
2294
2295 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2296 (dired-prev-marked-file): Doc fix (bug#14855).
2297 (dired-up-directory): Doc fix (bug#14848).
2298
2299 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2300
2301 * files.el (file-relative-name): Doc fix (bug#15159).
2302
2303 * fringe.el (fringe-styles): Doc fix (bug#15239).
2304
2305 * isearch.el (isearch-filter-predicate): Documentation typo fix
2306 (bug#15474).
2307
2308 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2309
2310 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2311
2312 * replace.el (replace-match-maybe-edit): Doc clarification
2313 (bug#15632).
2314
2315 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2316
2317 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2318
2319 2014-02-08 Glenn Morris <rgm@gnu.org>
2320
2321 * help-fns.el (describe-variable):
2322 Check {file,dir}-local-variables-alist, and buffer-file-name,
2323 in the correct buffer.
2324
2325 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2326
2327 * help-fns.el (describe-variable): Fix the case where
2328 a value is directory-local with no dir-locals file. (Bug#16635)
2329
2330 2014-02-08 Glenn Morris <rgm@gnu.org>
2331
2332 * abbrev.el (edit-abbrevs-mode):
2333 Derive from fundamental-mode. (Bug#16682)
2334
2335 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2336
2337 * simple.el (quoted-insert): Check character validity (bug#16677).
2338
2339 2014-02-07 Juri Linkov <juri@jurta.org>
2340
2341 * desktop.el (desktop-read): Claim the lock when the owner is not
2342 the current process. (Bug#16157)
2343
2344 2014-02-07 Juri Linkov <juri@jurta.org>
2345
2346 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2347 to "\\` ". (Bug#16651)
2348
2349 2014-02-07 Juri Linkov <juri@jurta.org>
2350
2351 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2352 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2353 (desktop-auto-save-cancel-timer): New function with some code from
2354 `desktop-auto-save-set-timer'.
2355 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2356 Instead of setting `desktop-save-mode' to nil, call
2357 `desktop-save-mode' with arg 0. (Bug#16630)
2358
2359 2014-02-07 Glenn Morris <rgm@gnu.org>
2360
2361 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2362 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2363 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2364
2365 * obsolete/iswitchb.el: Move to obsolete/.
2366 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2367 since obsolete/ is not scanned for autoloads.
2368 * emacs-lisp/authors.el (authors-valid-file-names):
2369 Add iswitchb.el.
2370
2371 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2372 Disable now non-functional find-file-hook.
2373
2374 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2375
2376 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2377 instead of ";" in order to avoid additional prompts. Let heredoc
2378 scripts read from tty. (Bug#16582)
2379 (tramp-send-command): No special handling of heredocs, it isn't
2380 necessary anymore.
2381
2382 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2383
2384 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2385 with a space (bug#16664). Limit the symbols considered to the ones
2386 that are bound or fbound (bug#16646).
2387
2388 2014-02-06 Glenn Morris <rgm@gnu.org>
2389
2390 * epa.el (epa-mail-aliases): Doc fix.
2391
2392 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2393
2394 * emacs-lisp/lisp.el (lisp-completion-at-point):
2395 Use `completion-table-merge' instead of `completion-table-in-turn'
2396 (bug#16604).
2397
2398 * minibuffer.el (completion-table-merge): New function.
2399
2400 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2401
2402 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2403 (tramp-sh-handle-set-file-acl)
2404 (tramp-sh-handle-start-file-process)
2405 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2406 (tramp-find-executable, tramp-send-command): Use it.
2407
2408 2014-02-05 Glenn Morris <rgm@gnu.org>
2409
2410 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2411
2412 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2413
2414 * progmodes/python.el (python-shell-send-string)
2415 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2416
2417 2014-02-04 Anders Lindgren <andlind@gmail.com>
2418
2419 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2420 the names (bug#16620).
2421
2422 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2423
2424 * faces.el (window-divider): New default value. Rewrite doc-string.
2425 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2426
2427 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2428
2429 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2430 `protected' and `public' can also be called without arguments.
2431
2432 2014-02-03 Glenn Morris <rgm@gnu.org>
2433
2434 * register.el (window-configuration-to-register)
2435 (frame-configuration-to-register): Unadvertise unused argument.
2436 * frameset.el (frameset-to-register): Remove unused argument.
2437
2438 * frameset.el (frameset-to-register):
2439 * kmacro.el (kmacro-to-register):
2440 * register.el (increment-register):
2441 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2442 (calc-append-to-register, calc-prepend-to-register):
2443 * play/gametree.el (gametree-layout-to-register)
2444 (gametree-apply-register-layout):
2445 * textmodes/picture.el (picture-clear-rectangle-to-register)
2446 (picture-yank-rectangle-from-register):
2447 * vc/emerge.el (emerge-combine-versions-register):
2448 Use register-read-with-preview to read registers.
2449
2450 2014-02-03 João Távora <joaotavora@gmail.com>
2451
2452 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2453 when at beginning of (possibly narrowed) buffer.
2454
2455 2014-02-02 Daniel Colascione <dancol@dancol.org>
2456
2457 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2458 Also try to display local help from just before point.
2459
2460 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2461
2462 c-parse-state. Don't "append-lower-brace-pair" in certain
2463 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2464 recognised as a comment.
2465
2466 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2467 as well as normal comment starter.
2468 (c-parse-state-get-strategy): Extra return possibility
2469 'back-and-forward.
2470 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2471 return value list to indicate replacement of a brace-pair cons
2472 with its car.
2473 (c-parse-state-1): With 'back-and-forward, only call
2474 c-append-lower-brace-pair-to state-cache when cons-separated.
2475
2476 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2477
2478 * term/ns-win.el (ns-suspend-error): New function.
2479 (ns-initialize-window-system): Add ns-suspend-error to
2480 suspend-hook (Bug#16612).
2481
2482 2014-02-02 Daniel Colascione <dancol@dancol.org>
2483
2484 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2485 Make loading cc-mode silent.
2486
2487 2014-02-02 Daniel Colascione <dancol@dancol.org>
2488
2489 * comint.el (comint-prompt-read-only): Change doc to suggest
2490 remap keybinding.
2491
2492 2014-02-02 Glenn Morris <rgm@gnu.org>
2493
2494 * register.el (register-read-with-preview, point-to-register)
2495 (window-configuration-to-register, frame-configuration-to-register)
2496 (jump-to-register, number-to-register, view-register, insert-register)
2497 (copy-to-register, append-to-register, prepend-to-register)
2498 (copy-rectangle-to-register): Doc fixes.
2499
2500 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2503 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2504 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2505 * help-fns.el (describe-function-1): Use it.
2506
2507 2014-02-02 Glenn Morris <rgm@gnu.org>
2508
2509 * register.el (register-preview-default): New function,
2510 split from register-preview.
2511 (register-preview-function): Rename from register-preview-functions,
2512 make it not a hook.
2513 (register-preview): Use register-preview-function.
2514 (register-read-with-preview): Error on non-character event. (Bug#16595)
2515
2516 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2517
2518 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2519 `:' before binary operators (bug#16609). Don't check for `:'
2520 before `[' and `(', or their syntax status. A percent literal
2521 can't end with either.
2522 (ruby-font-lock-keywords): For built-ins that require arguments,
2523 check that they're followed by something that looks like argument
2524 (bug#16610).
2525
2526 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2527
2528 * subr.el (butlast): Document what an omitted N means (bug#13437).
2529 (nbutlast): Ditto.
2530
2531 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2532
2533 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2534 depth shallower (bug#16587).
2535 (shr-tag-svg): Respect `shr-inhibit-images'.
2536 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2537
2538 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2539
2540 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2541 (ruby-smie-grammar): Make "." right-associative. Make its priority
2542 lower than the ternary and all binary operators.
2543 (ruby-smie-rules): Indent "(" relative to the first non-"."
2544 parent, or the first "." parent at indentation.
2545 Use `ruby-align-chained-calls' for indentation of "." tokens.
2546 (Bug#16593)
2547
2548 2014-01-31 Juri Linkov <juri@jurta.org>
2549
2550 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2551 from `make-hash-table'.
2552
2553 * textmodes/ispell.el (ispell-init-process): Change message format
2554 to be consistent with other messages.
2555
2556 2014-01-31 Glenn Morris <rgm@gnu.org>
2557
2558 * delsel.el (delete-selection-mode): Doc fix.
2559
2560 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2561 (trace-function-background): Doc fixes.
2562
2563 * ido.el (ido-use-virtual-buffers): Doc fix.
2564 Reset :version, since the default value has not changed.
2565
2566 * register.el (register-preview-delay, register-read-with-preview):
2567 Doc fixes.
2568
2569 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2570 do not mess with mail-buffer position (fixes 2009-11-03 change).
2571 * progmodes/cc-mode.el (c-submit-bug-report):
2572 Check auto-fill-mode is bound. (Bug#16592)
2573
2574 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2575
2576 * startup.el (fancy-splash-image-file): New function,
2577 split from fancy-splash-head.
2578 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2579 so that we are both using the same image. (Bug#16574)
2580
2581 2014-01-30 Glenn Morris <rgm@gnu.org>
2582
2583 * simple.el (eval-expression): Doc fix.
2584
2585 * hexl.el (hexl-mode-hook):
2586 * ielm.el (ielm-mode-hook):
2587 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2588 (lisp-interaction-mode-hook):
2589 * progmodes/cfengine.el (cfengine3-documentation-function):
2590 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2591
2592 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2593
2594 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2595 is a symbol (bug#16584).
2596
2597 2014-01-30 Glenn Morris <rgm@gnu.org>
2598
2599 * help.el (help-for-help-internal): Add "P" to text.
2600
2601 2014-01-29 Glenn Morris <rgm@gnu.org>
2602
2603 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2604
2605 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2606
2607 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2608 height constraints.
2609
2610 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2611
2612 * progmodes/hideif.el: Extend to full CPP expression syntax.
2613 (hif-token-alist): Add missing tokens.
2614 (hif-token-regexp): Add support for float/octal/hex immediates.
2615 (hif-string-literal-regexp): New const.
2616 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2617 (hif-exprlist): New function.
2618 (hif-parse-if-exp): Use it.
2619 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2620 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2621 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2622 (hif-logxor, hif-comma): New functions.
2623
2624 2014-01-28 Glenn Morris <rgm@gnu.org>
2625
2626 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2627
2628 * indent.el (tab-stop-list): Doc fix. Add :version.
2629
2630 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2631 (cvs-append-to-ignore): Add compatibility alias.
2632
2633 2014-01-27 Glenn Morris <rgm@gnu.org>
2634
2635 * dired.el (dired-hide-details-mode): Don't autoload it,
2636 since it cannot be used outside Dired buffers anyway.
2637
2638 * emulation/cua-base.el (cua-mode): Doc fix.
2639
2640 * dired.el (dired-hide-details-hide-symlink-targets)
2641 (dired-hide-details-hide-information-lines)
2642 (dired-hide-details-mode): Doc fixes.
2643
2644 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2645 * strokes.el (strokes-file): Doc fix. Bump :version.
2646 (strokes-help): Doc fix.
2647 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2648 * emulation/viper.el (viper): Doc fix for custom group.
2649 (top-level): Remove oh-so-no-longer-relevant text about vip.
2650 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2651
2652 * ido.el (ido-save-directory-list-file):
2653 * saveplace.el (save-place-file):
2654 * calendar/timeclock.el (timeclock-file):
2655 * net/quickurl.el (quickurl-url-file):
2656 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2657 * progmodes/idlwave.el (idlwave-config-directory):
2658 * textmodes/remember.el (remember-data-file):
2659 Bump :version.
2660
2661 2014-01-26 Glenn Morris <rgm@gnu.org>
2662
2663 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2664 Doc fix. Make obsolete.
2665 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2666
2667 * sort.el (delete-duplicate-lines): Doc fix.
2668
2669 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2670
2671 * progmodes/ada-mode.el (ada):
2672 * woman.el (woman): Link to info manual and Commentary section.
2673
2674 * progmodes/flymake.el (flymake):
2675 * nxml/nxml-mode.el (nxml):
2676 * net/eww.el (eww):
2677 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2678 * htmlfontify.el (htmlfontify):
2679 * ses.el (ses):
2680 * epa.el (epa):
2681 * ido.el (ido): Link to info manual.
2682
2683 2014-01-25 Leo Liu <sdl.web@gmail.com>
2684
2685 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2686
2687 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2688
2689 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2690 (bug#16537).
2691
2692 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2693
2694 * net/eww.el (eww-download-callback):
2695 Fix reference to eww-download-directory.
2696
2697 * emacs-lisp/bytecomp.el (byte-compile-file):
2698 Remove unused local variable `file-name'.
2699
2700 2014-01-24 Glenn Morris <rgm@gnu.org>
2701
2702 * woman.el (woman-default-faces, woman-monochrome-faces):
2703 Fix obsolescence specification.
2704
2705 * subr.el (with-demoted-errors): Doc fix.
2706
2707 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2710 (cl--macroexp-fboundp): New function.
2711 (cl--make-type-test): Use it.
2712
2713 2014-01-23 Glenn Morris <rgm@gnu.org>
2714
2715 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2716 * simple.el (eval-expression): Doc fixes.
2717
2718 2014-01-22 Glenn Morris <rgm@gnu.org>
2719
2720 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2721
2722 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2723
2724 * emacs-lisp/package.el: Write files silently.
2725 (package-autoload-ensure-default-file, package--write-file-no-coding)
2726 (package-generate-description-file, package--download-one-archive)
2727 (package-install-from-archive): Tell `write-region' to stay quiet.
2728 (package-menu-mode, package-menu--print-info): Omit the Archive column
2729 if there's only one archive.
2730 (package-all-keywords, package--has-keyword-p): Remove dead code.
2731
2732 2014-01-22 Glenn Morris <rgm@gnu.org>
2733
2734 * version.el (emacs-bzr-version-bzr): Fix typo.
2735
2736 * version.el (emacs-repository-get-version):
2737 Check either .bzr or .git, but not both.
2738 Make the git case actually use the DIR argument, and return nil
2739 rather than the empty string.
2740 Avoid error if .git exists but the git executable is not found.
2741
2742 2014-01-22 Martin Rudalics <rudalics@gmx.at>
2743
2744 Fixes in window size functions around Bug#16430 and Bug#16470.
2745 * window.el (window-total-size, window-size): New argument ROUND.
2746 (window--min-delta-1, window-min-delta, window--max-delta-1):
2747 Be more conservative when calculating the numbers of lines or
2748 columns a window can shrink (Bug#16430).
2749 (fit-window-to-buffer): Simplify code.
2750 * term.el (term-window-width): Call window-body-width again.
2751
2752 2014-01-22 Glenn Morris <rgm@gnu.org>
2753
2754 * image.el (image-format-suffixes): Doc fix.
2755
2756 * international/quail.el (quail-define-package): Doc fix.
2757
2758 * emacs-lisp/authors.el (authors-valid-file-names)
2759 (authors-renamed-files-alist): Additions.
2760
2761 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2762 reverts 2014-01-09 change. (Bug#16422)
2763
2764 * calc/calc-embed.el (thing-at-point-looking-at):
2765 * emacs-lisp/map-ynp.el (x-popup-dialog):
2766 * obsolete/lmenu.el (x-popup-dialog):
2767 * emacs-lisp/package.el (url-recreate-url):
2768 * mail/mailclient.el (clipboard-kill-ring-save):
2769 * subr.el (x-popup-dialog): Update declaration.
2770 * mail/rmail.el (rmail-mime-message-p):
2771 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2772
2773 2014-01-21 Daniel Colascione <dancol@dancol.org>
2774
2775 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2776 Correctly detect when we're inside an arithmetic expansion form
2777 containing nested parenthesis.
2778 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2779 to detect cases where we shouldn't expand "<<" to a heredoc
2780 skeleton.
2781
2782 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2785 (eldoc--message-command-p): New function.
2786 (eldoc-display-message-p): Use it.
2787 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2788 message is not automatically erased for us.
2789 (eldoc-print-current-symbol-info): Erase previous message, if any.
2790
2791 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2792
2793 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2794 specify it's an interactive function.
2795
2796 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2797 Fix regex used for scanning for citation keys which failed for
2798 citations with optional arguments.
2799
2800 2014-01-21 Leo Liu <sdl.web@gmail.com>
2801
2802 * simple.el (read--expression): Don't enable eldoc-mode.
2803
2804 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2805
2806 * simple.el (move-beginning-of-line): Make sure we don't move forward
2807 (bug#16497).
2808
2809 2014-01-20 Juri Linkov <juri@jurta.org>
2810
2811 * saveplace.el (toggle-save-place, save-place-to-alist)
2812 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2813 'dired-mode) before checking for dired-directory. (Bug#16477)
2814
2815 2014-01-20 Juri Linkov <juri@jurta.org>
2816
2817 * indent.el (indent-line-to): Use backward-to-indentation
2818 instead of back-to-indentation. (Bug#16461)
2819
2820 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2821
2822 Revert some of the CANNOT_DUMP fix (Bug#16494).
2823 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2824 but fixing this can wait until after the next release.
2825 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2826
2827 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2828
2829 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2830 Use `password-word-equivalents'.
2831 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2832 to t. (Bug#5664, Bug#13124)
2833
2834 2014-01-19 Alan Mackenzie <acm@muc.de>
2835
2836 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2837 points.
2838 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2839 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2840 * progmodes/cc-mode.el (c-before-change, c-after-change)
2841 (c-font-lock-fontify-region): Bind it here.
2842
2843 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2844
2845 * term.el (term-window-width): Call window-text-width instead of
2846 window-width (Bug#16470).
2847
2848 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2849
2850 * simple.el (password-word-equivalents): Remove duplicates.
2851 Sort, to make this easier next time.
2852 Downcase. Omit ": " after "jelszó".
2853
2854 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2855
2856 * term/common-win.el (saved-region-selection): Defvar it.
2857 (x-select-text): Set saved-region-selection (Bug#16382).
2858
2859 2014-01-18 Glenn Morris <rgm@gnu.org>
2860
2861 * emacs-lisp/authors.el (authors-aliases)
2862 (authors-renamed-files-alist): Add some entries.
2863
2864 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2865
2866 * net/tramp.el (tramp-password-prompt-regexp):
2867 Use `password-word-equivalents' if available.
2868 (tramp-action-password, tramp-process-one-action)
2869 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2870
2871 2014-01-17 Chong Yidong <cyd@gnu.org>
2872
2873 * simple.el (password-word-equivalents): New defcustom.
2874 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2875 to 24.4.
2876 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2877 to t. (Bug#13124)
2878
2879 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2880
2881 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2882 (ruby-align-to-stmt-keywords): Change the default value.
2883 Use `ruby-alignable-keywords' to generate the possible customization
2884 choices.
2885 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2886 keywords, check against the value of `ruby-alignable-keywords'
2887 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2888
2889 2014-01-17 Glenn Morris <rgm@gnu.org>
2890
2891 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2892
2893 Make M-x authors return zero *Authors Errors* from current logs.
2894 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2895 (authors-ignored-files): Add some entries, remove others.
2896 (authors-ambiguous-files, authors-valid-file-names):
2897 Add some entries.
2898 (authors-renamed-files-alist): Add, remove, and adjust entries.
2899 (authors-renamed-files-regexps): Add some entries.
2900 Remove some very broad ones. Make some entries `lax'.
2901 (authors-lax-changelogs): New constant.
2902 (authors-disambiguate-file-name): Treat top-level specially.
2903 (authors-lax-changelog-p): New function.
2904 (authors-canonical-file-name): Check file as written against
2905 authors-valid-file-names. Do not special-case etc/.
2906 Handle `lax' logs and authors-renamed-files-regexps elements.
2907
2908 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2909
2910 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2911 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2912 callers.
2913
2914 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2917 Assume we're already in the proper buffer.
2918 Inspired by Anders Lindgren <andlind@gmail.com>.
2919 (follow-post-command-hook): Call it from the right buffer.
2920 (follow-comint-scroll-to-bottom): Adjust call.
2921 (follow-all-followers): Use get-buffer-window-list.
2922
2923 2014-01-15 Daniel Colascione <dancol@dancol.org>
2924
2925 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2926 `buffer-file-name' in interactive-form so that we don't leave
2927 pathless file names in `file-name-history'.
2928
2929 2014-01-15 Juri Linkov <juri@jurta.org>
2930
2931 * indent.el (indent-rigidly): Set deactivate-mark to nil
2932 in transient indentation mode. (Bug#16438)
2933
2934 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2935
2936 * emacs-lisp/package.el (package-desc-keywords): New function
2937 (Bug#16222).
2938 (describe-package-1, package-all-keywords)
2939 (package--has-keyword-p): Use it.
2940
2941 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2942
2943 * simple.el (define-alternatives): When creating the
2944 COMMAND-alternatives variable, assign COMMAND as its definition
2945 name so that `describe-variable' can relocate it.
2946
2947 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2948
2949 * font-lock.el (font-lock-keywords): Fix typo in docstring
2950 (bug#16307).
2951
2952 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2953
2954 * ispell.el (ispell-region): Reset `in-comment' for new line
2955 instead of wrongly reset `add-coment' (bug#13577).
2956
2957 2014-01-14 Daiki Ueno <ueno@gnu.org>
2958
2959 * epa-file.el (epa-file-write-region): Encode the region according
2960 to `buffer-file-format'. Problem reported at:
2961 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2962
2963 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2966 so it applies in the right buffer (bug#16410).
2967
2968 2014-01-13 Daniel Colascione <dancol@dancol.org>
2969
2970 * textmodes/rst.el (rst-define-key): Provide deprecated
2971 keybindings through named functions instead of anonymous ones so
2972 that "??" doesn't appear in describe-mode output.
2973
2974 2014-01-13 Bastien Guerry <bzg@gnu.org>
2975
2976 * simple.el (define-alternatives): Call the selected command
2977 interactively. When setting `COMMAND--implementation' for the
2978 first time, tell the user how to chose another implementation.
2979 Enhance the docstring.
2980
2981 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2984 (log-edit--match-first-line): New function.
2985 (log-edit-font-lock-keywords): Use it.
2986 (log-edit-mode): Make jit-lock-defer-multiline work.
2987
2988 2014-01-13 Bastien Guerry <bzg@gnu.org>
2989
2990 * rect.el (rectangle-mark-mode): When the region is not active,
2991 display a message saying that the mark as been set and that
2992 rectangle mode is in use.
2993 (rectangle--highlight-for-redisplay): Only put an overlay with a
2994 visible vertical bar when (display-graphic-p) is non-nil.
2995 This partially fixes Bug#16403.
2996
2997 2014-01-13 Juri Linkov <juri@jurta.org>
2998
2999 * info.el (Info-find-file): Go to DIR before displaying the error
3000 about a nonexistent file if no previous Info file is visited.
3001 Use `user-error' instead of `error' for "Info file %s does not exist".
3002 (Info-find-node-2): In case of a nonexistent node in unwind forms
3003 go to the Top node if there is no previous node to revert to.
3004 (Bug#16405)
3005
3006 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3007
3008 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3009 * window.el (fit-frame-to-buffer): Fix doc-string.
3010 Respect window-min-height/-width. Fit pixelwise when
3011 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3012 when avoiding that frame goes partially off-screen.
3013 (fit-window-to-buffer): Respect window-min-height/-width
3014 (Bug#14096).
3015
3016 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3019 after an empty line.
3020
3021 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3022
3023 * net/shr.el (shr-render-region): Autoload.
3024
3025 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3026
3027 * net/eww.el (eww-download-directory): Rename from
3028 `eww-download-path' (Bug#16419).
3029
3030 2014-01-12 Leo Liu <sdl.web@gmail.com>
3031
3032 * dired-x.el (dired-mode-map): Fix last change.
3033
3034 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3035
3036 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3037
3038 Spelling fixes.
3039 * emacs-lisp/generic.el (generic--normalize-comments):
3040 Rename from generic--normalise-comments. All uses changed.
3041 * play/bubbles.el (bubbles--neighborhood-score)
3042 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3043 (bubbles--neighborhood-available)
3044 (bubbles--update-neighborhood-score):
3045 Rename from names with 'neighbourhood'. All uses changed.
3046
3047 2014-01-12 Leo Liu <sdl.web@gmail.com>
3048
3049 Re-implement the feature of showing eldoc info after editing.
3050 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3051 (eldoc-edit-message-commands): New function.
3052 (eldoc-print-after-edit): New variable.
3053 (eldoc-pre-command-refresh-echo-area): Emit message only by
3054 eldoc-message-commands.
3055 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3056 if eldoc-print-after-edit is set. (Bug#16346)
3057 * simple.el (read--expression): Enable eldoc-mode.
3058 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3059
3060 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3061 Eric S. Raymond <esr@thyrsus.com>
3062
3063 * version.el (emacs-repository-get-version): Enhance so the
3064 function works correctly in either a Bazaar or Git repo.
3065
3066 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3067
3068 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3069 Goes with removal of the joke manpages from /etc.
3070
3071 2014-01-10 Kenichi Handa <handa@gnu.org>
3072
3073 * mail/rmail.el (rmail-get-coding-system):
3074 Check rmail-get-coding-function before "funcall"ing it.
3075
3076 2014-01-10 Glenn Morris <rgm@gnu.org>
3077
3078 * emacs-lisp/authors.el (authors-fixed-entries):
3079 Update for files that no longer exist.
3080
3081 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3082
3083 * version.el (emacs-bzr-get-version): Restore compatibilty with
3084 24.3 (Tested).
3085
3086 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3087
3088 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3089 and Podfile.
3090
3091 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3092
3093 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3094
3095 2014-01-10 Chong Yidong <cyd@gnu.org>
3096
3097 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3098
3099 2014-01-10 Anders Lindgren <andlind@gmail.com>
3100
3101 * follow.el (follow-cache-command-list): Include right-char and
3102 left-char.
3103
3104 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3105
3106 Spelling fixes.
3107 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3108 * woman.el (woman-mark-horizontal-position):
3109 Rename from woman-mark-horizonal-position. Use changed.
3110
3111 2014-01-10 Glenn Morris <rgm@gnu.org>
3112
3113 * info.el (info-initialize): If running uninstalled, ensure our
3114 own info files are always found first, even if INFOPATH is set.
3115
3116 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3117
3118 2014-01-09 David Engster <deng@randomsample.de>
3119
3120 * emacs-lisp/eieio-custom.el:
3121 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3122 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3123 * emacs-lisp/eieio.el: Regenerate autoloads.
3124
3125 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3126
3127 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3128 following renames. (Bug#8756)
3129
3130 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3131
3132 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3133 (bug#16382).
3134 (activate-mark): Add `no-tmm' argument.
3135 (set-mark, push-mark-command): Use it instead of running
3136 activate-mark-hook by hand.
3137
3138 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3139
3140 In preparation for the move to git, sanitize out some
3141 Bazaar-specific names.
3142
3143 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3144
3145 * version.el (emacs-bzr-version): Name changed to
3146 emacs-repository-version. Obsolete-variable alias made.
3147 * loadup.el: Follow through on this name change.
3148 * mail/emacsbug.el (report-emacs-bug): Factor out any
3149 assumption about the version control system in use.
3150
3151 2014-01-08 David Engster <deng@randomsample.de>
3152
3153 * help-fns.el (help-fns-describe-function-functions):
3154 New variable to call functions for augmenting help buffers.
3155 (describe-function-1): Remove explicit calls to
3156 `help-fns--compiler-macro', `help-fns--parent-mode' and
3157 `help-fns--obsolete'. Put them in above new variable instead, and
3158 call them through `run-hook-with-args'.
3159 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3160 `eieio-describe-class'. Not meant for interactive use anymore,
3161 but to augment existing help buffers. Remove optional second
3162 argument. Create proper button for file location.
3163 Rewrite function to use `insert' instead of `princ' and `prin1' where
3164 possible.
3165 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3166 (eieio-method-def, eieio-class-def): Move further up.
3167 (describe-method, describe-generic, eieio-describe-method):
3168 Remove aliases.
3169 (eieio-help-constructor, eieio-help-generic): Rename from
3170 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3171 Rewrite to use `insert' in the current buffer and use proper help
3172 buttons.
3173 (eieio-help-find-method-definition)
3174 (eieio-help-find-class-definition): Also accept symbols as
3175 arguments.
3176 (eieio-help-mode-augmentation-maybee): Remove.
3177 (eieio-describe-class-sb): Use `describe-function'.
3178 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3179 Add `eieio-help-generic' and `eieio-help-constructor'.
3180
3181 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3182
3183 Spelling fixes.
3184 * language/china-util.el (hz-ascii-designation):
3185 Rename from hz-ascii-designnation.
3186 (hz-ascii-designation): Rename from hz-ascii-designnation.
3187 All uses changed.
3188
3189 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3190
3191 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3192 package-alist.
3193
3194 2014-01-08 Bastien Guerry <bzg@gnu.org>
3195
3196 * emacs-lisp/package.el (package-delete):
3197 Correctly delete the package from package-alist.
3198
3199 2014-01-08 Daiki Ueno <ueno@gnu.org>
3200
3201 * emacs-lisp/package.el (url-recreate-url): Declare.
3202 (url-http-target-url): Declare.
3203 (package-handle-response): Include requested URL in the error message.
3204 (package--check-signature): Don't re-signal errors from
3205 package--with-work-buffer. Suggested by Stefan Monnier.
3206
3207 2014-01-07 Bastien Guerry <bzg@gnu.org>
3208
3209 * minibuffer.el (completion--try-word-completion): When both a
3210 hyphen and a space are possible candidates for the character
3211 following a word, display both candidates. (Bug#15980)
3212
3213 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3214
3215 * window.el (balance-windows-2): While rounding don't give a
3216 window more than the remainder. Bug#16351, bug#16383.
3217
3218 2014-01-07 Glenn Morris <rgm@gnu.org>
3219
3220 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3221 (menu-bar-help-menu): Use view-external-packages instead.
3222
3223 2014-01-07 Bastien Guerry <bzg@gnu.org>
3224
3225 * emacs-lisp/package.el (package-delete): Also delete the package
3226 name from `package-alist', not its description only.
3227
3228 2014-01-07 Glenn Morris <rgm@gnu.org>
3229
3230 * help.el (view-external-packages):
3231 * menu-bar.el (menu-bar-help-extra-packages):
3232 Visit efaq.info rather than etc/MORE.STUFF.
3233
3234 2014-01-07 Juri Linkov <juri@jurta.org>
3235
3236 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3237 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3238
3239 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3240 that shadows RET. (Bug#16342)
3241
3242 2014-01-07 Chong Yidong <cyd@gnu.org>
3243
3244 * isearch.el (isearch-yank-char, isearch-yank-word)
3245 (isearch-yank-line): Doc fix.
3246
3247 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3248
3249 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3250 * emacs-lisp/elint.el (elint-find-builtins):
3251 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3252 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3253 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3254 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3255 * apropos.el (apropos-safe-documentation):
3256 * subr.el (symbol-file): Remove redundant fboundp.
3257 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3258
3259 2014-01-06 Bastien Guerry <bzg@gnu.org>
3260
3261 * hl-line.el (global-hl-line-overlay): Make a local variable.
3262 (global-hl-line-overlays): New variable to store all overlays.
3263 (global-hl-line-mode): Don't delete overlays from the current
3264 buffer when `global-hl-line-sticky-flag' is non-nil.
3265 (global-hl-line-highlight): Add new overlays to
3266 `global-hl-line-overlays'.
3267 (global-hl-line-unhighlight-all): New function to delete all
3268 overlays when turning off `global-hl-line-mode'.
3269 This fixes Bug#16183.
3270
3271 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 * subr.el (set-transient-map): Fix nested case and docstring.
3274
3275 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3276
3277 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3278 `Texinfo' entry.
3279
3280 2014-01-06 Daniel Colascione <dancol@dancol.org>
3281
3282 Fix defun navigation in vc log view.
3283
3284 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3285 like `beginning-of-defun'.
3286 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3287 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3288 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3289 (log-view-extract-comment): Call `log-view-current-entry' directly
3290 instead of relying on broken `log-view-beginning-of-defun' behavior.
3291
3292 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3293
3294 Spelling fixes.
3295 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3296 * emacs-lisp/debug.el (cancel-debug-on-entry):
3297 * epg.el (epg-error-to-string):
3298 * files.el (recover-file):
3299 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3300 * mail/emacsbug.el (report-emacs-bug-hook):
3301 * mail/sendmail.el (mail-recover):
3302 * ses.el (ses-yank-resize):
3303 * term/ns-win.el (ns-print-buffer):
3304 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3305 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3306 All uses changed.
3307 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3308
3309 2014-01-06 Leo Liu <sdl.web@gmail.com>
3310
3311 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3312 to avoid shadowing global key. (Bug#16354)
3313
3314 2014-01-06 Daniel Colascione <dancol@dancol.org>
3315
3316 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3317 rst-mode.
3318
3319 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3320
3321 * window.el (balance-windows): Add mising t to fix Bug#16351.
3322
3323 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3324
3325 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3326 (bug#16285).
3327 (shr-insert): If we have a word that's longer than `shr-width',
3328 break after it anyway. Otherwise we'll do no breaking once we get
3329 such a long word.
3330
3331 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3332
3333 * net/eww.el (eww): Support single/double quote for search.
3334 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3335 (eww-history-quit): Delete and use quit-window.
3336 (eww-history-kill): Delete, because it doesn't work well and
3337 not necessary.
3338 (eww-history-mode-map): Delete some keys and add easy-menu.
3339
3340 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3341
3342 Fix misspelling of 'chinese' in rx (Bug#16237).
3343 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3344 chinese-two-byte.
3345
3346 Change subword regexps back to vars (Bug#16296).
3347 * progmodes/subword.el (subword-forward-regexp)
3348 (subword-backward-regexp): Change these back to variables.
3349
3350 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3351
3352 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3353 syntax-begin-function (bug#16247).
3354
3355 2014-01-03 Chong Yidong <cyd@gnu.org>
3356
3357 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3358 (advice--docstring): Delete variable.
3359 (advice--make-1): Leave the docstring empty.
3360 (advice-add): Use function-documentation for advised docstring.
3361
3362 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3363 Ignore function-documentation property when getting documentation.
3364 (ad-activate-advised-definition): Use function-documentation
3365 generate the docstring.
3366 (ad-make-advised-definition): Don't call
3367 ad-make-advised-definition-docstring.
3368 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3369 Delete functions.
3370
3371 * progmodes/sql.el (sql-help): Use function-documentation instead
3372 of dynamic-docstring-function property. No need to autoload now.
3373 (sql--help-docstring): New variable.
3374 (sql--make-help-docstring): Use it.
3375
3376 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3377
3378 * ielm.el (ielm-tab): Retarget.
3379 (ielm-map): Use ielm-tab for tab.
3380 (ielm-complete-filename): Use comint-filename-completion.
3381 (ielm-complete-symbol): Remove.
3382 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3383 remove ielm-tab from completion-at-point-functions (bug#16224).
3384
3385 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3386 Beware signals raised by predicates (bug#16201).
3387
3388 2014-01-02 Richard Stallman <rms@gnu.org>
3389
3390 * dired-aux.el (dired-do-print): Handle printer-name.
3391
3392 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3393 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3394 (rmail-epa-decrypt): Turn off mime processing.
3395
3396 * mail/rmail.el (rmail-make-in-reply-to-field):
3397 Add parens in message-id.
3398
3399 * mail/rmail.el (rmail-get-coding-function): Variable.
3400 (rmail-get-coding-system): Use it.
3401
3402 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3403
3404 * international/mule-conf.el: Unify the charset indian-is13194.
3405 (indian-is13194): Specify unify-map.
3406
3407 2013-12-31 Leo Liu <sdl.web@gmail.com>
3408
3409 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3410
3411 2013-12-30 Daniel Colascione <dancol@dancol.org>
3412
3413 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3414 of printing a useless when we resume from sleep.
3415
3416 * progmodes/sh-script.el
3417 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3418 in indentation code. (Bug#16233)
3419
3420 2013-12-28 João Távora <joaotavora@gmail.com>
3421
3422 * elec-pair.el (electric-pair-post-self-insert-function):
3423 Don't open extra newlines at beginning of buffer. (Bug#16272)
3424
3425 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3426
3427 * frame.el (window-system-for-display): Don't allow to create a
3428 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3429
3430 2013-12-28 Glenn Morris <rgm@gnu.org>
3431
3432 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3433 Update callers.
3434
3435 * apropos.el (apropos-match-face):
3436 * calculator.el (calculator-displayer):
3437 * dabbrev.el (dabbrev-search-these-buffers-only):
3438 * face-remap.el (buffer-face-mode-face):
3439 * simple.el (yank-handled-properties):
3440 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3441 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3442 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3443 (hashcash-double-spend-database):
3444 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3445 (ruby-deep-indent-paren-style):
3446 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3447 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3448 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3449 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3450 Specify custom types.
3451
3452 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3453 * bookmark.el (bookmark-bmenu-use-header-line):
3454 * doc-view.el (doc-view-scale-internally):
3455 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3456 * register.el (register-preview-delay):
3457 * net/shr.el (shr-bullet):
3458 * progmodes/cfengine.el (cfengine-cf-promises)
3459 (cfengine-parameters-indent):
3460 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3461 * textmodes/reftex-vars.el (reftex-label-regexps):
3462 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3463
3464 * net/tls.el (tls-certtool-program): Fix default value.
3465
3466 * desktop.el (desktop-restore-in-current-display):
3467 * newcomment.el (comment-empty-lines):
3468 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3469 (idlwave-pad-keyword):
3470 * progmodes/tcl.el (tcl-tab-always-indent):
3471 * textmodes/reftex-vars.el (reftex-index-default-tag):
3472 * elec-pair.el (electric-pair-skip-whitespace):
3473 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3474
3475 * emacs-lisp/authors.el (authors-ignored-files)
3476 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3477
3478 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3479
3480 * shell.el (shell-dynamic-complete-command): Doc fix.
3481 (shell--command-completion-data): Shell completion now matches
3482 executable filenames from the current buffer's directory, on
3483 systems in which this behavior is the default (windows-nt, ms-dos).
3484
3485 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3486
3487 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3488
3489 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3490
3491 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3492 (bug#16251).
3493
3494 * electric.el: Move all electric-pair-* to elec-pair.el.
3495 * elec-pair.el: New file, split from electric.el.
3496
3497 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3498
3499 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3500 indentation level is larger than the width, because that will
3501 infloop.
3502 (shr-insert): Fill repeatedly long texts, so that Japanese is
3503 formatted correctly (bug#16263).
3504 (shr-find-fill-point): Off by one error in comparison with the
3505 indentation.
3506
3507 2013-12-26 João Távora <joaotavora@gmail.com>
3508
3509 * electric.el (electric-pair-mode): More flexible engine for skip-
3510 and inhibit predicates, new options for pairing-related functionality.
3511 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3512 if that keeps or improves their balance in buffers.
3513 (electric-pair-delete-adjacent-pairs): Delete the pair when
3514 backspacing over adjacent matched delimiters.
3515 (electric-pair-open-extra-newline): Open extra newline when
3516 inserting newlines between adjacent matched delimiters.
3517 (electric--sort-post-self-insertion-hook):
3518 Sort post-self-insert-hook according to priority values when
3519 minor-modes are activated.
3520 * simple.el (newline-and-indent): Call newline with interactive
3521 set to t.
3522 (blink-paren-post-self-insert-function): Set priority to 100.
3523 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3524 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3525 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3526 electric-pair-open-newline-between-pairs to nil.
3527
3528 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3529
3530 * progmodes/python.el: Use lexical-binding.
3531 (python-nav-beginning-of-defun): Stop searching ASAP.
3532
3533 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3534
3535 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3536 Fix interactive spec. Doc fix. (Bug#15754)
3537
3538 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3539
3540 * emacs-lisp/byte-run.el (eval-when-compile):
3541 * progmodes/cc-defs.el (cc-eval-when-compile):
3542 Fix edebug spec (bug#16184).
3543
3544 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3545
3546 * net/shr.el (shr-visit-file): Remove debugging function.
3547 (shr-insert): Don't infloop if we can't find a good place to break
3548 the line (bug#16256).
3549
3550 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3551
3552 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3553 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3554 python-nav-lisp-forward-sexp-safe.
3555 (python-nav--forward-sexp): New argument SAFE allows switching
3556 forward sexp movement behavior for parens.
3557 (python-nav-forward-sexp): Throw errors on unterminated parens
3558 (Bug#16191).
3559 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3560 (python-nav-backward-sexp-safe): New functions.
3561 (python-shell-buffer-substring):
3562 Use `python-nav-forward-sexp-safe'.
3563
3564 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3565
3566 * net/shr.el (shr-find-fill-point): Don't break lines before a
3567 quotation mark.
3568 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3569 (shr-find-fill-point): Remove the special checks for the quotation
3570 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3571
3572 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3573
3574 * net/eww.el (eww-form-textarea): Use a different face for
3575 textareas than text input since they have different keymaps
3576 (bug#16142).
3577
3578 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3579
3580 * progmodes/python.el (python-nav-beginning-of-statement):
3581 Speed up (Bug#15295).
3582
3583 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3584
3585 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3586 the window configuration.
3587
3588 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3589
3590 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3591 we run on MS-Windows or MS-DOS.
3592
3593 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3594
3595 * window.el (balance-windows-area): Call window-size instead of
3596 window-height and window-width. Bug#16241.
3597
3598 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3599
3600 * net/eww.el (eww-bookmark-quit): Remove.
3601 (eww-bookmark-browse): Restore the window configuration when you
3602 choose a bookmark (bug#16144).
3603
3604 2013-12-24 Daniel Colascione <dancol@dancol.org>
3605
3606 * icomplete.el: Remove redundant :group arguments to `defcustom'
3607 throughout.
3608 (icomplete-show-matches-on-no-input): New customizable variable.
3609 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3610 we have something to show.
3611 (icomplete-exhibit): Compute completions even if we have no user input.
3612
3613 2013-12-23 Daniel Colascione <dancol@dancol.org>
3614
3615 * icomplete.el: Move `provide' to end of file.
3616
3617 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3618
3619 * net/gnutls.el (gnutls-verify-error): Add version tag.
3620
3621 2013-12-23 Chong Yidong <cyd@gnu.org>
3622
3623 * subr.el (set-transient-map): Rename from
3624 set-temporary-overlay-map. Doc fix.
3625
3626 * face-remap.el (text-scale-adjust):
3627 * indent.el (indent-rigidly):
3628 * kmacro.el (kmacro-call-macro):
3629 * minibuffer.el (minibuffer-force-complete):
3630 * repeat.el (repeat):
3631 * simple.el (universal-argument--mode):
3632 * calendar/todo-mode.el (todo-insert-item--next-param):
3633 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3634
3635 * indent.el (indent-rigidly): Use substitute-command-keys.
3636
3637 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3638
3639 * net/eww.el (eww-tag-select): Add text-property to jump to next
3640 select field.
3641 (eww): Add non-supported ftp error.
3642
3643 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3644
3645 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3646 comments. Handle electric indent after typing `?' and `!'.
3647
3648 2013-12-22 Chong Yidong <cyd@gnu.org>
3649
3650 * faces.el (face-spec-recalc): If the theme specs are not
3651 applicable to a frame, fall back on the defface spec.
3652 This prevents themes from obliterating faces on low-color terminals.
3653
3654 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3655
3656 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3657 after `{'. We need it after block openers, and it doesn't seem
3658 to hurt after hash openers.
3659
3660 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3661
3662 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3663 extracted from `ruby-smie-rules'.
3664 (ruby--electric-indent-chars): New variable.
3665 (ruby--electric-indent-p): New function.
3666 (ruby-mode): Use `electric-indent-functions' instead of
3667 `electric-indent-chars'.
3668
3669 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3670
3671 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3672 docstring.
3673 (ruby-smie-rules): Indent plus one level after `=>'.
3674
3675 2013-12-21 Richard Stallman <rms@gnu.org>
3676
3677 * simple.el (newline): Doc fix.
3678
3679 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3680
3681 * net/eww.el (eww-list-histories, eww-list-histories)
3682 (eww-history-browse, eww-history-quit, eww-history-kill)
3683 (eww-history-mode-map, eww-history-mode): New command and
3684 functions to list browser histories.
3685 (eww-form-text): Support text form with disabled
3686 and readonly attributes.
3687 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3688
3689 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3690
3691 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3692 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3693 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3694 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3695 Use `user-error'.
3696 (eww-bookmark-mode-map): Add menu.
3697 (eww-render, eww-mode): Use `setq-local'.
3698 (eww-tool-bar-map): New variable.
3699 (eww-mode): Set `tool-bar-map'.
3700 (eww-view-source): Check for `html-mode' with `fboundp'.
3701
3702 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3703
3704 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3705 elements with text inside. Also remove debugging.
3706
3707 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3708
3709 * cus-start.el (all): Add ns-use-srgb-colorspace.
3710
3711 2013-12-21 Chong Yidong <cyd@gnu.org>
3712
3713 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3714 undefined. Thus, theme settings for undefined faces do not take
3715 effect until the faces are defined with defface, the same as with
3716 theme variables.
3717
3718 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3719 (face-spec-reset-face): Don't assign extra properties in temacs.
3720 (face-spec-recalc): Apply X resources too.
3721
3722 2013-12-21 Chong Yidong <cyd@gnu.org>
3723
3724 * faces.el (face-spec-set):
3725 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3726 * custom.el (defface): Doc fixes (Bug#16203).
3727
3728 * indent.el (indent-rigidly-map): Add docstring, and move commands
3729 into named functions.
3730 (indent-rigidly-left, indent-rigidly-right)
3731 (indent-rigidly-left-to-tab-stop)
3732 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3733 indentation direction based on bidi direction, and accumulate
3734 sequential commands in a single undo boundary.
3735 (indent-rigidly--pop-undo): New utility function.
3736
3737 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
3738
3739 * faces.el (read-face-name): Require crm.el when using crm-separator.
3740
3741 2013-12-20 Daniel Colascione <dancol@dancol.org>
3742
3743 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3744 so that we don't reflow comments into the shebang line.
3745
3746 2013-12-20 Juri Linkov <juri@jurta.org>
3747
3748 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3749 a position when `dired-directory' is non-nil. Check integer
3750 positions with `integerp'.
3751 (toggle-save-place, save-places-to-alist): Add check for
3752 `dired-directory'.
3753 (save-place-find-file-hook): Check integer positions with
3754 `integerp'.
3755 (save-place-dired-hook): Use `dired-goto-file' when
3756 `dired-filename' is found in the assoc list. Check integer
3757 positions with `integerp'.
3758 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3759
3760 * dired.el (dired-initial-position-hook): Rename back from
3761 `dired-initial-point-hook'.
3762 (dired-initial-position): Rename `dired-initial-point-hook' to
3763 `dired-initial-position-hook'.
3764 (dired-file-name-at-point): Doc fix. (Bug#15329)
3765
3766 2013-12-20 Juri Linkov <juri@jurta.org>
3767
3768 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3769 (read-regexp-suggestions): New function.
3770 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3771 Use `read-regexp-suggestions'. Add non-empty default to history
3772 for empty input.
3773 (occur-read-regexp-defaults-function): Remove function.
3774 (occur-read-primary-args): Use `regexp-history-last' instead of
3775 `occur-read-regexp-defaults-function'.
3776
3777 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3778 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3779 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3780 `hi-lock-read-regexp-defaults-function'. Doc fix.
3781 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3782 with `find-tag-default-as-symbol-regexp'. Doc fix.
3783 (hi-lock-read-regexp-defaults): Remove function.
3784 (hi-lock-regexp-okay): Add check for null.
3785
3786 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3787 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3788
3789 * subr.el (find-tag-default-as-symbol-regexp): New function.
3790 (find-tag-default-as-regexp): Move symbol regexp formatting to
3791 `find-tag-default-as-symbol-regexp'.
3792
3793 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3794
3795 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3796 (Bug#14179)
3797
3798 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3799
3800 * calendar/todo-mode.el: New implementation of item insertion
3801 commands and key bindings.
3802 (todo-key-prompt): New face.
3803 (todo-insert-item): New command.
3804 (todo-insert-item--parameters): New defconst, replacing defvar
3805 todo-insertion-commands-args-genlist.
3806 (todo-insert-item--param-key-alist): New defconst, replacing
3807 defvar todo-insertion-commands-arg-key-list.
3808 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3809 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3810 (todo-insert-item--next-param): New functions.
3811 (todo-insert-item--args, todo-insert-item--argleft)
3812 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3813 New variables.
3814 (todo-key-bindings-t): Change binding of "i" from
3815 todo-insertion-map to todo-insert-item.
3816 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3817 (todo-insertion-command-name, todo-insertion-commands-names)
3818 (todo-define-insertion-command, todo-insertion-commands)
3819 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3820
3821 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3822
3823 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3824 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3825 eval-when-compile.
3826 (todo-move-category): Allow choosing a non-existing todo file to
3827 move the category to, and create that file.
3828 (todo-default-priority): New user option.
3829 (todo-set-item-priority): Use it.
3830 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3831 (desktop-restore-file-buffer): Declare.
3832 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3833 (todo-modes-set-2): Locally set desktop-save-buffer to
3834 todo-desktop-save-buffer.
3835 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3836 (auto-mode-alist): Add autoload cookie.
3837
3838 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3839
3840 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3841 helpers.el was a poor choice of name.
3842 (string-remove-prefix): New function.
3843 (string-remove-suffix): New function.
3844
3845 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3846
3847 Fix assignment for new window total sizes.
3848 * window.el (window--pixel-to-size): Remove function.
3849 (window--pixel-to-total-1, window--pixel-to-total):
3850 Fix calculation of new total sizes.
3851
3852 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3853
3854 * comint.el (comint-output-filter): Fix rear-nonsticky property
3855 placement (Bug#16010).
3856
3857 2013-12-20 Chong Yidong <cyd@gnu.org>
3858
3859 * faces.el (read-color): Minor fix for completion function.
3860
3861 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3862
3863 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3864 New option. (Bug#16182)
3865 (ruby-smie--indent-to-stmt-p): Use it.
3866 (ruby-smie-rules): Revert the logic in the handling of `when'.
3867 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3868 (ruby-deep-arglist, ruby-deep-indent-paren)
3869 (ruby-deep-indent-paren-style): Update docstrings to note that the
3870 vars don't have any effect with SMIE.
3871
3872 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3873
3874 * calc/calc.el (calc-enter, calc-pop): Use the variable
3875 `calc-context-sensitive-enter'.
3876
3877 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3878
3879 * net/shr.el (shr-insert): Protect against infloops in degenerate
3880 tables.
3881
3882 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3883
3884 * progmodes/octave.el (octave): Add link to manual and octave
3885 homepage.
3886 (octave-mode-menu): Link to octave-mode manual.
3887
3888 2013-12-20 Leo Liu <sdl.web@gmail.com>
3889
3890 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3891 insertion using skeleton-end-newline. (Bug#16138)
3892
3893 2013-12-20 Juri Linkov <juri@jurta.org>
3894
3895 * replace.el (occur-engine): Use `add-face-text-property'
3896 to add the face property to matches and titles. (Bug#14645)
3897
3898 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3899 the palette of other hi-lock colors.
3900 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3901
3902 2013-12-19 Juri Linkov <juri@jurta.org>
3903
3904 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3905 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3906 (minibuffer-history-symbol): Move variable declaration closer to
3907 its usage.
3908
3909 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3910 (Bug#14785)
3911
3912 2013-12-19 Juri Linkov <juri@jurta.org>
3913
3914 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3915 New function.
3916 (log-edit-hook): Add it to :options. (Bug#16170)
3917
3918 2013-12-19 Juri Linkov <juri@jurta.org>
3919
3920 * simple.el (eval-expression-print-format): Don't check for
3921 command names and the last command. Always display additional
3922 formats of the integer result in the echo area, and insert them
3923 to the current buffer only with a zero prefix arg.
3924 Display character when char-displayable-p is non-nil.
3925 (eval-expression): With a zero prefix arg, set `print-length' and
3926 `print-level' to nil, and insert the integer values from
3927 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3928
3929 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3930 `eval-last-sexp-arg-internal'. Doc fix.
3931 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3932 `eval-last-sexp-print-value'. Doc fix.
3933 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3934 Set `print-length' and `print-level' to nil when arg is zero.
3935 (eval-last-sexp): Doc fix.
3936 (eval-defun-2): Print the integer values from
3937 `eval-expression-print-format' at the end.
3938
3939 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3940 values from `eval-expression-print-format' at the end.
3941
3942 * ielm.el (ielm-eval-input): Print the integer
3943 values from `eval-expression-print-format' at the end.
3944
3945 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3946
3947 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3948 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3949
3950 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3953 (hl-line-highlight, global-hl-line-highlight): Use it.
3954 (hl-line-overlay): Use defvar-local.
3955
3956 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3957
3958 * term/ns-win.el: Require dnd.
3959 (global-map): Remove drag items.
3960 (ns-insert-text, ns-set-foreground-at-mouse)
3961 (ns-set-background-at-mouse):
3962 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3963 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3964 New functions.
3965
3966 2013-12-19 Glenn Morris <rgm@gnu.org>
3967
3968 * emacs-lisp/ert.el (ert-select-tests):
3969 Fix string/symbol mixup. (Bug#16121)
3970
3971 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3972
3973 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3974 keywords to their parent.
3975
3976 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3977
3978 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3979 first arg to be a string (fixed dead code), or an operator symbol.
3980 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3981 operator symbols.
3982 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3983 did nothing. Don't respond to `(:after ".")', it will be called
3984 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3985 change anything. Only return indentation for binary operators
3986 when they are hanging. De-dent opening paren when its parent is
3987 `.', otherwise it looks bad when the dot is not at bol or eol
3988 (bug#16182).
3989
3990 2013-12-19 Juri Linkov <juri@jurta.org>
3991
3992 * replace.el (query-replace-read-args): Split a non-negative arg
3993 and a negative arg into separate elements.
3994 (query-replace, query-replace-regexp, replace-string)
3995 (replace-regexp): Add arg `backward'. Doc fix.
3996 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3997 move point to the beginning of the match.
3998 (replace-search, replace-highlight): Use new arg `backward'
3999 to set the value of `isearch-forward'.
4000 (perform-replace): Add arg `backward' and use it to perform
4001 replacement backward. (Bug#14979)
4002
4003 * isearch.el (isearch-query-replace): Use a negative prefix arg
4004 to call `perform-replace' with a non-nil arg `backward'.
4005
4006 2013-12-18 Juri Linkov <juri@jurta.org>
4007
4008 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4009 to the default list. Move `log-edit-show-files' to the end.
4010 Add more available functions to options.
4011 (log-edit): Move default specific settings to
4012 `log-edit-insert-message-template'. Don't move point.
4013 (log-edit-insert-message-template): New function.
4014 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4015 (Bug#16170)
4016
4017 2013-12-18 Juri Linkov <juri@jurta.org>
4018
4019 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4020 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4021
4022 2013-12-18 Leo Liu <sdl.web@gmail.com>
4023
4024 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4025 (Bug#16186)
4026
4027 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4028
4029 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4030 formats for displaying file sizes when the -s switch is given.
4031 Instead, compute a separate format for displaying the size in
4032 blocks, which is displayed in addition to the "regular" size.
4033 When -h is given in addition to -s, produce size in blocks in
4034 human-readable form as well. (Bug#16179)
4035
4036 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4037
4038 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4039 Reference tables with ~\ref{...} instead of only \ref{...}.
4040
4041 2013-12-18 Chong Yidong <cyd@gnu.org>
4042
4043 * cus-edit.el (custom-magic-alist): Fix "themed" description
4044 (Bug#14348).
4045
4046 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4047 is non-nil, do not create a new entry in the symbol's theme-value
4048 or theme-face property; update theme-settings only (Bug#14664).
4049 (custom-available-themes): Doc fix.
4050
4051 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4052 (Bug#15674).
4053
4054 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4055
4056 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4057
4058 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4059 (Bug#13914).
4060
4061 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4062
4063 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4064
4065 2013-12-18 Glenn Morris <rgm@gnu.org>
4066
4067 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4068 * cus-start.el (load-prefer-newer): New option.
4069
4070 2013-12-18 Le Wang <l26wang@gmail.com>
4071
4072 * comint.el (comint-previous-matching-input-from-input):
4073 Retain point (Bug#13404).
4074
4075 2013-12-18 Chong Yidong <cyd@gnu.org>
4076
4077 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4078
4079 2013-12-18 Glenn Morris <rgm@gnu.org>
4080
4081 * mail/emacsbug.el (report-emacs-bug):
4082 Only mention enable-multibyte-characters if non-standard.
4083
4084 2013-12-17 Juri Linkov <juri@jurta.org>
4085
4086 * arc-mode.el (archive-extract-by-file): Check if directory exists
4087 before deletion to not show irrelevant errors if it doesn't exist.
4088
4089 2013-12-17 Juri Linkov <juri@jurta.org>
4090
4091 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4092 (Bug#14751)
4093
4094 * net/eww.el (browse-web): Add alias to `eww'.
4095 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4096 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4097
4098 * net/browse-url.el (browse-url-browser-function): Move `eww'
4099 closer to similar functions.
4100
4101 * startup.el (fancy-startup-screen, fancy-about-screen):
4102 Set browse-url-browser-function to eww-browse-url locally.
4103 (Bug#14751)
4104
4105 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * window.el (window--pixel-to-total): Remove unused `mini' var.
4108 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4109 (split-window): Remove unused `new' var.
4110 (window--display-buffer): Remove unused `frame' and `delta' vars.
4111 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4112 and display-width'.
4113
4114 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4115
4116 * dired.el (dired-mark-pop-up):
4117 * register.el (register-preview): Don't bind
4118 split-height-threshold here since it's now done in
4119 display-buffer-below-selected.
4120
4121 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4122
4123 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4124 xterm-rgb-convert-to-16bit.
4125 (rxvt-register-default-colors): Standardize with
4126 xterm-register-default-colors (Bug#14078).
4127
4128 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4129
4130 * simple.el (kill-region): Pass mark first, then point, so that
4131 kill-append works right (Bug#12819).
4132 (copy-region-as-kill, kill-ring-save): Likewise.
4133
4134 2013-12-17 Leo Liu <sdl.web@gmail.com>
4135
4136 * net/rcirc.el (rcirc-add-face):
4137 * eshell/em-prompt.el (eshell-emit-prompt):
4138 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4139 (Bug#16167)
4140
4141 2013-12-17 Chong Yidong <cyd@gnu.org>
4142
4143 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4144 Suggested by Xue Fuqiao.
4145
4146 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4147
4148 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4149
4150 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4151
4152 * net/shr.el (shr-insert-document): Remove unused var
4153 `shr-preliminary-table-render'.
4154 (shr-rescale-image): Remove unused arg `force'.
4155 (shr-put-image): Update calls accordingly.
4156 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4157
4158 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4159
4160 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4161 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4162 :close-all, to see which indentation method to use (Bug#16116).
4163 (smie-rules-function): Document the method :close-all.
4164
4165 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4166
4167 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4168
4169 * net/eww.el (eww-display-html): If we can't find the anchor we're
4170 looking for, then go to point-min.
4171
4172 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4173
4174 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4175 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4176 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4177 Expand dir too, in case it's relative.
4178
4179 2013-12-16 Juri Linkov <juri@jurta.org>
4180
4181 * desktop.el (desktop-auto-save-timeout): Change default to
4182 `auto-save-timeout'. Doc fix.
4183 (desktop-save): Skip the timestamp in desktop-saved-frameset
4184 when checking for auto-save changes.
4185 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4186 `desktop-auto-save' is called repeatedly by the idle timer.
4187 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4188 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4189 (Bug#15331)
4190
4191 2013-12-16 Juri Linkov <juri@jurta.org>
4192
4193 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4194 (Bug#16035)
4195 (isearch-pre-command-hook): Check `this-command' for symbolp.
4196
4197 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4198
4199 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4200
4201 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4202
4203 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4204 (cfengine3--current-function): Bring in the current-function
4205 functionality from `cfengine3--current-word'.
4206 (cfengine3-completion-function): Bring in the
4207 bounds-of-current-word functionality from
4208 `cfengine3--current-word'.
4209
4210 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4211
4212 * window.el (display-buffer-below-selected):
4213 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4214
4215 2013-12-16 Leo Liu <sdl.web@gmail.com>
4216
4217 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4218 Remove NOMSG arg and all uses changed.
4219
4220 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4221
4222 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4223 (cua--deactivate-rectangle): Don't deactivate the mark.
4224 (cua-set-rectangle-mark): Don't set mark-active since
4225 cua--activate-rectangle already does it for us.
4226 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4227 non-rectangular region.
4228
4229 * emulation/cua-base.el (cua-repeat-replace-region):
4230 Use with-current-buffer.
4231
4232 * net/gnutls.el: Use cl-lib.
4233 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4234
4235 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4236
4237 * emacs-lisp/package.el (package-built-in-p): Support both
4238 built-in and the package.el converted package descriptions.
4239 (package-show-package-list): Allow keywords.
4240 (package-keyword-button-action): Use it instead of
4241 `finder-list-matches'.
4242 (package-menu-filter-interactive): Interactive filtering (by
4243 keyword) function.
4244 (package-menu--generate): Support keywords and change keymappings
4245 and headers when they are given.
4246 (package--has-keyword-p): Helper function.
4247 (package-menu--refresh): Use it.
4248 (package--mapc): Helper function.
4249 (package-all-keywords): Use it.
4250 (package-menu-mode-map): Set up menu items and keybindings to
4251 provide a filtering UI.
4252
4253 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4254
4255 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4256 the behavior when a certificate fails validation. Defaults to
4257 old behavior: never abort, just warn.
4258 (gnutls-negotiate): Use it.
4259
4260 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4261
4262 * window.el (display-buffer-below-selected): Never split window
4263 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4264
4265 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4266
4267 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4268 (package-buffer-info): Use it (bug#15108).
4269
4270 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4271
4272 * icomplete.el (icomplete-completions): Make sure the prefix is already
4273 displayed elsewhere before hiding it (bug#16219).
4274
4275 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4276
4277 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4278 open-paren tokens when preceded by a open-paren, too.
4279 (ruby-smie-rules): Handle virtual indentation after open-paren
4280 tokens specially. If there is code between it and eol, return the
4281 column where is starts (Bug#16118).
4282
4283 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4284
4285 * progmodes/cfengine.el: Fix `add-hook' doc.
4286 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4287 (cfengine3--current-word): Fix parameters.
4288 (cfengine3-make-syntax-cache): Simplify further.
4289 (cfengine3-completion-function, cfengine3--current-function):
4290 Use `assq' for symbols.
4291 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4292
4293 2013-12-13 Glenn Morris <rgm@gnu.org>
4294
4295 * loadup.el (load-path): Warn if site-load or site-init changes it.
4296 No more need to reset it when bootstrapping.
4297
4298 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4299
4300 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4301 locations for cf-promises.
4302 (cfengine-mode-syntax-functions-regex): New caching variable.
4303 (cfengine3-fallback-syntax): Fallback syntax for cases where
4304 cf-promises doesn't run.
4305 (cfengine3--current-word): Reimplement using
4306 `cfengine-mode-syntax-functions-regex'.
4307 (cfengine3-completion-function, cfengine3--current-function):
4308 Use `cfengine3-make-syntax-cache' directly.
4309 (cfengine3-clear-syntax-cache): New function.
4310 (cfengine3-make-syntax-cache): Simplify and create
4311 `cfengine-mode-syntax-functions-regex' on demand.
4312 (cfengine3-format-function-docstring): Don't call
4313 `cfengine3-make-syntax-cache' explicitly.
4314
4315 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4316
4317 Fix windmove-find-other-window broken after pixelwise resizing
4318 (Bug#16017).
4319 * windmove.el (windmove-other-window-loc): Revert change from
4320 2013-12-04.
4321 (windmove-find-other-window): Call window-in-direction.
4322 * window.el (window-in-direction): New arguments SIGN, WRAP and
4323 MINI to emulate original windmove-find-other-window behavior.
4324
4325 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4326
4327 * simple.el (blink-matching--overlay): New variable.
4328 (blink-matching-open): Instead of moving point, highlight the
4329 matching paren with an overlay
4330 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4331
4332 * faces.el (paren-showing-faces, show-paren-match)
4333 (show-paren-mismatch): Move from paren.el.
4334
4335 2013-12-13 Leo Liu <sdl.web@gmail.com>
4336
4337 * indent.el (indent-region): Disable progress reporter in
4338 minibuffer. (Bug#16108)
4339
4340 * bindings.el (visual-order-cursor-movement): Fix version.
4341
4342 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4343
4344 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4345 Also match after beginning of line.
4346 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4347 files. Thanks to Russell Sim. (Bug#15378)
4348
4349 2013-12-13 Juri Linkov <juri@jurta.org>
4350
4351 * simple.el <Keypad support>: Remove key bindings duplicated
4352 with bindings.el. (Bug#14397)
4353
4354 2013-12-13 Juri Linkov <juri@jurta.org>
4355
4356 * comint.el (comint-mode-map): Replace `delete-char' with
4357 `delete-forward-char'. (Bug#16109)
4358
4359 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4360
4361 * progmodes/python.el (python-indent-calculate-indentation):
4362 Fix de-denters cornercase. (Bug#15731)
4363
4364 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4367 (advice--make): Pay attention to `depth'.
4368 (advice--make-1): Don't autoload commands eagerly.
4369 * emacs-lisp/elp.el (elp-instrument-function):
4370 * emacs-lisp/trace.el (trace-function-internal):
4371 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4372
4373 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4374
4375 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4376
4377 * term/w32-win.el (w32-handle-dropped-file):
4378 * startup.el (normal-top-level):
4379 * net/browse-url.el (browse-url-file-url):
4380 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4381 decode file names using 'utf-8' rather than
4382 file-name-coding-system.
4383
4384 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4385
4386 * progmodes/python.el (python-indent-context)
4387 (python-indent-calculate-indentation): Fix auto-identation
4388 behavior for comment blocks. (Bug#15916)
4389
4390 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4391
4392 * progmodes/python.el (python-indent-calculate-indentation):
4393 When determining indentation, don't treat "return", "pass", etc., as
4394 operators when they are just string constituents. (Bug#15812)
4395
4396 2013-12-12 Juri Linkov <juri@jurta.org>
4397
4398 * uniquify.el (uniquify-buffer-name-style): Change default to
4399 `post-forward-angle-brackets'.
4400
4401 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4402 `uniquify'. Change default to `post-forward-angle-brackets'.
4403
4404 2013-12-11 Glenn Morris <rgm@gnu.org>
4405
4406 * emacs-lisp/package.el (finder-list-matches):
4407 Autoload rather than falsely declaring.
4408
4409 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4410
4411 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4412 (eww-mode-map): Use them.
4413
4414 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4415
4416 * window.el (display-buffer-in-side-window): Fix doc-string
4417 (Bug#16115).
4418
4419 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4420
4421 * vc/vc-git.el: Silence byte-compiler warnings.
4422 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4423 (log-edit-set-header): Declare.
4424
4425 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4426
4427 * Makefile.in (custom-deps, finder-data): Run output file names
4428 through unmsys--file-name. (Bug#16099)
4429
4430 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4433 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4434
4435 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4436 instead of deleting the selection "by hand" (bug#16098).
4437 Rely on insert-for-yank to yank rectangles.
4438 (cua-highlight-region-shift-only): Mark obsolete.
4439 (cua-mode): Don't enable/disable transient-mark-mode,
4440 shift-select-mode (cua-mode works both with and without them), and
4441 pc-selection-mode (obsolete).
4442 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4443 (cua--deactivate-rectangle): Deactivate it.
4444
4445 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4446 (delete-selection-helper): Make sure yank starts at the top of the
4447 deleted region.
4448 (minibuffer-keyboard-quit): Use region-active-p.
4449
4450 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4451
4452 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4453 to `delete' (bug#16109).
4454
4455 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4456
4457 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4458 info manual and show keybindings and set `:group' keyword.
4459
4460 2013-12-11 Juri Linkov <juri@jurta.org>
4461
4462 * delsel.el (delete-active-region): Let-bind `this-command'
4463 to prevent `kill-region' from changing its original value.
4464 (delete-selection-helper): Handle `overwrite-mode' for the type
4465 `kill' exactly the same way as for the type `t'.
4466 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4467 Support more commands. (Bug#13312)
4468
4469 2013-12-11 Juri Linkov <juri@jurta.org>
4470
4471 * bindings.el: Map kp keys to non-kp keys systematically
4472 with basic modifiers control, meta and shift. (Bug#14397)
4473
4474 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4475
4476 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4477 "Close browser" menu items. Fix wrong function of "List
4478 bookmarks".
4479
4480 2013-12-11 Juri Linkov <juri@jurta.org>
4481
4482 * misearch.el (multi-isearch-buffers): Set the value of
4483 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4484 arg of isearch-forward to t.
4485 (multi-isearch-buffers-regexp): Set the value of
4486 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4487 arg of isearch-forward-regexp to t.
4488 (multi-isearch-files): Set the value of
4489 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4490 arg of isearch-forward to t.
4491 (multi-isearch-files-regexp): Set the value of
4492 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4493 arg of isearch-forward-regexp to t. (Bug#16035)
4494
4495 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4496 arg of isearch-forward to t.
4497 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4498 arg of isearch-forward-regexp to t.
4499 (dired-isearch-filter-filenames): Remove unnecessary check for
4500 `dired-isearch-filenames'.
4501
4502 * comint.el (comint-history-isearch-backward):
4503 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4504 (comint-history-isearch-backward-regexp):
4505 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4506
4507 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4508
4509 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4510 unmsys--file-name. (Bug#16099)
4511
4512 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4513
4514 * emacs-lisp/package.el (package-keyword-button-action):
4515 Remove finder.el require dependency.
4516
4517 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4518
4519 * emacs-lisp/package.el: Require finder.el.
4520 (describe-package-1): Add keyword buttons.
4521 (package-make-button): New convenience function.
4522 (package-keyword-button-action): Keyword button action using
4523 `finder-list-matches'.
4524
4525 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4526
4527 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4528 last commit.
4529
4530 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4531
4532 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4533 symlinked files.
4534
4535 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4536
4537 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4538 after the end of a percent literal.
4539
4540 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4541
4542 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4543 Handle caret-delimited strings (Bug#16079).
4544
4545 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4546
4547 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4548 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4549 `ruby-parse-partial' (Bug#16078).
4550
4551 2013-12-09 Leo Liu <sdl.web@gmail.com>
4552
4553 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4554
4555 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4556
4557 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4558 (js-switch-indent-offset): New option.
4559 (js--proper-indentation): Use it. And handle the case when
4560 "default" is actually a key in an object literal.
4561 (js--same-line): New function.
4562 (js--multi-line-declaration-indentation): Use it.
4563 (js--indent-in-array-comp, js--array-comp-indentation):
4564 New functions.
4565 (js--proper-indentation): Use them, to handle array comprehension
4566 continuations.
4567
4568 2013-12-08 Leo Liu <sdl.web@gmail.com>
4569
4570 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4571 (flymake-make-overlay): Remove arg MOUSE-FACE.
4572 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4573
4574 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4577 New function.
4578 (redisplay-highlight-region-function): Use it.
4579
4580 * emulation/cua-base.el (cua--explicit-region-start)
4581 (cua--last-region-shifted): Remove.
4582 (cua--deactivate): Use deactivate-mark.
4583 (cua--pre-command-handler-1): Don't handle shift-selection.
4584 (cua--post-command-handler-1): Don't change transient-mark-mode.
4585 (cua--select-keymaps): Use region-active-p rather than
4586 cua--explicit-region-start or cua--last-region-shifted.
4587 (cua-mode): Enable shift-select-mode.
4588
4589 2013-12-08 Leo Liu <sdl.web@gmail.com>
4590
4591 * progmodes/flymake.el (flymake-popup-current-error-menu):
4592 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4593 (flymake-posn-at-point-as-event, flymake-popup-menu)
4594 (flymake-make-emacs-menu): Remove. (Bug#16077)
4595
4596 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4597
4598 * rect.el (rectangle-mark-mode): Activate mark even if
4599 transient-mark-mode is off (bug#16066).
4600 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4601 is > mark and at bolp.
4602
4603 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4604 (region-extract-function): Use it.
4605 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4606 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4607 Delete functions.
4608 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4609 kill-ring-save, kill-region, delete-char, delete-forward-char.
4610 Ignore self-insert-iso.
4611
4612 * emulation/cua-gmrk.el (cua--init-global-mark):
4613 Ignore `self-insert-iso'.
4614
4615 * emulation/cua-base.el (cua--prefix-copy-handler)
4616 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4617 checking cua--rectangle.
4618 (cua-delete-region): Use region-extract-function.
4619 (cua-replace-region): Delete function.
4620 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4621 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4622 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4623 (cua--init-keymaps): Don't remap delete-selection commands.
4624 (cua-mode): Use delete-selection-mode instead of rolling our own
4625 (bug#16085).
4626
4627 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4628 Obey region-extract-function.
4629
4630 Make registers and delete-selection-mode work on rectangles.
4631 * register.el (describe-register-1): Don't modify the register's value.
4632 (copy-to-register): Obey region-extract-function.
4633 * delsel.el (delete-active-region): Obey region-extract-function.
4634
4635 2013-12-08 Leo Liu <sdl.web@gmail.com>
4636
4637 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4638 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4639 (flymake-compilation-prevents-syntax-check)
4640 (flymake-start-syntax-check-on-newline)
4641 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4642 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4643 (flymake-xml-program, flymake-master-file-dirs)
4644 (flymake-master-file-count-limit)
4645 (flymake-allowed-file-name-masks): Relocate.
4646 (flymake-makehash, flymake-float-time)
4647 (flymake-replace-regexp-in-string, flymake-split-string)
4648 (flymake-get-temp-dir): Remove.
4649 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4650 (flymake-current-row, flymake-selected-frame)
4651 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4652 related functions. (Bug#16077)
4653
4654 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4655
4656 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4657
4658 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4659
4660 * help-fns.el (describe-function-1): Use new advice-* functions
4661 rather than old ad-* functions. Fix function type description and
4662 source links for advised functions and subrs.
4663
4664 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4665
4666 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4667
4668 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4669
4670 * progmodes/compile.el (compilation-start):
4671 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4672
4673 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4674 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4675
4676 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4677
4678 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4679 Touch up the last change.
4680
4681 2013-12-06 Leo Liu <sdl.web@gmail.com>
4682
4683 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4684 (inferior-octave-startup): Always use "octave> " for prompt.
4685 (octave-goto-function-definition)
4686 (octave-sync-function-file-names)
4687 (octave-find-definition-default-filename): Remove redundant backquotes.
4688
4689 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4690
4691 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4692 syntax for `?'.
4693 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4694 where appropriate already.
4695 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4696 end of method names (Bug#15874).
4697
4698 2013-12-06 Juri Linkov <juri@jurta.org>
4699
4700 * isearch.el (isearch--saved-overriding-local-map):
4701 New internal variable.
4702 (isearch-mode): Set it to the initial value of
4703 `overriding-terminal-local-map'.
4704 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4705 with `isearch--saved-overriding-local-map'. (Bug#16035)
4706
4707 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4708
4709 * progmodes/octave.el (inferior-octave-completion-table):
4710 Turn back into function, use `completion-table-with-cache'
4711 (Bug#11906). Update all references.
4712
4713 * minibuffer.el (completion-table-with-cache): New function.
4714
4715 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4716
4717 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4718
4719 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4720
4721 * net/eww.el (eww-current-source): New variable to store page
4722 source.
4723 (eww-display-html, eww-mode, eww-save-history)
4724 (eww-restore-history): Use it.
4725 (eww-view-source): New command to view page source.
4726 Opportunistically uses `html-mode' to highlight the buffer.
4727 (eww-mode-map): Install it.
4728
4729 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
4730
4731 * net/dbus.el (dbus-unregister-service)
4732 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4733 Fix docstring.
4734 (dbus-unregister-service): Skip :serial entries in
4735 `dbus-registered-objects-table'.
4736 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4737
4738 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4739
4740 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4741 around keywords with extra `split-string' argument.
4742
4743 2013-12-04 Martin Rudalics <rudalics@gmx.at>
4744
4745 * windmove.el (windmove-other-window-loc): Handle navigation
4746 between windows (excluding the minibuffer window - Bug#16017).
4747
4748 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4749
4750 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4751 in D-Bus type syntax.
4752 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4753 preserve unibyte strings. (Bug#16048)
4754
4755 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4758 Call force-mode-line-update is the proper buffer (bug#16042).
4759
4760 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4761
4762 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4763 `log-edit-remember-comment', make argument optional. Adjust all
4764 callers.
4765 (log-edit-mode): Add `log-edit-remember-comment' to
4766 `kill-buffer-hook' locally.
4767 (log-edit-kill-buffer): Don't remember comment explicitly since
4768 the buffer is killed anyway.
4769
4770 2013-12-04 Juri Linkov <juri@jurta.org>
4771
4772 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4773 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4774
4775 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4776
4777 * notifications.el (notifications-close-notification): Call the
4778 D-Bus method with ID being a `:uint32'. (Bug#16030)
4779
4780 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4781
4782 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4783
4784 2013-12-03 Juri Linkov <juri@jurta.org>
4785
4786 * progmodes/compile.el (compilation-start): Rename window alist
4787 entry `no-display-ok' to `allow-no-window'.
4788
4789 * simple.el (shell-command): Add window alist entry
4790 `allow-no-window' to `display-buffer'.
4791 (async-shell-command): Doc fix.
4792
4793 * window.el (display-buffer-no-window): New action function.
4794 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4795
4796 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4797
4798 * vc/log-edit.el (log-edit-set-header): Extract from
4799 `log-edit-toggle-header'.
4800 (log-edit-extract-headers): Separate the summary, when extracted
4801 from header, from the rest of the message with an empty line.
4802
4803 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4804 line, if present, to the Summary header.
4805
4806 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4809 in current-buffer (bug#16029).
4810
4811 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4812
4813 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4814 (debugger-mode-map): Bind it.
4815 (debugger--backtrace-base): New function.
4816 (debugger-eval-expression): Use it.
4817 (debugger-frame-number): Skip local vars when present.
4818 (debugger--locals-visible-p, debugger--insert-locals)
4819 (debugger--show-locals, debugger--hide-locals): New functions.
4820
4821 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4822
4823 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4824 "LC_ALL".
4825 (tramp-get-remote-locale): New defun.
4826 (tramp-open-connection-setup-interactive-shell): Use it.
4827
4828 2013-12-02 Leo Liu <sdl.web@gmail.com>
4829
4830 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4831
4832 * progmodes/sh-script.el (sh-shell-process):
4833 * progmodes/octave.el (inferior-octave-process-live-p):
4834 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4835 (gdb-inferior-io-sentinel):
4836 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4837
4838 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4839
4840 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4841 `save-selected-window' to `log-edit-hide-buf'. This makes
4842 `log-edit-show-files' idempotent.
4843 (log-edit-show-files): Mark the new window as dedicated.
4844
4845 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4846
4847 * vc/log-edit.el (log-edit-mode-map): Add binding for
4848 `log-edit-kill-biffer'.
4849 (log-edit-hide-buf): Add a FIXME comment.
4850 (log-edit-add-new-comment): New function, extracted from
4851 `log-edit-done'.
4852 (log-edit-done, log-edit-add-to-changelog): Use it.
4853 (log-edit-kill-buffer): New command.
4854
4855 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4856
4857 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4858 instead of killing the buffer.
4859
4860 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4861
4862 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4863
4864 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4865
4866 * net/eww.el (eww-form-checkbox-selected-symbol)
4867 (eww-form-checkbox-symbol): New customizable variable.
4868 (eww-form-checkbox, eww-toggle-checkbox):
4869 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4870
4871 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4872 (shr--get-media-pref, shr--extract-best-source): New function.
4873 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4874 no :src tag was specified.
4875
4876 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4877 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4878 Use \\` to match beginning of string instead of ^.
4879 (eww-browse-with-external-browser): Provide optional URL parameter.
4880 (eww-render): Set `eww-current-title' back to "".
4881
4882 * net/shr.el (shr-tag-video): Display content for video if no
4883 poster is available.
4884 (shr-tag-audio): Add support for <audio> tag.
4885
4886 * net/eww.el (eww-text-input-types): New const.
4887 (eww-process-text-input): Treat input types in
4888 `eww-text-input-types' as text.
4889
4890 * net/shr.el (shr-tag-table): Fix comment typo.
4891
4892 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4893
4894 * net/eww.el (eww-follow-link): New command to avoid reloading
4895 pages when we follow #target links (bug#15243).
4896 (eww-quit): Special mode buffers shouldn't query before exiting.
4897
4898 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4899
4900 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4901 forms.
4902
4903 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4904
4905 * net/eww.el (eww-restore-history): Update the window title after
4906 moving in the history.
4907 (eww-current-dom): New variable used to save the current DOM.
4908
4909 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4910
4911 * vc/log-edit.el (log-edit-mode-map): Add binding for
4912 `log-edit-beginning-of-line'.
4913 (log-edit-setup-add-author): New user option.
4914 (log-edit-beginning-of-line): New command.
4915 (log-edit): Move major mode call above the contents setup so that
4916 the local variable values are already applied.
4917 (log-edit): Only insert "Author: " when
4918 `log-edit-setup-add-author' is non-nil.
4919 (log-edit): When SETUP is non-nil, position point after ": "
4920 instead of point-min.
4921
4922 2013-12-01 Glenn Morris <rgm@gnu.org>
4923
4924 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4925
4926 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4927
4928 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4929 redisplay to make sure the initial frame gets a chance to become
4930 visible. (Bug#16014)
4931
4932 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4933
4934 Support resizing frames and windows pixelwise.
4935 * cus-start.el (frame-resize-pixelwise)
4936 (window-resize-pixelwise): New entries.
4937 * emacs-lisp/debug.el (debug): Use window-total-height instead
4938 of window-total-size.
4939 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4940 * help.el (describe-bindings-internal): Use help-buffer as
4941 argument for with-help-window.
4942 (temp-buffer-max-width): New option.
4943 (resize-temp-buffer-window, help-window-setup)
4944 (with-help-window): Rewrite.
4945 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4946 dragging dividers.
4947 * window.el (frame-char-size, window-min-pixel-height)
4948 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4949 (window-min-pixel-width, window-safe-min-pixel-size)
4950 (window-combination-p, window-safe-min-size)
4951 (window-resizable-p, window--size-to-pixel)
4952 (window--pixel-to-size, window--resize-apply-p): New functions.
4953 (window-safe-min-height): Fix doc-string.
4954 (window-size, window-min-size, window--min-size-1)
4955 (window-sizable, window-sizable-p, window--min-delta-1)
4956 (window-min-delta, window--max-delta-1, window-max-delta)
4957 (window--resizable, window--resizable-p, window-resizable)
4958 (window-full-height-p, window-full-width-p, window-at-side-p)
4959 (window--in-direction-2, window-in-direction)
4960 (window--resize-reset-1, window--resize-mini-window)
4961 (window-resize, window-resize-no-error)
4962 (window--resize-child-windows-normal)
4963 (window--resize-child-windows, window--resize-siblings)
4964 (window--resize-this-window, window--resize-root-window)
4965 (window--resize-root-window-vertically)
4966 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4967 (maximize-window, minimize-window, delete-window)
4968 (quit-restore-window, window-split-min-size, split-window)
4969 (balance-windows-2, balance-windows)
4970 (balance-windows-area-adjust, balance-windows-area)
4971 (window--state-get-1, window-state-get, window--state-put-1)
4972 (window--state-put-2, window-state-put)
4973 (display-buffer-record-window, window--display-buffer):
4974 Make functions handle pixelwise sizing of windows.
4975 (display-buffer--action-function-custom-type)
4976 (display-buffer-fallback-action):
4977 Add display-buffer-in-previous-window.
4978 (display-buffer-use-some-window): Resize window to height it had
4979 before.
4980 (fit-window-to-buffer-horizontally): New option.
4981 (fit-frame-to-buffer): Describe new values.
4982 (fit-frame-to-buffer-bottom-margin): Replace with
4983 fit-frame-to-buffer-margins.
4984 (window--sanitize-margin): New function.
4985 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4986 using window-text-pixel-size.
4987
4988 2013-11-30 Glenn Morris <rgm@gnu.org>
4989
4990 * emacs-lisp/bytecomp.el (byte-compile-form):
4991 Make the `interactive-only' warning like the `obsolete' one.
4992 * comint.el (comint-run):
4993 * files.el (insert-file-literally, insert-file):
4994 * replace.el (replace-string, replace-regexp):
4995 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4996 (goto-line, insert-buffer, next-line, previous-line):
4997 Tweak `interactive-only' spec.
4998
4999 Stop keeping (most) generated cedet grammar files in the repository.
5000 * Makefile.in (semantic): New.
5001 (compile-main): Depend on semantic.
5002
5003 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5006 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5007
5008 * uniquify.el (uniquify-buffer-name-style): Change default.
5009
5010 * loadup.el: Preload "uniquify".
5011
5012 * time.el (display-time-update): Update all mode lines (bug#15999).
5013
5014 * electric.el (electric-indent-mode): Enable by default.
5015 * loadup.el: Preload "electric".
5016
5017 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5018
5019 * emacs-lisp/helpers.el (string-empty-p): New function.
5020 (string-blank-p): New function.
5021
5022 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5023
5024 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5025 (Bug#14029).
5026
5027 2013-11-29 Andreas Politz <politza@fh-trier.de>
5028 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5029 allow non-lambda lists as functions.
5030 (imenu--in-alist): Don't recurse into non-subalists.
5031 (imenu): Don't pass function itself as an argument (Bug#14029).
5032
5033 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5034
5035 * progmodes/python.el (python-mode-map): Remove binding for ":".
5036 (python-indent-electric-colon): Remove command.
5037 (python-indent-post-self-insert-function): Integrate the previous code
5038 of python-indent-electric-colon. Make it conditional on
5039 electric-indent-mode.
5040 (python-mode): Add ?: to electric-indent-chars.
5041 Move python-indent-post-self-insert-function to the end of
5042 post-self-insert-hook.
5043
5044 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5045
5046 * doc-view.el (doc-view-goto-page): Update mode-line.
5047
5048 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5049
5050 2013-11-27 Glenn Morris <rgm@gnu.org>
5051
5052 * international/charprop.el, international/uni-bidi.el:
5053 * international/uni-category.el, international/uni-combining.el:
5054 * international/uni-comment.el, international/uni-decimal.el:
5055 * international/uni-decomposition.el, international/uni-digit.el:
5056 * international/uni-lowercase.el, international/uni-mirrored.el:
5057 * international/uni-name.el, international/uni-numeric.el:
5058 * international/uni-old-name.el, international/uni-titlecase.el:
5059 * international/uni-uppercase.el:
5060 Remove generated files from VCS repository.
5061
5062 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5063
5064 * filenotify.el (file-notify-add-watch): Don't special-case
5065 w32notify when computing the directory to watch.
5066
5067 2013-11-27 Glenn Morris <rgm@gnu.org>
5068
5069 Make bootstrap without generated uni-*.el files possible again.
5070 * loadup.el: Update command-line-args checking for unidata-gen.
5071 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5072 * composite.el, international/characters.el:
5073 Handle unicode tables being undefined.
5074
5075 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5076 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5077 (compile-main): Depend on leim rule.
5078 (leim): New rule.
5079 * loadup.el: Move leim-list.el to leim/ subdirectory.
5080 * startup.el (normal-top-level): No more leim directory.
5081 * international/ja-dic-cnv.el (skkdic-convert):
5082 Disable version-control and autoloads in output files.
5083 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5084 Disable version-control and autoloads in output files.
5085 * leim/quail: Move here from ../leim.
5086 * leim/quail/hangul.el (hangul-input-method-activate):
5087 Add autoload cookie.
5088 (generated-autoload-load-name): Set file-local value.
5089 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5090 (generated-autoload-load-name): Set file-local value.
5091
5092 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5093
5094 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5095 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5096 (eww-quit): Ask confirmation before quitting eww.
5097
5098 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5099
5100 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5101 reading output from Diff on MS-Windows and MS-DOS.
5102
5103 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5104
5105 * emacs-lisp/helpers.el (string-reverse): New function.
5106
5107 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5108
5109 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5110 names on MS Windows, like "/[::1]:".
5111
5112 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5113 SWITCHES.
5114
5115 2013-11-26 Glenn Morris <rgm@gnu.org>
5116
5117 * progmodes/python.el (python-indent-guess-indent-offset):
5118 Avoid corner-case error. (Bug#15975)
5119
5120 Preload leim-list.el. (Bug#4789)
5121 * loadup.el: Load leim-list.el when found.
5122 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5123
5124 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5125
5126 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5127
5128 * emacs-lisp/helpers.el (string-join): New function.
5129
5130 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5131
5132 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5133 Mark as obsolete and replace it with a symbol property.
5134 (byte-compile-form): Use new 'interactive-only property.
5135 * comint.el, files.el, replace.el, simple.el:
5136 Apply new 'interactive-only properly.
5137
5138 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5139
5140 * window.el (display-buffer-at-bottom): Make sure that
5141 split-window-sensibly creates the new window on bottom
5142 (Bug#15961).
5143
5144 2013-11-23 David Kastrup <dak@gnu.org>
5145
5146 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5147 on the conflict markers when available.
5148 (smerge--get-marker): New function.
5149 (smerge-end-re, smerge-base-re): Add subgroup.
5150
5151 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5152
5153 * frame.el (handle-focus-in, handle-focus-out): Add missing
5154 interactive spec.
5155
5156 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5157
5158 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5159 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5160
5161 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5162
5163 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5164 (gomoku--last-pos): New var.
5165 (gomoku--intangible-chars): New const.
5166 (gomoku--intangible): New function.
5167 (gomoku-mode): Use it. Derive from special-mode.
5168 (gomoku-move-up): Adjust line count.
5169 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5170 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5171 Simplify accordingly.
5172
5173 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5174 Remove blink-cursor code.
5175 (blink-cursor-timer-function, blink-cursor-suspend):
5176 Don't special-case GUIs.
5177 (blink-cursor-mode): Use focus-in/out-hook.
5178
5179 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5180
5181 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5182 work when annotation is invisible (Bug#13886).
5183
5184 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5185
5186 * json.el (json-alist-p): Only return non-nil if the alist has
5187 simple keys (Bug#13518).
5188
5189 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5190
5191 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5192 when control-statement is the first statement in a buffer (Bug#15956).
5193
5194 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5195
5196 * imenu.el (imenu-generic-skip-comments-and-strings):
5197 New option (Bug#15560).
5198 (imenu--generic-function): Use it.
5199
5200 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5201
5202 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5203 (Bug#13898)
5204
5205 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5206
5207 * emacs-lisp/helpers.el: Add some string helpers.
5208 (string-trim-left): Removes leading whitespace.
5209 (string-trim-right): Removes trailing whitespace.
5210 (string-trim): Removes leading and trailing whitespace.
5211
5212 * subr.el (string-suffix-p): New function.
5213
5214 2013-11-23 Glenn Morris <rgm@gnu.org>
5215
5216 * progmodes/python.el (python-shell-send-file):
5217 Add option to delete file when done. (Bug#15647)
5218 (python-shell-send-string, python-shell-send-region): Use it.
5219
5220 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5221
5222 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5223 to set buffer-read-only to t, never to nil. (Bug#15938)
5224
5225 * textmodes/tex-mode.el (latex-noindent-environments):
5226 Add safe-local-variable property. (Bug#15936)
5227
5228 2013-11-23 Glenn Morris <rgm@gnu.org>
5229
5230 * textmodes/enriched.el (enriched-mode): Doc fix.
5231 * emacs-lisp/authors.el (authors-renamed-files-alist):
5232 Add enriched.doc -> enriched.txt.
5233
5234 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5235
5236 2013-11-22 Leo Liu <sdl.web@gmail.com>
5237
5238 * progmodes/octave.el (inferior-octave-startup): Spit out error
5239 message.
5240
5241 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5242
5243 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5244 Improve docstring.
5245 Add :version.
5246 (ruby-encoding-magic-comment-style): Add :version.
5247
5248 2013-11-22 Leo Liu <sdl.web@gmail.com>
5249
5250 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5251 (Bug#15076)
5252 (octave-help-mode): Adapt to change to help-mode-finish to use
5253 derived-mode-p on 2013-09-17.
5254 (inferior-octave-prompt): Also match octave-gui.
5255 (octave-kill-process): Don't ask twice. (Bug#10564)
5256
5257 2013-11-22 Leo Liu <sdl.web@gmail.com>
5258
5259 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5260 (inferior-octave-startup, inferior-octave-check-process)
5261 (inferior-octave-track-window-width-change)
5262 (octave-completion-at-point, octave-eldoc-function): Use it.
5263 (octave-kill-process): Provide confirmation. (Bug#10564)
5264
5265 2013-11-21 Leo Liu <sdl.web@gmail.com>
5266
5267 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5268 Fix obsolete variable comment-use-global-state.
5269
5270 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5271
5272 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5273 Add `octave-source-file'.
5274 (octave-source-file): New function. (Bug#15935)
5275
5276 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5277
5278 * net/eww.el (eww-local-regex): New variable.
5279 (eww): Use it to detect localhost and similar.
5280
5281 2013-11-21 Leo Liu <sdl.web@gmail.com>
5282
5283 Add completion for command `ag'.
5284 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5285 (pcomplete/ag): New function.
5286 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5287
5288 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5291 (bug#14646).
5292 (make-obsolete): Remove interactive spec.
5293
5294 2013-11-21 Glenn Morris <rgm@gnu.org>
5295
5296 * startup.el (command-line-1): Use path-separator with -L.
5297
5298 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5299
5300 * emacs-lisp/package.el (describe-package-1): Add package archive
5301 to shown fields.
5302
5303 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5304
5305 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5306 Change default to "# encoding: %s" to differentiate it from the
5307 default Ruby encoding comment template.
5308
5309 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5310
5311 * ses.el (ses-mode): Doc fix. (Bug#14748)
5312
5313 2013-11-20 Leo Liu <sdl.web@gmail.com>
5314
5315 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5316
5317 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5318
5319 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5320 when rebase or bisect are in progress.
5321
5322 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5323
5324 * filenotify.el (file-notify-add-watch): Doc fix.
5325
5326 2013-11-19 Leo Liu <sdl.web@gmail.com>
5327
5328 * obsolete/rcompile.el: Mark obsolete.
5329
5330 * progmodes/compile.el (compilation-start)
5331 (compilation-goto-locus, compilation-find-file):
5332 Pass no-display-ok and handle nil value from display-buffer.
5333 (Bug#13594)
5334
5335 * window.el (display-buffer-alist, display-buffer): Document the
5336 new parameter no-display-ok. Return either a window or nil
5337 but never a non-window value.
5338
5339 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5340
5341 * electric.el (electric-indent-mode-map): Remove.
5342 (electric-indent-mode): Change the global-map instead (bug#15915).
5343
5344 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5345 Use add-function.
5346
5347 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * emacs-lisp/nadvice.el (remove-function): Align with
5350 add-function's behavior.
5351
5352 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5353 (gdb--string-regexp): New constant.
5354 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5355 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5356 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5357 submatch 1.
5358 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5359 Adjust use accordingly.
5360 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5361
5362 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5363
5364 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5365 interpolation curlies (Bug#15914).
5366
5367 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5368
5369 * calc/calc.el (calc-context-sensitive-enter): New variable.
5370 (calc-enter): Use `calc-context-sensitive-enter'.
5371
5372 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5373
5374 * progmodes/cfengine.el: Version bump.
5375 (cfengine-cf-promises): New defcustom to locate cf-promises.
5376 (cfengine3-vartypes): Add new "data" type.
5377 (cfengine3--current-word): New function to get current name-like
5378 word or its bounds.
5379 (cfengine3--current-function): New function to look up a CFEngine
5380 function's definition.
5381 (cfengine3-format-function-docstring): New function.
5382 (cfengine3-make-syntax-cache): New function.
5383 (cfengine3-documentation-function): New function: ElDoc glue.
5384 (cfengine3-completion-function): New function: completion glue.
5385 (cfengine3-mode): Set `compile-command',
5386 `eldoc-documentation-function', and add to
5387 `completion-at-point-functions'.
5388
5389 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5390
5391 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5392 `tramp-current-connection'.
5393
5394 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5395
5396 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5397 nil/self/true/false with "end of symbol".
5398
5399 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5400
5401 * subr.el (version-regexp-alist): Fix a typo.
5402
5403 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5404
5405 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5406 "en_US.utf8" and "LC_CTYPE" to "".
5407 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5408 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5409
5410 2013-11-15 Leo Liu <sdl.web@gmail.com>
5411
5412 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5413
5414 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5415
5416 * progmodes/gud.el (ctl-x-map):
5417 Remove C-x SPC binding. (Bug#12342)
5418 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5419
5420 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5421
5422 * subr.el (version-regexp-alist):
5423 Recognize hg, svn and darcs versions as snapshot versions.
5424
5425 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5426 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5427 (ruby--encoding-comment-required-p): Extract from
5428 `ruby-mode-set-encoding'.
5429 (ruby-mode-set-encoding): Add the ability to always insert an
5430 utf-8 encoding comment. Fix and simplify coding comment update
5431 logic.
5432
5433 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5434
5435 * net/tramp-gvfs.el (top): Run init code only when
5436 `tramp-gvfs-enabled' is not nil.
5437 (tramp-gvfs-enabled): Check also :system bus.
5438
5439 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 Sync with upstream verilog-mode revision 78e66ba.
5442 * progmodes/verilog-mode.el (verilog-end-of-defun)
5443 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5444 (verilog-get-end-of-defun): Remove unused argument.
5445 (verilog-comment-depth): Remove unused local `e'.
5446 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5447 Don't pass arg to verilog-get-end-of-defun.
5448
5449 2013-11-14 Glenn Morris <rgm@gnu.org>
5450
5451 * obsolete/assoc.el (aget): Prefix dynamic variable.
5452
5453 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5454
5455 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 * widget.el, hfy-cmap.el: Remove bogus package version number.
5458
5459 2013-11-13 Glenn Morris <rgm@gnu.org>
5460
5461 * replace.el (replace-eval-replacement):
5462 Try to give more helpful error message. (Bug#15836)
5463
5464 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5465 (archive-7z-update): Avoid custom type mismatches.
5466
5467 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5468
5469 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5470
5471 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5472 address can be empty.
5473
5474 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5475 Accept nil SWITCHES.
5476 (tramp-gvfs-handle-write-region): Implement APPEND.
5477
5478 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5479
5480 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5481 binary "|" operator and closing block args delimiter.
5482 Remove FIXME comment referring to Ruby 1.8-only syntax.
5483 (ruby-smie--implicit-semi-p): Not after "|" operator.
5484 (ruby-smie--closing-pipe-p): New function.
5485 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5486 (ruby-smie-rules): Indent after "|".
5487
5488 2013-11-12 Glenn Morris <rgm@gnu.org>
5489
5490 * ps-print.el (ps-face-attribute-list):
5491 Handle anonymous faces. (Bug#15827)
5492
5493 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5494
5495 * window.el (display-buffer-other-frame): Fix doc-string.
5496 (Bug#15868)
5497
5498 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5501
5502 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5503
5504 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5505 (tramp-sh-handle-file-local-copy): Don't write a message when
5506 saving temporary files.
5507
5508 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5509 both directories are remote.
5510 (tramp-smb-handle-directory-files): Do not return double entries.
5511 Do not expand full file names.
5512 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5513 (tramp-smb-handle-write-region): Implement APPEND.
5514 (tramp-smb-get-stat-capability): Fix a stupid bug.
5515
5516 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5519
5520 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5521
5522 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5523 throwing error over malformed let/let* (bug#15814).
5524
5525 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5526
5527 * iswitchb.el (iswitchb-mode): Mark obsolete.
5528
5529 2013-11-11 Glenn Morris <rgm@gnu.org>
5530
5531 * international/uni-bidi.el, international/uni-category.el:
5532 * international/uni-name.el, international/uni-numeric.el:
5533 Regenerate for Unicode 6.3.0.
5534
5535 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5536
5537 * net/tramp.el (tramp-methods):
5538 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5539 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5540
5541 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5542
5543 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5544 Force highlighting text after Summary keyword in doc face for rpm.
5545
5546 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5547
5548 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5549 available and the word has no wildcards, append one to the grep pattern.
5550 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5551 (ispell-complete-word): Call `ispell-lookup-words' with the value
5552 independent of `ispell-look-p'.
5553
5554 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5555
5556 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5557 Not after "||".
5558 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5559 their parent.
5560
5561 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5562
5563 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5564 (ruby-font-lock-keywords): Use backquote.
5565
5566 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5567
5568 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5569 (ruby-smie--backward-token): Only consider full-string matches.
5570
5571 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5572
5573 * faces.el (describe-face): Add distant-foreground.
5574
5575 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5576
5577 * progmodes/ruby-mode.el: Improve encoding comment handling.
5578 (ruby-encoding-magic-comment-style): New option.
5579 (ruby-custom-encoding-magic-comment-template): New option.
5580 (ruby--insert-coding-comment, ruby--detect-encoding):
5581 New functions extracted from `ruby-mode-set-encoding'.
5582 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5583 to control the style of the auto-inserted encoding comment.
5584
5585 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5586
5587 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5588 Use `smie-backward-sexp' with token argument.
5589
5590 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5591
5592 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5593 Remove instrumentation code.
5594
5595 2013-11-08 Glenn Morris <rgm@gnu.org>
5596
5597 * progmodes/autoconf.el (autoconf-mode):
5598 Tweak comment-start-skip. (Bug#15822)
5599
5600 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5601
5602 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5603 at bobp (bug#15826).
5604 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5605
5606 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5607
5608 * man.el (Man-start-calling): New macro, extracted from
5609 Man-getpage-in-background.
5610 (Man-getpage-in-background): Use it.
5611 (Man-update-manpage): New command.
5612 (Man-mode-map): Bind it.
5613
5614 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5615
5616 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5617 of "and", "or", "&&" and "||".
5618 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5619 argument. Prohibit opening curly brace because it could only be a
5620 block opener in that position.
5621 (ruby-smie--forward-token, ruby-smie--backward-token):
5622 Separate "|" from "&" or "*" going after it. That can happen in block
5623 arguments.
5624 (ruby-smie--indent-to-stmt): New function, seeks the end of
5625 previous statement or beginning of buffer.
5626 (ruby-smie-rules): Use it.
5627 (ruby-smie-rules): Check if there's a ":" before a curly block
5628 opener candidate; if there is, it's a hash.
5629
5630 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5633 (cl--block-wrapper): Fix last accidental change.
5634
5635 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5636
5637 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5638 Instrument, in order to hunt failure on hydra.
5639
5640 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5641
5642 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5643 malformed bindings form (bug#15814).
5644
5645 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5646
5647 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5648 "." compared to " @ ". This incidentally fixes some indentation
5649 examples with "do".
5650 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5651 (ruby-smie-grammar): New tokens: "and" and "or".
5652 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5653 Exclude "and" and "or". Remove "do" in order to work around token
5654 priorities.
5655 (ruby-smie-rules): Add all infix tokens. Handle the case of
5656 beginning-of-buffer.
5657
5658 2013-11-06 Glenn Morris <rgm@gnu.org>
5659
5660 * Makefile.in (setwins_almost, setwins_for_subdirs):
5661 Avoid accidental matches.
5662
5663 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * menu-bar.el (popup-menu): Use key-binding.
5666
5667 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5668
5669 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5670 menus, support also the menus produced by minor modes.
5671 (Bug#15817)
5672
5673 2013-11-06 Leo Liu <sdl.web@gmail.com>
5674
5675 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5676 DISTANCE to bound the search. All uses changed. (Bug#15808)
5677
5678 2013-11-06 Glenn Morris <rgm@gnu.org>
5679
5680 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5681 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5682 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5683
5684 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5685
5686 * electric.el (electric-indent-just-newline): New command.
5687 (electric-indent-mode-map): New keymap.
5688 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5689 Re-add :group which weren't redundant.
5690
5691 * electric.el (electric-indent-local-mode): New minor mode.
5692 (electric-indent-functions-without-reindent): New var.
5693 (electric-indent-post-self-insert-function): Use it.
5694 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5695
5696 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5697
5698 * international/quail.el (quail-help): Be more explicit about the
5699 meaning of the labels shown on the keys. (Bug#15800)
5700
5701 * startup.el (normal-top-level): Load the subdirs.el files before
5702 setting the locale environment. (Bug#15805)
5703
5704 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5707 via arguments so as to get the right ones (bug#15418).
5708
5709 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5710
5711 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5712
5713 Fix problems found while writing a test suite.
5714
5715 * net/tramp-compat.el (tramp-compat-load): New defun.
5716 * net/tramp.el (tramp-handle-load): Use it.
5717
5718 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5719 "(numberp ok-if-already-exists)" correctly.
5720
5721 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5722
5723 * international/characters.el (glyphless-char-display-control):
5724 Add usage note.
5725
5726 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5727
5728 * progmodes/python.el (python-mode):
5729 * progmodes/scheme.el (scheme-mode):
5730 * progmodes/prolog.el (prolog-mode):
5731 * progmodes/ruby-mode.el (ruby-mode):
5732 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5733 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5734
5735 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5736
5737 * rect.el (rectangle--highlight-for-redisplay):
5738 * emacs-lisp/smie.el (smie--next-indent-change):
5739 Use buffer-chars-modified-tick.
5740
5741 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5742
5743 * electric.el (electric-indent-post-self-insert-function):
5744 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5745
5746 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5747
5748 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5749
5750 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5751
5752 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5753 (bug#15786).
5754
5755 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5758
5759 * progmodes/python.el: Fix up last change.
5760 (python-shell--save-temp-file): New function.
5761 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5762 `string' comes from the current buffer.
5763 (python-shell-send-string-no-output): Remove `msg' arg.
5764 (python--use-fake-loc): New var.
5765 (python-shell-buffer-substring): Obey it. Try to compensate for the
5766 extra coding line added by python-shell--save-temp-file.
5767 (python-shell-send-region): Use python-shell--save-temp-file and
5768 python-shell-send-file directly. Add `nomain' argument.
5769 (python-shell-send-buffer): Use python-shell-send-region.
5770 (python-electric-pair-string-delimiter): New function.
5771 (python-mode): Use it.
5772
5773 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5774
5775 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5776 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5777 environment and decoding all of the default-directory's to here
5778 from command-line.
5779 (command-line): Decode also argv[0].
5780
5781 * loadup.el: Error out if default-directory is a multibyte string
5782 when we are dumping.
5783
5784 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5785
5786 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5787
5788 * emacs-lisp/package.el (package-menu-mode)
5789 (package-menu--print-info, package-menu--archive-predicate):
5790 Add Archive column to package list.
5791
5792 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5793
5794 Fix problems found while writing a test suite.
5795
5796 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5797 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5798 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5799 to nil when running original file name handler. Otherwise,
5800 there are problems with constructs like "$$FOO".
5801
5802 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5803 for `localname'.
5804
5805 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5806
5807 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5808
5809 * subr.el (version<, version<=, version=):
5810 Update docstrings with information for snapshot versions.
5811
5812 * helpers.el: New library for misc helper functions.
5813 (hash-table-keys): New function returning a list of hash keys.
5814 (hash-table-values): New function returning a list of hash values.
5815
5816 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5817
5818 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5819 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5820
5821 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5822
5823 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5824 checking whether point is after a 1-letter word.
5825
5826 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5827
5828 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5829 Don't infloop when expanding region over `multiline' syntax-type that
5830 begins a line (bug#15778).
5831
5832 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5833
5834 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5835 Make it into a proper minor mode.
5836 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
5837 (rectangle-mark-mode-map): New keymap.
5838 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5839
5840 2013-11-04 Glenn Morris <rgm@gnu.org>
5841
5842 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5843
5844 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5847 (ruby-smie-rules): Use smie-rule-parent instead.
5848
5849 * emacs-lisp/smie.el (smie-rule-parent): Always call
5850 smie-indent-virtual rather than only for hanging tokens.
5851 (smie--next-indent-change): New helper command.
5852
5853 2013-11-03 Glenn Morris <rgm@gnu.org>
5854
5855 * Makefile.in (abs_srcdir): Remove.
5856 (emacs): Unset EMACSLOADPATH.
5857
5858 2013-11-02 Glenn Morris <rgm@gnu.org>
5859
5860 * Makefile.in (EMACS): Use a relative filename.
5861 (abs_top_builddir): Remove.
5862 (custom-deps, finder-data, autoloads): Use --chdir.
5863
5864 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5865
5866 Use relative filenames in TAGS files.
5867 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5868 (lisptagsfiles4, TAGS): Use relative file names.
5869 (TAGS-LISP): Remove.
5870 (maintainer-clean): No more TAGS-LISP file.
5871
5872 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5873 (lisptagsfiles4): Use absolute filenames again.
5874 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5875 Remove all *loaddefs files, not just the first. Remove esh-groups.
5876 (maintainer-clean): Delete TAGS, TAGS-LISP.
5877
5878 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5879
5880 * emacs-lisp/package.el (package-version-join):
5881 Recognize snapshot versions.
5882
5883 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5884
5885 * subr.el (version-regexp-alist): Add support for snapshot versions.
5886
5887 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5888
5889 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5890 New function, replacement for `smie-rule-parent' for when we want to
5891 skip over our direct parent if it's an assignment token..
5892 (ruby-smie-rules): Use it.
5893
5894 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5895
5896 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5897 unconditionally. Remove now unnecessary forward declarations.
5898 Remove XEmacs-specific setup.
5899 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5900 (ruby-font-lock-syntactic-keywords)
5901 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5902 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5903 (ruby-here-doc-end-syntax): Remove.
5904 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5905 defined as function.
5906
5907 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5908
5909 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5910
5911 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5912
5913 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5914 table and abbrev table, `define-derived-mode' does that for us
5915 anyway.
5916
5917 2013-11-01 Glenn Morris <rgm@gnu.org>
5918
5919 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5920 files is atomic for some time, so no parallel compilation issues).
5921
5922 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5923
5924 * faces.el (face-x-resources): Add :distant-foreground.
5925 (region): Use :distant-foreground for gtk and ns.
5926
5927 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5928
5929 Allow multiple bibliographies when BibLaTeX is used rather than
5930 BibTeX.
5931 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5932 (reftex-locate-bibliography-files): Us it.
5933
5934 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5935
5936 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5937 allow comments in pbm files.
5938
5939 * term/w32-win.el (dynamic-library-alist): Support newer versions
5940 of libjpeg starting with v7: look only for the DLL from the
5941 version against which Emacs was built.
5942 Support versions of libpng beyond 1.4.x.
5943 Support libtiff v4.x.
5944
5945 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5946
5947 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5948 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5949 Add property :safe.
5950 (ruby-deep-arglist): Add property :type.
5951
5952 2013-10-31 Glenn Morris <rgm@gnu.org>
5953
5954 * Makefile.in (custom-deps, finder-data): No need to setq the target
5955 variables, we are in the right directory and the defaults work fine.
5956
5957 2013-10-30 Glenn Morris <rgm@gnu.org>
5958
5959 * Makefile.in (autoloads): Do not use abs_lisp.
5960
5961 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5962 `newline' does not respect `standard-output', so use `princ'.
5963
5964 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5965
5966 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5967 * buff-menu.el (Buffer-menu--unmark): New function.
5968 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5969
5970 2013-10-30 Glenn Morris <rgm@gnu.org>
5971
5972 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5973
5974 * emacs-lisp/package.el (lm-homepage): Declare.
5975
5976 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5977 Fix doc typos.
5978
5979 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5980
5981 * Makefile.in (finder-data, autoloads, update-subdirs)
5982 (compile-main, compile-clean, compile-always, bootstrap-clean):
5983 Check return value of cd.
5984 (compile-calc): Remove.
5985
5986 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5989
5990 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5991 (byte-compile-and-folded): New function.
5992 (=, <, >, <=, >=): Use it.
5993
5994 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5995 (path-separator, null-device, buffer-file-coding-system)
5996 (lpr-headers-switches): Check system-type before modifying them.
5997 (find-buffer-file-type-coding-system): Mark obsolete.
5998 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5999 find-file-not-found-set-buffer-file-coding-system.
6000 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6001 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6002 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6003 (w32-direct-print-region-helper, w32-direct-print-region-function)
6004 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6005 * startup.el (normal-top-level-add-subdirs-to-load-path):
6006 * ps-print.el (ps-print-region-function):
6007 * lpr.el (print-region-function): Use new name.
6008
6009 * subr.el (custom-declare-variable-early): Remove function.
6010 (custom-declare-variable-list): Remove var.
6011 (error, user-error): Remove `while' loop.
6012 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6013 (user-emacs-directory-warning, locate-user-emacs-file):
6014 Move to files.el.
6015 * simple.el (read-quoted-char-radix, read-quoted-char):
6016 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6017 Move from subr.el.
6018 * custom.el (custom-declare-variable-list): Don't process
6019 custom-declare-variable-list.
6020
6021 * progmodes/python.el (python-shell-get-buffer): New function.
6022 (python-shell-get-process): Use it.
6023 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6024 Python which encoding was used. Don't split-string since we only care
6025 about the first line. Return the temp-file, if applicable.
6026 (python-shell-send-region): Tell compile.el how to turn locations in
6027 the temp-file into locations in the source buffer.
6028
6029 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6030
6031 * subr.el (undefined): Add missing behavior from the C code for
6032 unbound keys.
6033
6034 * rect.el: Use lexical-binding. Add new rectangular region support.
6035 (rectangle-mark): New command.
6036 (rectangle--region): New var.
6037 (deactivate-mark-hook): Reset rectangle--region.
6038 (rectangle--extract-region, rectangle--insert-for-yank)
6039 (rectangle--highlight-for-redisplay)
6040 (rectangle--unhighlight-for-redisplay): New functions.
6041 (region-extract-function, redisplay-unhighlight-region-function)
6042 (redisplay-highlight-region-function): Use them to handle
6043 rectangular region.
6044 * simple.el (region-extract-function): New var.
6045 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6046 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6047 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6048 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6049 (redisplay-unhighlight-region-function)
6050 (redisplay-highlight-region-function): New vars.
6051 (redisplay--update-region-highlight): New function.
6052 (pre-redisplay-function): Use it.
6053 (exchange-point-and-mark): Don't deactivate the mark before
6054 reactivate-it anyway.
6055 * comint.el (comint-kill-region): Remove yank-handler argument.
6056 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6057 (delete-char): Remove property, since it's now part of their
6058 default behavior.
6059 (self-insert-iso): Remove property since this command doesn't exist.
6060
6061 * emacs-lisp/package.el (package--download-one-archive)
6062 (describe-package-1): Don't query the user about final newline.
6063
6064 2013-10-29 Daniel Colascione <dancol@dancol.org>
6065
6066 * net/tramp.el (tramp-methods): Document new functionality.
6067 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6068 tramp-hostname-checker if method provides one instead of scanning
6069 argument list for "%h" to decide hostname acceptability.
6070
6071 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6072
6073 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6074 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6075 Handle COPY-CONTENTS. (Bug#15737)
6076
6077 2013-10-28 Daiki Ueno <ueno@gnu.org>
6078
6079 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
6080 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6081
6082 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6083
6084 * image.el (defimage, image-load-path): Doc fixes.
6085
6086 2013-10-27 Alan Mackenzie <acm@muc.de>
6087
6088 Indent statements in macros following "##" correctly.
6089 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6090 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6091
6092 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6093
6094 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6095
6096 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6097
6098 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6099 after `=' is probably a new expression.
6100
6101 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6102
6103 * man.el (man-imenu-title): New option.
6104 (Man-mode-map): Add menu. (Bug#15722)
6105 (Man-mode): Add imenu to menu.
6106
6107 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6108
6109 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6110 specific in what the first arg can be: a non-keyword word,
6111 string/regexp/percent literal opener, opening paren, or unary
6112 operator followed directly by word.
6113
6114 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6115
6116 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6117 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6118 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6119 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6120 Remove vars, they do not apply any more.
6121 (prolog-mode-abbrev-table): Remove redundant declaration.
6122 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6123 (prolog-use-smie): Remove.
6124 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6125 supported by prolog-electric-if-then-else-flag.
6126 (prolog-mode-variables, prolog-menu): Use setq-local.
6127 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6128 Remove binding to `Backspace' since this key doesn't exist anyway.
6129 Remove bindings for electric self-inserting keys.
6130 (prog-mode): Assume it's defined.
6131 (prolog-post-self-insert): New function.
6132 (prolog-mode): Use it.
6133 (prolog-indent-line, prolog-indent-level)
6134 (prolog-find-indent-of-matching-paren)
6135 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6136 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6137 (prolog-goto-next-paren, prolog-in-string-or-comment)
6138 (prolog-tokenize, prolog-inside-mline-comment)
6139 (prolog-find-start-of-mline-comment): Remove functions.
6140 (prolog-find-unmatched-paren, prolog-clause-end)
6141 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6142 (prolog-electric--if-then-else): Rename from
6143 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6144 (prolog-tokenize-searchkey): Remove const.
6145 (prolog-clause-info): Use forward-sexp.
6146 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6147 (prolog-electric-if-then-else): Remove commands.
6148 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6149 for use in post-self-insert-hook.
6150 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6151 for use in post-self-insert-hook.
6152 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6153 for use in post-self-insert-hook.
6154 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6155 adapt it for use in post-self-insert-hook.
6156
6157 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6158
6159 * emacs-lisp/ert.el (ert-run-tests-interactively):
6160 Use `completing-read'. (Bug#9756)
6161
6162 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6163
6164 * simple.el (line-move): Call line-move-1 instead of
6165 line-move-visual when the current window hscroll is zero, but
6166 temporary-goal-column indicates we will need to hscroll as result
6167 of the movement. (Bug#15712)
6168
6169 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6170
6171 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6172 capitalization. Use :visible instead of :active.
6173 Fix `ruby-indent-exp' reference. Add menu items for the generic
6174 commands that are used with SMIE.
6175 (ruby-do-end-to-brace): Insert space after `{'.
6176
6177 2013-10-25 John Anthony <john@jo.hnanthony.com>
6178
6179 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6180
6181 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6182
6183 2013-10-25 Glenn Morris <rgm@gnu.org>
6184
6185 * vc/vc.el (vc-print-log): Don't use a working revision unless
6186 one was explicitly specified. (Bug#15322)
6187
6188 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6189
6190 * subr.el (add-to-list): Preserve return value in compiler-macro
6191 (bug#15692).
6192
6193 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6194
6195 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6196 result. Ask user to retry using '-all' flag. (Bug#15701)
6197
6198 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 * emacs-lisp/smie.el: New smie-config system.
6201 (smie-config): New defcustom.
6202 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6203 (smie-config-guess, smie-config-save): New commands.
6204 (smie-config--mode-local, smie-config--buffer-local)
6205 (smie-config--trace, smie-config--modefuns): New vars.
6206 (smie-config--advice, smie-config--mode-hook)
6207 (smie-config--setter, smie-config-local, smie-config--get-trace)
6208 (smie-config--guess-value, smie-config--guess): New functions.
6209 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6210 text properties. Treat "string fence" syntax like string syntax.
6211
6212 * progmodes/sh-script.el (sh-use-smie): Change default.
6213 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6214 (sh-var-value): Simplify by CSE.
6215 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6216 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6217 is used.
6218 (sh-guess-basic-offset): Use cl-incf.
6219 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6220
6221 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6222
6223 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6224 (bug#15699).
6225
6226 2013-10-24 Glenn Morris <rgm@gnu.org>
6227
6228 * Makefile.in (abs_top_srcdir): Remove.
6229 (update-subdirs): Use relative path to update-subdirs.
6230
6231 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6232
6233 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6234 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6235 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6236 Call unmsys--file-name before expand-file-name, not after it.
6237
6238 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6239
6240 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6241 (ert-test-skipped): New error.
6242 (ert-skip, ert-stats-skipped): New defuns.
6243 (ert--skip-unless): New macro.
6244 (ert-test-skipped): New struct.
6245 (ert--run-test-debugger, ert-test-result-type-p)
6246 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6247 (ert--stats-set-test-and-result, ert-char-for-test-result)
6248 (ert-string-for-test-result, ert-run-tests-batch)
6249 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6250 Handle skipped tests. (Bug#9803)
6251
6252 2013-10-24 Glenn Morris <rgm@gnu.org>
6253
6254 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6255
6256 * Makefile.in (abs_top_srcdir): New, set by configure.
6257 (update-subdirs): Correct build-aux location.
6258
6259 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6260
6261 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6262 value, whether we could auto-deduce `backend', or not.
6263
6264 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6265 with parameters" example. Simplify the "is it block or is it
6266 hash" check, but also make it more thorough.
6267
6268 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6269
6270 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6271
6272 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6275 { if it is hanging.
6276
6277 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6278 :before ";".
6279
6280 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6281
6282 * progmodes/compile.el (compilation-directory-matcher)
6283 (compilation-page-delimiter):
6284 Support GNU Make-4.0 directory quoting. (Bug#15678)
6285
6286 2013-10-23 Leo Liu <sdl.web@gmail.com>
6287
6288 * ido.el (ido-tidy): Handle read-only text.
6289
6290 2013-10-23 Glenn Morris <rgm@gnu.org>
6291
6292 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6293 (emacs, compile, compile-always):
6294 Quote entities that might contain whitespace.
6295 (custom-deps, finder-data, autoloads): Use abs_lisp.
6296 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6297 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6298 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6299
6300 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6301
6302 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6303 Use `following-char'.
6304
6305 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6308 * progmodes/ruby-mode.el (ruby-smie-rules):
6309 Remove corresponding workaround. Fix indentation rule of ";" so it
6310 also applies when ";" is the parent.
6311
6312 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6313
6314 * frame.el (display-screens, display-pixel-height)
6315 (display-pixel-width, display-mm-width, display-backing-store)
6316 (display-save-under, display-planes, display-color-cells)
6317 (display-visual-class, display-monitor-attributes-list):
6318 Mention the optional ‘display’ argument in doc strings.
6319
6320 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6321
6322 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6323 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6324
6325 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6326
6327 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6328 TODO. Add "." after " @ ".
6329 (ruby-smie--at-dot-call): New function. Checks if point at method
6330 call with explicit target.
6331 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6332 to the method name tokens when it precedes them.
6333 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6334 (ruby-smie-rules): Add rule for indentation before and after "."
6335 token.
6336
6337 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6338
6339 * textmodes/remember.el (remember-diary-extract-entries):
6340 Avoid add-to-list.
6341
6342 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6343 an instruction.
6344
6345 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6346
6347 * progmodes/ruby-mode.el (ruby-smie-grammar):
6348 Add (almost) all infix operators.
6349 (ruby-smie--implicit-semi-p): Add new operator chars.
6350
6351 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6352 `smie-down-list'.
6353 (ruby-smie--args-separator-p): Check that there's no newline
6354 between method call and its arguments.
6355
6356 2013-10-20 Alan Mackenzie <acm@muc.de>
6357
6358 Allow comma separated lists after Java "implements".
6359
6360 * progmodes/cc-engine.el (c-backward-over-enum-header):
6361 Parse commas.
6362 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6363 from a "disallowed" list in enum fontification.
6364
6365 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6366
6367 * startup.el (default-frame-background-mode): Remove unused defvar.
6368
6369 * progmodes/verilog-mode.el (verilog-mode): Don't set
6370 comment-indent-function globally.
6371
6372 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6373
6374 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6375 Move Info menu item creation to ns-win.el.
6376
6377 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6378 in menu bar.
6379
6380 * menu-bar.el: Move GNUstep specific menus...
6381
6382 * term/ns-win.el (ns-initialize-window-system): ... to here.
6383
6384 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6385
6386 * simple.el (newline): Only run post-self-insert-hook when
6387 called interactively.
6388
6389 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6390
6391 * icomplete.el (icomplete-with-completion-tables): Add :version.
6392
6393 2013-10-19 Alan Mackenzie <acm@muc.de>
6394
6395 Fix fontification bugs with constructors and const.
6396
6397 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6398 CASE 2) Remove the check for the absence of a suffix construct
6399 after a function declaration with only types (no identifiers) in
6400 the parentheses. Also, accept a function declaration with just a
6401 type inside the parentheses, if this type can be positively
6402 recognised as such, or if a prefix keyword like "explicit" nails
6403 down the construct as a declaration.
6404
6405 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6406
6407 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6408 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6409 the problem whereby selecting a menu item that leads to a
6410 minibuffer prompt moves the cursor out of the minibuffer window,
6411 making it hard to type at the prompt. Suggested by Stefan Monnier
6412 <monnier@iro.umontreal.ca>.
6413
6414 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6415
6416 * menu-bar.el: Don't make Services menu.
6417
6418 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6419
6420 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6421 (ffap-alist): Use ffap-c++-mode for c++-mode.
6422 (ffap-c++-path): New variable.
6423 (ffap-c++-mode): New function.
6424
6425 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6426
6427 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6428
6429 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6430
6431 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6432 introduced on 2013-09-08, which results in an infinite loop
6433 requesting a password.
6434
6435 2013-10-18 Glenn Morris <rgm@gnu.org>
6436
6437 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6438
6439 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6440
6441 Sync with upstream verilog-mode revision 1a6ecec7.
6442 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6443 (verilog-mode-release-date): Remove.
6444 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6445 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6446 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6447 (verilog-auto-tieoff-ignore-regexp)
6448 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6449 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6450 (verilog-signals-with, verilog-dir-cache-preserving)
6451 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6452 Doc fixes.
6453 (verilog-case-fold): New option, to control case folding in
6454 regexp searches, bug597.
6455 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6456 (verilog-string-match-fold, verilog-in-paren-count)
6457 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6458 (verilog-at-close-struct-p): New functions.
6459 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6460 (verilog-forward-sexp, verilog-set-auto-endcomments)
6461 (verilog-leap-to-case-head): Handle "unique0" case.
6462 (verilog-in-constraint-re): New constant.
6463 (verilog-keywords, verilog-type-font-keywords):
6464 Add some SystemVerilog 1800-2012 keywords.
6465 (verilog-label-be): Remove unimplemented argument, bug669.
6466 (verilog-batch-execute-func): When batch expanding clear
6467 create-lockfiles to prevent spurious user locks when a file ends
6468 up not changing.
6469 (verilog-calculate-indent, verilog-calc-1)
6470 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6471 (verilog-do-indent): Fix indentation of nested constraints
6472 and structures.
6473 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6474 (verilog-auto-inst-param): Use verilog-string-match-fold.
6475 (verilog-read-inst-module-matcher):
6476 Fix AUTOINST on gate primitives with #1.
6477 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6478 Reads all user-defined typed variables.
6479 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6480 (verilog-signals-matching-regexp)
6481 (verilog-signals-not-matching-regexp, verilog-auto):
6482 Respect verilog-case-fold.
6483 (verilog-diff-report): Fix line count.
6484 (verilog-auto-assign-modport): Remove unused local `modi'.
6485 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6486 better handle multidimensional arrays.
6487 Fix packed array ports misadding bit index in AUTOINST, bug637.
6488 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6489 to not double-declare existing outputs and inputs, respectively.
6490 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6491 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6492 (verilog-sk-uvm-component): New skeleton.
6493 (verilog-submit-bug-report): Add verilog-case-fold,
6494 remove verilog-mode-release-date.
6495
6496 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6497
6498 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6499 as before.
6500
6501 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6502
6503 * textmodes/remember.el (remember): Set buffer-offer-save in
6504 remember buffers (bug#13566).
6505
6506 2013-10-18 Daniel Colascione <dancol@dancol.org>
6507
6508 When evaluating forms in ielm, direct standard output to ielm
6509 buffer. Add new ielm-return-for-effect command. Remove trailing
6510 whitespace throughout.
6511
6512 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6513 (ielm-return-for-effect): New command.
6514 (ielm-send-input): Accept optional `for-effect' parameter.
6515 (ielm-eval-input): Accept optional `for-effect' parameter.
6516 Bind `standard-output' to stream we create using
6517 `ielm-standard-output-impl'. Suppress printing result when
6518 `for-effect'.
6519 (ielm-standard-output-impl): New function.
6520 (inferior-emacs-lisp-mode): Explain new features in documentation.
6521
6522 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6523
6524 Code cleanup.
6525
6526 * net/tramp.el (tramp-debug-message): Do not check for connection
6527 buffer.
6528 (tramp-message): Use "vector" connection property.
6529
6530 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6531 (tramp-equal-remote, tramp-eshell-directory-change)
6532 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6533 (tramp-adb-handle-rename-file)
6534 * net/tramp-cmds.el (tramp-list-remote-buffers)
6535 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6536 * net/tramp-compat.el (tramp-compat-process-running-p)
6537 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6538 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6539 (tramp-gvfs-handle-rename-file)
6540 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6541 (tramp-set-file-uid-gid)
6542 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6543 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6544 of `file-remote-p'.
6545
6546 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6547 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6548 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6549 (tramp-gw-open-network-stream): Suppress unrelated traces.
6550
6551 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6552 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6553 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6554 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6555 connection property.
6556
6557 * net/tramp-cache.el (top): Suppress traces when reading
6558 persistency file.
6559
6560 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6561 Refactor common code. Improve debug message.
6562 (tramp-maybe-open-connection)
6563 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6564 connection buffer too early.
6565
6566 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6567 from `tramp-smb-actions-with-acl'.
6568 (tramp-smb-actions-set-acl): New defconst.
6569 (tramp-smb-handle-copy-directory)
6570 (tramp-smb-action-get-acl): New defun, renamed from
6571 `tramp-smb-action-with-acl'.
6572 (tramp-smb-action-set-acl): New defun.
6573 (tramp-smb-handle-set-file-acl): Rewrite.
6574
6575 2013-10-17 Glenn Morris <rgm@gnu.org>
6576
6577 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6578
6579 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6580
6581 * skeleton.el (skeleton-newline): Remove.
6582 (skeleton-internal-1): Use (insert "\n") instead.
6583
6584 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6585 let-bindings.
6586
6587 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6588 forward-sexp-function while we redo its job (bug#15613).
6589
6590 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6591
6592 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6593 represented by lists.
6594
6595 2013-10-16 Glenn Morris <rgm@gnu.org>
6596
6597 * tmm.el (tmm--history): New dynamic variable.
6598 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6599
6600 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6601
6602 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6603 (tramp-smb-errors): Add error messages.
6604 (tramp-smb-actions-with-acl): New defconst.
6605 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6606 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6607 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6608 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6609 (tramp-smb-get-stat-capability): Fix tests.
6610
6611 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6612
6613 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6614 (bug#15580).
6615
6616 2013-10-16 Glenn Morris <rgm@gnu.org>
6617
6618 * ansi-color.el (ansi-color-drop-regexp):
6619 Add 1J, 1K, 2K. (Bug#15617)
6620
6621 * files.el (hack-local-variables--warned-lexical): New.
6622 (hack-local-variables):
6623 Warn about misplaced lexical-binding. (Bug#15616)
6624
6625 * net/eww.el (eww-render): Always set eww-current-url,
6626 and update header line. (Bug#15622)
6627 (eww-display-html): ... Rather than just doing it here.
6628
6629 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6630
6631 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6632 menu navigations commands.
6633
6634 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6635
6636 * progmodes/subword.el (subword-capitalize): Be careful when
6637 the search for [[:alpha:]] fails (bug#15580).
6638
6639 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6640
6641 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6642 to commands that scroll the menu.
6643
6644 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6645
6646 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6647 Handle methods ending with `?' and `!'.
6648
6649 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6650
6651 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6652 `japanese-cp932' to `cp932' to fix the problem where saving a
6653 source file written in Shift_JIS twice would end up having
6654 `coding: japanese-cp932' which Ruby could not recognize.
6655 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6656 in `ruby-encoding-map'.
6657 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6658 doesn't need to be explicitly declared in magic comment.
6659 (ruby-encoding-map): Add type declaration for better customize UI.
6660
6661 2013-10-13 Glenn Morris <rgm@gnu.org>
6662
6663 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6664 Occur buffers are read-only. http://bugs.debian.org/720775
6665
6666 * emacs-lisp/authors.el (authors-fixed-entries):
6667 Comment out old alpha stuff.
6668
6669 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6670
6671 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6672 to `after-save-hook' instead of `before-save-hook'.
6673 (ruby-mode-set-encoding): Use the value of coding system used to
6674 write the file. Call `basic-save-buffer-1' after modifying the
6675 buffer.
6676
6677 2013-10-13 Alan Mackenzie <acm@muc.de>
6678
6679 Fix indentation/fontification of Java enum with
6680 "implements"/generic.
6681
6682 * progmodes/cc-engine.el (c-backward-over-enum-header):
6683 Extracted from the three other places and enhanced to handle generics.
6684 (c-inside-bracelist-p): Uses new function above.
6685 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6686 function above.
6687 (c-font-lock-enum-tail): Uses new function above.
6688
6689 2013-10-13 Kenichi Handa <handa@gnu.org>
6690
6691 * international/mule-cmds.el (select-safe-coding-system): Remove a
6692 superfluous condition in chekcing whether a coding system is safe
6693 or not.
6694
6695 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6696
6697 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6698
6699 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6700
6701 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6702
6703 2013-10-13 Glenn Morris <rgm@gnu.org>
6704
6705 * menu-bar.el (menu-bar-update-buffers):
6706 Unify Buffers menu prompt string. (Bug#15576)
6707
6708 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6709
6710 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6711 Add some entries.
6712 (authors-fixed-entries): Use accented form of name.
6713
6714 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6717 method calls (bug#15594).
6718 (ruby-smie--args-separator-p): New function.
6719 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6720 recognize paren-free method calls.
6721
6722 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6723 internals of universal-argument.
6724
6725 2013-10-11 Eli Zaretskii <eliz@gnu.org>
6726
6727 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6728 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6729 dropped menu on second mouse click on the menu bar.
6730
6731 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6732
6733 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6734 (explicit-shell-file-name): Declare.
6735 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6736 (sh-completion-at-point-function): New function.
6737 (sh-mode): Use it.
6738 (sh-smie--keyword-p): Remove unused argument.
6739 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6740 vars.
6741 (sh-set-shell): Always setup SMIE, even if we use the
6742 old indentation code.
6743
6744 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6745
6746 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6747 cases of ? and =.
6748 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6749 predicate would return nil are almost non-existent.
6750 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6751
6752 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6753 cache also after commands that modify the buffer but don't move
6754 point.
6755
6756 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6757
6758 * env.el (substitute-env-in-file-name): New function.
6759 (substitute-env-vars): Extend the meaning of the optional arg.
6760
6761 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6762
6763 * term/w32-win.el (dynamic-library-alist): Define separate lists
6764 of GIF DLLs for versions before and after 5.0.0 of giflib.
6765 (Bug#15531)
6766
6767 2013-10-10 João Távora <joaotavora@gmail.com>
6768
6769 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6770 not locked, use last revision and current source as
6771 defaults. (Bug#15569)
6772
6773 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6774
6775 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6776 menu-bar is hidden.
6777
6778 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6779
6780 * window.el (pop-to-buffer-same-window): Fix doc-string.
6781 (Bug#15492)
6782
6783 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6784
6785 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6786
6787 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6788
6789 * calendar/icalendar.el (icalendar-import-file):
6790 Fix interactive spec. (Bug#15482)
6791
6792 2013-10-10 Glenn Morris <rgm@gnu.org>
6793
6794 * desktop.el (desktop-save): Default to saving in .emacs.d,
6795 since PWD is no longer in desktop-path by default. (Bug#15319)
6796
6797 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6798 now that text mode has a menu with the same entry.
6799 (menu-bar-text-mode-auto-fill): Remove now unused func.
6800 * textmodes/text-mode.el (text-mode-map):
6801 Use auto-fill help text from menu-bar.el.
6802
6803 2013-10-10 John Anthony <john@jo.hnanthony.com>
6804
6805 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6806
6807 2013-10-09 Juri Linkov <juri@jurta.org>
6808
6809 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6810 instead of this-command-keys. Add universal-argument-more and
6811 universal-argument-minus to the list of prefix commands. (Bug#15568)
6812
6813 2013-10-09 Glenn Morris <rgm@gnu.org>
6814
6815 * vc/vc-svn.el (vc-svn-create-repo):
6816 Expand paths in file://... url. (Bug#15446)
6817
6818 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6819 Add some entries.
6820 (authors): Remove unused local variables.
6821
6822 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6823
6824 * profiler.el: Create a more coherent calltree from partial backtraces.
6825 (profiler-format): Hide the tail with `invisible' so that C-s can still
6826 find the hidden elements.
6827 (profiler-calltree-depth): Don't recurse so enthusiastically.
6828 (profiler-function-equal): New hash-table-test.
6829 (profiler-calltree-build-unified): New function.
6830 (profiler-calltree-build): Use it.
6831 (profiler-report-make-name-part): Indent the calltree less.
6832 (profiler-report-mode): Add visibility specs for profiler-format.
6833 (profiler-report-expand-entry, profiler-report-toggle-entry):
6834 Expand the whole subtree when provided with a prefix arg.
6835
6836 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6837
6838 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6839 iuwu-mod token.
6840 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6841 hanging iuwu-mod token.
6842 (ruby-smie--forward-token): Do not include a dot after a token in
6843 that token.
6844 (ruby-smie--backward-token): Likewise.
6845
6846 2013-10-08 Juri Linkov <juri@jurta.org>
6847
6848 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6849 to isearch-other-control-char.
6850 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6851 and isearch-post-command-hook to post-command-hook.
6852 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6853 and isearch-post-command-hook from post-command-hook.
6854 (isearch-unread-key-sequence)
6855 (isearch-reread-key-sequence-naturally)
6856 (isearch-lookup-scroll-key, isearch-other-control-char)
6857 (isearch-other-meta-char): Remove functions.
6858 (isearch-pre-command-hook, isearch-post-command-hook):
6859 New functions based on isearch-other-meta-char rewritten
6860 relying on the new behavior of overriding-terminal-local-map
6861 that does not replace the local keymaps any more. (Bug#15200)
6862
6863 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6864
6865 Support menus on text-mode terminals.
6866 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6867 functionality.
6868
6869 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6870
6871 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6872 Move here from mouse.el.
6873 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6874 and arrow keys.
6875 (tty-menu-navigation-map): New map for TTY menu navigation.
6876
6877 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6878
6879 * frame.el (display-mouse-p): Report text-mode mouse as available
6880 on w32.
6881 (display-popup-menus-p): Report availability if mouse is
6882 available; don't condition on window-system.
6883
6884 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6885 (tty-menu-selected-face): New faces.
6886
6887 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6890 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6891 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6892 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6893 New constants.
6894 (lisp-mode-variables): New `elisp' argument.
6895 (emacs-lisp-mode): Use it.
6896 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6897 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6898
6899 * indent.el: Use lexical-binding.
6900 (indent-region): Add progress reporter.
6901 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6902 last step.
6903 (indent--next-tab-stop): New function to implement this behavior.
6904 (tab-to-tab-stop, move-to-tab-stop): Use it.
6905
6906 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6907
6908 * indent.el (indent-rigidly--current-indentation): New function.
6909 (indent-rigidly-map): New var.
6910 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6911
6912 2013-10-08 Bastien Guerry <bzg@gnu.org>
6913
6914 * register.el (insert-register): Fix 2013-10-07 change.
6915
6916 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 * progmodes/perl-mode.el: Use lexical-binding.
6919 Remove redundant :group args.
6920 (perl-nochange): Change default to be closer to other major modes's
6921 standard behavior.
6922 (perl-indent-line): Don't consider text on current line as a
6923 valid beginning of function from which to indent.
6924
6925 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6926 with more than one argument (bug#15538).
6927
6928 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6929
6930 * vc/pcvs.el: Use lexical-binding.
6931 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6932 environment of `eval'.
6933 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6934 than a list of expressions. Adjust callers.
6935 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6936
6937 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6938
6939 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6940 case of the dot in a chained method call being on the following line.
6941
6942 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * electric.el (electric-indent-inhibit): New var.
6945 (electric-indent-post-self-insert-function): Use it.
6946 * progmodes/python.el (python-mode): Set it.
6947
6948 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6949 open braces.
6950
6951 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6952
6953 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6954 (css-mode): Use electric-indent-chars.
6955
6956 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6957 (font-lock-beg, font-lock-end): Move before first use.
6958 (nxml-mode): Use syntax-propertize-function.
6959 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6960 (nxml-extend-after-change-region): Remove.
6961 * nxml/xmltok.el: Use lexical-binding.
6962 (xmltok-save): Use `declare'.
6963 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6964 * nxml/nxml-util.el: Use lexical-binding.
6965 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6966 Use `declare'.
6967 * nxml/nxml-ns.el: Use lexical-binding.
6968 (nxml-ns-save): Use `declare'.
6969 (nxml-ns-prefixes-for): Avoid add-to-list.
6970 * nxml/rng-match.el: Use lexical-binding.
6971 (rng--ipattern): Use cl-defstruct.
6972 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6973 (rng-cons-group-after, rng-subst-group-after)
6974 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6975 Use closures instead of `(lambda...).
6976
6977 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6978
6979 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6980 of BEG and END.
6981
6982 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6983 Use `tramp-handle-insert-file-contents'.
6984 (tramp-gvfs-handle-insert-file-contents): Remove function.
6985
6986 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6987 Use `save-restriction' in order to keep markers.
6988
6989 * net/trampver.el: Update release number.
6990
6991 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6992
6993 * progmodes/compile.el (compilation-parse-errors):
6994 Use compilation--put-prop.
6995 (compilation--ensure-parse): Check compilation-multiline.
6996
6997 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6998
6999 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7000 lexical-binding.
7001
7002 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7003
7004 * progmodes/ruby-mode.el: Fix recently added tests.
7005 (ruby-smie-grammar): Add - and +.
7006 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7007 (ruby-smie--backward-id): New functions.
7008 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7009 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7010 any more.
7011
7012 2013-10-07 Leo Liu <sdl.web@gmail.com>
7013
7014 * register.el (register-preview-delay)
7015 (register-preview-functions): New variables.
7016 (register-read-with-preview, register-preview)
7017 (register-describe-oneline): New functions.
7018 (point-to-register, window-configuration-to-register)
7019 (frame-configuration-to-register, jump-to-register)
7020 (number-to-register, view-register, insert-register)
7021 (copy-to-register, append-to-register, prepend-to-register)
7022 (copy-rectangle-to-register): Use register-read-with-preview to
7023 read register. (Bug#15525)
7024
7025 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7026
7027 * net/network-stream.el (network-stream-open-starttls): Don't add
7028 --insecure if it's already present, because that gnutls-cli
7029 rejects getting that parameter twice.
7030
7031 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7032
7033 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7034 keyword, too.
7035
7036 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7037
7038 * newcomment.el (comment-use-global-state): Change default value
7039 to t, mark obsolete (Bug#15251).
7040 (comment-beginning): In addition to `comment-to-syntax', check the
7041 value of `comment-use-global-state'.
7042
7043 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7046 (ruby-comment-column): Follow the global default, by default.
7047 (ruby-smie-grammar): Add assignment syntax.
7048 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7049 open-paren, a comma, or a \.
7050 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7051 and line continuations.
7052 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7053 followed by implicit semi-colons. Add rule for string concatenation
7054 and for indentation at BOB.
7055 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7056
7057 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7058 calling next-sexp, since next-token may have skipped chars which
7059 next-sexp doesn't know should be skipped!
7060
7061 2013-10-05 Leo Liu <sdl.web@gmail.com>
7062
7063 * progmodes/octave.el (octave-send-region):
7064 Call compilation-forget-errors.
7065
7066 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7067
7068 * vc/vc-svn.el (vc-svn-find-admin-dir):
7069 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7070 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7071 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7072 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7073
7074 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7077
7078 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7079
7080 * subr.el (read-passwd): Hide chars even when called within a context
7081 where after-change-functions is disabled (bug#15501).
7082 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7083 until we removed ourself from overriding-terminal-local-map.
7084
7085 2013-10-04 Leo Liu <sdl.web@gmail.com>
7086
7087 * progmodes/octave.el (inferior-octave-mode):
7088 Call compilation-forget-errors.
7089
7090 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7091
7092 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7093
7094 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7095
7096 * net/secrets.el (secrets-create-collection): Add optional
7097 argument ALIAS. Use proper Label keyword. Append ALIAS as
7098 dbus-call-method argument. (Bug#15516)
7099
7100 2013-10-04 Leo Liu <sdl.web@gmail.com>
7101
7102 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7103 (inferior-octave-compilation-font-lock-keywords): New variables.
7104 (compilation-error-regexp-alist)
7105 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7106 (inferior-octave-mode): Use compilation-shell-minor-mode.
7107
7108 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7109
7110 * minibuffer.el (completion--replace): Be careful that `end' might be
7111 a marker.
7112
7113 2013-10-03 Daiki Ueno <ueno@gnu.org>
7114
7115 Add support for package signature checking.
7116 * emacs-lisp/package.el (url-http-file-exists-p)
7117 (epg-make-context, epg-context-set-home-directory)
7118 (epg-verify-string, epg-context-result-for)
7119 (epg-signature-status, epg-signature-to-string)
7120 (epg-check-configuration, epg-configuration)
7121 (epg-import-keys-from-file): Declare.
7122 (package-check-signature): New user option.
7123 (package-unsigned-archives): New user option.
7124 (package-desc): Add `signed' field.
7125 (package-load-descriptor): Set `signed' field if .signed file exists.
7126 (package--archive-file-exists-p): New function.
7127 (package--check-signature): New function.
7128 (package-install-from-archive): Check package signature.
7129 (package--download-one-archive): Check archive signature.
7130 (package-delete): Remove .signed file.
7131 (package-import-keyring): New command.
7132 (package-refresh-contents): Import default keyring.
7133 (package-desc-status): Add "unsigned" status.
7134 (describe-package-1, package-menu--print-info)
7135 (package-menu-mark-delete, package-menu--find-upgrades)
7136 (package-menu--status-predicate): Support "unsigned" status.
7137
7138 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7141 the new compilation scheme using the new byte-codes.
7142
7143 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7144 (byte-pophandler): New byte codes.
7145 (byte-goto-ops): Adjust accordingly.
7146 (byte-compile--use-old-handlers): New var.
7147 (byte-compile-catch): Use new byte codes depending on
7148 byte-compile--use-old-handlers.
7149 (byte-compile-condition-case--old): Rename from
7150 byte-compile-condition-case.
7151 (byte-compile-condition-case--new): New function.
7152 (byte-compile-condition-case): New function that dispatches depending
7153 on byte-compile--use-old-handlers.
7154 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7155 when we can.
7156
7157 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7158 Optimize under `condition-case' and `catch' if
7159 byte-compile--use-old-handlers is nil.
7160 (disassemble-offset): Handle new bytecodes.
7161
7162 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7163
7164 * subr.el (error): Use `declare'.
7165 (decode-char, encode-char): Use advertised-calling-convention instead
7166 of the docstring to discourage use of the `restriction' arg.
7167
7168 2013-10-03 Daiki Ueno <ueno@gnu.org>
7169
7170 * epg.el (epg-verify-file): Add a comment saying that it does not
7171 notify verification error as a return value nor a signal.
7172 (epg-verify-string): Ditto.
7173
7174 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7175
7176 * progmodes/compile.el (compilation-start): Try globbing the arg to
7177 `cd' (bug#15417).
7178
7179 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7180
7181 Sync with Tramp 2.2.8.
7182
7183 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7184 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7185 * net/trampver.el: Update release number.
7186
7187 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7188
7189 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7190 and default-process-coding-system for darwin only.
7191
7192 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7194 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7195
7196 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7197
7198 * vc/vc-git.el (vc-git-grep): Disable pager.
7199
7200 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7201
7202 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7203 Use :url instead of :homepage, as per
7204 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7205
7206 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7207 non-nil, use `syntax-ppss' (Bug#15251).
7208
7209 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7210
7211 * progmodes/octave.el (inferior-octave-startup-file):
7212 Prefer ~/.emacs.d/init_octave.m.
7213
7214 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7215
7216 * emacs-lisp/package.el (package-desc-from-define):
7217 Accept additional arguments as plist, convert them to an alist and store
7218 them in the `extras' slot.
7219 (package-generate-description-file): Convert extras alist back to
7220 plist and append to the `define-package' form arguments.
7221 (package--alist-to-plist): New function.
7222 (package--ac-desc): Add `extras' slot.
7223 (package--add-to-archive-contents): Check if the archive-contents
7224 vector is long enough, and if it is, pass its `extras' slot value
7225 to `package-desc-create'.
7226 (package-buffer-info): Call `lm-homepage', pass the returned value
7227 to `package-desc-from-define'.
7228 (describe-package-1): Render the homepage button (Bug#13291).
7229
7230 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7231 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7232
7233 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7234
7235 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7236 and default-process-coding-system to utf-8-unix (Bug#15402).
7237
7238 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7239
7240 * subr.el (looking-back): Do not recommend using looking-back.
7241
7242 2013-09-28 Alan Mackenzie <acm@muc.de>
7243
7244 Fix indentation/fontification of Java enum with "implements".
7245
7246 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7247 regexp which matches "implements", etc., in Java.
7248 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7249 specifier clauses coming after "enum".
7250 * progmodes/cc-fonts.el (c-font-lock-declarations)
7251 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7252 after "enum".
7253
7254 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7255
7256 * faces.el (region): Change ns_selection_color to
7257 ns_selection_fg_color, add ns_selection_bg_color.
7258
7259 2013-09-28 Leo Liu <sdl.web@gmail.com>
7260
7261 * progmodes/octave.el (inferior-octave-completion-table)
7262 (inferior-octave-completion-at-point): Minor tweaks.
7263
7264 * textmodes/ispell.el (ispell-lookup-words): Rename from
7265 lookup-words. (Bug#15460)
7266 (lookup-words): Obsolete.
7267 (ispell-complete-word, ispell-command-loop): All uses changed.
7268
7269 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7270
7271 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7272 (octave-mode-menu): Add octave-send-buffer.
7273 (octave-send-buffer): New function.
7274
7275 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7276
7277 * progmodes/octave.el (octave-mode-map): Add key binding for
7278 octave-lookfor.
7279 (octave-mode-menu): Add octave-lookfor.
7280 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7281 octave-lookfor.
7282 (octave-lookfor): New function.
7283
7284 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7287 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7288 its convention.
7289 (cl--loop-set-iterator-function): New function.
7290 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7291 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7292 Bind `it' with `let' instead of substituting it with `cl-subst'.
7293 (cl--unused-var-p): New function.
7294 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7295 Eliminate some unused variable warnings (bug#15326).
7296
7297 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7298
7299 * doc-view.el (doc-view-scale-reset): Rename from
7300 `doc-view-reset-zoom-level'.
7301 (doc-view-scale-adjust): New command.
7302 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7303 `doc-view-scale-adjust'.
7304
7305 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7306
7307 * doc-view.el (doc-view-reset-zoom-level): New command.
7308 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7309 zoom commands (bug#15466).
7310
7311 2013-09-26 Kenichi Handa <handa@gnu.org>
7312
7313 * international/quail.el (quail-help): Make it not a command.
7314
7315 2013-09-26 Leo Liu <sdl.web@gmail.com>
7316
7317 * minibuffer.el (completion-all-sorted-completions): Make args
7318 optional as they are.
7319
7320 2013-09-25 Daniel Colascione <dancol@dancol.org>
7321
7322 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7323 specs are and that they're not evaluated.
7324
7325 2013-09-24 Sam Steingold <sds@gnu.org>
7326
7327 * midnight.el (clean-buffer-list-kill-regexps)
7328 (clean-buffer-list-kill-buffer-names): Update for the new Man
7329 buffer naming which includes the object name.
7330
7331 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7332
7333 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7334 (eshell-parse-command, eshell-parse-pipeline): Use it since
7335 eshell-separate-commands requires a dynamic scoped var.
7336 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7337
7338 2013-09-23 Leo Liu <sdl.web@gmail.com>
7339
7340 * autoinsert.el (auto-insert-alist): Make the value of
7341 lexical-binding match its file setting.
7342
7343 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7344
7345 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7346
7347 * autoarg.el (autoarg-kp-digit-argument):
7348 * electric.el (Electric-command-loop):
7349 * kmacro.el (kmacro-step-edit-insert):
7350 Do not set universal-argument-num-events.
7351
7352 2013-09-22 Leo Liu <sdl.web@gmail.com>
7353
7354 * files.el (interpreter-mode-alist): Add octave.
7355
7356 2013-09-21 Alan Mackenzie <acm@muc.de>
7357
7358 C++: fontify identifier in declaration following "public:" correctly.
7359 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7360 to match "public", etc.
7361 (c-decl-prefix-re): Add ":" into the C++ value.
7362 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7363 bit. Add a check for a ":" preceded by "public", etc.
7364
7365 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7366
7367 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7368 recognized by GDB 7.5 and later.
7369
7370 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7371
7372 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7373
7374 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * subr.el (internal--call-interactively): New const.
7377 (called-interactively-p): Use it (bug#3984).
7378
7379 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7380
7381 * vc/pcvs.el (cvs-mode-ignore):
7382 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7383 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7384
7385 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7388 (eshell-ls-orig-insert-directory): Remove.
7389 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7390 (eshell-ls-use-in-dired): Use advice-add/remove.
7391 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7392 Add `orig-fun' arg for use in :around advice.
7393 Make it check (redundantly) eshell-ls-use-in-dired.
7394
7395 2013-09-19 Glenn Morris <rgm@gnu.org>
7396
7397 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7398
7399 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7400
7401 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7402
7403 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7404
7405 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7406 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7407 (tramp-get-remote-python): New defuns.
7408 (tramp-get-remote-uid-with-perl)
7409 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7410 contributed by yary <not.com@gmail.com> (tiny change).
7411 (tramp-get-remote-uid-with-python)
7412 (tramp-get-remote-gid-with-python): New defuns. Python code
7413 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7414 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7415
7416 2013-09-19 Glenn Morris <rgm@gnu.org>
7417
7418 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7419
7420 * eshell/em-unix.el (eshell-remove-entries):
7421 Rename argument to avoid name-clash with global `top-level'.
7422
7423 * eshell/esh-proc.el (eshell-kill-process-function):
7424 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7425 (eshell-reset-after-proc): Remove unused arg `proc'.
7426
7427 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7428 (directory-files-and-attributes): Mark unused arg.
7429
7430 * eshell/em-unix.el (eshell-remove-entries):
7431 Remove unused arg `path'. Update callers.
7432
7433 * eshell/em-hist.el (eshell-hist-parse-arguments):
7434 Remove unused arg `silent'. Update callers.
7435
7436 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7437 Fix (f)boundp mix-up.
7438
7439 * eshell/em-smart.el (eshell-smart-scroll-window)
7440 (eshell-disable-after-change):
7441 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7442
7443 2013-09-18 Alan Mackenzie <acm@muc.de>
7444
7445 Fix fontification of type when followed by "const".
7446 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7447 "known" types from fontification.
7448
7449 2013-09-18 Glenn Morris <rgm@gnu.org>
7450
7451 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7452 (chart-face-list): Drop Emacsen without display-color-p.
7453
7454 * net/eww.el (libxml-parse-html-region): Declare.
7455 (eww-display-html): Explicit error if no libxml2 support.
7456
7457 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7458
7459 * image.el (image-type-from-buffer, image-multi-frame-p):
7460 Remove --without-x warning/error.
7461
7462 * mouse.el (mouse-yank-primary):
7463 * term.el (term-mouse-paste):
7464 Reorder to silence --without-x compilation.
7465
7466 * mpc.el (doc-view-mode): Silence --without-x compilation.
7467
7468 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7469 Silence --without-x compilation.
7470
7471 * progmodes/gud.el (gud-find-file, gud-mode):
7472 Silence --without-x compilation.
7473 (tooltip-mode): Declare.
7474
7475 * wdired.el (dired-backup-overwrite): Remove declaration.
7476 (wdired-mode-map): Add doc string.
7477
7478 * custom.el (x-get-resource): Declare.
7479
7480 * eshell/em-glob.el (ange-cache):
7481 * eshell/em-unix.el (ange-cache): Declare.
7482
7483 * faces.el (x-display-list, x-open-connection, x-get-resource):
7484 Declare.
7485
7486 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7487 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7488 Declare.
7489
7490 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7491
7492 * net/gnutls.el (gnutls-log-level): Declare.
7493
7494 * net/shr.el (image-size, image-animate): Declare.
7495
7496 * simple.el (font-info): Declare.
7497
7498 * subr.el (x-popup-dialog): Declare.
7499
7500 * term/common-win.el (x-select-enable-primary)
7501 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7502 Declare.
7503
7504 * term/ns-win.el (x-handle-args): Declare.
7505
7506 * term/x-win.el (x-select-enable-clipboard): Declare.
7507
7508 * term/w32-win.el (create-default-fontset): Declare.
7509
7510 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7511 Declare.
7512
7513 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7514 (fit-frame-to-buffer): Explicit error if --without-x.
7515 (mouse-autoselect-window-select): Silence compiler.
7516
7517 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7518
7519 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7520 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7521 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7522 * eshell/esh-util.el (eshell-sublist):
7523 Remove unused local variables.
7524
7525 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7526
7527 * textmodes/two-column.el: Make 2C-split work for --without-x.
7528 (scroll-bar-columns): Autoload.
7529 (top-level): Require fringe when compiling.
7530
7531 2013-09-18 Leo Liu <sdl.web@gmail.com>
7532
7533 * subr.el (add-hook): Robustify to handle closure as well.
7534
7535 2013-09-17 Glenn Morris <rgm@gnu.org>
7536
7537 * simple.el (messages-buffer-mode-map): Unbind "g".
7538
7539 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * help-mode.el (help-mode-finish): Use derived-mode-p.
7542 Remove obsolete highlighting.
7543
7544 * play/life.el (life-mode): Use define-derived-mode. Derive from
7545 special-mode.
7546 (life): Let-bind inhibit-read-only.
7547 (life-setup): Avoid `setq'. Use `life-mode'.
7548
7549 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7550 which should not be needed any more.
7551 (package-menu-refresh, package-menu-describe-package): Use user-error.
7552
7553 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7554 (eshell-post-rewrite-command-hook): Make obsolete.
7555 (eshell-parse-command): Simplify.
7556 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7557 (eshell--cmd): Declare.
7558 (eshell-parse-pipeline): Remove unused var `final-p'.
7559 Pass a dynvar to eshell-post-rewrite-command-hook.
7560 Implement the new eshell-post-rewrite-command-function.
7561 (eshell-invoke-directly): Remove unused arg `input'.
7562 * eshell/esh-io.el (eshell-io-initialize):
7563 Use eshell-post-rewrite-command-function (bug#15399).
7564 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7565 adjust to new calling convention.
7566 (eshell-create-handles): Rename args to avoid clashing with dynvar
7567 `standard-output'.
7568
7569 2013-09-17 Glenn Morris <rgm@gnu.org>
7570
7571 * simple.el (messages-buffer-mode): New major mode.
7572 (messages-buffer): New function.
7573 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7574 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7575 (ert-run-test): Use `messages-buffer' function.
7576 (ert--force-message-log-buffer-truncation): Ignore read-only.
7577 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7578 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7579
7580 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7581
7582 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7583
7584 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7585
7586 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7587
7588 * icomplete.el (icomplete-in-buffer): New var.
7589 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7590 vars and replace them with functions.
7591 (icomplete-minibuffer-setup): Adjust accordingly.
7592 (icomplete--completion-table, icomplete--completion-predicate)
7593 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7594 New functions.
7595 (icomplete-forward-completions, icomplete-backward-completions)
7596 (icomplete-simple-completing-p, icomplete-exhibit)
7597 (icomplete-completions): Use them.
7598 (icomplete--in-region-buffer): New var.
7599 (icomplete--in-region-setup): New function.
7600 (icomplete-mode): Use it.
7601
7602 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7603 (bug#15379).
7604 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7605 return args and options.
7606 (eshell-eval-using-options): Use the new return value of
7607 eshell--do-opts to set the options's vars in their scope.
7608 (eshell--set-option): Rename from eshell-set-option.
7609 Add arg `opt-vals'.
7610 (eshell--process-option): Rename from eshell-process-option.
7611 Add arg `opt-vals'.
7612 (eshell--process-args): Use an `opt-vals' alist to store the options's
7613 values during their processing and return them additionally to the
7614 remaining args.
7615
7616 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7617
7618 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7619 continuation character an operator, as far as indentation is
7620 concerned (Bug#15369).
7621
7622 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7623
7624 * window.el (window--state-put-2): Don't process buffer state
7625 when buffer doesn't exist any more (Bug#15382).
7626
7627 2013-09-15 Glenn Morris <rgm@gnu.org>
7628
7629 * eshell/em-unix.el (eshell/rm):
7630 Make -f ignore missing files. (Bug#15373)
7631
7632 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7633 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7634 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7635
7636 2013-09-14 Glenn Morris <rgm@gnu.org>
7637
7638 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7639
7640 2013-09-13 Glenn Morris <rgm@gnu.org>
7641
7642 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7643 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7644
7645 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7646
7647 * frame.el (x-focus-frame): Mark as declared in frame.c.
7648
7649 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7650
7651 * ls-lisp.el: Use advice-add.
7652 (original-insert-directory): Remove.
7653 (ls-lisp--insert-directory): Rename from insert-directory; add
7654 `orig-fun' argument.
7655 (insert-directory): Advise.
7656
7657 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7658
7659 * term.el (term-emulate-terminal): Decode the command string
7660 before passing it to term-command-hook. (Bug#15337)
7661
7662 2013-09-13 Glenn Morris <rgm@gnu.org>
7663
7664 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7665
7666 * eshell/esh-ext.el (eshell-search-path): Declare.
7667
7668 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7669 Otherwise an error occurs if eshell-dirs module not loaded.
7670
7671 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7672
7673 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7674
7675 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7676 `tramp-check-proper-host'. Check for a valid method name.
7677
7678 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7679 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7680 * net/tramp-sh.el (tramp-maybe-open-connection):
7681 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7682
7683 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7684 also for hash values.
7685
7686 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7687
7688 * term/ns-win.el (parameters): Don't declare as dynamic.
7689 (before-make-frame-hook): Don't add ineffective function.
7690
7691 * eshell/*.el: Use lexical-binding (bug#15231).
7692
7693 2013-09-12 Kenichi Handa <handa@gnu.org>
7694
7695 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7696
7697 2013-09-12 Glenn Morris <rgm@gnu.org>
7698
7699 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7700 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7701
7702 * subr.el (do-after-load-evaluation): Also give compiler warnings
7703 when obsolete files are used (except by obsolete files).
7704
7705 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7706 in the status output, assume `filename' is the first. (Bug#15322)
7707
7708 * vc/vc.el (vc-deduce-fileset): Doc fix.
7709
7710 * calc/calc-help.el (Info-goto-node):
7711 * progmodes/cperl-mode.el (Info-find-node):
7712 * vc/ediff.el (Info-goto-node): Update declarations.
7713
7714 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7715
7716 * vc/vc-bzr.el (vc-compilation-mode): Declare.
7717 (vc-bzr-pull): Require vc-dispatcher.
7718 * vc/vc-git.el (vc-compilation-mode): Declare.
7719 (vc-git-pull): Require vc-dispatcher.
7720
7721 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7722
7723 * progmodes/octave.el (help-button-action): Declare.
7724
7725 * shell.el (shell-directory-tracker): Output error as a message
7726 rather than just returning it as a string.
7727 (shell-process-pushd): Remove useless use of message.
7728
7729 * dframe.el (dframe-timer-fn):
7730 * files.el (dir-locals-read-from-file):
7731 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7732 (mpc-format):
7733 * reveal.el (reveal-post-command):
7734 * saveplace.el (load-save-place-alist-from-file):
7735 * shell.el (shell-resync-dirs):
7736 * w32-common-fns.el (x-get-selection-value):
7737 * emacs-lisp/copyright.el (copyright-find-copyright):
7738 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7739 * emulation/tpu-edt.el (tpu-copy-keyfile):
7740 * play/bubbles.el (bubbles--mark-neighbourhood):
7741 * progmodes/executable.el
7742 (executable-make-buffer-file-executable-if-script-p):
7743 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7744
7745 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7746
7747 Cleanup Eshell to rely less on dynamic scoping.
7748 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7749 last-value, and ext-command here. Bind `args' closer to `body'.
7750 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7751 (eshell--args): Declare new dynamic var.
7752 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7753 last-value, and ext-command. Pass `args' to `body'.
7754 (eshell-process-args): Bind eshell--args.
7755 (eshell-set-option): Use eshell--args.
7756 * eshell/eshell.el (eshell): Use derived-mode-p.
7757 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7758 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7759 (eshell-glob-function): Declare.
7760 * eshell/esh-util.el: Require cl-lib.
7761 (eshell-read-hosts-file): Avoid add-to-list.
7762 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7763 `err'.
7764 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7765 Declare.
7766 (eshell/diff): Remove unused var `err'.
7767 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7768 `killflag'.
7769 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7770 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7771 first use.
7772 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7773 Move declaration before first use.
7774 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7775 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7776 rely on cl-return.
7777
7778 2013-09-12 Glenn Morris <rgm@gnu.org>
7779
7780 * term/ns-win.el (global-map): Remove binding for ispell-next,
7781 deleted 1999-05-29. (Bug#15357)
7782
7783 2013-09-11 Glenn Morris <rgm@gnu.org>
7784
7785 * echistory.el (electric-command-history): Remove call to deleted func.
7786
7787 * play/landmark.el (landmark-mode): Fix typos.
7788
7789 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7790 Check cvs-sort-ignore-file is bound.
7791
7792 * savehist.el: No need for cl when compiling on Emacs.
7793
7794 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7797 (bug#15338).
7798 (eshell-self-insert-command, eshell-send-invisible):
7799 Remove unused argument.
7800 (eshell-handle-control-codes): Remove unused var `orig'.
7801 Avoid delete-backward-char.
7802
7803 * files.el (set-auto-mode): Simplify a bit further.
7804
7805 2013-09-11 Glenn Morris <rgm@gnu.org>
7806
7807 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7808 (set-auto-mode): Don't regexp-quote elements.
7809 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7810 * progmodes/cc-mode.el (interpreter-mode-alist):
7811 * progmodes/ruby-mode.el (interpreter-mode-alist):
7812 Revert previous change.
7813
7814 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7815
7816 * play/snake.el (snake-mode):
7817 * play/mpuz.el (mpuz-mode):
7818 * play/landmark.el (lm-mode):
7819 * play/blackbox.el (blackbox-mode):
7820 * play/5x5.el (5x5-mode):
7821 * obsolete/options.el (Edit-options-mode):
7822 * net/quickurl.el (quickurl-list-mode):
7823 * net/newst-treeview.el (newsticker-treeview-mode):
7824 * mail/rmailsum.el (rmail-summary-mode):
7825 * mail/mspools.el (mspools-mode):
7826 * locate.el (locate-mode):
7827 * ibuffer.el (ibuffer-mode):
7828 * emulation/ws-mode.el (wordstar-mode):
7829 * emacs-lisp/debug.el (debugger-mode):
7830 * array.el (array-mode):
7831 * net/eudc.el (eudc-mode): Use define-derived-mode.
7832 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7833 Move initialization into declaration.
7834 (mairix-searches-mode): Use define-derived-mode.
7835 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7836 (eudc-edit-hotlist): Use dolist.
7837 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7838 (Man-mode): Use define-derived-mode.
7839 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7840 (Info-edit-mode): Use define-derived-mode.
7841 (Info-cease-edit): Use Info-mode.
7842 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7843 into declaration.
7844 (eshell-mode): Use define-derived-mode.
7845 * chistory.el (command-history-mode-map): Rename from
7846 command-history-map.
7847 (command-history-mode): Use define-derived-mode.
7848 (Command-history-setup): Remove function.
7849 * calc/calc.el (calc-trail-mode-map): New var.
7850 (calc-trail-mode): Use define-derived-mode.
7851 (calc-trail-buffer): Set calc-main-buffer manually.
7852 * bookmark.el (bookmark-insert-annotation): New function.
7853 (bookmark-edit-annotation): Use it.
7854 (bookmark-edit-annotation-mode): Make it a proper major mode.
7855 (bookmark-send-edited-annotation): Use derived-mode-p.
7856 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7857 closer to its ideal place. Use \' to match EOS.
7858
7859 * profiler.el (profiler-calltree-find): Use function-equal.
7860
7861 2013-09-10 Glenn Morris <rgm@gnu.org>
7862
7863 * files.el (interpreter-mode-alist): Convert to regexps.
7864 (set-auto-mode): Adapt for this. (Bug#15306)
7865 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7866 Comment out unused variable.
7867 * progmodes/cc-mode.el (interpreter-mode-alist):
7868 * progmodes/python.el (interpreter-mode-alist):
7869 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7870 * progmodes/sh-script.el (sh-set-shell):
7871 No longer use interpreter-mode-alist to get list of shells.
7872
7873 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7874
7875 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 * simple.el: Use set-temporary-overlay-map for universal-argument.
7878 (universal-argument-map): Don't use default-bindings (bug#15317).
7879 Bind switch-frame explicitly. Replace universal-argument-minus with
7880 a conditional binding.
7881 (universal-argument-num-events, saved-overriding-map): Remove.
7882 (restore-overriding-map): Remove.
7883 (universal-argument--mode): Rename from save&set-overriding-map,
7884 and rewrite.
7885 (universal-argument, universal-argument-more, negative-argument)
7886 (digit-argument): Adjust accordingly.
7887 (universal-argument-minus): Remove.
7888 (universal-argument-other-key): Remove.
7889
7890 * subr.el (with-demoted-errors): Add `format' argument.
7891
7892 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7893
7894 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7895 `tramp-cleanup-connection'.
7896
7897 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7898 parameters KEEP-DEBUG and KEEP-PASSWORD.
7899
7900 * net/tramp.el (tramp-file-name-handler):
7901 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7902 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7903 (tramp-maybe-open-connection):
7904 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7905 Use `tramp-cleanup-connection'.
7906
7907 * net/tramp-sh.el (tramp-maybe-open-connection):
7908 Catch 'uname-changed inside the progress reporter.
7909
7910 2013-09-10 Glenn Morris <rgm@gnu.org>
7911
7912 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7913
7914 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7915 returns "alternate access method" in mode (eg "-rw-r--r--.").
7916
7917 2013-09-08 Glenn Morris <rgm@gnu.org>
7918
7919 * saveplace.el (load-save-place-alist-from-file):
7920 Demote errors. (Bug#15305)
7921
7922 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7923
7924 Improve compatibility with older Emacsen, and XEmacs.
7925
7926 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7927 only if it is bound. It isn't for XEmacs.
7928 (with-tramp-progress-reporter): Do not let-bind `result'.
7929 This yields to scoping errors in XEmacs.
7930 (tramp-handle-make-auto-save-file-name): New function, moved from
7931 tramp-sh.el.
7932
7933 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7934 for `make-auto-save-file-name'.
7935 (tramp-adb--gnu-switches-to-ash):
7936 Use `tramp-compat-replace-regexp-in-string'.
7937
7938 * net/tramp-cache.el (tramp-cache-print): Call
7939 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7940
7941 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7942 bound. It isn't for XEmacs.
7943
7944 * net/tramp-compat.el (tramp-compat-copy-file):
7945 Catch `wrong-number-of-arguments' error.
7946 (tramp-compat-replace-regexp-in-string): New defun.
7947
7948 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7949 for `make-auto-save-file-name'.
7950 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7951 `copy-file'.
7952 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7953 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7954 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7955
7956 * net/tramp-gw.el (tramp-gw-open-network-stream):
7957 Use `tramp-compat-replace-regexp-in-string'.
7958
7959 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7960 Call `tramp-handle-make-auto-save-file-name'.
7961 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7962 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7963 (tramp-sh-file-inotifywait-process-filter):
7964 Use `tramp-compat-replace-regexp-in-string'.
7965 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7966
7967 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7968 for `make-auto-save-file-name'.
7969 (tramp-smb-handle-copy-directory):
7970 Call `tramp-compat-replace-regexp-in-string'.
7971 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7972 (tramp-smb-handle-copy-file): Improve error message.
7973 (tramp-smb-handle-rename-file): Rename directly only in case
7974 `newname' does not exist yet. This is a restriction of smbclient.
7975 (tramp-smb-maybe-open-connection): Rerun the function only when
7976 `auth-sources' is non-nil.
7977
7978 2013-09-08 Kenichi Handa <handa@gnu.org>
7979
7980 * international/characters.el: Set category "^" (Combining) for
7981 more characters.
7982
7983 2013-09-07 Alan Mackenzie <acm@muc.de>
7984
7985 Correctly fontify Java class constructors.
7986 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7987 in Java Mode.
7988 (c-recognize-typeless-decls): Set the Java value to t.
7989 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7990 While handling a "(", add a check for, effectively, Java, and handle a
7991 "typeless" declaration there.
7992
7993 2013-09-07 Roland Winkler <winkler@gnu.org>
7994
7995 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7996 field subtitle for entry type book.
7997
7998 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * minibuffer.el: Make minibuffer-complete call completion-in-region
8001 rather than other way around.
8002 (completion--some, completion-pcm--find-all-completions):
8003 Don't delay signals when debugging.
8004 (minibuffer-completion-contents): Beware fields within the
8005 minibuffer contents.
8006 (completion-all-sorted-completions): Use defvar-local.
8007 (completion--do-completion, completion--cache-all-sorted-completions)
8008 (completion-all-sorted-completions, minibuffer-force-complete):
8009 Add args `beg' and `end'.
8010 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8011 (minibuffer-complete): Use completion-in-region.
8012 (completion-complete-and-exit): New fun, extracted from
8013 minibuffer-complete-and-exit.
8014 (minibuffer-complete-and-exit): Use it.
8015 (completion--complete-and-exit): Rename from
8016 minibuffer--complete-and-exit.
8017 (completion-in-region--single-word): New function, extracted from
8018 minibuffer-complete-word.
8019 (minibuffer-complete-word): Use it.
8020 (display-completion-list): Make `common-substring' argument obsolete.
8021 (completion--in-region): Call completion--in-region-1 instead of
8022 minibuffer-complete.
8023 (completion-help-at-point): Pass boundaries to
8024 minibuffer-completion-help as args rather than via an overlay.
8025 (completion-pcm--string->pattern): Use `any-delim'.
8026 (completion-pcm--optimize-pattern): New function.
8027 (completion-pcm--pattern->regex): Handle `any-delim'.
8028 * icomplete.el (icomplete-forward-completions)
8029 (icomplete-backward-completions, icomplete-completions):
8030 Adjust calls to completion-all-sorted-completions and
8031 completion--cache-all-sorted-completions.
8032 (icomplete-with-completion-tables): Default to t.
8033 * emacs-lisp/crm.el (crm--current-element): Rename from
8034 crm--select-current-element. Don't put an overlay but return the
8035 boundaries instead.
8036 (crm--completion-command): Take two new args to bind to the boundaries.
8037 (crm-completion-help): Adjust accordingly.
8038 (crm-complete): Use completion-in-region.
8039 (crm-complete-word): Use completion-in-region--single-word.
8040 (crm-complete-and-exit): Use completion-complete-and-exit.
8041
8042 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8043
8044 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8045 than dynamically.
8046
8047 2013-09-06 Juri Linkov <juri@jurta.org>
8048
8049 * info.el (Info-display-images-node): When image file doesn't exist
8050 display text version of the image if it's provided in the Info file.
8051 Otherwise, display the location of missing image from SRC attribute.
8052 Add help-echo text property from ALT attribute. (Bug#15279)
8053
8054 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8057 (edit-abbrevs-mode): Use define-derived-mode.
8058
8059 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8060 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8061 that it's defined.
8062 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8063 Use define-derived-mode.
8064
8065 * epg.el (epg-start-encrypt): Minor CSE simplification.
8066
8067 2013-09-06 William Xu <william.xwl@gmail.com>
8068
8069 * arc-mode.el: Add support for 7za (bug#15264).
8070 (archive-7z-program): New var.
8071 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8072 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8073 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8074
8075 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8076
8077 Remove URL syntax.
8078
8079 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8080 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8081 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8082 (tramp-postfix-host-format, tramp-file-name-regexp)
8083 (tramp-completion-file-name-regexp)
8084 (tramp-completion-dissect-file-name)
8085 (tramp-handle-substitute-in-file-name): Remove 'url case.
8086 (tramp-file-name-regexp-url)
8087 (tramp-completion-file-name-regexp-url): Remove constants.
8088
8089 2013-09-06 Glenn Morris <rgm@gnu.org>
8090
8091 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8092
8093 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8094
8095 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8096 keywords" below "here-doc beginnings" (Bug#15270).
8097
8098 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8099
8100 * subr.el (pop): Use `car-safe'.
8101 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8102 to detect unused `pop' return value.
8103
8104 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8105 var `block-regexp'.
8106 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8107 (python-fill-string): Remove unused var `marker'.
8108 (python-skeleton-add-menu-items): Remove unused var `items'.
8109
8110 * international/mule-cmds.el: Require CL.
8111 (find-coding-systems-for-charsets): Avoid add-to-list.
8112 (sanitize-coding-system-list): New function, extracted from
8113 select-safe-coding-system-interactively.
8114 (select-safe-coding-system-interactively): Use it.
8115 (read-input-method-name): Accept symbols for `default'.
8116
8117 * emacs-lisp/advice.el (defadvice): Add indent rule.
8118
8119 2013-09-05 Daniel Hackney <dan@haxney.org>
8120
8121 * dired-x.el:
8122 * net/ange-ftp.el:
8123 * net/browse-url.el:
8124 * net/dbus.el:
8125 * net/eudc.el:
8126 * net/eudcb-ldap.el:
8127 * net/eww.el:
8128 * net/imap.el:
8129 * printing.el:
8130 * vc/ediff-diff.el:
8131 * vc/ediff-init.el:
8132 * vc/ediff-merg.el:
8133 * vc/ediff-mult.el:
8134 * vc/ediff-util.el:
8135 * vc/ediff-wind.el:
8136 * vc/ediff.el:
8137 * vc/emerge.el:
8138 * vc/pcvs.el:
8139 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8140 byte compiler. Remove some unused let-bound variables.
8141
8142 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8145 a "ref-cell", since it gets better optimized (bug#14883).
8146
8147 2013-09-05 Glenn Morris <rgm@gnu.org>
8148
8149 * progmodes/cc-awk.el (c-forward-sws): Declare.
8150
8151 2013-09-04 Glenn Morris <rgm@gnu.org>
8152
8153 * generic-x.el [rul-generic-mode]: Require cc-mode.
8154 (c++-mode-syntax-table): Declare.
8155 (rul-generic-mode-syntax-table): Init in the defvar.
8156
8157 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8160 (vc-do-command, vc-set-async-update):
8161 * vc/vc-mtn.el (vc-mtn-dir-status):
8162 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8163 (vc-hg-pull, vc-hg-merge-branch):
8164 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8165 (vc-git-merge-branch):
8166 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8167 (vc-cvs-dir-status-files):
8168 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8169 (vc-bzr-dir-status-files):
8170 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8171 * vc/vc-annotate.el: Use lexical-binding.
8172 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8173 (vc-sentinel-movepoint): Declare.
8174 (vc-annotate): Don't use `goto-line'.
8175 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8176 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8177 (vc-sentinel-movepoint): Declare.
8178 * vc/vc-svn.el: Use lexical-binding.
8179 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8180 * vc/vc-sccs.el:
8181 * vc/vc-rcs.el: Use lexical-binding.
8182
8183 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8184 `deleted'. Don't drop errors silently.
8185
8186 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8187
8188 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8189
8190 * vc/vc.el (vc-ignore): Rewrite.
8191 (vc-default-ignore): New function.
8192 (vc-default-ignore-completion-table): Use find-ignore-file.
8193
8194 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8195 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8196 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8197 Remove. Most code moved to vc.el.
8198
8199 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8202 * net/tramp-smb.el (tramp-smb-get-file-entries):
8203 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8204 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8205
8206 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8207 Update call to it.
8208 (eww-change-select): Remove unused var `properties'.
8209 (eww-make-unique-file-name): Remove unused var `base'.
8210
8211 * finder.el (finder-compile-keywords): Don't mess with windows.
8212
8213 * calculator.el (calculator-funcall): Fix typo in last change.
8214
8215 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8216
8217 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8218 <pkg>-autoloads.el file stop us.
8219
8220 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8221 warnings, and factor out common code.
8222
8223 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8224
8225 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8226 two-character operators and whether the character preceding them
8227 changes their meaning (Bug#15208).
8228
8229 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8230
8231 Format code sent to Python shell for robustness.
8232 * progmodes/python.el (python-shell-buffer-substring):
8233 New function.
8234 (python-shell-send-region, python-shell-send-buffer): Use it.
8235
8236 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8237
8238 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8239 * net/tramp.el (tramp-user-error): ... here.
8240 (tramp-find-method, tramp-check-proper-host)
8241 (tramp-dissect-file-name, tramp-debug-message)
8242 (tramp-handle-shell-command):
8243 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8244 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8245
8246 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8247
8248 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8249
8250 * avoid.el (mouse-avoidance-point-position)
8251 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8252 returns nil.
8253
8254 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8255
8256 * progmodes/python.el (python-shell-completion-get-completions):
8257 Drop use of deleted `comint-last-prompt-overlay'.
8258 (python-nav-if-name-main): New command.
8259
8260 2013-09-01 Glenn Morris <rgm@gnu.org>
8261
8262 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8263 Avoid leading space in $wins. Otherwise the sed command used by
8264 eg compile-main ends up containing "/*.el". (Bug#15170)
8265
8266 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8267
8268 2013-08-30 Glenn Morris <rgm@gnu.org>
8269
8270 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8271 Fix is-this-a-directory logic. (Bug#15220)
8272
8273 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8274
8275 * textmodes/css-mode.el: Use SMIE.
8276 (css-smie-grammar): New var.
8277 (css-smie--forward-token, css-smie--backward-token)
8278 (css-smie-rules): New functions.
8279 (css-mode): Use them.
8280 (css-navigation-syntax-table): Remove var.
8281 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8282 (css-indent-calculate, css-indent-line): Remove functions.
8283
8284 Misc changes to reduce use of `(lambda...); and other cleanups.
8285 * cus-edit.el: Use lexical-binding.
8286 (customize-push-and-save, customize-apropos)
8287 (custom-buffer-create-internal): Use closures.
8288 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8289 * progmodes/ada-xref.el: Use setq.
8290 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8291 * dframe.el: Use lexical-binding.
8292 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8293 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8294 * descr-text.el: Use lexical-binding.
8295 (describe-text-widget, describe-text-sexp, describe-property-list):
8296 Use closures.
8297 * comint.el (comint-history-isearch-push-state): Use a closure.
8298 * calculator.el: Use lexical-binding.
8299 (calculator-number-to-string): Make it work with lexical-binding.
8300 (calculator-funcall): Same and use cl-letf.
8301
8302 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8303 (lisp--company-doc-string, lisp--company-location): New functions.
8304 (lisp-completion-at-point): Use them to improve Company support.
8305
8306 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8307 params of lambda expressions.
8308 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8309 (ruby-smie--opening-pipe-p): New function.
8310 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8311 symbols and matched |...| for formal params.
8312 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8313 from being treated as hanging. Handle "rescue".
8314
8315 2013-08-29 Glenn Morris <rgm@gnu.org>
8316
8317 * progmodes/cc-engine.el (c-pull-open-brace):
8318 Move definition before use.
8319
8320 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8323 are immutable. Don't use `unsafe' any more.
8324 (cl--defsubst-expand): Don't substitute at the same time as keeping
8325 a residual unused let-binding. Don't use `unsafe' any more.
8326
8327 2013-08-29 Glenn Morris <rgm@gnu.org>
8328
8329 * calendar/cal-china.el (calendar-chinese-year-cache):
8330 Recenter on 2015.
8331
8332 * nxml/nxml-util.el (nxml-debug-clear-inside):
8333 Use cl-loop rather than loop.
8334
8335 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8336
8337 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8338
8339 2013-08-28 Glenn Morris <rgm@gnu.org>
8340
8341 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8342
8343 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8344
8345 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8346
8347 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * simple.el (repeat-complex-command--called-interactively-skip):
8350 New function.
8351 (repeat-complex-command): Use it (bug#14136).
8352
8353 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8354 (c-define-abbrev-table): Add `doc' argument.
8355 (c-mode-abbrev-table, c++-mode-abbrev-table)
8356 (objc-mode-abbrev-table, java-mode-abbrev-table)
8357 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8358 (awk-mode-abbrev-table): Use it.
8359 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8360 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8361 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8362 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8363 Move initialization into the declaration; and remove any
8364 autoload cookie.
8365
8366 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8367 and dynamic let binding.
8368
8369 * vc/smerge-mode.el: Remove redundant :group args.
8370
8371 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8372 to load-path.
8373
8374 2013-08-28 Juri Linkov <juri@jurta.org>
8375
8376 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8377 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8378 (isearch-other-meta-char): Handle an undefined shifted printing
8379 character by downshifting it. (Bug#15200)
8380
8381 2013-08-28 Juri Linkov <juri@jurta.org>
8382
8383 * isearch.el (isearch-search): Change regexp error message for
8384 non-regexp searches. (Bug#15166)
8385
8386 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8387
8388 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8389 for portability to hosts where /bin/sh has problems.
8390
8391 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8392
8393 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8394
8395 2013-08-27 Juri Linkov <juri@jurta.org>
8396
8397 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8398 in the keyboard macro. (Bug#15126)
8399
8400 2013-08-27 Juri Linkov <juri@jurta.org>
8401
8402 * isearch.el (isearch-quote-char): Comment out converting unibyte
8403 to multibyte, thus syncing with its `quoted-insert' counterpart.
8404 (Bug#15166)
8405
8406 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8407
8408 * window.el (display-buffer-use-some-window): Add missing
8409 argument in call of get-largest-window (Bug#15185).
8410 Reported by Stephen Leake.
8411
8412 2013-08-27 Glenn Morris <rgm@gnu.org>
8413
8414 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8415
8416 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8417
8418 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8419 from a matcher-function unless there's no more matches (bug#15161).
8420
8421 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8422
8423 * minibuffer.el: Revert change from 2013-08-20.
8424
8425 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8426 with text property `tramp-default', if appropriate.
8427 (tramp-check-proper-host): New defun.
8428 (tramp-dissect-file-name): Do not check hostname. Revert change
8429 of 2013-03-18.
8430 (tramp-backtrace): Make VEC-OR-PROC optional.
8431
8432 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8433 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8434 * net/tramp-sh.el (tramp-maybe-open-connection):
8435 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8436 Apply `tramp-check-proper-host'.
8437
8438 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8439
8440 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8441 lambda expression in order to have `describe-variable' display it.
8442
8443 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8444
8445 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8446 BUF can be optional. (Bug#15186)
8447
8448 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8449
8450 * progmodes/flymake.el (flymake-get-real-file-name-function):
8451 Fix broken customization. (Bug#15184)
8452
8453 2013-08-25 Alan Mackenzie <acm@muc.de>
8454
8455 Improve indentation of bracelists defined by macros (without "=").
8456
8457 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8458 expansion begins with "{", regard it as bracelist when it doesn't
8459 contain a ";".
8460
8461 Parse C++ inher-intro when there's a template split over 2 lines.
8462
8463 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8464 rigorously the search for "class" etc. followed by ":".
8465
8466 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8467 random languages a regexp which never matches rather than nil.
8468
8469 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8470
8471 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8472 (c-awk-regexp-one-line-possibly-open-char-list-re)
8473 (c-awk-one-line-possibly-open-regexp-re)
8474 (c-awk-one-line-non-syn-ws*-re): Remove.
8475 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8476 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8477 (c-awk-space*-unclosed-regexp-/-re): New constants.
8478 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8479 aren't regexp delimiters.
8480
8481 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8482 handling for a rare situation in AWK Mode involving unterminated
8483 strings/regexps.
8484
8485 2013-08-23 Glenn Morris <rgm@gnu.org>
8486
8487 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8488
8489 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8490
8491 * files.el (create-file-buffer): If the result would begin with
8492 spaces, prepend a "|" instead of removing them. (Bug#15162)
8493
8494 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8495
8496 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8497 text-properties (bug#15155).
8498
8499 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8500 exist any more.
8501 (calc-keypad-redraw): Remove unused var `pad'.
8502 (calc-keypad-press): Remove unused var `menu'.
8503
8504 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8505
8506 * window.el (display-buffer-pop-up-frame):
8507 Call pop-up-frame-function with BUFFER current so `make-frame' will
8508 use it as the new frame's buffer (Bug#15133).
8509
8510 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8511
8512 * calendar/timeclock.el: Minor cleanups.
8513 (timeclock-ask-before-exiting, timeclock-use-display-time):
8514 Use `symbol'.
8515 (timeclock-modeline-display): Define as alias before the
8516 actual definition.
8517 (timeclock-mode-line-display): Use define-minor-mode.
8518 (timeclock-day-list-template): Make it a function, add an argument.
8519 (timeclock-day-list-required, timeclock-day-list-length)
8520 (timeclock-day-list-debt, timeclock-day-list-span)
8521 (timeclock-day-list-break): Adjust calls accordingly.
8522
8523 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8524
8525 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8526 Use read--expression so that completion works again.
8527
8528 2013-08-21 Sam Steingold <sds@gnu.org>
8529
8530 Add rudimentary inferior shell interaction
8531 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8532 (sh-set-shell): Reset it.
8533 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8534 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8535
8536 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8537
8538 * align.el: Use lexical-binding.
8539 (align-region): Simplify accordingly.
8540
8541 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8542
8543 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8544
8545 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8546 `non-essential' up.
8547
8548 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8549
8550 * net/tramp.el:
8551 * net/tramp-adb.el:
8552 * net/tramp-cmds.el:
8553 * net/tramp-ftp.el:
8554 * net/tramp-gvfs.el:
8555 * net/tramp-gw.el:
8556 * net/tramp-sh.el: Don't wrap external variable declarations by
8557 `eval-when-compile'.
8558
8559 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8560
8561 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8562 now that Emacs supports ImageMagick animations.
8563
8564 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8565
8566 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8567 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8568
8569 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8570
8571 * window.el (mouse-autoselect-window-select): Do autoselect when
8572 mouse pointer is on margin.
8573
8574 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8575
8576 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8577
8578 2013-08-16 Glenn Morris <rgm@gnu.org>
8579
8580 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8581 Handle "Remote Directory" response of some clients. (Bug#15058)
8582
8583 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8584 Tweak warning. (Bug#14926)
8585
8586 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8587 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8588
8589 * image-mode.el (image-mode-map): Add menu items to reverse,
8590 increase, decrease, reset animation speed.
8591 (image--set-speed, image-increase-speed, image-decrease-speed)
8592 (image-reverse-speed, image-reset-speed): New functions.
8593 (image-mode-map): Add bindings for speed commands.
8594
8595 * image.el (image-animate-get-speed, image-animate-set-speed):
8596 New functions.
8597 (image-animate-timeout): Respect image :speed property.
8598
8599 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8600
8601 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8602 previous line (bug#15101).
8603 (debugger-eval-expression, debugger-record-expression):
8604 Use read--expression (bug#15102).
8605
8606 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8607
8608 Remove byte compiler warnings, visible when compiling with
8609 `byte-compile-force-lexical-warnings' set to t.
8610
8611 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8612 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8613 (tramp-handle-unhandled-file-name-directory)
8614 (tramp-handle-file-notify-add-watch, tramp-action-login)
8615 (tramp-action-succeed, tramp-action-permission-denied)
8616 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8617 arguments with "_".
8618
8619 * net/tramp-adb.el (tramp-adb-parse-device-names)
8620 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8621 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8622 (tramp-adb-handle-file-truename): Remove unused arguments.
8623
8624 * net/tramp-cache.el (tramp-flush-directory-property)
8625 (tramp-flush-connection-property, tramp-list-connections)
8626 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8627
8628 * net/tramp-compat.el (tramp-compat-make-temp-file):
8629 Rename FILENAME to F.
8630
8631 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8632 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8633 (tramp-zeroconf-parse-workstation-device-names)
8634 (tramp-zeroconf-parse-webdav-device-names)
8635 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8636
8637 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8638 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8639
8640 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8641 arguments.
8642 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8643 (tramp-sh-handle-insert-file-contents-literally)
8644 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8645 with "_".
8646 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8647 Remove unused variables.
8648
8649 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8650 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8651 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8652
8653 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8654 Make them a defconst.
8655 (tramp-uuencode-region): Remove unused variable.
8656
8657 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8658
8659 * frameset.el (frameset--prop-setter): New function.
8660 (frameset-prop): Add gv-setter declaration.
8661 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8662 parameter was already set in FILTERED. Doc fix.
8663 (frameset--record-minibuffer-relationships): Allow saving a
8664 minibufferless frame without its corresponding minibuffer frame.
8665 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8666 frame, if the frame id matches.
8667 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8668 frames before orphaned ones.
8669 (frameset-restore): Warn about orphaned windows, instead of error out.
8670
8671 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8672
8673 * window.el (window-make-atom): Don't overwrite parameter
8674 already present.
8675 (display-buffer-in-atom-window): Handle special case where we
8676 split an already atomic window.
8677 (window--major-non-side-window, display-buffer-in-side-window)
8678 (window--side-check): Ignore minibuffer window when walking
8679 window tree.
8680 (window-deletable-p): Return 'frame only if no other frame uses
8681 our minibuffer window.
8682 (record-window-buffer): Run buffer-list-update-hook.
8683 (split-window): Make sure window--check-frame won't destroy an
8684 existing atomic window in case the new window gets nested
8685 inside.
8686 (display-buffer-at-bottom): Ignore minibuffer window when
8687 walking window tree. Don't split a side window.
8688 (pop-to-buffer): Don't set-buffer here, the select-window call
8689 should do that.
8690 (mouse-autoselect-window-select): Autoselect only if we are in the
8691 text portion of the window.
8692
8693 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8694
8695 * net/shr.el (shr-parse-image-data): New function to grab both the
8696 data itself and the Content-Type.
8697 (shr-put-image): Use it.
8698
8699 * net/eww.el (eww-display-image): Ditto.
8700
8701 * image.el (image-content-type-suffixes): New variable.
8702
8703 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8704
8705 * progmodes/python.el (python-imenu--build-tree)
8706 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8707
8708 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8709
8710 * simple.el (backward-word): Mention the optional argument.
8711
8712 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8713
8714 * frameset.el (frameset--make): Rename constructor from make-frameset.
8715 (frameset-p, frameset-valid-p): Don't autoload.
8716 (frameset-valid-p): Use normal accessors.
8717
8718 2013-08-13 Glenn Morris <rgm@gnu.org>
8719
8720 * progmodes/compile.el (compile-command): Tweak example in doc.
8721 * obsolete/scribe.el (scribe-mode):
8722 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8723
8724 * mail/feedmail.el (feedmail-confirm-outgoing)
8725 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8726
8727 * cus-start.el (truncate-partial-width-windows): Fix type.
8728
8729 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8730
8731 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8732
8733 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8734
8735 * emacs-lisp/timer.el (timer--time-setter): New function.
8736 (timer--time): Use it as gv-setter.
8737
8738 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8739 setter is not a symbol.
8740
8741 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
8742
8743 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8744 if sending fails. This makes debugging easier.
8745
8746 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8747
8748 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8749 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8750 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8751
8752 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8753
8754 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8755
8756 2013-08-12 Glenn Morris <rgm@gnu.org>
8757
8758 * format.el (format-annotate-function):
8759 Handle read-only text properties in the source. (Bug#14887)
8760
8761 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8762
8763 * net/eww.el (eww-display-html): Ignore coding system errors.
8764 One web site uses "utf-8lias" as the coding system.
8765
8766 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8767
8768 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8769
8770 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8771
8772 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8773 (tutorial--detailed-help): Remove unused local variables.
8774 (tutorial--save-tutorial-to): Use ignore-errors.
8775 (help-with-tutorial): Use looking-at-p.
8776
8777 * view.el (view-buffer-other-window, view-buffer-other-frame):
8778 Mark unused arguments.
8779
8780 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8781 (woman-select-symbol-fonts, woman, woman-find-file)
8782 (woman-insert-file-contents, woman-non-underline-faces):
8783 Use string-match-p.
8784 (woman1-unquote): Move declaration.
8785
8786 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8787 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8788 argument. Remove unused local variable.
8789 (xml-parse-elem-type): Use string-match-p.
8790 (xml-substitute-numeric-entities): Use ignore-errors.
8791
8792 * calculator.el (calculator): Mark unused argument.
8793 (calculator-paste, calculator-quit, calculator-integer-p):
8794 Use ignore-errors.
8795 (calculator-string-to-number, calculator-decimal, calculator-exp)
8796 (calculator-op-or-exp): Use string-match-p.
8797
8798 * dired.el (dired-buffer-more-recently-used-p): Declare.
8799 (dired-insert-set-properties, dired-insert-old-subdirs):
8800 Use ignore-errors.
8801
8802 * dired-aux.el (dired-compress): Use ignore-errors.
8803 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8804 (dired-do-async-shell-command, dired-do-shell-command)
8805 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8806 (dired-insert-subdir-validate): Use string-match-p.
8807 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8808 (dired-add-entry): Use string-match-p, looking-at-p.
8809 (dired-insert-subdir-newpos): Remove unused local variable.
8810
8811 * filenotify.el (file-notify-callback): Remove unused local variable.
8812
8813 * filesets.el (filesets-error): Mark unused argument.
8814 (filesets-which-command-p, filesets-filter-dir-names)
8815 (filesets-directory-files, filesets-get-external-viewer)
8816 (filesets-ingroup-get-data): Use string-match-p.
8817
8818 * find-file.el (ff-other-file-name, ff-other-file-name)
8819 (ff-find-the-other-file, ff-cc-hh-converter):
8820 Remove unused local variables.
8821 (ff-get-file-name): Use string-match-p.
8822 (ff-all-dirs-under): Use ignore-errors.
8823
8824 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8825 (follow-select-if-visible): Remove unused local variable.
8826
8827 * forms.el (read-file-filter): Move declaration.
8828 (forms--make-format, forms--make-parser, forms-insert-record):
8829 Quote function with #'.
8830 (forms--update): Use string-match-p. Quote function with #'.
8831
8832 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8833 (help-make-xrefs): Use looking-at-p.
8834 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8835
8836 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8837 (ibuffer-confirm-operation-on): Use string-match-p.
8838
8839 * msb.el (msb-item-handler, msb-dired-item-handler):
8840 Mark unused arguments.
8841
8842 * ses.el (ses-decode-cell-symbol)
8843 (ses-kill-override): Remove unused local variable.
8844 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8845 (ses-load): Use ignore-errors, looking-at-p.
8846 (ses-jump-safe): Use ignore-errors.
8847 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8848
8849 * tabify.el (untabify, tabify): Mark unused arguments.
8850
8851 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8852 Mark unused argument.
8853 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8854 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8855
8856 * emacs-lisp/timer.el (timer--time): Define setter with
8857 gv-define-setter to avoid deprecation warning.
8858
8859 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8860 (*record-cmpl-statistics-p*): Remove (was commented out).
8861 (cmpl-statistics-block): Remove (body was commented out).
8862 All callers changed.
8863 (add-completions-from-buffer, load-completions-from-file):
8864 Remove unused variables.
8865
8866 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8867
8868 * filecache.el (file-cache-delete-file-list):
8869 Print message only when told so.
8870 (file-cache-files-matching): Use #' in mapconcat argument.
8871
8872 * ffap.el (ffap-url-at-point): Fix reference to variable
8873 thing-at-point-default-mail-uri-scheme.
8874
8875 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * subr.el (define-error): New function.
8878 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8879 error-file-not-found and define with define-error.
8880 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8881 and define with define-error.
8882 * userlock.el (file-locked, file-supersession):
8883 * simple.el (mark-inactive):
8884 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8885 * progmodes/ada-mode.el (ada-mode-errors):
8886 * play/life.el (life-extinct):
8887 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8888 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8889 * nxml/rng-util.el (rng-error):
8890 * nxml/rng-uri.el (rng-uri-error):
8891 * nxml/rng-match.el (rng-compile-error):
8892 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8893 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8894 * nxml/nxml-rap.el (nxml-scan-error):
8895 * nxml/nxml-outln.el (nxml-outline-error):
8896 * net/soap-client.el (soap-error):
8897 * net/gnutls.el (gnutls-error):
8898 * net/ange-ftp.el (ftp-error):
8899 * mpc.el (mpc-proc-error):
8900 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8901 (json-number-format, json-string-escape, json-string-format)
8902 (json-key-format, json-object-format):
8903 * jka-compr.el (compression-error):
8904 * international/quail.el (quail-error):
8905 * international/kkc.el (kkc-error):
8906 * emacs-lisp/ert.el (ert-test-failed):
8907 * calc/calc.el (calc-error, inexact-result, math-overflow)
8908 (math-underflow):
8909 * bookmark.el (bookmark-error-no-filename):
8910 * epg.el (epg-error): Define with define-error.
8911
8912 * time.el (display-time-event-handler)
8913 (display-time-next-load-average): Don't call sit-for since it seems
8914 unnecessary (bug#15045).
8915
8916 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8917 Use #' instead of ' to quote functions.
8918 (checkdoc-output-mode): Use setq-local.
8919 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8920 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8921 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8922 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8923 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8924 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8925 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8926 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8927
8928 * ido.el (ido-completion-help): Fix up compiler warning.
8929
8930 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8931
8932 * frameset.el (frameset-p): Add autoload cookie.
8933 (frameset--jump-to-register): New function, based on code moved from
8934 register.el.
8935 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8936
8937 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8938 (frameset-restore, frameset-save, frameset-session-filter-alist):
8939 Remove declarations.
8940 (register-alist): Doc fix.
8941 (frameset-to-register): Move to frameset.el.
8942 (jump-to-register, describe-register-1): Remove frameset-specific code.
8943
8944 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8945
8946 * allout-widgets.el (allout-widgets-pre-command-business)
8947 (allout-widgets-post-command-business)
8948 (allout-widgets-after-change-handler)
8949 (allout-decorate-item-and-context, allout-set-boundary-marker)
8950 (allout-body-modification-handler)
8951 (allout-graphics-modification-handler): Mark ignored arguments.
8952 (allout-widgets-post-command-business)
8953 (allout-widgets-exposure-change-processor)
8954 (allout-widgets-exposure-undo-processor)
8955 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8956 (allout-parse-item-at-point, allout-decorate-item-guides)
8957 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8958 * allout.el (epa-passphrase-callback-function): Declare.
8959 (allout-overlay-insert-in-front-handler)
8960 (allout-overlay-interior-modification-handler)
8961 (allout-isearch-end-handler, allout-chart-siblings)
8962 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8963 (allout-yank-processing, allout-process-exposed)
8964 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8965 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8966 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8967 (lisp-indent-defform): Mark ignored arguments.
8968 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8969 (calculate-lisp-indent): Remove unused variables.
8970 * international/characters.el (indian-2-column, arabic-2-column)
8971 (tibetan): Mark ignored arguments.
8972 (use-cjk-char-width-table): Mark ignored arguments.
8973 Remove unused variables.
8974 * international/fontset.el (build-default-fontset-data)
8975 (x-compose-font-name, create-fontset-from-fontset-spec):
8976 Mark ignored arguments.
8977 (fontset-plain-name): Remove unused variables.
8978 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8979 (keyboard-coding-system): Mark ignored arguments.
8980 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8981 * help.el (resize-temp-buffer-window):
8982 * window.el (display-buffer-in-major-side-window)
8983 (display-buffer-in-side-window, display-buffer-in-previous-window):
8984 Remove unused variables.
8985 * isearch.el (isearch-forward-symbol):
8986 * version.el (emacs-bzr-version-bzr):
8987 * international/mule-cmds.el (current-language-environment):
8988 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8989 (x-handle-display):
8990 * term/pc-win.el (x-list-fonts, x-display-planes)
8991 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8992 (x-server-version, x-display-screens, x-display-mm-height)
8993 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8994 (x-selection-owner-p, x-own-selection-internal)
8995 (x-disown-selection-internal, x-get-selection-internal)
8996 (msdos-initialize-window-system):
8997 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8998 * term/x-win.el (x-handle-no-bitmap-icon):
8999 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9000 (vc-default-find-file-hook, vc-default-extra-menu):
9001 Mark ignored arguments.
9002
9003 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9006 break-condition in the context of the debugged code (bug#12685).
9007
9008 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9009
9010 * comint.el:
9011 Do not use an overlay to highlight the last prompt. (Bug#14744)
9012 (comint-mode): Make comint-last-prompt buffer local.
9013 (comint-last-prompt): New variable.
9014 (comint-last-prompt-overlay): Remove. Superseded by
9015 comint-last-prompt.
9016 (comint-snapshot-last-prompt, comint-output-filter):
9017 Use comint-last-prompt.
9018
9019 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9020
9021 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9022 (frameset-save): Check validity of the resulting frameset.
9023
9024 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9025
9026 * ido.el (ido-record-command): Add doc string.
9027
9028 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9029
9030 * frameset.el (frameset): Do not disable creation of the default
9031 frameset-p predicate. Doc fix.
9032 (frameset-valid-p): New function, copied from the old predicate-p.
9033 Add additional checks.
9034 (frameset-restore): Check with frameset-valid-p.
9035 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9036 (frameset-name, frameset-description, frameset-properties)
9037 (frameset-states): Add docstring.
9038 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9039 (frameset-filter-alist): Doc fixes.
9040
9041 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9042
9043 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9044
9045 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9048 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9049 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9050 (byte-compile-normal-call): Remove obsolescence check.
9051
9052 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9053
9054 * frameset.el (frameset-restore): Doc fix.
9055
9056 * register.el (frameset-frame-id, frameset-frame-with-id)
9057 (frameset-p, frameset-restore, frameset-save): Declare.
9058 (register-alist): Document framesets.
9059 (frameset-session-filter-alist): Declare.
9060 (frameset-to-register): New function.
9061 (jump-to-register): Implement jumping to framesets. Doc fix.
9062 (describe-register-1): Describe framesets.
9063
9064 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9065
9066 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9067
9068 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9069 Use lexical-binding.
9070
9071 * frameset.el (frameset): Use type vector, not list (incompatible
9072 change). Do not declare a new constructor, use the default one.
9073 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9074 `name' and `description', respectively, and add read-only slot
9075 `timestamp'. Doc fixes.
9076 (frameset-copy, frameset-persistent-filter-alist)
9077 (frameset-filter-alist, frameset-switch-to-gui-p)
9078 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9079 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9080 (frameset-filter-iconified, frameset-keep-original-display-p):
9081 Doc fixes.
9082 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9083 Rename from frameset-filter-(save|restore)-param. All callers changed.
9084 Doc fix.
9085 (frameset-p): Adapt to change to vector and be more thorough.
9086 Change arg name to OBJECT. Doc fix.
9087 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9088 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9089 All callers changed.
9090 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9091 All callers changed.
9092 (frameset--record-minibuffer-relationships): Rename from
9093 frameset--process-minibuffer-frames. All callers changed.
9094 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9095 Use new default constructor (again). Doc fix.
9096 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9097 All callers changed.
9098 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9099 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9100 Doc fix.
9101 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9102 PARAMETERS and WINDOW-STATE, respectively.
9103 (frameset-restore): Add new keyword argument PREDICATE.
9104 Reset frameset--target-display to nil. Doc fix.
9105
9106 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9107
9108 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9109 (bat-mode): Use it.
9110 (bat-mode-syntax-table): Mark \n as end-of-comment.
9111 (bat-font-lock-keywords): Remove comment rule.
9112
9113 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9114 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9115
9116 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9117 (byte-compile-callargs-warn): Use `push'.
9118 (byte-compile-arglist-warn): Ignore higher-order "calls".
9119 (byte-compile-file-form-autoload): Use `pcase'.
9120 (byte-compile-function-form): If quoting a symbol, check that it exists.
9121
9122 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9123
9124 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9125 and add a few popular commands found in batch files.
9126 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9127 (dos-mode): Doc fixes.
9128
9129 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9132 (dos-mode): Use setq-local. Add space after "rem".
9133 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9134 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9135
9136 2013-08-07 Arni Magnusson <arnima@hafro.is>
9137
9138 * progmodes/dos.el: New file.
9139 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9140 dos-mode.
9141
9142 2013-08-06 Glenn Morris <rgm@gnu.org>
9143
9144 * calendar/calendar.el: Add new faces, and day-header-array.
9145 (calendar-weekday-header, calendar-weekend-header)
9146 (calendar-month-header): New faces.
9147 (calendar-day-header-construct): New function.
9148 (calendar-day-header-width): Also :set calendar-day-header-array.
9149 (calendar-american-month-header, calendar-european-month-header)
9150 (calendar-iso-month-header): Use calendar- faces.
9151 (calendar-generate-month):
9152 Use calendar-day-header-array for day headers; apply faces to them.
9153 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9154 (calendar-abbrev-construct): Add optional maxlen argument.
9155 (calendar-day-name-array): Doc fix.
9156 (calendar-day-name-array, calendar-abbrev-length)
9157 (calendar-day-abbrev-array):
9158 Also :set calendar-day-header-array, and maybe redraw.
9159 (calendar-day-header-array): New option. (Bug#15007)
9160 (calendar-font-lock-keywords): Set to nil and make obsolete.
9161 (calendar-day-name): Add option to use header array.
9162
9163 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9164
9165 * net/shr.el (shr-render-td): Remove debugging.
9166 (shr-render-td): Make width computation consistent by defaulting
9167 all zero-width columns to 10 characters. This may not be optimal,
9168 but it's at least consistent.
9169 (shr-make-table-1): Redo last change to fix the real problem in
9170 colspan handling.
9171
9172 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9173
9174 * files.el (cache-long-line-scans):
9175 Make obsolete alias to `cache-long-scans'.
9176
9177 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9178
9179 * frameset.el (frameset, frameset-filter-alist)
9180 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9181 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9182 (frameset-compute-pos): Rename from frameset--compute-pos,
9183 and add docstring.
9184 (frameset-move-onscreen): Use frameset-compute-pos.
9185 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9186
9187 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9188 Fix typos in docstrings.
9189
9190 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9191
9192 * frame.el (get-other-frame): Tiny cleanup.
9193
9194 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9195
9196 * vc/vc.el (vc-default-ignore-completion-table):
9197 Silence byte-compiler warning.
9198
9199 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9200 slot, which can indeed be nil.
9201 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9202 Move entry for `left' from persistent to live filter alist.
9203 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9204 Doc fixes.
9205 (frameset-filter-params): When restoring a frame, copy items added to
9206 `filtered', to avoid unwittingly modifying the original parameters.
9207 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9208 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9209
9210 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9211 to use looking-at-p instead of looking-at. (Bug#15028)
9212
9213 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 Revert introduction of isearch-filter-predicates (bug#14714).
9216 Rely on add-function instead.
9217 * isearch.el (isearch-filter-predicates): Rename it back to
9218 isearch-filter-predicate.
9219 (isearch-message-prefix): Use advice-function-mapc and advice
9220 properties to get the isearch-message-prefix.
9221 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9222 instead of run-hook-with-args-until-failure.
9223 (isearch-filter-visible): Not obsolete any more.
9224 * loadup.el: Preload nadvice.
9225 * replace.el (perform-replace): Revert to funcall
9226 instead of run-hook-with-args-until-failure.
9227 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9228 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9229 dired-isearch-filenames-toggle; make it into a proper minor mode.
9230 Use add/remove-function.
9231 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9232 Call the minor-mode rather than add/remove-hook.
9233 (dired-isearch-filter-filenames):
9234 Remove isearch-message-prefix property.
9235 * info.el (Info--search-loop): New function, extracted from Info-search.
9236 Funcall isearch-filter-predicate instead of
9237 run-hook-with-args-until-failure isearch-filter-predicates.
9238 (Info-search): Use it.
9239 (Info-mode): Use isearch-filter-predicate instead of
9240 isearch-filter-predicates.
9241
9242 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9243
9244 Do not call to `selected-window' where it is assumed by default.
9245 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9246 `window-hscroll', `window-width', `window-height', `window-buffer',
9247 `window-frame', `window-start', `window-point', `next-window'
9248 and `window-display-table'.
9249 * abbrev.el (abbrev--default-expand):
9250 * bs.el (bs--show-with-configuration):
9251 * buff-menu.el (Buffer-menu-mouse-select):
9252 * calc/calc.el (calc):
9253 * calendar/calendar.el (calendar-generate-window):
9254 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9255 (diary-make-entry):
9256 * comint.el (send-invisible, comint-dynamic-complete-filename)
9257 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9258 * completion.el (complete):
9259 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9260 * disp-table.el (describe-current-display-table):
9261 * doc-view.el (doc-view-insert-image):
9262 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9263 * ehelp.el (with-electric-help):
9264 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9265 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9266 * emacs-lisp/helper.el (Helper-help-scroller):
9267 * emulation/cua-base.el (cua--post-command-handler-1):
9268 * eshell/esh-mode.el (eshell-output-filter):
9269 * ffap.el (ffap-gnus-wrapper):
9270 * help-macro.el (make-help-screen):
9271 * hilit-chg.el (highlight-compare-buffers):
9272 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9273 * hl-line.el (global-hl-line-highlight):
9274 * icomplete.el (icomplete-simple-completing-p):
9275 * isearch.el (isearch-done):
9276 * jit-lock.el (jit-lock-stealth-fontify):
9277 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9278 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9279 * mpc.el (mpc-tagbrowser, mpc):
9280 * net/rcirc.el (rcirc-any-buffer):
9281 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9282 * play/landmark.el (landmark-max-width, landmark-max-height):
9283 * play/zone.el (zone):
9284 * progmodes/compile.el (compilation-goto-locus):
9285 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9286 * progmodes/etags.el (find-tag-other-window):
9287 * progmodes/fortran.el (fortran-column-ruler):
9288 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9289 * progmodes/verilog-mode.el (verilog-point-text):
9290 * reposition.el (reposition-window):
9291 * rot13.el (toggle-rot13-mode):
9292 * server.el (server-switch-buffer):
9293 * shell.el (shell-dynamic-complete-command)
9294 (shell-dynamic-complete-environment-variable):
9295 * simple.el (insert-buffer, set-selective-display)
9296 (delete-completion-window):
9297 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9298 (speedbar-recenter):
9299 * startup.el (fancy-splash-head):
9300 * textmodes/ispell.el (ispell-command-loop):
9301 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9302 * tutorial.el (help-with-tutorial):
9303 * vc/add-log.el (add-change-log-entry):
9304 * vc/compare-w.el (compare-windows):
9305 * vc/ediff-help.el (ediff-indent-help-message):
9306 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9307 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9308 (ediff-setup-control-frame):
9309 * vc/emerge.el (emerge-position-region):
9310 * vc/pcvs-util.el (cvs-bury-buffer):
9311 * window.el (walk-windows, mouse-autoselect-window-select):
9312 * winner.el (winner-set-conf, winner-undo): Related users changed.
9313
9314 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9315
9316 * frameset.el (frameset--set-id): Doc fix.
9317 (frameset-frame-id, frameset-frame-id-equal-p)
9318 (frameset-locate-frame-id): New functions.
9319 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9320 (frameset-restore): Use them.
9321
9322 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9323
9324 Do not call to `selected-frame' where it is assumed by default.
9325 Affected functions are `raise-frame', `redraw-frame',
9326 `frame-first-window', `frame-terminal' and `delete-frame'.
9327 * calendar/appt.el (appt-disp-window):
9328 * epg.el (epg-wait-for-completion):
9329 * follow.el (follow-delete-other-windows-and-split)
9330 (follow-avoid-tail-recenter):
9331 * international/mule.el (set-terminal-coding-system):
9332 * mail/rmail.el (rmail-mail-return):
9333 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9334 * progmodes/f90.el (f90-add-imenu-menu):
9335 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9336 * server.el (server-switch-buffer):
9337 * simple.el (delete-completion-window):
9338 * talk.el (talk):
9339 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9340 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9341 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9342 * vc/ediff.el (ediff-documentation): Related users changed.
9343 * frame.el (selected-terminal): Remove the leftover.
9344
9345 2013-08-05 Glenn Morris <rgm@gnu.org>
9346
9347 * calendar/calendar.el (calendar-generate-month):
9348 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9349 (calendar-generate-month, calendar-font-lock-keywords):
9350 Fix for calendar-day-header-width > length of any day name.
9351
9352 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9353
9354 * desktop.el (desktop-clear): Use new name of sort predicate.
9355
9356 * frameset.el (frameset): Add docstring. Move :version property to its
9357 own `version' slot.
9358 (frameset-copy): Rename from copy-frameset.
9359 (frameset-p): Check more thoroughly.
9360 (frameset-prop): Do not check for :version, which is no longer a prop.
9361 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9362 Use new :never value instead of t.
9363 (frameset-filter-alist): Expand and clarify docstring.
9364 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9365 (frameset-filter-minibuffer, frameset-filter-save-param)
9366 (frameset-filter-restore-param, frameset-filter-iconified):
9367 Add pointer to docstring of frameset-filter-alist.
9368 (frameset-filter-params): Rename filter values to be more meaningful:
9369 :never instead of t, and reverse the meanings of :save and :restore.
9370 (frameset--process-minibuffer-frames): Clarify error message.
9371 (frameset-save): Avoid unnecessary and confusing call to framep.
9372 Use new BOA constructor for framesets.
9373 (frameset--reuse-list): Doc fix.
9374 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9375 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9376 (frameset-minibufferless-first-p): Doc fix.
9377 Rename from frameset-sort-frames-for-deletion.
9378 (frameset-restore): Doc fixes. Use new function names.
9379 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9380
9381 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9382
9383 * desktop.el (desktop-restore-forces-onscreen)
9384 (desktop-restore-reuses-frames): Document :keyword constant values.
9385 (desktop-filter-parameters-alist): Remove, now identical to
9386 frameset-filter-alist.
9387 (desktop--filter-tty*): Remove, moved to frameset.el.
9388 (desktop-save-frameset, desktop-restore-frameset):
9389 Do not pass :filters argument.
9390
9391 * frameset.el (frameset-live-filter-alist)
9392 (frameset-persistent-filter-alist): New variables.
9393 (frameset-filter-alist): Use them. Add autoload cookie.
9394 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9395 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9396 `frameset--id' (it's supposed to be internal to frameset.el).
9397 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9398 (frameset--initial-params): New function.
9399 (frameset--get-frame): Use it. Doc fix.
9400 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9401 Accept :all, not 'all.
9402 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9403 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9404 with fbound symbols. Fix frame id matching, and remove matching ids if
9405 the frame being restored is deleted. Obey :delete.
9406
9407 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9408
9409 * subr.el (macrop): New function.
9410 (text-clone--maintaining): New var.
9411 (text-clone--maintain): Rename from text-clone-maintain. Use it
9412 instead of inhibit-modification-hooks.
9413
9414 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9415 a proxy, so as handle autoloads and redefinitions of the target.
9416 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9417
9418 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9419 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9420 (pcase--mutually-exclusive-p): New function.
9421 (pcase--split-consp): Use it.
9422 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9423 mutually exclusive with the current predicate.
9424
9425 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9426 (edebug-macrop): Remove. Use `macrop' instead.
9427 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9428 (ad-macro-p):
9429 * eshell/esh-cmd.el (eshell-macrop):
9430 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9431
9432 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9433
9434 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9435 (advice-mapc): New function, using it.
9436 (advice-function-member-p): New function.
9437 (advice--normalize): Store the cdr in advice--saved-rewrite since
9438 that's the part that will be changed.
9439 (advice--symbol-function): New function.
9440 (advice-remove): Handle removal before the function is defined.
9441 Adjust to new advice--saved-rewrite.
9442 (advice-member-p): Use advice-function-member-p and
9443 advice--symbol-function.
9444
9445 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9446
9447 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9448 (frameset-filter-minibuffer): Doc fix.
9449 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9450 (frameset--set-id, frameset--process-minibuffer-frames)
9451 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9452 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9453
9454 * desktop.el (desktop-clear): Only delete frames when called
9455 interactively and desktop-restore-frames is non-nil. Doc fix.
9456 (desktop-read): Set desktop-saved-frameset to nil.
9457
9458 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9459
9460 * vc/vc.el (vc-ignore): Rewrite.
9461 (vc-default-ignore-completion-table, vc--read-lines)
9462 (vc--add-line, vc--remove-regexp): New functions.
9463
9464 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9465 (vc-svn-ignore-completion-table): New function.
9466
9467 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9468 (vc-hg-ignore-completion-table)
9469 (vc-hg-find-ignore-file): New functions.
9470
9471 * vc/vc-git.el (vc-git-ignore): Rewrite.
9472 (vc-git-ignore-completion-table)
9473 (vc-git-find-ignore-file): New functions.
9474
9475 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9476
9477 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9478 (vc-bzr-ignore-completion-table)
9479 (vc-bzr-find-ignore-file): New functions.
9480
9481 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9482
9483 * frameset.el (frameset-prop): New function and setter.
9484 (frameset-save): Do not modify frame list passed by the caller.
9485
9486 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9489
9490 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9493 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9494
9495 * custom.el (custom-initialize-default, custom-initialize-set)
9496 (custom-initialize-reset, custom-initialize-changed): Affect the
9497 toplevel-default-value (bug#6275, bug#14586).
9498 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9499 for bug#6275.
9500
9501 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9502
9503 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9504 Add cl-def* expressions.
9505
9506 * frameset.el (frameset-filter-params): Fix order of arguments.
9507
9508 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9509
9510 Move code related to saving frames to frameset.el.
9511 * desktop.el: Require frameset.
9512 (desktop-restore-frames): Doc fix.
9513 (desktop-restore-reuses-frames): Rename from
9514 desktop-restoring-reuses-frames.
9515 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9516 (desktop-clear): Clear frames too.
9517 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9518 (desktop--filter-tty*, desktop-save, desktop-read):
9519 Use frameset functions.
9520 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9521 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9522 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9523 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9524 (desktop--process-minibuffer-frames, desktop-save-frames)
9525 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9526 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9527 (desktop--sort-states, desktop-restoring-frames-p)
9528 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9529 (desktop-restoring-frameset-p, desktop-restore-frameset)
9530 (desktop--check-dont-save, desktop-save-frameset): New functions.
9531 (desktop--app-id): New constant.
9532 (desktop-first-buffer, desktop-buffer-ok-count)
9533 (desktop-buffer-fail-count): Move before first use.
9534 * frameset.el: New file.
9535
9536 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9537
9538 * files.el: Use lexical-binding.
9539 (dir-locals-read-from-file): Remove unused `err' variable.
9540 (hack-dir-local-variables--warned-coding): New var.
9541 (hack-dir-local-variables): Use it to avoid repeated warnings.
9542 (make-backup-file-name--default-function): New function.
9543 (make-backup-file-name-function): Use it as default.
9544 (buffer-stale--default-function): New function.
9545 (buffer-stale-function): Use it as default.
9546 (revert-buffer-insert-file-contents--default-function): New function.
9547 (revert-buffer-insert-file-contents-function): Use it as default.
9548 (insert-directory): Avoid add-to-list.
9549
9550 * autorevert.el (auto-revert-handler): Simplify.
9551 Use buffer-stale--default-function.
9552
9553 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9554
9555 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9556
9557 * whitespace.el (whitespace-ensure-local-variables): New function.
9558 (whitespace-cleanup-region): Call it.
9559 (whitespace-turn-on): Call it.
9560
9561 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9562
9563 Complete file name handlers.
9564
9565 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9566 (tramp-handle-verify-visited-file-modtime)
9567 (tramp-handle-file-notify-rm-watch): New functions.
9568 (tramp-call-process): Do not bind `default-directory'.
9569
9570 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9571 Order alphabetically.
9572 <access-file, add-name-to-file, dired-call-process>:
9573 <dired-compress-file, file-acl, file-notify-rm-watch>:
9574 <file-ownership-preserved-p, file-selinux-context>:
9575 <make-directory-internal, make-symbolic-link, set-file-acl>:
9576 <set-file-selinux-context, set-visited-file-modtime>:
9577 <verify-visited-file-modtime>: Add handler.
9578 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9579
9580 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9581 <file-notify-add-watch, file-notify-rm-watch>:
9582 <set-file-times, set-visited-file-modtime>:
9583 <verify-visited-file-modtime>: Add handler.
9584 (with-tramp-gvfs-error-message)
9585 (tramp-gvfs-handle-set-visited-file-modtime)
9586 (tramp-gvfs-fuse-file-name): Remove.
9587 (tramp-gvfs-handle-file-notify-add-watch)
9588 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9589 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9590
9591 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9592 Order alphabetically.
9593 <file-notify-rm-watch>: Use default Tramp handler.
9594 <executable-find>: Remove private handler.
9595 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9596 `default-directory'.
9597 (tramp-sh-handle-executable-find)
9598 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9599 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9600 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9601 Do not use `format' in `tramp-message'.
9602
9603 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9604 <file-notify-rm-watch, set-visited-file-modtime>:
9605 <verify-visited-file-modtime>: Add handler.
9606 (tramp-smb-call-winexe): Do not bind `default-directory'.
9607
9608 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9609
9610 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9611
9612 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9613
9614 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9615 use it.
9616 (log-view-diff-changeset): Same.
9617 (log-view-diff-common): Call backend command `previous-revision'
9618 to find out the previous revision, in both cases. Swap the
9619 variables `to' and `fr', so that `fr' usually refers to the
9620 earlier revision (Bug#14989).
9621
9622 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9623
9624 * ibuf-ext.el (ibuffer-filter-by-filename):
9625 Make it work with dired buffers too.
9626
9627 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9628
9629 * emacs-lisp/re-builder.el (reb-color-display-p):
9630 * files.el (save-buffers-kill-terminal):
9631 * net/browse-url.el (browse-url):
9632 * server.el (server-save-buffers-kill-terminal):
9633 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9634 Prefer nil to selected-frame for the first arg of frame-parameter.
9635
9636 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9637
9638 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9639
9640 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9641
9642 * minibuffer.el (completion--twq-all): Try and preserve each
9643 completion's case choice (bug#14907).
9644
9645 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9646
9647 * net/network-stream.el (open-network-stream): Mention the new
9648 :nogreeting parameter.
9649 (network-stream-open-starttls): Use the :nogreeting parameter
9650 (bug#14938).
9651
9652 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9653
9654 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9655 more natural than popping.
9656
9657 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9658 (shr-urlify): Highlight under mouse.
9659
9660 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9661
9662 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9663
9664 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9665
9666 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9667 buffer for output.
9668
9669 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9670 point-min==1. Fix search string. Fix parentheses missing.
9671
9672 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9673 assume point-min==1. Fix search string. Fix parentheses missing.
9674
9675 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9676
9677 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9678 buffer for output.
9679
9680 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9681
9682 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9683 initial frame is minibuffer-less. (Bug#14841)
9684
9685 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9686
9687 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9688 option.
9689
9690 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9691 (tramp-maybe-open-connection): Use it.
9692
9693 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9694
9695 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9696 minimal set of parameters passed when creating a frame, because
9697 the minibuffer status of a frame cannot be changed later.
9698
9699 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9700
9701 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9702 replace-regexp-in-string and inadvertent omissions in previous change.
9703 (todo-filter-items): Ensure only file names are comma-separated in
9704 name of filtered items buffer.
9705
9706 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9707
9708 * desktop.el: Optionally force offscreen frames back onscreen.
9709 (desktop-restoring-reuses-frames): New option.
9710 (desktop--compute-pos, desktop--move-onscreen): New functions.
9711 (desktop--make-frame): Use desktop--move-onscreen.
9712
9713 2013-07-27 Alan Mackenzie <acm@muc.de>
9714
9715 Fontify a Java generic method as a function.
9716 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9717 value to t.
9718
9719 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
9720
9721 * calendar/todo-mode.el: Add command to rename todo files.
9722 (todo-rename-file): New command.
9723 (todo-key-bindings-t): Add key binding for it. Change the
9724 bindings of todo-filter-regexp-items(-multifile) to use `x'
9725 instead of `r', since the latter is better suited to the new
9726 renaming command.
9727
9728 2013-07-27 Alan Mackenzie <acm@muc.de>
9729
9730 Make Java try-with-resources statement parse properly.
9731 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9732 (c-block-stmt-1-2-key): New language constants/variables.
9733 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9734 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9735 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9736 with c-block-stmt-1-2-key.
9737
9738 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
9739
9740 * desktop.el (desktop--make-frame): Apply most frame parameters after
9741 creating the frame to force (partially or totally) offscreen frames to
9742 be restored as such.
9743
9744 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9745
9746 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9747 (Bug#14948)
9748
9749 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9750
9751 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9752 `base' arg of backtrace-frame.
9753
9754 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9755
9756 * simple.el (list-processes): Doc fix.
9757
9758 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9759
9760 * desktop.el (desktop--select-frame):
9761 Try harder to reuse existing frames.
9762
9763 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9764
9765 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9766 (edebug-eval): Use backtrace-eval.
9767 (edebug--display, edebug--recursive-edit): Don't let-bind the
9768 edebug-outer-* vars that keep track of variables we locally let-bind.
9769 (edebug-outside-excursion): Don't restore outside values of locally
9770 let-bound vars.
9771 (edebug--display): Use user-error.
9772 (cl-lexical-debug, cl-debug-env): Remove.
9773
9774 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9775
9776 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9777 are restored to be sure that they are visible before deleting any
9778 remaining ones.
9779
9780 2013-07-26 Matthias Meulien <orontee@gmail.com>
9781
9782 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9783 vc-print-root-log. (Bug#14948)
9784
9785 2013-07-26 Richard Stallman <rms@gnu.org>
9786
9787 Add aliases for encrypting mail.
9788 * epa.el (epa-mail-aliases): New option.
9789 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9790 Bind inhibit-read-only so read-only text doesn't ruin everything.
9791 (epa-mail-default-recipients): New subroutine broken out.
9792 Handle epa-mail-aliases.
9793
9794 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9795
9796 Add support for lexical variables to the debugger's `e' command.
9797 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9798 vars, except for debugger-outer-match-data.
9799 (debugger-frame-number): Move check for "on a function call" from
9800 callers into it. Add `skip-base' argument.
9801 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9802 (debugger-env-macro): Only reset the state stored in non-variables,
9803 i.e. current-buffer and match-data.
9804 (debugger-eval-expression): Rewrite using backtrace-eval.
9805 * subr.el (internal--called-interactively-p--get-frame): Remove.
9806 (called-interactively-p):
9807 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9808 `base' arg of backtrace-frame instead.
9809
9810 2013-07-26 Glenn Morris <rgm@gnu.org>
9811
9812 * align.el (align-regexp): Doc fix. (Bug#14857)
9813 (align-region): Explicit error if subexpression missing/does not match.
9814
9815 * simple.el (global-visual-line-mode):
9816 Do not duplicate the mode lighter. (Bug#14858)
9817
9818 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9819
9820 * window.el (display-buffer): In display-buffer bind
9821 split-window-keep-point to t, bug#14829.
9822
9823 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9824
9825 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9826 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9827 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9828 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9829 Change accordingly.
9830 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9831 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9832
9833 2013-07-25 Glenn Morris <rgm@gnu.org>
9834
9835 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9836
9837 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9838
9839 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9840 parameter to modify-frame-parameters if the value has not changed;
9841 this is a workaround for bug#14949.
9842 (desktop--make-frame): On cl-delete-if call, check parameter name,
9843 not full parameter.
9844
9845 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9846
9847 * vc/vc.el (vc-ignore): New function.
9848
9849 * vc/vc-svn.el (vc-svn-ignore): New function.
9850
9851 * vc/vc-hg.el (vc-hg-ignore): New function.
9852
9853 * vc/vc-git.el (vc-git-ignore): New function.
9854
9855 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9856 (vc-dir-ignore): New function.
9857
9858 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9859 (cvs-append-to-ignore): Move here from pcvs.el.
9860
9861 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9862
9863 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9864
9865 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9866
9867 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9868 (desktop-restore-frames): Warn when deleting an existing frame failed.
9869
9870 2013-07-24 Glenn Morris <rgm@gnu.org>
9871
9872 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9873
9874 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9875
9876 * filenotify.el (file-notify-supported-p):
9877 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9878 Remove functions.
9879
9880 * autorevert.el (auto-revert-use-notify)
9881 (auto-revert-notify-add-watch):
9882 * net/tramp.el (tramp-file-name-for-operation):
9883 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9884 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9885 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9886 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9887 Remove `file-notify-supported-p' entry.
9888
9889 2013-07-24 Glenn Morris <rgm@gnu.org>
9890
9891 * printing.el: Replace all uses of deleted ps-windows-system,
9892 ps-lp-system, ps-flatten-list with lpr- versions.
9893
9894 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9897 checked with memq (bug#14935).
9898
9899 * files.el (revert-buffer-function): Use a non-nil default.
9900 (revert-buffer-preserve-modes): Declare var to
9901 provide access to the `preserve-modes' argument.
9902 (revert-buffer): Let-bind it.
9903 (revert-buffer--default): New function, extracted from revert-buffer.
9904
9905 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9906
9907 * lpr.el: Signal print errors more prominently.
9908 (print-region-function): Don't default to nil.
9909 (lpr-print-region): New function, extracted from print-region-1.
9910 Check lpr's return value and signal an error in case of problem.
9911 (print-region-1): Use it.
9912 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9913 versions instead.
9914 (ps-printer-name): Default to nil.
9915 (ps-printer-name-option): Default to lpr-printer-switch.
9916 (ps-print-region-function): Don't default to nil.
9917 (ps-postscript-code-directory): Simplify default.
9918 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9919 (ps-string-list, ps-eval-switch, ps-flatten-list)
9920 (ps-flatten-list-1): Remove.
9921 (ps-multibyte-buffer): Avoid setq.
9922 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9923 (print-region-function, ps-print-region-function): Don't set them here.
9924
9925 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9926
9927 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9928 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9929 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9930 (ido-decorations): Doc fix.
9931
9932 * ansi-color.el: Fix old URL.
9933
9934 2013-07-23 Michael R. Mauger <michael@mauger.com>
9935
9936 * progmodes/sql.el: Version 3.3
9937 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9938 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9939 (sql-interactive-remove-continuation-prompt): Rewrite, use
9940 functions above. Fix continuation prompt and complete output line
9941 handling.
9942 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9943 redirected output buffer.
9944 (sql-mode): Restore deleted code (Bug#13591).
9945
9946 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9947
9948 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9949
9950 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9951
9952 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9953
9954 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9955 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9956 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9957
9958 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9959
9960 * desktop.el (desktop-clear): Simplify; remove useless checks
9961 against invalid buffer names.
9962 (desktop-list*): Use cl-list*.
9963 (desktop-buffer-info, desktop-create-buffer): Simplify.
9964
9965 2013-07-23 Leo Liu <sdl.web@gmail.com>
9966
9967 * bookmark.el (bookmark-make-record): Restore NAME as a default
9968 value. (Bug#14933)
9969
9970 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9971
9972 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9973 extracted from autoload--insert-text.
9974 (autoload--insert-text): Remove.
9975 (autoload--print-cookie-text): New function, extracted from
9976 autoload--insert-cookie-text.
9977 (autoload--insert-cookie-text): Remove.
9978 (autoload-generate-file-autoloads): Adjust calls accordingly.
9979
9980 * winner.el (winner-hook-installed-p): Remove.
9981 (winner-mode): Simplify accordingly.
9982
9983 * subr.el (add-to-list): Fix compiler-macro when `append' is
9984 not constant. Don't use `cl-member' for the base case.
9985
9986 * progmodes/subword.el: Fix boundary case (bug#13758).
9987 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9988 own group.
9989 (subword-backward-regexp): Make it a constant.
9990 (subword-forward-internal): Don't treat a trailing capital as the
9991 beginning of a word.
9992
9993 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9994
9995 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9996 global value of tabulated-list-revert-hook (bug#14930).
9997
9998 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9999
10000 * desktop.el: Require 'cl-lib.
10001 (desktop-before-saving-frames-functions): New hook.
10002 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10003 for frames being saved. Rename from desktop--save-minibuffer-frames.
10004 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10005 Do not save frames with non-nil `desktop-dont-save' parameter.
10006 Filter out deleted frames.
10007 (desktop--find-frame): Use cl-find-if.
10008 (desktop--select-frame): Use cl-(first|second|third) to access values
10009 of desktop-mini.
10010 (desktop--make-frame): Use cl-delete-if.
10011 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10012 (desktop-restore-frames): Use cl-(first|second|third) to access values
10013 of desktop-mini. Look for visible frame at the end, not while
10014 restoring frames.
10015
10016 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10017 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10018 Use string-match-p, looking-at-p (bug#14927).
10019
10020 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10021
10022 * desktop.el (desktop-saved-frame-states):
10023 Rename from desktop--saved-states; all users changed.
10024 (desktop-save-frames): Rename from desktop--save-frames.
10025 Do not save state to desktop file.
10026 (desktop-save): Save desktop-saved-frame-states to desktop file
10027 and reset to nil.
10028 (desktop-restoring-frames-p): New function.
10029 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10030 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10031 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10032
10033 * desktop.el: Correctly restore iconified frames.
10034 (desktop--filter-iconified-position): New function.
10035 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10036
10037 2013-07-20 Glenn Morris <rgm@gnu.org>
10038
10039 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10040 Let `message' do the formatting.
10041 (def-gdb-preempt-display-buffer): Add explicit format.
10042
10043 * image-dired.el (image-dired-track-original-file):
10044 Use with-current-buffer.
10045 (image-dired-track-thumbnail): Use with-current-buffer.
10046 Avoid changing point of wrong window.
10047
10048 * image-dired.el (image-dired-track-original-file):
10049 Avoid changing point of wrong window. (Bug#14909)
10050
10051 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10052
10053 * progmodes/gdb-mi.el (gdb-done-or-error):
10054 Guard against "%" in gdb output. (Bug#14127)
10055
10056 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10057
10058 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10059 (Bug#14826)
10060
10061 * international/mule.el (coding-system-iso-2022-flags): Fix last
10062 change.
10063
10064 2013-07-20 Kenichi Handa <handa@gnu.org>
10065
10066 * international/mule.el (coding-system-iso-2022-flags):
10067 Add `8-bit-level-4'. (Bug#8522)
10068
10069 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10070
10071 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10072 (bug#14815).
10073
10074 * net/eww.el (eww-process-text-input): Allow inputting when the
10075 point is at the start of the line, as the properties aren't
10076 front-sticky.
10077
10078 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10079 degenerate widths.
10080
10081 2013-07-19 Richard Stallman <rms@gnu.org>
10082
10083 * epa.el (epa-popup-info-window): Doc fix.
10084
10085 * subr.el (split-string): New arg TRIM.
10086
10087 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10088
10089 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10090 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10091
10092 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10093
10094 * filenotify.el (file-notify--library): Rename from
10095 `file-notify-support'. Do not autoload. Adapt all uses.
10096 (file-notify-supported-p): New defun.
10097
10098 * autorevert.el (auto-revert-use-notify):
10099 Use `file-notify-supported-p' instead of `file-notify-support'.
10100 Adapt docstring.
10101 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10102
10103 * net/tramp.el (tramp-file-name-for-operation):
10104 Add `file-notify-supported-p'.
10105
10106 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10107 New defun.
10108 (tramp-sh-file-name-handler-alist): Add it as handler for
10109 `file-notify-supported-p '.
10110
10111 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10112 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10113 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10114 Add `ignore' as handler for `file-notify-*' functions.
10115
10116 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10117
10118 * simple.el (line-move-partial, line-move): Don't start vscroll or
10119 scroll-up if the current line is not taller than the window.
10120 (Bug#14881)
10121
10122 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10123
10124 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10125 highlight question marks in the method names as strings.
10126 (ruby-block-beg-keywords): Inline.
10127 (ruby-font-lock-keyword-beg-re): Extract from
10128 `ruby-font-lock-keywords'.
10129
10130 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10131
10132 * frame.el (blink-cursor-blinks): New defcustom.
10133 (blink-cursor-blinks-done): New defvar.
10134 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10135 (blink-cursor-timer-function): Check if number of blinks has been
10136 done on X and NS.
10137 (blink-cursor-suspend, blink-cursor-check): New defuns.
10138
10139 2013-07-15 Glenn Morris <rgm@gnu.org>
10140
10141 * edmacro.el (edmacro-format-keys): Fix previous change.
10142
10143 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10144
10145 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10146 The hack didn't work outside English locales anyway.
10147
10148 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10149
10150 * simple.el (define-alternatives): Rename from alternatives-define,
10151 per RMS' suggestion.
10152
10153 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10154
10155 * desktop.el (desktop-restore-frames): Change default to t.
10156 (desktop-restore-in-current-display): Now offer more options.
10157 (desktop-restoring-reuses-frames): New customization option.
10158 (desktop--saved-states): Doc fix.
10159 (desktop-filter-parameters-alist): New variable, renamed and expanded
10160 from desktop--excluded-frame-parameters.
10161 (desktop--target-display): New variable.
10162 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10163 (desktop--filter-tty*, desktop--filter-*-color)
10164 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10165 (desktop--filter-save-desktop-parm)
10166 (desktop-restore-in-original-display-p): New functions.
10167 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10168 (desktop--save-minibuffer-frames): New function, inspired by a similar
10169 function from Martin Rudalics.
10170 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10171 (desktop--restore-in-this-display-p): Remove.
10172 (desktop--find-frame): Rename from desktop--find-frame-in-display
10173 and add predicate argument.
10174 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10175 (desktop--reuse-list): New variable.
10176 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10177 New functions.
10178 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10179
10180 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10181
10182 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10183
10184 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10185
10186 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10187 Highlight conversion methods on Kernel.
10188
10189 2013-07-13 Alan Mackenzie <acm@muc.de>
10190
10191 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10192 and comment it out. This out-commenting enables certain C++
10193 declarations to be parsed correctly.
10194
10195 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10196
10197 * international/mule.el (define-coding-system): Doc fix.
10198
10199 * simple.el (default-font-height): Don't call font-info if the
10200 frame's default font didn't change since the frame was created.
10201 (Bug#14838)
10202
10203 2013-07-13 Leo Liu <sdl.web@gmail.com>
10204
10205 * ido.el (ido-read-file-name): Guard against non-symbol value.
10206
10207 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10208
10209 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10210 in nested defuns.
10211
10212 2013-07-13 Leo Liu <sdl.web@gmail.com>
10213
10214 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10215 ido-set-matches call. (Bug#6852)
10216
10217 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10218
10219 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10220 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10221 Ruby 2.0.
10222 (ruby-font-lock-keywords): Distinguish calls to functions with
10223 module-like names from module references. Highlight character
10224 literals.
10225
10226 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10227
10228 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10229 (gdb-send): Handle continued commands. (Bug#14847)
10230
10231 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10232
10233 * desktop.el (desktop--v2s): Remove unused local variable.
10234 (desktop-save-buffer): Make defvar-local; adjust docstring.
10235 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10236 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10237
10238 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10239
10240 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10241
10242 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10243
10244 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10245 (Bug#14842)
10246
10247 2013-07-12 Glenn Morris <rgm@gnu.org>
10248
10249 * doc-view.el: Require cl-lib at runtime too.
10250 (doc-view-remove-if): Remove.
10251 (doc-view-search-next-match, doc-view-search-previous-match):
10252 Use cl-remove-if.
10253
10254 * edmacro.el: Require cl-lib at runtime too.
10255 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10256 (edmacro-mismatch, edmacro-subseq): Remove.
10257
10258 * shadowfile.el: Require cl-lib.
10259 (shadow-remove-if): Remove.
10260 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10261 Use cl-remove-if.
10262
10263 * wid-edit.el: Require cl-lib.
10264 (widget-choose): Use cl-remove-if.
10265 (widget-remove-if): Remove.
10266
10267 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10268 (ebrowse-delete-if-not): Remove.
10269 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10270 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10271 Use cl-delete-if-not.
10272
10273 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10274
10275 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10276 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10277
10278 2013-07-12 Leo Liu <sdl.web@gmail.com>
10279
10280 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10281
10282 2013-07-11 Glenn Morris <rgm@gnu.org>
10283
10284 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10285 (edebug-gensym-index, edebug-gensym):
10286 Remove reimplementation of cl-gensym.
10287 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10288
10289 * thumbs.el: Require cl-lib at run-time too.
10290 (thumbs-gensym-counter, thumbs-gensym):
10291 Remove reimplementation of cl-gensym.
10292 (thumbs-temp-file): Use cl-gensym.
10293
10294 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10295 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10296 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10297 (ert--union, ert--gensym-counter, ert--gensym-counter)
10298 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10299 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10300 (ert-make-test-unbound, ert--expand-should-1)
10301 (ert--expand-should, ert--should-error-handle-error)
10302 (should-error, ert--explain-equal-rec)
10303 (ert--plist-difference-explanation, ert-select-tests)
10304 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10305 Use cl-lib functions rather than reimplementations.
10306
10307 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10308
10309 * net/tramp.el (tramp-methods): Extend docstring.
10310 (tramp-connection-timeout): New defcustom.
10311 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10312 (with-tramp-progress-reporter): Simplify.
10313 (tramp-process-actions): Improve messages.
10314
10315 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10316 * net/tramp-sh.el (tramp-maybe-open-connection):
10317 Use `tramp-connection-timeout'.
10318 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10319 (Bug#14808)
10320
10321 2013-07-11 Leo Liu <sdl.web@gmail.com>
10322
10323 * ido.el (ido-read-file-name): Conform to the requirements of
10324 read-file-name. (Bug#11861)
10325 (ido-read-directory-name): Conform to the requirements of
10326 read-directory-name.
10327
10328 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10329
10330 * subr.el (delay-warning): New function.
10331
10332 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10333
10334 * simple.el (default-line-height): New function.
10335 (line-move-partial, line-move): Use it instead of computing the
10336 line height inline.
10337 (line-move-partial): Always compute ROWH. If the last line is
10338 partially-visible, but its text is completely visible, allow
10339 cursor to enter such a partially-visible line.
10340
10341 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10342
10343 Improve error messages. (Bug#14808)
10344
10345 * net/tramp.el (tramp-current-connection): New defvar, moved from
10346 tramp-sh.el.
10347 (tramp-message-show-progress-reporter-message): Remove, not
10348 needed anymore.
10349 (tramp-error-with-buffer): Show message in minibuffer.
10350 Discard input before waiting. Reset connection timestamp.
10351 (with-tramp-progress-reporter): Improve messages.
10352 (tramp-process-actions): Use progress reporter. Delete process in
10353 case of error. Improve messages.
10354
10355 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10356 Call `tramp-error-with-buffer' with vector and buffer.
10357 (tramp-current-connection): Remove.
10358 (tramp-maybe-open-connection): The car of
10359 `tramp-current-connection' are the first 3 slots of the vector.
10360
10361 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10362
10363 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10364 inside continued strings.
10365
10366 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10367
10368 Timestamp fixes for undo (Bug#14824).
10369 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10370
10371 2013-07-10 Leo Liu <sdl.web@gmail.com>
10372
10373 * files.el (require-final-newline): Allow safe local value.
10374 (Bug#14834)
10375
10376 2013-07-09 Leo Liu <sdl.web@gmail.com>
10377
10378 * ido.el (ido-read-directory-name): Handle fallback.
10379 (ido-read-file-name): Update DIR to ido-current-directory.
10380 (Bug#1516)
10381 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10382
10383 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10384
10385 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10386 "autoload". Remove "warn lower camel case" section, previously
10387 commented out. Highlight negation char. Do not highlight the
10388 target in singleton method definitions.
10389
10390 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10391
10392 * faces.el (tty-setup-hook): Declare the hook.
10393
10394 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10395 and detect when a guard/pred depends on local vars (bug#14773).
10396 (pcase--u1): Adjust caller.
10397
10398 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10399
10400 * simple.el (line-move-partial, line-move): Account for
10401 line-spacing.
10402 (line-move-partial): Avoid setting vscroll when the last
10403 partially-visible line in window is of default height.
10404
10405 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10406
10407 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10408 been used a while.
10409
10410 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10411
10412 * subr.el (read-quoted-char): Remove unused local variable `char'.
10413
10414 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10415
10416 * ediff.el (ediff-version): Version update.
10417 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10418 (ediff-merge-with-ancestor-command, ediff-directories-command)
10419 (ediff-directories3-command, ediff-merge-directories-command)
10420 (ediff-merge-directories-with-ancestor-command): New functions.
10421 All are command-line interfaces to ediff: to facilitate calling
10422 Emacs with the appropriate ediff functions invoked.
10423
10424 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10425 (viper-save-kill-buffer): Check if buffer is modified.
10426
10427 * viper.el (viper-version): Version update.
10428 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10429
10430 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10433 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10434 (viper-intercept-ESC-key): Simplify.
10435 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10436 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10437 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10438 (viper-setup-ESC-to-escape): New functions.
10439 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10440 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10441
10442 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10443
10444 * simple.el (default-font-height, window-screen-lines):
10445 New functions.
10446 (line-move, line-move-partial): Use them instead of
10447 frame-char-height and window-text-height. This makes scrolling
10448 text smoother when the buffer's default face uses a font that is
10449 different from the frame's default font.
10450
10451 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10452
10453 * files.el (write-file): Do not display confirm dialog for NS,
10454 it does its own dialog, which can't be canceled (Bug#14578).
10455
10456 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10457
10458 * simple.el (line-move-partial): Adjust the row returned by
10459 posn-at-point for the current window-vscroll. (Bug#14567)
10460
10461 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10462
10463 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10464 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10465 spaces.
10466
10467 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10468
10469 * window.el (window-state-put-stale-windows): New variable.
10470 (window--state-put-2): Save list of windows without matching buffer.
10471 (window-state-put): Remove "bufferless" windows if possible.
10472
10473 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10474
10475 * simple.el (alternatives-define): Remove leftover :group keyword.
10476 Tweak docstring.
10477
10478 2013-07-06 Leo Liu <sdl.web@gmail.com>
10479
10480 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10481 (ido-enable-virtual-buffers): New variable.
10482 (ido-buffer-internal, ido-toggle-virtual-buffers)
10483 (ido-make-buffer-list): Use it.
10484 (ido-exhibit): Support turning on and off virtual buffers
10485 automatically.
10486
10487 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10488
10489 * simple.el (alternatives-define): New macro.
10490
10491 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10492
10493 * subr.el (read-quoted-char): Use read-key.
10494 (sit-for): Let read-event decode tty input (bug#14782).
10495
10496 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10497
10498 * calendar/todo-mode.el: Add handling of file deletion, both by
10499 mode command and externally. Fix various related bugs.
10500 Clarify Commentary and improve some documentation strings and code.
10501 (todo-delete-file): New command.
10502 (todo-check-file): New function.
10503 (todo-show): Handle external deletion of the file we're trying to
10504 show (bug#14688). Replace called-interactively-p by an optional
10505 prefix argument to avoid problematic interaction with catch form
10506 when byte compiled (bug#14702).
10507 (todo-quit): Handle external deletion of the archive's todo file.
10508 Make sure the buffer that was visiting the archive file is still
10509 live before trying to bury it.
10510 (todo-category-completions): Handle external deletion of any
10511 category completion files.
10512 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10513 of todo files, in case of external deletion.
10514 (todo-add-file): Replace unnecessary setq by let-binding.
10515 (todo-find-archive): Check whether there are any archives.
10516 Replace unnecessary setq by let-binding.
10517 (todo-archive-done-item): Use find-file-noselect to get the
10518 archive buffer whether or not the archive already exists.
10519 Remove superfluous code. Use file size instead of buffer-file-name to
10520 check if the archive is new; if it is, update list of archives.
10521 (todo-default-todo-file): Allow nil to be a valid value for when
10522 there are no todo files.
10523 (todo-reevaluate-default-file-defcustom): Use corrected definition
10524 of todo-default-todo-file.
10525 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10526 (todo-delete-category, todo-show-categories-table)
10527 (todo-category-number): Clarify comment.
10528 (todo-filter-items): Clarify documentation string.
10529 (todo-show-current-file, todo-display-as-todo-file)
10530 (todo-reset-and-enable-done-separator): Tweak documentation string.
10531 (todo-done-separator): Make separator length window-width, since
10532 bug#2749 is now fixed.
10533
10534 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10535
10536 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10537 Support both "gvfs-monitor-dir" and "inotifywait".
10538 (tramp-sh-file-inotifywait-process-filter): Rename from
10539 `tramp-sh-file-notify-process-filter'.
10540 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10541 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10542
10543 2013-07-05 Leo Liu <sdl.web@gmail.com>
10544
10545 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10546
10547 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10548
10549 * frame.el (display-pixel-height, display-pixel-width)
10550 (display-mm-height, display-mm-width): Mention behavior on
10551 multi-monitor setups in docstrings.
10552 (w32-display-monitor-attributes-list): Declare function.
10553 (display-monitor-attributes-list): Use it.
10554
10555 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10556
10557 * filenotify.el: New package.
10558
10559 * autorevert.el (top): Require filenotify.el.
10560 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10561 instead.
10562 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10563 (auto-revert-notify-handler): Use `file-notify-*' functions.
10564
10565 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10566
10567 * net/tramp.el (tramp-file-name-for-operation):
10568 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10569
10570 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10571 for `file-notify-add-watch' and `file-notify-rm-watch'.
10572 (tramp-process-sentinel): Improve trace.
10573 (tramp-sh-handle-file-notify-add-watch)
10574 (tramp-sh-file-notify-process-filter)
10575 (tramp-sh-handle-file-notify-rm-watch)
10576 (tramp-get-remote-inotifywait): New defuns.
10577
10578 2013-07-03 Juri Linkov <juri@jurta.org>
10579
10580 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10581 call of `occur-read-primary-args' to interactive spec.
10582
10583 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10584 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10585
10586 2013-07-03 Matthias Meulien <orontee@gmail.com>
10587
10588 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10589 `Buffer-menu-multi-occur'. Add it to the menu.
10590 (Buffer-menu-mode): Document it in docstring.
10591 (Buffer-menu-multi-occur): New command. (Bug#14673)
10592
10593 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10594
10595 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10596 keywords and built-ins.
10597
10598 2013-07-03 Glenn Morris <rgm@gnu.org>
10599
10600 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10601
10602 Make info-xref checks case-sensitive by default
10603 * info.el (Info-find-node, Info-find-in-tag-table)
10604 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10605 Add option for exact case matching of nodes.
10606 * info-xref.el (info-xref): New custom group.
10607 (info-xref-case-fold): New option.
10608 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10609
10610 2013-07-03 Leo Liu <sdl.web@gmail.com>
10611
10612 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10613
10614 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10615
10616 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10617 middle of block statement initially, lower the depth. Remove
10618 FIXME comment, not longer valid. Remove middle of block statement
10619 detection, no need to do that anymore since we've been using
10620 `ruby-parse-region' here.
10621
10622 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10623
10624 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10625
10626 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10627
10628 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10629
10630 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10631
10632 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10633 (desktop-restore-in-current-display): New customization option.
10634 (desktop--excluded-frame-parameters): Add `font'.
10635 (desktop--save-frames): Rename from desktop--save-windows.
10636 (desktop--restore-in-this-display-p): New function.
10637 (desktop--make-full-frame): Remove unwanted width/height from
10638 full(width|height) frames.
10639 (desktop--restore-frames): Rename from desktop--restore-windows.
10640 Obey desktop-restore-current-display. Do not delete old frames or
10641 select a new frame unless we were able to restore at least one frame.
10642
10643 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10644
10645 * files.el (find-file-noselect): Simplify conditional expression.
10646
10647 * textmodes/remember.el (remember-append-to-file):
10648 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10649
10650 Add `remember-notes' function to store random notes across Emacs
10651 restarts.
10652 * textmodes/remember.el (remember-data-file): Add :set callback to
10653 affect notes buffer (if any).
10654 (remember-notes): New command.
10655 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10656 New defcustoms for the `remember-notes' function.
10657 (remember-notes-save-and-bury-buffer): New command.
10658 (remember-notes-mode-map): New variable.
10659 (remember-mode): New minor mode.
10660 (remember-notes--kill-buffer-query): New function.
10661 * startup.el (initial-buffer-choice): Add notes to custom type.
10662
10663 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10664
10665 * bindings.el (right-char, left-char): Don't call sit-for, this is
10666 no longer needed. Use arithmetic comparison only for numerical
10667 arguments.
10668
10669 * international/mule-cmds.el (select-safe-coding-system):
10670 Handle the case of FROM being a string correctly. (Bug#14755)
10671
10672 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10673
10674 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10675 progression on degenerate tables.
10676 (shr-rescale-image): ImageMagick animated images currently don't work.
10677
10678 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10679
10680 Some fixes and improvements for desktop frame restoration.
10681 It is still experimental and disabled by default.
10682 * desktop.el (desktop--save-windows): Put the selected frame at
10683 the head of the list.
10684 (desktop--make-full-frame): New function.
10685 (desktop--restore-windows): Try to re-select the frame that was
10686 selected upon saving. Do not abort if some frames fail to restore,
10687 just show an error message and continue. Set up maximized frames
10688 so they have default non-maximized dimensions.
10689
10690 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10691
10692 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10693 Don't start heredoc inside a string or comment.
10694
10695 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10696
10697 * bindings.el (visual-order-cursor-movement): New defcustom.
10698 (right-char, left-char): Provide visual-order cursor motion by
10699 calling move-point-visually. Update the doc strings.
10700
10701 2013-06-28 Kenichi Handa <handa@gnu.org>
10702
10703 * international/mule.el (define-coding-system): New coding system
10704 properties :inhibit-null-byte-detection,
10705 :inhibit-iso-escape-detection, and :prefer-utf-8.
10706 (set-buffer-file-coding-system): If :charset-list property of
10707 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10708 appropriate for setting.
10709
10710 * international/mule-cmds.el (select-safe-coding-system):
10711 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10712 multibyte characters, return utf-8 (or one of its siblings).
10713
10714 * international/mule-conf.el (prefer-utf-8): New coding system.
10715 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10716 files.
10717
10718 2013-06-28 Ivan Kanis <ivan@kanis.fr>
10719
10720 * net/shr.el (shr-render-region): New function.
10721
10722 * net/eww.el: Autoload `eww-browse-url'.
10723
10724 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10725
10726 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10727 Adapt to `package-desc-version' being a list.
10728 Use `package--ac-desc-version' to retrieve version from a package
10729 archive element.
10730
10731 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
10732
10733 New experimental feature to save&restore window and frame setup.
10734 * desktop.el (desktop-save-windows): New defcustom.
10735 (desktop--saved-states): New var.
10736 (desktop--excluded-frame-parameters): New defconst.
10737 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10738 (desktop--restore-windows, desktop--save-windows): New functions.
10739 (desktop-save): Call `desktop--save-windows'.
10740 (desktop-read): Call `desktop--restore-windows'.
10741
10742 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10743
10744 * net/shr.el (add-face-text-property): Remove compat definition.
10745
10746 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10747
10748 * info.el (Info-try-follow-nearest-node): Move search for footnote
10749 above search for node name to prevent missing a footnote (bug#14717).
10750
10751 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10752
10753 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10754
10755 2013-06-27 Leo Liu <sdl.web@gmail.com>
10756
10757 * net/eww.el (eww-read-bookmarks): Check file size.
10758
10759 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10760
10761 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10762 advice--pending if newdef is nil or an autoload (bug#13820).
10763 (advice-mapc): New function.
10764
10765 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10766
10767 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10768 probably.
10769 (eww-mode-map): Add a menu bar.
10770 (eww-add-bookmark): New command.
10771 (eww-bookmark-mode): New mode and commands.
10772 (eww-add-bookmark): Remove newlines from the title.
10773 (eww-bookmark-browse): Don't bug out if it's the only window.
10774
10775 2013-06-26 Glenn Morris <rgm@gnu.org>
10776
10777 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10778 (hfy-size): Handle ttys. (Bug#14668)
10779
10780 * info-xref.el: Update for Texinfo 5 change in *note format.
10781 (info-xref-node-re, info-xref-note-re): New constants.
10782 (info-xref-check-buffer): Use info-xref-note-re.
10783
10784 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10785
10786 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10787
10788 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10789 nil terminate the loop (bug#14718).
10790
10791 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10792
10793 * net/eww.el: Rework history traversal. When going forward/back,
10794 put these actions into the history, too, so that they can be
10795 replayed.
10796 (eww-render): Move the history reset to the correct buffer.
10797
10798 2013-06-25 Juri Linkov <juri@jurta.org>
10799
10800 * files-x.el (modify-dir-local-variable): Change the header comment
10801 in the file with directory local variables. (Bug#14692)
10802
10803 * files-x.el (read-file-local-variable-value): Add `default'.
10804 (Bug#14710)
10805
10806 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10807
10808 * net/eww.el (eww-make-unique-file-name): Create a unique file
10809 name before saving to entering `y' accidentally asynchronously.
10810
10811 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10812
10813 * net/eww.el (eww-download): New command and keystroke.
10814
10815 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10816
10817 * net/eww.el (eww-copy-page-url): Change name of command.
10818
10819 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10820 be more consistent with Info and dired.
10821
10822 * net/eww.el (eww-mode-map): Ditto.
10823
10824 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10827 packages from archives.
10828 (package-archive-contents): Change format; include obsolete packages.
10829 (package-desc): Use `dir' to mark builtin packages.
10830 (package--from-builtin): Set the `dir' field to `builtin'.
10831 (generated-autoload-file, version-control): Declare.
10832 (package-compute-transaction): Change first arg and return value to be
10833 lists of package-descs. Adjust to new package-archive-contents format.
10834 (package--add-to-archive-contents): Adjust to new
10835 package-archive-contents format.
10836 (package-download-transaction): Arg is now a list of package-descs.
10837 (package-install): If `pkg' is a package name, pass it as
10838 a requirement, so it is subject to the usual (e.g. disabled) checks.
10839 (describe-package): Accept package-desc as well.
10840 (describe-package-1): Describe a specific package-desc. Add links to
10841 other package-descs for the same package name.
10842 (package-menu-describe-package): Pass the actual package-desc.
10843 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10844 works correctly.
10845 (package-desc-status): New function.
10846 (package-menu--refresh): New function, extracted
10847 from package-menu--generate.
10848 (package-menu--generate): Use it.
10849 (package-delete): Update package-alist.
10850 (package-menu-execute): Don't call package-initialize.
10851
10852 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10853 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10854 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10855 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10856 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10857 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10858
10859 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10860
10861 * window.el (window--state-get-1): Workaround for bug#14527.
10862 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10863
10864 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10865
10866 * net/eww.el (eww-back-url): Implement the history by stashing all
10867 the data into a list.
10868 (eww-forward-url): Allow going forward in the history, too.
10869
10870 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10871
10872 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10873 for values and use read--expression for expressions (bug#14710).
10874 (read-file-local-variable): Avoid setq.
10875 (read-file-local-variable-mode): Use minor-mode-list.
10876
10877 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10878
10879 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10880 for DOI URLs.
10881
10882 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10883
10884 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10885 Update imenu-support when dialect changes.
10886
10887 2013-06-25 Leo Liu <sdl.web@gmail.com>
10888
10889 * ido.el (ido-read-internal): Allow forward slash on windows.
10890
10891 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10892
10893 * net/eww.el (eww): Start of strings is \\`, not ^.
10894
10895 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10896
10897 * net/shr.el (shr-browse-url): Fix interactive spec.
10898
10899 * net/eww.el (eww): Add a trailing slash to domain names.
10900
10901 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10902
10903 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10904
10905 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10906
10907 * net/shr.el (shr-browse-url): Use an external browser if given a
10908 prefix.
10909
10910 * net/eww.el (eww-external-browser): Move to shr.
10911
10912 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10913
10914 * net/eww.el (eww): Work more correctly for file: URLs.
10915 (eww-detect-charset): Allow quoted charsets.
10916 (eww-yank-page-url): New command and keystroke.
10917
10918 2013-06-24 Daiki Ueno <ueno@gnu.org>
10919
10920 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10921 file name of gpg executable.
10922 (epg-context-program): New function.
10923 (epg-context-home-directory): New function.
10924 (epg-context-set-program): New function.
10925 (epg-context-set-home-directory): New function.
10926 (epg--start): Use `epg-context-program' instead of
10927 'epg-gpg-program'.
10928 (epg--list-keys-1): Likewise.
10929
10930 2013-06-24 Leo Liu <sdl.web@gmail.com>
10931
10932 * ido.el (ido-read-internal): Fix bug#14620.
10933
10934 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10935
10936 * faces.el (face-documentation): Simplify.
10937 (read-face-attribute, tty-find-type, x-resolve-font-name):
10938 Use `string-match-p'.
10939 (list-faces-display): Use `string-match-p'. Simplify.
10940 (face-spec-recalc): Check face to avoid face alias loops.
10941 (read-color): Use `string-match-p' and non-capturing parenthesis.
10942
10943 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10944
10945 * net/shr.el (shr-rescale-image): Use the new
10946 :max-width/:max-height functionality.
10947
10948 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10949
10950 * net/eww.el (eww-search-prefix): New variable.
10951 (eww): Use it.
10952 (eww-external-browser): New variable.
10953 (eww-mode-map): New keystroke.
10954 (eww-browse-with-external-browser): New command.
10955
10956 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10957
10958 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10959
10960 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10961 Don't skip aligning the next header field when padding is 0;
10962 otherwise, field width is not respected unless the title is as
10963 wide as the field.
10964
10965 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10966
10967 * emacs-lisp/package.el (package-el-version): Remove.
10968 (package-process-define-package): Fix inf-loop.
10969 (package-install): Allow symbols as arguments again.
10970
10971 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10972
10973 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10974 add some more keyword-like methods.
10975 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10976
10977 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10978
10979 * bs.el (bs-buffer-show-mark): Make defvar-local.
10980 (bs-mode): Use setq-local.
10981
10982 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10983 (emacs-lock--try-unlocking): Make defvar-local.
10984
10985 2013-06-22 Glenn Morris <rgm@gnu.org>
10986
10987 * play/cookie1.el (cookie-apropos): Minor simplification.
10988
10989 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10990
10991 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10992
10993 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10994 `regexp-opt', it breaks the build during dumping.
10995
10996 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10997
10998 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10999 Highlight keyword-like methods on Kernel and Module with
11000 font-lock-builtin-face.
11001 (auto-mode-alist): Consolidate different entries into one regexp
11002 and add more *file-s.
11003
11004 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11005
11006 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11007
11008 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11009 (diary-entry): Use it in the action of this button type instead of
11010 diary-goto-entry.
11011
11012 * calendar/todo-mode.el: New version.
11013 (todo-add-category): Append new category to end of file and give
11014 it the highest number, instead of putting it at the beginning and
11015 giving it 0. Incorporate noninteractive functionality.
11016 (todo-forward-category): Adapt to 1-based category numbering.
11017 Allow skipping over archived categories.
11018 (todo-backward-category): Derive from todo-forward-category.
11019 (todo-backward-item, todo-forward-item): Make noninteractive and
11020 delegate interactive part to new commands. Make sensitive to done items.
11021 (todo-categories): Make value an alist of category names and
11022 vectors of item counts.
11023 (todo-category-beg): Make a defconst.
11024 (todo-category-number): Use 1 instead of 0 as initial value.
11025 (todo-category-select): Make sensitive to overlays, optional item
11026 highlighting and done items.
11027 (todo-delete-item): Make sensitive to overlays and marked and done items.
11028 (todo-edit-item): Make sensitive to overlays and editing of
11029 date/time header optional. Add format checks.
11030 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11031 no-op if point is not on an item. Advertise using todo-edit-quit.
11032 (todo-edit-mode): Make sensitive to new format, font-locking, and
11033 multiple todo files.
11034 (todo-insert-item, todo-insert-item-here): Derive from
11035 todo-basic-insert-item and extend functionality.
11036 (todo-item-end, todo-item-start): Make sensitive to done items.
11037 (todo-item-string): Don't return text properties. Restore point.
11038 (todo-jump-to-category): Make sensitive to multiple todo files and
11039 todo archives. Use extended category completion.
11040 (todo-lower-item, todo-raise-item): Rename to *-priority and
11041 derive from todo-set-item-priority.
11042 (todo-mode): Derive from special-mode. Make sensitive to new
11043 format, font-locking and multiple todo files. Make read-only.
11044 (todo-mode-map): Don't suppress digit keys, so they can supply
11045 prefix arguments. Add many new key bindings.
11046 (todo-prefix): Insert as an overlay instead of file text.
11047 Change semantics from diary date expression to purely visual mark.
11048 (todo-print): Rename to todo-print-buffer. Make buffer display
11049 features printable. Remove option to restrict number of items
11050 printed. Add option to print to file.
11051 (todo-print-function): Rename to todo-print-buffer-function.
11052 (todo-quit): Extend to handle exiting new todo modes.
11053 (todo-remove-item): Make sensitive to overlays.
11054 (todo-save): Extend to buffers of filtered items.
11055 (todo-show): Make sensitive to done items, multiple todo files and
11056 new todo modes. Offer to convert legacy todo file before creating
11057 first new todo file.
11058 (todo-show-priorities): Rename to todo-top-priorities.
11059 Change semantics of value 0.
11060 (todo-top-priorities): Rename to todo-filter-top-priorities,
11061 derive from todo-filter-items and extend functionality.
11062 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11063 and extend functionality to other types of filtered items.
11064 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11065 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11066 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11067 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11068 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11069 (todo-edit-mode-hook, todo-entry-prefix-function)
11070 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11071 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11072 (todo-initials, todo-insert-threshold, todo-item-string-start)
11073 (todo-line-string, todo-menu, todo-mode-hook)
11074 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11075 (todo-print-priorities, todo-remove-separator)
11076 (todo-save-top-priorities-too, todo-string-count-lines)
11077 (todo-string-multiline-p, todo-time-string-format)
11078 (todo-tmp-buffer-name): Remove.
11079 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11080 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11081 (todo-edit-category-diary-inclusion)
11082 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11083 (todo-edit-file, todo-edit-item-date-day)
11084 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11085 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11086 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11087 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11088 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11089 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11090 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11091 (todo-filter-top-priorities-multifile, todo-find-archive)
11092 (todo-find-filtered-items-file, todo-go-to-source-item)
11093 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11094 (todo-jump-to-archive-category, todo-lower-category)
11095 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11096 (todo-move-category, todo-move-item, todo-next-button)
11097 (todo-next-item, todo-padded-string, todo-powerset)
11098 (todo-previous-button, todo-previous-item)
11099 (todo-print-buffer-to-file, todo-raise-category)
11100 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11101 (todo-set-category-number, todo-set-item-priority)
11102 (todo-set-top-priorities-in-category)
11103 (todo-set-top-priorities-in-file, todo-show-categories-table)
11104 (todo-sort-categories-alphabetically-or-numerically)
11105 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11106 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11107 (todo-toggle-item-header, todo-toggle-item-highlighting)
11108 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11109 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11110 (todo-unarchive-items, todo-unmark-category): New commands.
11111 (todo-absolute-file-name, todo-add-to-buffer-list)
11112 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11113 (todo-basic-insert-item, todo-category-completions)
11114 (todo-category-number, todo-category-string-matcher-1)
11115 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11116 (todo-check-format, todo-clear-matches)
11117 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11118 (todo-current-category, todo-date-string-matcher)
11119 (todo-define-insertion-command, todo-diary-expired-matcher)
11120 (todo-diary-goto-entry, todo-diary-item-p)
11121 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11122 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11123 (todo-done-item-section-p, todo-done-separator)
11124 (todo-done-string-matcher, todo-files, todo-filter-items)
11125 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11126 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11127 (todo-insert-category-line, todo-insert-item-from-calendar)
11128 (todo-insert-sort-button, todo-insert-with-overlays)
11129 (todo-insertion-command-name, todo-insertion-key-bindings)
11130 (todo-label-to-key, todo-longest-category-name-length)
11131 (todo-make-categories-list, todo-mode-external-set)
11132 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11133 (todo-modes-set-3, todo-multiple-filter-files)
11134 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11135 (todo-read-category, todo-read-date, todo-read-dayname)
11136 (todo-read-file-name, todo-read-time)
11137 (todo-reevaluate-category-completions-files-defcustom)
11138 (todo-reevaluate-default-file-defcustom)
11139 (todo-reevaluate-filelist-defcustoms)
11140 (todo-reevaluate-filter-files-defcustom)
11141 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11142 (todo-reset-done-separator, todo-reset-done-separator-string)
11143 (todo-reset-done-string, todo-reset-global-current-todo-file)
11144 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11145 (todo-reset-prefix, todo-set-categories)
11146 (todo-set-date-from-calendar, todo-set-show-current-file)
11147 (todo-set-top-priorities, todo-short-file-name)
11148 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11149 (todo-total-item-counts, todo-update-buffer-list)
11150 (todo-update-categories-display, todo-update-categories-sexp)
11151 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11152 New functions.
11153 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11154 New major modes.
11155 (todo-categories, todo-display, todo-edit, todo-faces)
11156 (todo-filtered): New defgroups.
11157 (todo-archived-only, todo-button, todo-category-string, todo-date)
11158 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11159 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11160 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11161 (todo-add-item-if-new-category, todo-always-add-time-string)
11162 (todo-categories-align, todo-categories-archived-label)
11163 (todo-categories-category-label, todo-categories-diary-label)
11164 (todo-categories-done-label, todo-categories-number-separator)
11165 (todo-categories-todo-label, todo-categories-totals-label)
11166 (todo-category-completions-files, todo-completion-ignore-case)
11167 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11168 (todo-done-separator-string, todo-done-string)
11169 (todo-files-function, todo-filter-done-items, todo-filter-files)
11170 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11171 (todo-initial-category, todo-initial-file, todo-item-mark)
11172 (todo-legacy-date-time-regexp, todo-mode-line-function)
11173 (todo-nondiary-marker, todo-number-prefix)
11174 (todo-print-buffer-function, todo-show-current-file)
11175 (todo-show-done-only, todo-show-first, todo-show-with-done)
11176 (todo-skip-archived-categories, todo-top-priorities-overrides)
11177 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11178 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11179 New defcustoms.
11180 (todo-category-done, todo-date-pattern, todo-date-string-start)
11181 (todo-diary-items-buffer, todo-done-string-start)
11182 (todo-filtered-items-buffer, todo-item-start)
11183 (todo-month-abbrev-array, todo-month-name-array)
11184 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11185 (todo-top-priorities-buffer): New defconsts.
11186 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11187 (todo-categories-with-marks, todo-category-string-face)
11188 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11189 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11190 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11191 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11192 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11193 (todo-font-lock-keywords, todo-global-current-todo-file)
11194 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11195 (todo-insertion-commands-args)
11196 (todo-insertion-commands-args-genlist)
11197 (todo-insertion-commands-names, todo-insertion-map)
11198 (todo-key-bindings-t, todo-key-bindings-t+a)
11199 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11200 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11201 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11202 (todo-visited): New variables.
11203
11204 2013-06-21 Glenn Morris <rgm@gnu.org>
11205
11206 * play/cookie1.el (cookie-apropos): Add optional display argument.
11207 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11208 (psychoanalyze-pinhead): Use cookie-doctor.
11209
11210 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11211
11212 * emacs-lisp/package.el (tar-get-file-descriptor)
11213 (tar--extract): Declare.
11214
11215 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11216
11217 Extend flymake's warning predicate to be a function (bug#14217).
11218 * progmodes/flymake.el (flymake-warning-predicate): New.
11219 (flymake-parse-line): Use it.
11220 (flymake-warning-re): Make obsolete alias to
11221 `flymake-warning-predicate'.
11222
11223 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11224
11225 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11226 (package-obsolete-list): Remove.
11227 (package-activate): Remove min-version argument. Add `force' argument.
11228 Adjust to new package-alist format.
11229 (package-mark-obsolete): Remove.
11230 (package-unpack): Force reload of the package's autoloads.
11231 (package-installed-p): Check builtins if the installed package is not
11232 recent enough.
11233 (package-initialize): Don't reset package-obsolete-list.
11234 Don't specify which package version to activate.
11235 (package-process-define-package, describe-package-1)
11236 (package-menu--generate): Adjust to new package-alist format.
11237
11238 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11239
11240 * allout-widgets.el (allout-widgets-mode-off)
11241 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11242 (allout-widgets-post-command-business)
11243 (allout-widgets-after-copy-or-kill-function)
11244 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11245 (allout-decorate-item-and-context)
11246 (allout-graphics-modification-handler): Fix typos in docstrings.
11247 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11248
11249 * cmuscheme.el (scheme-start-file): Doc fix.
11250 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11251 (scheme-input-filter): Use `string-match-p'.
11252
11253 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11254
11255 * dired-x.el: Use Dired consistently in docstrings.
11256
11257 * dired.el: Use Dired consistently in docstrings.
11258 (dired-readin, dired-mode): Use `setq-local'.
11259 (dired-switches-alist): Make defvar-local.
11260 (dired-buffers-for-dir): Use `zerop'.
11261 (dired-safe-switches-p, dired-switches-escape-p)
11262 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11263 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11264 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11265 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11266 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11267 (dired-toggle-marks, dired-mark-files-containing-regexp)
11268 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11269 (dired-flag-auto-save-files, dired-flag-backup-files):
11270 Use `looking-at-p'.
11271 (dired-mark-files-regexp, dired-build-subdir-alist):
11272 Use `string-match-p', `looking-at-p'.
11273
11274 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11275 (direct-print-region-helper): Use `string-match-p'.
11276
11277 2013-06-21 Leo Liu <sdl.web@gmail.com>
11278
11279 * comint.el (comint-redirect-results-list-from-process):
11280 Fix infinite loop.
11281
11282 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11283
11284 * net/eww.el (eww-update-header-line-format): Quote % characters.
11285
11286 2013-06-21 Glenn Morris <rgm@gnu.org>
11287
11288 * play/cookie1.el (cookie): New custom group.
11289 (cookie-file): New option.
11290 (cookie-check-file): New function.
11291 (cookie): Make it interactive. Make start and end messages optional.
11292 Interactively, display the result. Default to cookie-file.
11293 (cookie-insert): Default to cookie-file.
11294 (cookie-snarf): Make start and end messages optional.
11295 Default to cookie-file. Use with-temp-buffer.
11296 (cookie-read): Rename from read-cookie.
11297 Make start and end messages optional. Default to cookie-file.
11298 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11299 Do not autoload it.
11300 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11301 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11302
11303 2013-06-21 Leo Liu <sdl.web@gmail.com>
11304
11305 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11306
11307 2013-06-21 Glenn Morris <rgm@gnu.org>
11308
11309 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11310
11311 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11312 Daniel Hackney <dan@haxney.org>
11313
11314 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11315 Consolidate the single-file vs tarball code.
11316 (package-desc-suffix): New function.
11317 (package-desc-full-name): Don't bother inlining it.
11318 (package-load-descriptor): Return the new package-desc.
11319 (package-mark-obsolete): Remove unused arg `package'.
11320 (package-unpack): Make it work for single files as well.
11321 Make it update package-alist.
11322 (package--make-autoloads-and-stuff): Rename from
11323 package--make-autoloads-and-compile. Don't compile any more.
11324 (package--compile): New function.
11325 (package-generate-description-file): New function, extracted from
11326 package-unpack-single.
11327 (package-unpack-single): Remove.
11328 (package--with-work-buffer): Add indentation and debugging info.
11329 (package-download-single): Remove.
11330 (package-install-from-archive): Rename from package-download-tar, make
11331 it take a pkg-desc, and make it work for single files as well.
11332 (package-download-transaction): Simplify.
11333 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11334 external tar program.
11335 (package-install-from-buffer): Remove `pkg-desc' argument.
11336 Use package-tar-file-info for tar-mode buffers.
11337 (package-install-file): Simplify accordingly.
11338 (package-archive-base): Change to take a pkg-desc.
11339 * tar-mode.el (tar--check-descriptor): New function, extracted from
11340 tar-get-descriptor.
11341 (tar-get-descriptor): Use it.
11342 (tar-get-file-descriptor): New function.
11343 (tar--extract): New function, extracted from tar-extract.
11344 (tar--extract): Use it.
11345 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11346 case the summary uses non-ascii. Adjust to new calling convention of
11347 package-tar-file-info.
11348
11349 2013-06-21 Leo Liu <sdl.web@gmail.com>
11350
11351 * comint.el (comint-redirect-results-list-from-process):
11352 Fix random delay. (Bug#14681)
11353
11354 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11355
11356 * profiler.el (profiler-format-number): Use log, not log10.
11357
11358 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11359
11360 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11361
11362 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11363
11364 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11365 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11366 yet available.
11367 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11368 (AUTOGENEL): ... here.
11369 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11370 (cl--defsubst-expand): Use it.
11371
11372 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11373
11374 * subr.el (log10): Move here from C code, and declare as obsolete.
11375 All uses of (log10 X) replaced with (log X 10).
11376
11377 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11378
11379 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11380 Declare with `defvar-local'.
11381 (tabulated-list-use-header-line, tabulated-list-entries)
11382 (tabulated-list-padding, tabulated-list-printer)
11383 (tabulated-list-sort-key): Declare with `defvar-local'.
11384 (tabulated-list-init-header, tabulated-list-print-fake-header):
11385 Use `setq-local'.
11386
11387 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11388
11389 * arc-mode.el (archive-mode): Add `archive-write-file' to
11390 `write-contents-functions' also for remote files. (Bug#14652)
11391
11392 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11393
11394 * cus-edit.el (custom-commands): Fix typos.
11395 (custom-display): Fix tooltip text.
11396 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11397 Fix typos in docstrings.
11398 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11399 (custom-unlispify-menu-entry, custom-magic-value-create)
11400 (custom-add-see-also, custom-group-value-create): Use ?\s.
11401 (custom-guess-type, customize-apropos, editable-field)
11402 (custom-face-value-create): Use `string-match-p'.
11403 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11404
11405 * custom.el (custom-load-symbol): Use `string-match-p'.
11406
11407 * ansi-color.el: Convert to lexical binding.
11408 (ansi-colors): Fix URL.
11409 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11410 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11411 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11412
11413 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11414
11415 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11416
11417 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11418
11419 2013-06-19 Tom Tromey <tromey@redhat.com>
11420
11421 * net/eww.el (eww-top-url): Remove.
11422 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11423 (eww-render): Set new variables. Don't set eww-top-url.
11424 (eww-handle-link): Handle "prev", "home", and "contents".
11425 Downcase the rel text.
11426 (eww-top-url): Choose best top URL.
11427
11428 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11429
11430 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11431 relying in widget.el. Using widget.el leads to too many
11432 user interface inconsistencies.
11433 (eww-self-insert): Implement entering commands in text fields.
11434 (eww-process-text-input): New function to make text input field editing
11435 work.
11436 (eww-submit): Rewrite to use the new-style form methods.
11437 (eww-select-display): Display the correct selected item.
11438 (eww-change-select): Implement changing the select value.
11439 (eww-toggle-checkbox): Implement radio/checkboxes.
11440 (eww-update-field): Fix compilation error.
11441 (eww-tag-textarea): Implement <textarea>.
11442
11443 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11444 we don't shadow mode-specific bindings.
11445
11446 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11447 nothing to push.
11448
11449 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11450
11451 2013-06-19 Glenn Morris <rgm@gnu.org>
11452
11453 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11454
11455 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11456
11457 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11458 not needed.
11459
11460 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11461
11462 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11463
11464 * net/browse-url.el (browse-url-browser-function):
11465 `eww-browse-url' has the right calling signature, `eww' does not.
11466
11467 2013-06-19 Glenn Morris <rgm@gnu.org>
11468
11469 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11470 Only eval autoloaded macros.
11471 (byte-compile-autoload): Only give the macro warning for macros.
11472
11473 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11474 (ps-underlined-faces): Declare.
11475
11476 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11477 (speedbar-add-supported-extension): Declare.
11478
11479 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11480 Don't include a date stamp in the header of the generated file;
11481 it leads to needless differences between output files.
11482
11483 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11484
11485 * net/secrets.el (secrets-struct-secret-content-type):
11486 Replace check of introspection data by a test call of "CreateItem".
11487 Some servers do not offer introspection.
11488
11489 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11490
11491 * electric.el (electric-pair-mode): Improve interaction with
11492 electric-layout-mode.
11493 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11494 (electric-pair-syntax): Use text-mode-syntax-table in comments
11495 and strings.
11496 (electric-pair--insert): New function.
11497 (electric-pair-post-self-insert-function): Use it and
11498 electric--after-char-pos.
11499
11500 2013-06-19 Leo Liu <sdl.web@gmail.com>
11501
11502 * progmodes/octave.el (octave-help): Fix regexp.
11503
11504 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11505
11506 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11507 (shr-table-horizontal-line): Allow nil as a value, and change the
11508 default.
11509 (shr-insert-table-ruler): Respect the nil value.
11510
11511 2013-06-18 Tom Tromey <tromey@barimba>
11512
11513 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11514 New defvars.
11515 (eww-open-file): New defun.
11516 (eww-render): Initialize new variables.
11517 (eww-display-html): Handle "link" and "a".
11518 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11519 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11520 (eww-back-url): Rename from eww-previous-url.
11521 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11522 New defuns.
11523
11524 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11525
11526 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11527 Distinguish ternary operator tokens from slash symbol and slash
11528 char literal.
11529
11530 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11531
11532 Convert symbol prettification into minor mode and global minor mode.
11533
11534 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11535 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11536 (prettify-symbols--keywords): Rename from
11537 `prog-prettify-symbols-alist' and make a local defvar.
11538 (prettify-symbols--compose-symbol): Rename from
11539 `prog--prettify-font-lock-compose-symbol'.
11540 (prettify-symbols--make-keywords): Rename from
11541 `prog-prettify-font-lock-symbols-keywords' and simplify.
11542 (prog-prettify-install): Remove.
11543 (prettify-symbols-mode): New minor mode, based on
11544 `prog-prettify-install'.
11545 (turn-on-prettify-symbols-mode): New function.
11546 (global-prettify-symbols-mode): New globalized minor mode.
11547
11548 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11549 * progmodes/cfengine.el (cfengine3-mode):
11550 * progmodes/perl-mode.el (perl-mode): Don't call
11551 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11552
11553 2013-06-18 Juri Linkov <juri@jurta.org>
11554
11555 * files-x.el (modify-file-local-variable-message): New function.
11556 (modify-file-local-variable)
11557 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11558 and call `modify-file-local-variable-message' when it's non-nil.
11559 (add-file-local-variable, delete-file-local-variable)
11560 (add-file-local-variable-prop-line)
11561 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11562 and use it. (Bug#9820)
11563
11564 2013-06-18 Juri Linkov <juri@jurta.org>
11565
11566 * emulation/vi.el (vi-shell-op):
11567 * emulation/vip.el (vip-execute-com, ex-command):
11568 * emulation/viper-cmd.el (viper-exec-bang):
11569 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11570 the call of `shell-command-on-region'. (Bug#14637)
11571
11572 * simple.el (shell-command-on-region): Doc fix.
11573
11574 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11575
11576 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11577 (bug#14633).
11578
11579 2013-06-18 Glenn Morris <rgm@gnu.org>
11580
11581 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11582
11583 * newcomment.el (comment-search-forward, comment-search-backward):
11584 Doc fix. (Bug#14376)
11585
11586 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11587
11588 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11589 (buffer-face-mode-invoke): Doc fix.
11590
11591 2013-06-18 Matthias Meulien <orontee@gmail.com>
11592
11593 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11594 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11595
11596 2013-06-18 Glenn Morris <rgm@gnu.org>
11597
11598 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11599 Replace obsolete function generic-make-keywords with its expansion.
11600
11601 * progmodes/python.el (ffap-alist): Declare.
11602
11603 * textmodes/reftex.el (bibtex-mode-map): Declare.
11604
11605 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11606
11607 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11608 (package-unpack, package-unpack-single): Return the pkg-dir.
11609 (package-download-transaction): Use it to update package-alist.
11610
11611 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11612
11613 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11614 possible choice.
11615
11616 2013-06-17 Juri Linkov <juri@jurta.org>
11617
11618 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11619
11620 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11621
11622 * emacs-lisp/package.el (package-load-descriptor):
11623 Remove `with-syntax-table' call, `read' doesn't need it.
11624 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11625
11626 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11627
11628 * startup.el (command-line): Expand package name returned by
11629 `package--description-file' (bug#14639).
11630
11631 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11632
11633 * emacs-lisp/package.el (package-load-descriptor): Do not call
11634 `emacs-lisp-mode', just use its syntax table.
11635
11636 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11637
11638 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11639 `font-lock-extra-managed-props' if any prettifying keyword is added.
11640 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11641 (prog-mode): Use `setq-local'.
11642
11643 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11644
11645 * international/characters.el (standard-case-table): Set syntax of ?»
11646 and ?« to punctuation.
11647
11648 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11649
11650 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11651 Save relevant match data before calling `syntax-ppss' (bug#14595).
11652
11653 2013-06-15 Juri Linkov <juri@jurta.org>
11654
11655 * files-x.el (modify-file-local-variable-prop-line): Add local
11656 variables to the end of the existing comment on the first line.
11657 Use `file-auto-mode-skip' to skip interpreter magic line,
11658 and also skip XML declaration.
11659
11660 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11661
11662 * startup.el (package--builtin-versions): New var.
11663 (package-subdirectory-regexp): Remove.
11664 (package--description-file): Hard code its value instead.
11665
11666 * emacs-lisp/package.el: Don't activate packages older than builtin.
11667 (package-obsolete-list): Rename from package-obsolete-alist, and make
11668 it into a simple list of package-desc.
11669 (package-strip-version): Remove.
11670 (package-built-in-p): Use package--builtin-versions.
11671 (package-mark-obsolete): Simplify.
11672 (package-process-define-package): Mark it obsolete if older than the
11673 builtin version.
11674 (package-handle-response): Use line-end-position.
11675 (package-read-archive-contents, package--download-one-archive):
11676 Simplify.
11677 (package--add-to-archive-contents): Skip if older than the builtin or
11678 installed version.
11679 (package-menu-describe-package): Fix last change.
11680 (package-list-unversioned): New var.
11681 (package-menu--generate): Use it.
11682
11683 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11684 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11685 (autoload-builtin-package-versions): New variable.
11686 (autoload-generate-file-autoloads): Use them.
11687 Remove the list of autoloaded functions/macros from the
11688 (autoload...) comments.
11689
11690 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11691
11692 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11693
11694 * simple.el (line-move-partial): Don't jump to the next screen
11695 line as soon as it becomes visible. Instead, continue enlarging
11696 the vscroll until the portion of a tall screen line that's left on
11697 display is about the height of the frame's default font.
11698 (Bug#14567)
11699
11700 2013-06-15 Glenn Morris <rgm@gnu.org>
11701
11702 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11703 compilation-error-regexp-alist void, or local while let-bound.
11704
11705 * progmodes/make-mode.el (makefile-mode-syntax-table):
11706 Treat "=" as punctuation. (Bug#14614)
11707
11708 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11709
11710 * help-fns.el (describe-variable):
11711 Add extra line for permanent-local variables.
11712
11713 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11714
11715 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11716 Add export, import, library. (Bug#9164)
11717 (library): Set indent function.
11718
11719 2013-06-14 Glenn Morris <rgm@gnu.org>
11720
11721 * term/xterm.el (xterm--query):
11722 Stop after first matching handler. (Bug#14615)
11723
11724 2013-06-14 Ivan Kanis <ivan@kanis.fr>
11725
11726 Add support for dired in saveplace.
11727 * dired.el (dired-initial-position-hook): New variable.
11728 (dired-initial-position): Call hook to place cursor position.
11729 * saveplace.el (save-place-to-alist): Add dired position.
11730 (save-place-dired-hook): New function.
11731
11732 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11733
11734 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11735 through a symbol rather than letrec.
11736
11737 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11738 (package-desc): Add `dir' field.
11739 (package-desc-full-name): New function.
11740 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11741 (package-maybe-load-descriptor): Remove.
11742 (package-load-all-descriptors): Just call package-load-descriptor.
11743 (package--disabled-p): New function.
11744 (package-desc-vers, package-desc-doc): Remove aliases.
11745 (package--dir): Remove function.
11746 (package-activate): Check if a package is disabled.
11747 (package-process-define-package): New function, extracted from
11748 define-package.
11749 (define-package): Turn into a place holder.
11750 (package-unpack-single, package-tar-file-info):
11751 Use package--description-file.
11752 (package-compute-transaction): Use package--disabled-p.
11753 (package-download-transaction): Don't call
11754 package-maybe-load-descriptor since they're all loaded anyway.
11755 (package-install): Change argument to be a pkg-desc.
11756 (package-delete): Use a single pkg-desc argument.
11757 (describe-package-1): Use package-desc-dir instead of package--dir.
11758 Use package-desc property instead of package-symbol.
11759 (package-install-button-action): Adjust accordingly.
11760 (package--push): Rewrite.
11761 (package-menu--print-info): Adjust accordingly. Change the ID format
11762 to be a pkg-desc.
11763 (package-menu-describe-package, package-menu-get-status)
11764 (package-menu--find-upgrades, package-menu-mark-upgrades)
11765 (package-menu-execute, package-menu--name-predicate):
11766 Adjust accordingly.
11767 * startup.el (package--description-file): New function.
11768 (command-line): Use it.
11769 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11770 Use package-desc-version.
11771
11772 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11773 (byte-compile-preprocess): Use it.
11774 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11775 can't quite recognize.
11776 (byte-compile-add-to-list): Remove.
11777 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11778 (cconv-closure-convert): Add assertion.
11779
11780 * emacs-lisp/map-ynp.el: Use lexical-binding.
11781 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11782 Factor out some repeated code.
11783
11784 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * subr.el (with-eval-after-load): New macro.
11787 (eval-after-load): Allow form to be a function.
11788 take advantage of lexical-binding.
11789 (do-after-load-evaluation): Use dolist and adjust to new format.
11790 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11791
11792 2013-06-13 Juri Linkov <juri@jurta.org>
11793
11794 * replace.el (perform-replace): Display "symbol " and other search
11795 modes from `isearch-message-prefix' in the *Help* buffer.
11796
11797 * isearch.el (isearch-query-replace): Add " symbol" and other
11798 possible search modes from `isearch-message-prefix' to the prompt.
11799 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11800 when reading a regexp to collect.
11801
11802 2013-06-13 Juri Linkov <juri@jurta.org>
11803
11804 * isearch.el (word-search-regexp): Match whitespace if the search
11805 string begins or ends in whitespace. The LAX arg is applied to
11806 both ends of the search string. Use `regexp-quote' and explicit
11807 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11808 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11809 boundaries are replaced with symbol boundaries, and characters
11810 between symbols match non-word non-symbol syntax. (Bug#14602)
11811
11812 2013-06-13 Juri Linkov <juri@jurta.org>
11813
11814 * isearch.el (isearch-del-char): Don't exceed the length of
11815 `isearch-string' by the prefix arg. (Bug#14563)
11816
11817 2013-06-13 Juri Linkov <juri@jurta.org>
11818
11819 * isearch.el (isearch-yank-word, isearch-yank-line)
11820 (isearch-char-by-name, isearch-quote-char)
11821 (isearch-printing-char, isearch-process-search-char):
11822 Add optional count prefix arg. (Bug#14563)
11823
11824 * international/isearch-x.el
11825 (isearch-process-search-multibyte-characters):
11826 Add optional count prefix arg.
11827
11828 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11829
11830 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11831 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11832 lexical-binding.
11833
11834 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11835
11836 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11837
11838 2013-06-13 Glenn Morris <rgm@gnu.org>
11839
11840 * startup.el (tty-handle-args):
11841 Don't just discard "--" and anything after. (Bug#14608)
11842
11843 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11844
11845 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11846
11847 Implement changes in Secret Service API. Make it backward compatible.
11848 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11849 (secrets-create-item): Use it. Prefix properties with interface.
11850
11851 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11852
11853 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11854 (term-emulate-terminal): Respect term-suppress-hard-newline.
11855
11856 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11857
11858 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11859 Only remove a `thumb-file' overlay. (Bug#14548)
11860
11861 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11862
11863 * mail/reporter.el (reporter-submit-bug-report):
11864 Handle missing package-name. (Bug#14600)
11865
11866 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11867
11868 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11869 (reftex-citation-prompt, reftex-default-bibliography)
11870 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11871 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11872 (reftex-bib-sort-author, reftex-bib-sort-year)
11873 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11874 (reftex-extract-bib-entries-from-thebibliography)
11875 (reftex-get-bibkey-default, reftex-get-bib-names)
11876 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11877 (reftex-format-bib-entry, reftex-parse-bibitem)
11878 (reftex-format-bibitem, reftex-do-citation)
11879 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11880 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11881 (reftex-insert-bib-matches, reftex-format-citation)
11882 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11883 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11884 existing comments into docstrings.
11885
11886 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11887
11888 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11889
11890 2013-06-12 Andreas Schwab <schwab@suse.de>
11891
11892 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11893 for auto-save files.
11894
11895 2013-06-12 Glenn Morris <rgm@gnu.org>
11896
11897 * ido.el (ido-delete-ignored-files): Remove.
11898 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11899 Go back to calling ido-ignore-item-p directly.
11900
11901 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11902
11903 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11904
11905 * ido.el (ido-delete-ignored-files): New function,
11906 split from ido-make-file-list-1.
11907 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11908 (ido-make-file-list-1): Use ido-delete-ignored-files.
11909
11910 2013-06-12 Leo Liu <sdl.web@gmail.com>
11911
11912 * progmodes/octave.el (inferior-octave-startup)
11913 (inferior-octave-completion-table)
11914 (inferior-octave-track-window-width-change)
11915 (octave-eldoc-function-signatures, octave-help)
11916 (octave-find-definition): Use single quoted strings.
11917 (inferior-octave-startup-args): Change default value.
11918 (inferior-octave-startup): Do not hard code "-i" and
11919 "--no-line-editing".
11920 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11921 (inferior-octave-directory-tracker): Use it.
11922 (octave-goto-function-definition): Robustify.
11923 (octave-help): Support highlighting operators in 'See also'.
11924 (octave-find-definition): Find subfunctions only in Octave mode.
11925
11926 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11927
11928 * help-fns.el (help-fns--compiler-macro): If the handler function is
11929 named, then put a link to it.
11930 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11931 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11932 (cl-typep): Use it.
11933 (cl-eval-when): Simplify debug spec.
11934 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11935 compiler-macro function instead of setting `compiler-macro-file'.
11936
11937 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11938
11939 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11940 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11941
11942 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11943 Daniel Hackney <dan@haxney.org>
11944
11945 First part of Daniel Hackney's patch to package.el.
11946 * emacs-lisp/package.el: Use defstruct.
11947 (package-desc): New, main struct.
11948 (package--bi-desc, package--ac-desc): New structs, used to describe the
11949 format in external files.
11950 (package-desc-vers): Replace with package-desc-version accessor.
11951 (package-desc-doc): Replace with package-desc-summary accessor.
11952 (package-activate-1): Remove `package' arg since the pkg-vec now
11953 includes the name.
11954 (define-package): Use package-desc-from-define.
11955 (package-unpack-single): Change file-name arg to be a symbol.
11956 (package--add-to-archive-contents): Use package-desc-create and new
11957 accessor functions to package--ac-desc.
11958 (package-buffer-info, package-tar-file-info): Return a package-desc.
11959 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11960 arg to be a package-desc.
11961 (package-install-file): Adjust accordingly. Use \' to match EOS.
11962 (package--from-builtin): New function.
11963 (describe-package-1, package-menu--generate): Use it.
11964 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11965 (package-generate-autoloads): Idem and return the name of the file.
11966 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11967 Change pkg-info arg to be a package-desc.
11968 Use package-make-ac-desc.
11969 (package-upload-file): Use \' to match EOS.
11970 * finder.el (finder-compile-keywords): Use package-make-builtin.
11971
11972 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11973
11974 * vc/vc.el (vc-deduce-fileset): Change error message.
11975 (vc-read-backend): New function.
11976 (vc-next-action): Use it.
11977
11978 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11979
11980 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11981 (prolog-font-lock-keywords): Use regexp-opt instead.
11982 Don't manually highlight strings.
11983 (prolog-mode-variables): Simplify comment-start-skip.
11984 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11985
11986 * emacs-lisp/generic.el (generic--normalise-comments)
11987 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11988 (generic-mode-set-comments): Use them.
11989 (generic-bracket-support): Use setq-local.
11990 (generic-make-keywords-list): Declare obsolete.
11991
11992 2013-06-11 Glenn Morris <rgm@gnu.org>
11993
11994 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11995 Prettify after setting font-lock-defaults. (Bug#14574)
11996
11997 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11998
11999 * replace.el (query-replace, occur-read-regexp-defaults-function)
12000 (replace-search):
12001 * subr.el (declare-function, number-sequence, local-set-key)
12002 (substitute-key-definition, locate-user-emacs-file)
12003 (with-silent-modifications, split-string, eval-after-load):
12004 Fix typos, remove unneeded backslashes and reflow some docstrings.
12005
12006 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12009 default for Elisp files.
12010
12011 2013-06-11 Glenn Morris <rgm@gnu.org>
12012
12013 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12014 although define-derived-mode was doing this anyway. (Bug#14583)
12015
12016 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12017
12018 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12019 Fix make-variable-buffer-local call to refer to the correct variable.
12020
12021 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12022
12023 * eshell/em-term.el (eshell-visual-commands)
12024 (eshell-visual-subcommands, eshell-visual-options):
12025 Add summary line to docstrings. Add cross-references.
12026
12027 2013-06-10 Glenn Morris <rgm@gnu.org>
12028
12029 * epa.el (epa-read-file-name): New function. (Bug#14510)
12030 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12031
12032 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12033
12034 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12035 output redirection to be ignored with visual commands.
12036
12037 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12038
12039 * eshell/em-term.el (eshell-visual-command-p): New function.
12040 (eshell-term-initialize): Move long lambda to separate function
12041 eshell-visual-command-p.
12042 * eshell/em-dirs.el (eshell-dirs-initialize):
12043 * eshell/em-script.el (eshell-script-initialize):
12044 Add missing #' to lambda.
12045
12046 2013-06-08 Leo Liu <sdl.web@gmail.com>
12047
12048 * progmodes/octave.el (octave-add-log-current-defun): New function.
12049 (octave-mode): Set add-log-current-defun-function.
12050 (octave-goto-function-definition): Do not move point if not found.
12051 (octave-find-definition): Enhance to try subfunctions first.
12052
12053 2013-06-08 Glenn Morris <rgm@gnu.org>
12054
12055 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12056 (byte-compile-backward-char, byte-compile-backward-word):
12057 Improve previous change, to handle non-explicit nil.
12058
12059 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12062 (smie--opener/closer-at-point): New function.
12063 (smie--matching-block-data): Use it. Don't match from right after an
12064 opener or right before a closer. Obey smie-blink-matching-inners.
12065 Don't signal a mismatch for repeated inners like "switch..case..case".
12066
12067 2013-06-07 Leo Liu <sdl.web@gmail.com>
12068
12069 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12070 to t. (Bug#14303)
12071 (octave-function-header-regexp): Fix. (Bug#14570)
12072 (octave-help-mode-finish-hook, octave-help-mode-finish):
12073 Remove. Just use temp-buffer-show-hook.
12074
12075 * newcomment.el (comment-search-backward): Revert last change.
12076 (Bug#14434)
12077
12078 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12079
12080 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12081
12082 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12083 through xargs, to avoid failure due to MS-Windows limitations on
12084 command-line length.
12085
12086 2013-06-06 Glenn Morris <rgm@gnu.org>
12087
12088 * font-lock.el (lisp-font-lock-keywords-2):
12089 Treat user-error like error.
12090
12091 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12092 (byte-compile-backward-char, byte-compile-backward-word):
12093 Handle explicit nil arguments. (Bug#14565)
12094
12095 2013-06-05 Alan Mackenzie <acm@muc.de>
12096
12097 * isearch.el (isearch-allow-prefix): New user option.
12098 (isearch-other-meta-char): Don't exit isearch when a prefix
12099 argument is typed whilst `isearch-allow-prefix' is non-nil.
12100 (Bug#9706)
12101
12102 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12103
12104 * autorevert.el (auto-revert-notify-handler): Use memq.
12105 Hide assertion failure.
12106
12107 * skeleton.el: Use cl-lib.
12108 (skeleton-further-elements): Use defvar-local.
12109 (skeleton-insert): Use cl-progv.
12110
12111 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12112
12113 * progmodes/prog-mode.el (prog-prettify-symbols)
12114 (prog-prettify-install): Update docstrings.
12115
12116 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * simple.el: Move all the prog-mode code to prog-mode.el.
12119 * progmodes/prog-mode.el: New file.
12120 * loadup.el: Add prog-mode.el.
12121
12122 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12123
12124 * simple.el (prog-prettify-symbols): Add version.
12125 (prog-prettify-install): Add convenience function to prettify symbols.
12126
12127 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12128 (perl--augmented-font-lock-keywords-1)
12129 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12130 variables and use it.
12131
12132 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12133 (cfengine3-mode): Remove unneeded variable and use it.
12134
12135 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12136 (lisp--augmented-font-lock-keywords-1)
12137 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12138 Remove unneeded variables and use it.
12139
12140 2013-06-05 João Távora <joaotavora@gmail.com>
12141
12142 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12143 to point when opening the connection. (Bug#14380)
12144
12145 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12146
12147 * subr.el (load-history-regexp, load-history-filename-element)
12148 (eval-after-load, after-load-functions, do-after-load-evaluation)
12149 (eval-next-after-load, display-delayed-warnings)
12150 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12151 definition of save-match-data.
12152 (overriding-local-map): Remove accidental obsolescence declaration.
12153
12154 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12155
12156 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12157
12158 Generalize symbol prettify support to prog-mode and implement it
12159 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12160 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12161 (prog--prettify-font-lock-compose-symbol)
12162 (prog-prettify-font-lock-symbols-keywords): New variables and
12163 functions to support symbol prettification.
12164 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12165 (lisp--augmented-font-lock-keywords-1)
12166 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12167 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12168 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12169 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12170 Implement prettify of -> => :: strings.
12171 * progmodes/perl-mode.el (perl-prettify-symbols)
12172 (perl--font-lock-compose-symbol)
12173 (perl--font-lock-symbols-keywords): Move to prog-mode.
12174 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12175 (perl-font-lock-keywords-1)
12176 (perl-font-lock-keywords-2): Remove explicit prettify support.
12177 (perl--augmented-font-lock-keywords)
12178 (perl--augmented-font-lock-keywords-1)
12179 (perl--augmented-font-lock-keywords-2, perl-mode):
12180 Implement prettify support.
12181
12182 2013-06-05 Leo Liu <sdl.web@gmail.com>
12183
12184 Re-implement SMIE matching block highlight using
12185 show-paren-data-function. (Bug#14395)
12186 * emacs-lisp/smie.el (smie-matching-block-highlight)
12187 (smie--highlight-matching-block-overlay)
12188 (smie--highlight-matching-block-lastpos)
12189 (smie-highlight-matching-block)
12190 (smie-highlight-matching-block-mode): Remove.
12191 (smie--matching-block-data-cache): New variable.
12192 (smie--matching-block-data): New function.
12193 (smie-setup): Use smie--matching-block-data for
12194 show-paren-data-function.
12195
12196 * progmodes/octave.el (octave-mode-menu): Fix.
12197 (octave-find-definition): Skip garbage lines.
12198
12199 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12200
12201 Fix compilation error with simultaneous dynamic+lexical scoping.
12202 Add warning when a defvar appears after the first let-binding.
12203 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12204 (byte-compile-close-variables): Initialize it.
12205 (byte-compile--declare-var): New function.
12206 (byte-compile-file-form-defvar)
12207 (byte-compile-file-form-define-abbrev-table)
12208 (byte-compile-file-form-custom-declare-variable): Use it.
12209 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12210 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12211 (byte-compile-bind): Handle dynamic bindings that shadow
12212 lexical bindings.
12213 (byte-compile-unbind): Make arg non-optional.
12214 (byte-compile-let): Simplify.
12215 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12216 (cconv--analyse-function, cconv-analyse-form): Populate it.
12217 Protect byte-compile-bound-variables to limit the scope of defvars.
12218 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12219 Remove unneeded rule for `declare'.
12220
12221 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12222 so as to avoid depending on cl-adjoin at run-time.
12223 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12224
12225 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12226 (macroexp--warn-and-return): Use it.
12227
12228 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12229
12230 * subr.el: Convert to lexical binding.
12231 (overriding-local-map): Make obsolete.
12232 (add-to-list): Doc fix. Add compiler macro.
12233 (read-key): Swap values of local maps.
12234
12235 2013-06-05 Leo Liu <sdl.web@gmail.com>
12236
12237 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12238
12239 2013-06-04 Leo Liu <sdl.web@gmail.com>
12240
12241 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12242 (compilation-auto-jump): Suppress the "Mark set" message to give
12243 way to exit message.
12244
12245 2013-06-04 Alan Mackenzie <acm@muc.de>
12246
12247 Remove faulty optimisation from indentation calculation.
12248 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12249 search limit based on 2000 characters back from indent-point.
12250
12251 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12252
12253 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12254
12255 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12256
12257 * emacs-lisp/lisp.el: Use lexical-binding.
12258 (lisp--local-variables-1, lisp--local-variables): New functions.
12259 (lisp--local-variables-completion-table): New var.
12260 (lisp-completion-at-point): Use it complete let-bound vars.
12261
12262 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12263 eagerly (bug#14422).
12264
12265 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12266
12267 * autorevert.el (auto-revert-notify-enabled)
12268 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12269 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12270 (auto-revert-notify-handler): Handle also gfilenotify.
12271
12272 * subr.el (file-notify-handle-event): New defun. Replacing ...
12273 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12274 Remove.
12275
12276 2013-06-03 Juri Linkov <juri@jurta.org>
12277
12278 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12279 `M-s h .'. (Bug#14427)
12280
12281 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12282 command `hi-lock-face-symbol-at-point'.
12283 (hi-lock-face-symbol-at-point): New command.
12284 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12285 (hi-lock-menu): Add `highlight-symbol-at-point'.
12286 (hi-lock-mode): Doc fix.
12287
12288 * isearch.el (isearch-forward-symbol-at-point): New command.
12289 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12290 (isearch-highlight-regexp): Add a regexp which matches
12291 words/symbols for word/symbol mode.
12292
12293 * subr.el (find-tag-default-bounds): New function with the body
12294 mostly moved from `find-tag-default'.
12295 (find-tag-default): Move most code to `find-tag-default-bounds',
12296 call it and apply `buffer-substring-no-properties' afterwards.
12297
12298 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12299
12300 * eshell/em-term.el (eshell-term-initialize):
12301 Use `cl-intersection' rather than `intersection'.
12302
12303 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12304
12305 * vc/log-view.el: Doc fix.
12306 (log-view-mode-map): Copy keymap from `special-mode-map'.
12307
12308 2013-06-02 Eric Ludlam <zappo@gnu.org>
12309
12310 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12311 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12312 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12313 (eieio-unbound, eieio-default-superclass)
12314 (eieio--define-field-accessors, method-static, method-before)
12315 (method-primary, method-after, method-num-lists)
12316 (method-generic-before, method-generic-primary)
12317 (method-generic-after, method-num-slots)
12318 (eieio-specialized-key-to-generic-key)
12319 (eieio--check-type, class-v, class-p)
12320 (eieio-class-name, define-obsolete-function-alias)
12321 (eieio-class-parents-fast, eieio-class-children-fast)
12322 (same-class-fast-p, class-constructor, generic-p)
12323 (generic-primary-only-p, generic-primary-only-one-p)
12324 (class-option-assoc, class-option, eieio-object-p)
12325 (class-abstract-p, class-method-invocation-order)
12326 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12327 (eieio-class-un-autoload, eieio-defclass)
12328 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12329 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12330 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12331 (eieio-defgeneric-reset-generic-form)
12332 (eieio-defgeneric-form-primary-only)
12333 (eieio-defgeneric-reset-generic-form-primary-only)
12334 (eieio-defgeneric-form-primary-only-one)
12335 (eieio-defgeneric-reset-generic-form-primary-only-one)
12336 (eieio-unbind-method-implementations)
12337 (eieio--defmethod, eieio--typep)
12338 (eieio-perform-slot-validation, eieio-validate-slot-value)
12339 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12340 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12341 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12342 (eieio-slot-name-index, eieio-class-slot-name-index)
12343 (eieio-set-defaults, eieio-initarg-to-attribute)
12344 (eieio-attribute-to-initarg, eieio-c3-candidate)
12345 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12346 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12347 (eieio-class-precedence-list, eieio-generic-call-methodname)
12348 (eieio-generic-call-arglst, eieio-generic-call-key)
12349 (eieio-generic-call-next-method-list)
12350 (eieio-pre-method-execution-functions, eieio-generic-call)
12351 (eieio-generic-call-primary-only, eieiomt-method-list)
12352 (eieiomt-optimizing-obarray, eieiomt-install)
12353 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12354 (eieio-generic-form, eieio-defmethod, make-obsolete)
12355 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12356 (defclass): Remove `eval-and-compile' from macro.
12357 (call-next-method, shared-initialize): Instead of using
12358 `scoped-class' variable, use new eieio--scoped-class, and
12359 eieio--with-scoped-class.
12360 (initialize-instance): Rename local variable 'scoped-class' to
12361 'this-class' to remove ambiguitity from old global.
12362
12363 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12364 eieio.el.
12365 (eieio--scoped-class-stack): New variable.
12366 (eieio--scoped-class): New fcn.
12367 (eieio--with-scoped-class): New scoping macro.
12368 (eieio-defclass): Use pushnew instead of add-to-list.
12369 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12370 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12371 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12372 `scoped-class' variable, use new eieio--scoped-class, and
12373 eieio--with-scoped-class.
12374
12375 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12376
12377 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12378
12379 * eshell/esh-ext.el (eshell-external-command): Pass args to
12380 `eshell-find-interpreter'.
12381 (eshell-find-interpreter): Add new second parameter ARGS.
12382
12383 * eshell/em-script.el (eshell-script-initialize): Add second arg
12384 to the function added as MATCH to `eshell-interpreter-alist'.
12385
12386 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12387 the function added as MATCH to `eshell-interpreter-alist'.
12388
12389 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12390 (eshell-visual-options): New defcustom.
12391 (eshell-escape-control-x): Adapt docstring.
12392 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12393 `eshell-visual-options' in addition to `eshell-visual-commands'.
12394 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12395
12396 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12397
12398 * progmodes/python.el (python-indent-block-enders): Add break,
12399 continue and raise keywords.
12400
12401 2013-06-01 Glenn Morris <rgm@gnu.org>
12402
12403 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12404
12405 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12406 * progmodes/cc-cmds.el (delete-forward-p):
12407 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12408 * progmodes/cc-engine.el (buffer-syntactic-context):
12409 * progmodes/cc-fonts.el (face-property-instance):
12410 * progmodes/cc-mode.el (set-keymap-parents):
12411 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12412 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12413 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12414 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12415 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12416
12417 * progmodes/cc-vars.el (other): Emacs has this widget since
12418 at least 21.1, so don't (re)define it.
12419
12420 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12421 Replace the obsolete alias pcomplete-arg-quote-list.
12422
12423 2013-06-01 Leo Liu <sdl.web@gmail.com>
12424
12425 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12426 punctuation syntax.
12427 (inferior-octave-minimal-columns)
12428 (inferior-octave-last-column-width): New variables.
12429 (inferior-octave-track-window-width-change): New function.
12430 (inferior-octave-mode): Adjust column width so that Octave output,
12431 for example from 'ls', can fit into the window nicely.
12432
12433 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12434
12435 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12436 Highlight expansions inside regexp literals.
12437
12438 2013-05-31 Glenn Morris <rgm@gnu.org>
12439
12440 * obsolete/sym-comp.el (symbol-complete):
12441 Replace obsolete completion-annotate-function.
12442
12443 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12444
12445 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12446
12447 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12448 New function, checks if point is inside a literal that allows
12449 expression expansion.
12450 (ruby-syntax-propertize-expansion): Use it.
12451 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12452 around the body.
12453
12454 2013-05-30 Juri Linkov <juri@jurta.org>
12455
12456 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12457 to "\M-si".
12458 (isearch-invisible): New variable.
12459 (isearch-forward): Doc fix.
12460 (isearch-mode): Set `isearch-invisible'
12461 to the value of `search-invisible'.
12462 (isearch-toggle-case-fold): Doc fix.
12463 (isearch-toggle-invisible): New command.
12464 (isearch-query-replace): Let-bind `search-invisible'
12465 to the value of `isearch-invisible'.
12466 (isearch-search): Use `isearch-invisible' instead of
12467 `search-invisible'. Let-bind `search-invisible'
12468 to the value of `isearch-invisible'. (Bug#11378)
12469
12470 2013-05-30 Juri Linkov <juri@jurta.org>
12471
12472 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12473 call when `query-flag' is nil and `search-invisible' is non-nil.
12474 (Bug#11746)
12475
12476 2013-05-30 Glenn Morris <rgm@gnu.org>
12477
12478 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12479
12480 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12481 (cc-require): Suppress spurious "noruntime" warnings.
12482 (cc-require-when-compile): Use fboundp, for sake of compiler.
12483
12484 * progmodes/cc-mode.el: Move load of cc-vars before that of
12485 cc-langs (which in turn loads cc-vars), to quieten compiler.
12486
12487 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12488
12489 * paren.el: Simplify the code.
12490 (show-paren-mode): Always start the timer.
12491 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12492 (show-paren--overlay, show-paren--overlay-1): Rename from
12493 show-paren-overlay and show-paren-overlay-1, and initialize to an
12494 overlay rather than to nil.
12495 (show-paren-function): Misc cleanup and simplifications.
12496
12497 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12498
12499 * paren.el (show-paren-data-function): New hook.
12500 (show-paren--default): New function, extracted from show-paren-function.
12501 (show-paren-function): Use show-paren-data-function.
12502
12503 2013-05-30 Glenn Morris <rgm@gnu.org>
12504
12505 * ielm.el (ielm-map, ielm-complete-symbol):
12506 Use completion-at-point rather than obsolete functions.
12507 (inferior-emacs-lisp-mode): Doc fix.
12508 Set completion-at-point-functions, rather than
12509 comint-dynamic-complete-functions.
12510
12511 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12512 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12513 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12514
12515 * image.el (image-animated-p): Tweak definition.
12516
12517 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12518 (rlogin-process-connection-type): Tweak default. Add set-after.
12519 (rlogin-host): Doc fix.
12520 (rlogin): Tweak prompt.
12521 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12522
12523 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12524 * progmodes/tcl.el (inferior-tcl-mode-map):
12525 Use completion-at-point rather than obsolete alias.
12526
12527 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12528
12529 * minibuffer.el (read-file-name-completion-ignore-case):
12530 Move before completion--in-region, for eager macro expansion.
12531
12532 2013-05-29 Juri Linkov <juri@jurta.org>
12533
12534 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12535 for total count of matching lines. Add `global-matches' for total
12536 count of matches. Rename `matches' to `lines' for count of
12537 matching lines. Add `matches' for count of matches.
12538 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12539 to `prev-line' for line number of prev match endpt.
12540 Increment `matches' for every match. Print the number of
12541 matching lines in the header.
12542 (occur-context-lines): Rename `lines' to `curr-line'.
12543 Rename `prev-lines' to `prev-line'. (Bug#14017)
12544
12545 2013-05-29 Juri Linkov <juri@jurta.org>
12546
12547 * replace.el (perform-replace): Add `skip-read-only-count',
12548 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12549 Increment them for corresponding conditions and report the number
12550 of skipped occurrences in the final message. (Bug#11746)
12551 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12552 (replace-string, replace-regexp): Doc fix.
12553
12554 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12555
12556 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12557
12558 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12559 prog-mode-map (bug#14504).
12560
12561 2013-05-29 Leo Liu <sdl.web@gmail.com>
12562
12563 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12564 (octave-help): Small simplification.
12565
12566 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12567 off the highlight first.
12568
12569 2013-05-29 Glenn Morris <rgm@gnu.org>
12570
12571 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12572 Handle idlwave-last-system-routine-info-cons-cell being nil.
12573
12574 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12575 (idlwave-write-paths): Simplify via with-temp-buffer.
12576
12577 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12578 * emulation/cua-rect.el: Also load cua-base at run time.
12579
12580 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12581 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12582 (cperl-imenu-on-info): Require imenu.
12583
12584 2013-05-28 Alan Mackenzie <acm@muc.de>
12585
12586 Handle "capitalised keywords" correctly.
12587 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12588
12589 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12590
12591 * eshell/em-unix.el: Add -r option to cp.
12592
12593 2013-05-28 Glenn Morris <rgm@gnu.org>
12594
12595 * vc/vc-arch.el (vc-exec-after): Declare.
12596 (vc-switches): Autoload.
12597 * vc/vc-bzr.el: No need to require vc when compiling.
12598 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12599 (vc-resynch-buffer, vc-dir-refresh): Declare.
12600 (vc-setup-buffer, vc-switches): Autoload.
12601 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12602 (vc-resynch-buffer): Declare.
12603 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12604 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12605 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12606 (grep-read-regexp, grep-read-files, grep-expand-template)
12607 (vc-dir-refresh): Declare.
12608 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12609 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12610 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12611 * vc/vc-mtn.el (vc-exec-after): Declare.
12612 (vc-switches): Autoload.
12613 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12614 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12615 (vc-file-tree-walk): Declare.
12616 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12617 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12618 (vc-tag-precondition, vc-rename-master): Autoload.
12619 * vc/vc-svn.el (vc-exec-after): Declare.
12620 (vc-switches, vc-setup-buffer): Autoload.
12621 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12622 Autoload.
12623 (vc-resynch-buffer): Declare.
12624
12625 * obsolete/fast-lock.el (byte-compile-warnings):
12626 Don't warn about obsolete features in this obsolete file.
12627
12628 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12629 Move definition before use.
12630
12631 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12632 (dun-unix-verbs): Remove dun-zippy.
12633 (dun-zippy): Remove function.
12634
12635 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12636
12637 2013-05-27 Juri Linkov <juri@jurta.org>
12638
12639 * replace.el (replace-search): New function with code moved out
12640 from `perform-replace'.
12641 (replace-highlight, replace-dehighlight): Move function definitions
12642 up closer to `replace-search'. (Bug#11746)
12643
12644 2013-05-27 Juri Linkov <juri@jurta.org>
12645
12646 * replace.el (perform-replace): Ignore invisible matches.
12647 In addition to checking `query-replace-skip-read-only', also
12648 filter out matches by calling `run-hook-with-args-until-failure'
12649 on `isearch-filter-predicates', and also check `search-invisible'
12650 for t or call `isearch-range-invisible'.
12651 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12652
12653 2013-05-27 Juri Linkov <juri@jurta.org>
12654
12655 * isearch.el (isearch-filter-predicates): Rename from
12656 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12657 (isearch-message-prefix): Display text from the property
12658 `isearch-message-prefix' of the currently active filters.
12659 (isearch-search): Don't compare `isearch-filter-predicate' with
12660 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12661 on `isearch-filter-predicates'. Also check `search-invisible' for t
12662 or call `isearch-range-invisible'.
12663 (isearch-filter-visible): Make obsolete.
12664 (isearch-lazy-highlight-search):
12665 Call `run-hook-with-args-until-failure' on
12666 `isearch-filter-predicates' and use `isearch-range-invisible'.
12667
12668 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12669 `isearch-filter-predicates' instead of `funcall'ing
12670 `isearch-filter-predicate'.
12671 (Info-mode): Set `Info-isearch-filter' to
12672 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12673
12674 * dired-aux.el (dired-isearch-filter-predicate-orig):
12675 Remove variable.
12676 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12677 (dired-isearch-filenames-end): Add and remove
12678 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12679 instead of changing the value of `isearch-filter-predicate'.
12680 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12681 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12682 Put property `isearch-message-prefix' to "filename " on
12683 `dired-isearch-filter-filenames'.
12684
12685 * wdired.el (wdired-change-to-wdired-mode):
12686 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12687 locally instead of changing `isearch-filter-predicate'.
12688 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12689
12690 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12691
12692 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12693 return the commit hash (Bug#14459). Also set the
12694 `vc-git-detached' property.
12695 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12696 (vc-git-mode-line-string): Use the same help-echo format whether
12697 in detached mode or not, because we know the actual revision now.
12698 When in detached mode, shorten the revision to 7 chars.
12699
12700 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12701
12702 * emacs-lisp/easy-mmode.el (define-minor-mode):
12703 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12704 mode hook and provide a docstring.
12705
12706 2013-05-27 Alan Mackenzie <acm@muc.de>
12707
12708 Remove spurious syntax-table text properties inserted by C-y.
12709 * progmodes/cc-mode.el (c-after-change): Also clear hard
12710 syntax-table property with value nil.
12711
12712 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
12713
12714 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12715 when reading the events; the buffer layout shall not be changed.
12716
12717 2013-05-27 Leo Liu <sdl.web@gmail.com>
12718
12719 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12720 New variable.
12721 (inferior-octave-directory-tracker): Automatically re-sync
12722 default-directory.
12723 (octave-help): Improve handling of 'See also'.
12724
12725 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12726
12727 * doc-view.el: Minor naming convention tweaks.
12728 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12729
12730 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12731 even if there's no `display' property yet (bug#14435).
12732
12733 2013-05-25 Eli Zaretskii <eliz@gnu.org>
12734
12735 * subr.el (unmsys--file-name): Rename from reveal-filename.
12736
12737 * Makefile.in (custom-deps, finder-data, autoloads)
12738 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12739 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12740 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12741
12742 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12743
12744 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12745 error-completion on the first 2 args of condition-case (bug#14446).
12746 Don't burp at EOB.
12747
12748 2013-05-25 Leo Liu <sdl.web@gmail.com>
12749
12750 * comint.el (comint-previous-matching-input): Do not flood the
12751 *Messages* buffer with trivial messages.
12752
12753 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12754
12755 * progmodes/flymake.el (flymake-nop): Don't return a string.
12756 (flymake-set-at): Fix typo.
12757
12758 * simple.el (read--expression): New function, extracted from
12759 eval-expression. Set completion-at-point-functions (bug#14465).
12760 (eval-expression, eval-minibuffer): Use it.
12761
12762 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12763
12764 * progmodes/flymake.el (flymake-save-buffer-in-file)
12765 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12766 (flymake-selected-frame, flymake-log, flymake-ins-after)
12767 (flymake-set-at, flymake-get-buildfile-from-cache)
12768 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12769 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12770 Refine the doc string.
12771 (flymake-get-file-name-mode-and-masks): Reformat.
12772 (flymake-get-real-file-name-function): Fix a minor bug.
12773
12774 2013-05-24 Juri Linkov <juri@jurta.org>
12775
12776 * progmodes/grep.el (grep-mode-font-lock-keywords):
12777 Support =linenumber= format used by git-grep for lines with
12778 function names. (Bug#13549)
12779
12780 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12781
12782 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12783 0 after a semi-colon; it works better for smie-auto-fill.
12784 (octave--indent-new-comment-line): New function.
12785 (octave-indent-new-comment-line): Use it (indirectly).
12786 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12787 modify comment-line-break-function.
12788
12789 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12790 (smie-setup): Use add-function to set it.
12791
12792 2013-05-24 Sam Steingold <sds@gnu.org>
12793
12794 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12795 argument (before the `interactive' argument).
12796
12797 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * image-mode.el (image-mode-winprops): Add winprops to
12800 image-mode-winprops-alist before running
12801 image-mode-new-window-functions.
12802 * doc-view.el (doc-view-new-window-function): Don't delay
12803 doc-view-goto-page via timers (bug#14435).
12804
12805 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12806
12807 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12808 (doc-view-desktop-save-buffer): New function.
12809 (doc-view-restore-desktop-buffer): New function.
12810 (desktop-buffer-mode-handlers):
12811 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12812 handler.
12813 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12814 `desktop-save-buffer' function.
12815
12816 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12817
12818 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12819 (tramp-gvfs-file-name-handler): Raise a user error when
12820 `tramp-gvfs-enabled' is nil.
12821 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12822 Do not raise a user error when loading package. (Bug#14447)
12823
12824 * net/xesam.el: Move to obsolete/.
12825
12826 2013-05-24 Glenn Morris <rgm@gnu.org>
12827
12828 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12829
12830 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12831
12832 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12833 (Info-find-node, Man-getpage-in-background): Declare.
12834
12835 * mail/unrmail.el (unrmail):
12836 Replace obsolete detect-coding-with-priority.
12837
12838 * net/socks.el (socks-split-string): Use this rather than split-string.
12839 (socks-nslookup-host): Update for above change.
12840 (dynamic-choice, s5-dynamic-choice-match)
12841 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12842 Comment out unused code.
12843
12844 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12845 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12846 (gud-tooltip-echo-area): Make obsolete.
12847 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12848
12849 * progmodes/js.el (js--optimize-arglist): Declare.
12850
12851 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12852
12853 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12854 (ediff-window-C): Declare.
12855
12856 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12857 Tweak requires to silence compiler.
12858
12859 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12860 (he-search-string, he-tried-table, he-expand-list)
12861 (he-init-string, he-string-member, he-substitute-string)
12862 (he-reset-string): Declare.
12863
12864 * obsolete/options.el (list-options): Use custom-variable-p,
12865 rather than obsolete alias.
12866
12867 2013-05-23 Sam Steingold <sds@gnu.org>
12868
12869 * simple.el (shell-command-on-region): Pass the `replace' argument
12870 down to `call-process-region' to comply with the doc as reported on
12871 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12872
12873 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * emacs-lisp/smie.el (smie-indent-forward-token)
12876 (smie-indent-backward-token): Handle string tokens (bug#14381).
12877
12878 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12879
12880 * ielm.el (ielm-menu): New menu.
12881 (inferior-emacs-lisp-mode): Set comment-start.
12882
12883 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12884
12885 * textmodes/reftex.el (reftex-ref-style-toggle):
12886 Fix deactivate action.
12887
12888 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12889 Add cleveref macros.
12890
12891 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
12892 Accept options for bibliography commands.
12893 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12894 Add addbibresource. Basic Biblatex support.
12895
12896 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12897
12898 * net/tramp-gvfs.el (top):
12899 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12900 when loading package. (Bug#14447)
12901
12902 2013-05-23 Glenn Morris <rgm@gnu.org>
12903
12904 * progmodes/js.el: No need to load comint when compiling.
12905 (ring-insert, comint-send-string, comint-send-input)
12906 (comint-last-input-end, ido-chop): Declare.
12907
12908 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12909 * vc/ediff-mult.el: Adjust requires.
12910 (ediff-directories-internal, ediff-directory-revisions-internal)
12911 (ediff-patch-file-internal): Declare.
12912 * vc/ediff-ptch.el: Adjust requires.
12913 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12914 (ediff-find-file): Autoload.
12915 * vc/ediff-util.el: No need to load ediff when compiling.
12916 (ediff-regions-internal): Declare.
12917 * vc/ediff-wind.el: Adjust requires.
12918 (ediff-compute-toolbar-width): Define when compiling.
12919 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12920 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12921 (dired-get-filename, dired-get-marked-files)
12922 (ediff-last-dir-patch, ediff-patch-default-directory)
12923 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12924 (ediff-patch-buffer-internal): Declare.
12925
12926 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12927 (ispell-process, ispell-buffer-local-words, lm-summary)
12928 (lm-section-start, lm-section-end): Declare.
12929 (checkdoc-ispell-init): Simplify.
12930
12931 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12932 (he-string-member, he-reset-string, he-substitute-string): Declare.
12933
12934 * eshell/em-ls.el: Adjust requires.
12935 (eshell-glob-regexp): Declare.
12936 * eshell/em-tramp.el: Adjust requires.
12937 (eshell-parse-command): Autoload.
12938 * eshell/em-xtra.el: Adjust requires.
12939 (eshell-parse-command): Autoload.
12940 * eshell/esh-ext.el: Adjust requires.
12941 (eshell-parse-command, eshell-close-handles): Autoload.
12942 * eshell/esh-io.el: Adjust requires.
12943 (eshell-output-filter): Autoload.
12944 * eshell/esh-util.el: No need to load tramp when compiling.
12945 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12946 Declare.
12947 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12948 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12949 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12950 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12951 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12952 * eshell/esh-opt.el, eshell/esh-proc.el:
12953 * eshell/esh-var.el: Adjust requires.
12954 * eshell/eshell.el: Do not require esh-util twice.
12955 (eshell-add-input-to-history): Declare.
12956 (eshell-command): Check history module is active before using it.
12957
12958 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12959
12960 2013-05-22 Leo Liu <sdl.web@gmail.com>
12961
12962 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12963
12964 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12965
12966 * autorevert.el (auto-revert-notify-add-watch)
12967 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12968 it indicates changes in file modification time.
12969
12970 2013-05-22 Glenn Morris <rgm@gnu.org>
12971
12972 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12973 Always delete the autoloaded function from the noruntime and
12974 unresolved functions lists.
12975
12976 * allout.el: No need to load epa, epg, overlay when compiling.
12977 (epg-context-set-passphrase-callback, epg-list-keys)
12978 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12979 (epg-key-user-id-list): Declare.
12980
12981 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12982 (viper-set-parsing-style-toggling-macro)
12983 (viper-set-emacs-state-searchstyle-macros):
12984 Use called-interactively-p on Emacs.
12985 (viper-looking-back): Make it an obsolete alias. Update callers.
12986 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12987 Use looking-back rather than viper-looking-back.
12988 (viper-tmp-insert-at-eob, viper-enlarge-region)
12989 (viper-read-string-with-history, viper-register-to-point)
12990 (viper-append-to-register, viper-change-state-to-vi)
12991 (viper-backward-char-carefully, viper-forward-char-carefully)
12992 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12993 (viper-change-state-to-emacs): Declare.
12994 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12995 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12996 * emulation/viper-mous.el: Do not load viper-cmd.
12997 (viper-backward-char-carefully, viper-forward-char-carefully)
12998 (viper-forward-word, viper-adjust-window): Declare.
12999
13000 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13001
13002 * progmodes/idlw-help.el (idlwave-help-fontify):
13003 Use called-interactively-p.
13004
13005 * term/w32console.el (w32-get-console-codepage)
13006 (w32-get-console-output-codepage): Declare.
13007
13008 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13009 Remove unnecessary declarations.
13010 (dframe-message): Doc fix.
13011
13012 * info.el (dframe-select-attached-frame, dframe-current-frame):
13013 Declare.
13014
13015 * speedbar.el (speedbar-message): Make it an obsolete alias.
13016 Update all callers.
13017 (speedbar-with-attached-buffer)
13018 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13019 (speedbar-with-writable): Use backquote.
13020 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13021 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13022 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13023 rather than speedbar- aliases.
13024 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13025 (speedbar-make-specialized-keymap, speedbar-insert-button)
13026 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13027 (speedbar-do-function-pointer): Declare.
13028 (rmail-speedbar-button, rmail-speedbar-find-file)
13029 (rmail-speedbar-move-message):
13030 Use dframe-with-attached-buffer rather than speedbar- alias.
13031 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13032 (dframe-message, speedbar-make-specialized-keymap)
13033 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13034 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13035 (speedbar-insert-button, dframe-select-attached-frame)
13036 (dframe-maybee-jump-to-attached-frame)
13037 (speedbar-change-initial-expansion-list)
13038 (speedbar-previously-used-expansion-list-name): Declare.
13039 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13040 Use dframe-message, dframe-with-attached-buffer rather than
13041 speedbar- aliases.
13042 (gud-sentinel): Silence compiler.
13043 * progmodes/vhdl-mode.el (speedbar-refresh)
13044 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13045 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13046 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13047 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13048 (speedbar-file-lists, speedbar-make-tag-line)
13049 (speedbar-line-directory, speedbar-goto-this-file)
13050 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13051 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13052 (speedbar-make-button, speedbar-reset-scanners)
13053 (speedbar-files-item-info, speedbar-line-text)
13054 (speedbar-find-file-in-frame, speedbar-set-timer)
13055 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13056 (speedbar-with-writable): Do not (re)define it.
13057 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13058 rather than speedbar- alias.
13059
13060 2013-05-21 Leo Liu <sdl.web@gmail.com>
13061
13062 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13063 menu items.
13064 (octave-mode): Tweak fill-nobreak-predicate.
13065 (inferior-octave-startup): Check process to avoid infinite loop.
13066 (inferior-octave): Pop to buffer first to show abornmal process
13067 exit information.
13068
13069 2013-05-21 Glenn Morris <rgm@gnu.org>
13070
13071 * printing.el (pr-menu-bar): Define when compiling.
13072
13073 2013-05-21 Leo Liu <sdl.web@gmail.com>
13074
13075 * progmodes/octave.el (octave-auto-fill): Remove.
13076 (octave-indent-new-comment-line): Improve.
13077 (octave-mode): Use auto fill mode through
13078 comment-line-break-function and fill-nobreak-predicate.
13079 (octave-goto-function-definition): Support DEFUN_DLD.
13080 (octave-beginning-of-defun): Small tweak.
13081 (octave-help): Show parent directory.
13082
13083 2013-05-21 Glenn Morris <rgm@gnu.org>
13084
13085 * files.el (dired-unmark):
13086 * progmodes/gud.el (gdb-input): Update declarations.
13087
13088 * calculator.el (electric, ehelp): No need to load when compiling.
13089 (Electric-command-loop, electric-describe-mode): Declare.
13090
13091 * doc-view.el (doc-view-current-converter-processes): Move before use.
13092
13093 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13094 Move MODE-set-explicitly definition before use.
13095
13096 * international/mule-diag.el (mule-diag):
13097 Don't use obsolete window-system-version.
13098
13099 * mail/feedmail.el (smtpmail): No need to load when compiling.
13100 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13101
13102 * mail/mail-utils.el (rfc822): No need to load when compiling.
13103 (rfc822-addresses): Autoload it.
13104 (mail-strip-quoted-names): Trivial simplification.
13105
13106 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13107 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13108
13109 * net/snmp-mode.el (tempo): Don't duplicate requires.
13110
13111 * progmodes/prolog.el (info): No need to load when compiling.
13112 (comint): Require before shell requires it.
13113 (Info-goto-node): Autoload it.
13114 (Info-follow-nearest-node): Declare.
13115 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13116
13117 * textmodes/artist.el (picture-mode-exit): Declare.
13118
13119 * textmodes/reftex-parse.el (reftex-parse-from-file):
13120 Trivial rewrite so the compiler can parse it better.
13121
13122 2013-05-20 Leo Liu <sdl.web@gmail.com>
13123
13124 * progmodes/octave.el (octave-help-mode-map)
13125 (octave-help-mode-finish-hook): New variables.
13126 (octave-help-mode, octave-help-mode-finish): New functions.
13127 (octave-help): Use octave-help-mode.
13128
13129 2013-05-20 Glenn Morris <rgm@gnu.org>
13130
13131 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13132
13133 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13134
13135 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13136 start at point, so that expansion starting right after opening
13137 slash in a regexp is recognized.
13138 (ruby-syntax-before-regexp-re): New defvar, extracted from
13139 ruby-syntax-propertize-function. Since the value of this regexp
13140 is looked up at runtime now, we should be able to turn
13141 `ruby-syntax-methods-before-regexp' into a defcustom later.
13142 (ruby-syntax-propertize-function): Split regexp matching into two
13143 parts, for opening and closing slashes. That allows us to skip
13144 over string interpolations and support multiline regexps.
13145 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13146 for them, which calls `ruby-syntax-propertize-expansion'.
13147 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13148 call to `ruby-syntax-propertize-function'.
13149 (ruby-syntax-propertize-expansion): Extracted from
13150 `ruby-syntax-propertize-expansions'. Handles one expansion.
13151 (ruby-syntax-propertize-percent-literal): Leave point right after
13152 the percent symbol, so that the expression expansion rule can
13153 propertize the contents.
13154 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13155 heredoc openers.
13156 (ruby-syntax-propertize-expansions): Remove.
13157
13158 2013-05-18 Juri Linkov <juri@jurta.org>
13159
13160 * man.el (Man-default-man-entry): Remove `-' from the end
13161 of the default value. (Bug#14400)
13162
13163 2013-05-18 Glenn Morris <rgm@gnu.org>
13164
13165 * comint.el (comint-password-prompt-regexp):
13166 Allow "password for XXX" where XXX contains colons (eg https://...).
13167
13168 2013-05-18 Leo Liu <sdl.web@gmail.com>
13169
13170 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13171 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13172 (octave-source-directories): Don't check process.
13173 (octave-source-directories, octave-find-definition): Doc fix.
13174
13175 2013-05-18 Glenn Morris <rgm@gnu.org>
13176
13177 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13178 Remove backspace/delete bindings. (Bug#14392)
13179
13180 * cus-dep.el (custom-make-dependencies): Sort the output.
13181 (custom-versions-load-alist): Convert comment to doc.
13182
13183 2013-05-17 Leo Liu <sdl.web@gmail.com>
13184
13185 * newcomment.el (comment-search-backward): Stricter in finding
13186 comment start. (Bug#14303)
13187
13188 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13189 (octave-comment-start-skip): Properly anchored.
13190
13191 2013-05-17 Leo Liu <sdl.web@gmail.com>
13192
13193 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13194 Clean up when turned off. (Bug#14395)
13195 (smie--highlight-matching-block-overlay): No longer buffer-local.
13196 (smie-highlight-matching-block): Adjust.
13197
13198 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13199
13200 Doc string fix for "nanoseconds" (Bug#14406).
13201 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13202 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13203
13204 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13205
13206 * calc/calc-units.el (math-extract-units): Preserve powers
13207 of units.
13208
13209 2013-05-17 Leo Liu <sdl.web@gmail.com>
13210
13211 * subr.el (delete-consecutive-dups): New function.
13212 * ido.el (ido-set-matches-1): Use it.
13213 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13214 * ido.el (ido-remove-consecutive-dups): Remove.
13215
13216 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13217
13218 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13219 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13220 regexp-opt's `words'.
13221
13222 2013-05-16 Leo Liu <sdl.web@gmail.com>
13223
13224 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13225 (smie--highlight-matching-block-overlay)
13226 (smie--highlight-matching-block-lastpos)
13227 (smie--highlight-matching-block-timer): New variables.
13228 (smie-highlight-matching-block): New function.
13229 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13230 (smie-setup): Conditionally enable smie-blink-matching-open.
13231
13232 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13233
13234 Sync with upstream verilog-mode r840.
13235 * progmodes/verilog-mode.el (verilog-mode-version)
13236 (verilog-mode-release-date): Update.
13237 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13238 (verilog-sig-tieoff): Fix string error on
13239 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13240 (verilog-read-decls): Fix parameters confusing
13241 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13242
13243 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13244
13245 * subr.el (reveal-filename): New function.
13246
13247 * loadup.el: Compute Emacs executable versions on MS-Windows,
13248 where executables have the .exe extension. Add a hard link
13249 emacs-XX.YY.ZZ.exe on MS-Windows.
13250
13251 * Makefile.in (XARGS_LIMIT): New variable.
13252 (custom-deps, finder-data, autoloads)
13253 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13254 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13255 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13256 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13257
13258 2013-05-16 Leo Liu <sdl.web@gmail.com>
13259
13260 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13261 (octave-mode-menu, octave-mode-map): Remove its uses.
13262
13263 2013-05-16 Reto Zimmermann <reto@gnu.org>
13264
13265 Sync with upstream vhdl mode v3.34.2.
13266 * progmodes/vhdl-mode.el: Use `push' throughout.
13267 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13268 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13269 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13270 (vhdl-actual-generic-name): New option to derive actual generic name.
13271 (vhdl-port-paste-signals): Replace formal by actual generics.
13272 (vhdl-beautify): New name for old group vhdl-align. Update users.
13273 (vhdl-beautify-options): New option.
13274 (vhdl-last-input-event): New compat alias. Use throughout.
13275 (vhdl-goto-line): Replace user level function `goto-line'.
13276 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13277 vhdl-fix-statement-buffer.
13278 (vhdl-create-mode-menu): Add some entries.
13279 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13280 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13281 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13282 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13283 to force statements on one line.
13284 (vhdl-remove-trailing-spaces-region):
13285 New, split from vhdl-remove-trailing-spaces.
13286 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13287 Respect vhdl-beautify-options.
13288 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13289 (vhdl-update-sensitivity-list): Not add with index if exists without.
13290 Not include array index with signal. Ignore keywords in comments.
13291 (vhdl-get-visible-signals): Regexp tweaks.
13292 (vhdl-template-component-inst): Handle empty library.
13293 (vhdl-template-type): Add template for 'enum' type.
13294 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13295 Use vhdl-replace-string.
13296 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13297 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13298 (vhdl-speedbar-initialize): Update for above name change.
13299 (vhdl-compose-wire-components): Fix in handling of constants.
13300 (vhdl-error-regexp-emacs-alist): New variable.
13301 (vhdl-error-regexp-add-emacs): New function;
13302 adds support for new compile.el (Emacs 22+)
13303 (vhdl-generate-makefile-1): Change target order for single lib. units.
13304 Allow use of absolute file names.
13305
13306 2013-05-16 Leo Liu <sdl.web@gmail.com>
13307
13308 * simple.el (prog-indent-sexp): Indent enclosing defun.
13309
13310 2013-05-15 Glenn Morris <rgm@gnu.org>
13311
13312 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13313 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13314 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13315 (whitespace-highlight): Move to whitespace group.
13316
13317 * comint.el (comint-source):
13318 * pcmpl-linux.el (pcmpl-linux):
13319 * shell.el (shell-faces):
13320 * eshell/esh-opt.el (eshell-opt):
13321 * international/ccl.el (ccl): Remove empty custom groups.
13322
13323 * completion.el (dynamic-completion-mode):
13324 * jit-lock.el (jit-lock-debug-mode):
13325 * minibuffer.el (completion-in-region-mode):
13326 * type-break.el (type-break-mode-line-message-mode)
13327 (type-break-query-mode):
13328 * emulation/tpu-edt.el (tpu-edt-mode):
13329 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13330 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13331 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13332
13333 * term/xterm.el (xterm): Change parent group to terminals.
13334
13335 * master.el (master): Remove empty custom group.
13336 (master-mode): Remove unused :group argument.
13337 * textmodes/refill.el (refill): Remove empty custom group.
13338 (refill-mode): Remove unused :group argument.
13339
13340 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13341
13342 * cus-dep.el: Provide a feature.
13343 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13344 Don't mistakenly ignore files whose basenames match a basename
13345 from preloaded-file-list (eg cedet/ede/simple.el).
13346 Add a fallback method for getting :group.
13347
13348 2013-05-15 Juri Linkov <juri@jurta.org>
13349
13350 * isearch.el (isearch-char-by-name): Rename from
13351 `isearch-insert-char-by-name'. Doc fix.
13352 (isearch-forward): Mention `isearch-char-by-name' in
13353 the docstring. (Bug#13348)
13354
13355 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13356 `exit-minibuffer' instead of
13357 `isearch-nonincremental-exit-minibuffer'.
13358 (isearch-edit-string): Remove mention of
13359 `isearch-nonincremental-exit-minibuffer' from docstring.
13360 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13361 (isearch-forward-exit-minibuffer)
13362 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13363
13364 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13365
13366 * loadup.el: Just use unversioned DOC.
13367
13368 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13369 literals as extending to EOB.
13370 (nxml-last-fontify-end): Remove unused variable.
13371 (nxml-after-change1): Use with-silent-modifications.
13372 (nxml-extend-after-change-region): Simplify.
13373 (nxml-extend-after-change-region1): Remove function.
13374 (nxml-after-change1): Don't adjust for dependent regions.
13375 (nxml-fontify-matcher): Simplify.
13376 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13377 (xmltok-add-dependent): Remove function.
13378 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13379 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13380 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13381 unclosed <[[, <?, comment, and other literals as extending to EOB.
13382 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13383 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13384 Remove functions.
13385 (rng-do-some-validation-1): Don't mark dependent regions.
13386 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13387 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13388 (nxml-clear-dependent-regions): Remove functions.
13389 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13390 (nxml-ensure-scan-up-to-date):
13391 Don't clear&mark dependent regions.
13392
13393 2013-05-15 Leo Liu <sdl.web@gmail.com>
13394
13395 * progmodes/octave.el (octave-goto-function-definition):
13396 Improve and fix callers.
13397
13398 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13399
13400 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13401 the setter (bug#14387).
13402
13403 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13404 surrounding group (bug#14402).
13405
13406 2013-05-14 Juri Linkov <juri@jurta.org>
13407
13408 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13409 (Bug#14390)
13410
13411 2013-05-14 Glenn Morris <rgm@gnu.org>
13412
13413 * progmodes/f90.el (f90-imenu-generic-expression):
13414 Fix typo in 2013-05-08 change. (Bug#14402)
13415
13416 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13417
13418 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13419 Remove signals for which replies are never received.
13420
13421 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13422
13423 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13424 (gdb-handler-alist, gdb-handler-number): Remove variables.
13425 (gdb-handler-list): New variable.
13426 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13427 (gdb-pending-handler-p, gdb-handle-reply)
13428 (gdb-remove-all-pending-triggers): New functions.
13429 (gdb-discard-unordered-replies): New defcustom.
13430 (gdb-handler): New defstruct.
13431 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13432 instead of gdb-pending-triggers. Update docstring.
13433 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13434 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13435 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13436 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13437 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13438 (gdb-frame-handler): Pending triggers are now automatically managed.
13439 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13440 Remove argument.
13441 (gdb-input): Automatically handles pending triggers. Update docstring.
13442 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13443 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13444 Update comments.
13445 (gdb-done-or-error): Now use gdb-handle-reply.
13446
13447 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13448
13449 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13450 gdb-debug-log.
13451
13452 2013-05-14 Glenn Morris <rgm@gnu.org>
13453
13454 * subr.el (user-emacs-directory-warning): New option.
13455 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13456
13457 2013-05-14 Leo Liu <sdl.web@gmail.com>
13458
13459 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13460 during redisplay.
13461 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13462 (octave-font-lock-texinfo-comment): Fix invalid search bound
13463 error: wrong side of point.
13464
13465 2013-05-14 Glenn Morris <rgm@gnu.org>
13466
13467 * progmodes/flymake.el (flymake-xml-program): New option.
13468 (flymake-xml-init): Use it.
13469
13470 * term/xterm.el: Provide a feature.
13471
13472 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13473
13474 2013-05-13 Glenn Morris <rgm@gnu.org>
13475
13476 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13477 Add compat aliases as a hack workaround. (Bug#14384)
13478
13479 2013-05-13 Leo Liu <sdl.web@gmail.com>
13480
13481 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13482 ###, and %!.
13483 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13484 C-M-q.
13485 (octave-comment-start-skip): Include %!.
13486 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13487
13488 2013-05-12 Leo Liu <sdl.web@gmail.com>
13489
13490 * progmodes/octave.el (inferior-octave-startup): Store the value
13491 of __octave_srcdir__ for octave-source-directories.
13492 (inferior-octave-check-process): New function refactored out of
13493 inferior-octave-send-list-and-digest.
13494 (octave-source-directories)
13495 (octave-find-definition-filename-function): New variables.
13496 (octave-source-directories)
13497 (octave-find-definition-default-filename): New functions.
13498 (octave-find-definition): Improve to find functions implemented in C++.
13499
13500 2013-05-12 Glenn Morris <rgm@gnu.org>
13501
13502 * calendar/diary-lib.el (diary-outlook-format-1):
13503 Don't include dayname in the output. (Bug#14349)
13504
13505 2013-05-11 Glenn Morris <rgm@gnu.org>
13506
13507 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13508
13509 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13510 Treat cc-provide like provide.
13511
13512 2013-05-11 Kevin Ryde <user42@zip.com.au>
13513
13514 * cus-dep.el (custom-make-dependencies):
13515 Use generated-autoload-load-name for the sake of files such
13516 such cedet/semantic/bovine/c.el, where the base file name
13517 is not in load-path. (Bug#5277)
13518
13519 2013-05-11 Glenn Morris <rgm@gnu.org>
13520
13521 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13522 Provide features.
13523
13524 2013-05-11 Leo Liu <sdl.web@gmail.com>
13525
13526 * progmodes/octave.el (octave-indent-comment): Improve.
13527 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13528 (octave-eldoc-function-signatures, octave-eldoc-function):
13529 New functions.
13530 (octave-mode, inferior-octave-mode): Add eldoc support.
13531
13532 2013-05-11 Richard Stallman <rms@gnu.org>
13533
13534 * epa.el (epa-decrypt-file): Take output file name as argument
13535 and read it using `interactive'.
13536
13537 2013-05-11 Leo Liu <sdl.web@gmail.com>
13538
13539 * progmodes/octave.el (octave-beginning-of-line)
13540 (octave-end-of-line): Check before using up-list because it jumps
13541 out of more syntactic contructs since moving to smie.
13542 (octave-indent-comment): New function.
13543 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13544 (octave-begin-keywords, octave-end-keywords)
13545 (octave-reserved-words, octave-smie-bnf-table)
13546 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13547
13548 2013-05-11 Glenn Morris <rgm@gnu.org>
13549
13550 * faces.el (internal-face-x-get-resource):
13551 * frame.el (ns-display-monitor-attributes-list):
13552 * calc/calc-aent.el (math-to-radians-2):
13553 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13554 Fix declarations.
13555
13556 * calc/calc-menu.el: Make it loadable in isolation.
13557
13558 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13559 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13560 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13561 (eudc-bbdb-query-internal): Require 'bbdb.
13562
13563 * lpr.el (lpr-headers-switches):
13564 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13565
13566 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13567
13568 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13569
13570 * term.el (term-set-escape-char): Make it idempotent.
13571
13572 2013-05-10 Leo Liu <sdl.web@gmail.com>
13573
13574 * progmodes/octave.el (inferior-octave-completion-table):
13575 No longer a function and all uses changed. Use cache to speed up
13576 completion due to bug#11906.
13577 (octave-beginning-of-defun): Re-write to be more general.
13578
13579 2013-05-10 Glenn Morris <rgm@gnu.org>
13580
13581 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13582
13583 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13584
13585 * comint.el (comint-redirect-send-command-to-process): Use :around
13586 rather than :override for comint-redirect-filter.
13587 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13588 Call it instead of comint-redirect-original-filter-function (which
13589 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13590
13591 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13592
13593 * frame.el (display-monitor-attributes-list): Add NS case.
13594 (ns-display-monitor-attributes-list): Declare.
13595
13596 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13597
13598 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13599
13600 2013-05-09 Glenn Morris <rgm@gnu.org>
13601
13602 * international/fontset.el (vertical-centering-font-regexp):
13603 Set standard-value.
13604
13605 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13606
13607 * bookmark.el (bookmark-search-delay):
13608 * cus-start.el (vertical-centering-font-regexp):
13609 * ps-mule.el (ps-mule-font-info-database-default):
13610 * ps-print.el (ps-default-fg, ps-default-bg):
13611 * type-break.el (type-break-good-break-interval):
13612 * whitespace.el (whitespace-indentation-regexp)
13613 (whitespace-space-after-tab-regexp):
13614 * emacs-lisp/testcover.el (testcover-1value-functions)
13615 (testcover-noreturn-functions, testcover-progn-functions)
13616 (testcover-prog1-functions):
13617 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13618 * eshell/em-glob.el (eshell-glob-translate-alist):
13619 * play/tetris.el (tetris-tty-colors):
13620 * progmodes/cpp.el (cpp-face-default-list):
13621 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13622 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13623 (idlwave-help-browser-generic-args):
13624 * progmodes/make-mode.el (makefile-special-targets-list):
13625 * progmodes/python.el (python-shell-virtualenv-path):
13626 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13627 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13628 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13629 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13630 * textmodes/reftex-vars.el (reftex-format-label-function):
13631 * textmodes/remember.el (remember-diary-file): Fix custom types.
13632
13633 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13634 Add :version.
13635
13636 2013-05-09 Leo Liu <sdl.web@gmail.com>
13637
13638 * progmodes/octave.el (inferior-octave-completion-at-point):
13639 Restore file completion. (Bug#14300)
13640 (inferior-octave-startup): Fix incorrect highlighting for the
13641 first prompt.
13642
13643 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13644
13645 * progmodes/ruby-mode.el: First cut at SMIE support.
13646 (ruby-use-smie): New var.
13647 (ruby-smie-grammar): New constant.
13648 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13649 (ruby-smie--forward-token, ruby-smie--backward-token)
13650 (ruby-smie-rules): New functions.
13651 (ruby-mode-variables): Setup SMIE if applicable.
13652
13653 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13654
13655 * simple.el (line-move-visual): Signal beginning/end of buffer
13656 only if vertical-motion moved less than it was requested. Avoids
13657 silly incorrect error messages when there are display strings with
13658 multiple newlines at EOL.
13659
13660 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13661
13662 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13663 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13664 (prolog-char-quote-workaround):
13665 * progmodes/cperl-mode.el (cperl-under-as-char):
13666 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13667 Mark as obsolete.
13668 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13669 their declaration.
13670 (vhdl-mode-syntax-table-init): Remove.
13671
13672 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13673 last change.
13674
13675 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13676 syntax for "_".
13677 (ld-script-font-lock-keywords):
13678 Change regexps to use things like \_< and \_>.
13679
13680 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13681 Change all regexps to use things like \_< and \_>.
13682
13683 * progmodes/autoconf.el (autoconf-definition-regexp)
13684 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13685 Handle a _ with symbol syntax.
13686 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13687
13688 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13689 Consolidate declaration.
13690 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13691 the declaration.
13692 (ada-create-syntax-table): Remove.
13693 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13694 already has the right syntax nowadays.
13695 (ada-goto-next-word): Don't change the syntax of "_".
13696
13697 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13698 with-wrapper-hook.
13699
13700 2013-05-08 Sam Steingold <sds@gnu.org>
13701
13702 * thingatpt.el (thing-at-point): Accept optional second argument
13703 NO-PROPERTIES to strip the text properties from the return value.
13704 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13705 to `thing-at-point' instead of stripping the properties ourselves.
13706 Also, when `thing-at-point' fails to find a url, prepend "http://"
13707 to the filename at point on the assumption that the user is
13708 pointing at something like gnu.org/gnu.
13709
13710 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
13711
13712 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13713 * faces.el (crm-separator):
13714 Silence byte-compiler.
13715
13716 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13717 (tool-bar-map): Remove unneeded defvars.
13718
13719 2013-05-08 Leo Liu <sdl.web@gmail.com>
13720
13721 Re-work a fix for bug#10994 based on Le Wang's patch.
13722 * ido.el (ido-remove-consecutive-dups): New helper.
13723 (ido-completing-read): Use it.
13724 (ido-chop): Revert fix for bug#10994.
13725
13726 2013-05-08 Adam Spiers <emacs@adamspiers.org>
13727
13728 * cus-edit.el (custom-save-variables):
13729 Pretty-print long values. (Bug#14187)
13730
13731 2013-05-08 Glenn Morris <rgm@gnu.org>
13732
13733 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13734 (m4-mode-syntax-table): Init in the defvar.
13735 (m4-mode-abbrev-table): Let define-derived-mode define it.
13736
13737 2013-05-08 Tom Tromey <tromey@redhat.com>
13738
13739 * progmodes/m4-mode.el (m4-mode-syntax-table):
13740 Do not treat "_" as word constituent. (Bug#14167)
13741
13742 2013-05-07 Glenn Morris <rgm@gnu.org>
13743
13744 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13745 Remove explicit eshell-isearch-cancel-map.
13746
13747 * progmodes/f90.el (f90-smart-end-names): New option.
13748 (f90-smart-end): Doc fix.
13749 (f90-end-block-optional-name): New constant.
13750 (f90-block-match): Respect f90-smart-end-names.
13751
13752 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13755 about implicit semi-colons (bug#14218).
13756
13757 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13758
13759 * frame.el (display-monitor-attributes-list)
13760 (frame-monitor-attributes): New functions.
13761
13762 2013-05-06 Leo Liu <sdl.web@gmail.com>
13763
13764 * progmodes/octave.el (octave-syntax-propertize-function): Change
13765 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13766 (octave-font-lock-keywords): Use octave-operator-regexp.
13767 (octave-completion-at-point): Rename from
13768 octave-completion-at-point-function.
13769 (inferior-octave-directory-tracker): Robustify.
13770 (octave-text-functions): Remove and fix its uses. No such things
13771 any more.
13772
13773 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13774
13775 * emacs-lisp/trace.el (trace--display-buffer): New function.
13776 (trace-make-advice): Use it.
13777
13778 2013-05-06 Juri Linkov <juri@jurta.org>
13779
13780 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13781 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13782 Doc fix.
13783 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13784 in the help string. (Bug#12985)
13785
13786 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13787
13788 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13789
13790 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13791
13792 * progmodes/perl-mode.el: Add support for here documents.
13793 (perl-syntax-propertize-function): Match here-doc markers.
13794 (perl-syntax-propertize-special-constructs): Find their end.
13795 (perl-imenu-generic-expression): Use [:alnum:].
13796
13797 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13798 (advice--add-function): Refresh the advice if already present
13799 (bug#14317).
13800
13801 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13802
13803 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13804
13805 2013-05-06 Glenn Morris <rgm@gnu.org>
13806
13807 * w32-fns.el (w32-charset-info-alist): Declare.
13808
13809 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13810 of its defcustom properties.
13811 (eshell-cmpl-initialize): No need to load pcomplete.
13812
13813 * generic-x.el: No need to require comint when compiling.
13814
13815 * net/eudc-export.el: Make it loadable without bbdb.
13816 (top-level): Use require rather than load-library.
13817 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13818 (eudc-batch-export-records-to-bbdb)
13819 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13820 Require bbdb.
13821
13822 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13823
13824 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13825 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13826 some tweaks, instead.
13827
13828 2013-05-05 Leo Liu <sdl.web@gmail.com>
13829
13830 * progmodes/octave.el (octave-font-lock-keywords)
13831 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13832 (inferior-octave-send-list-and-digest): Improve error message.
13833 (octave-mode, inferior-octave-mode): Use setq-local.
13834 (octave-help): Set info-lookup-mode.
13835
13836 2013-05-05 Richard Stallman <rms@gnu.org>
13837
13838 * vc/compare-w.el (compare-windows-whitespace):
13839 Treat no-break space as whitespace.
13840
13841 * mail/rmailsum.el (rmail-summary-rmail-update):
13842 Detect empty summary and don't change selected message.
13843 (rmail-summary-goto-msg): Likewise.
13844
13845 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13846 Doc fixes, rename args.
13847
13848 2013-05-05 Alan Mackenzie <acm@muc.de>
13849
13850 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13851
13852 2013-05-05 Juri Linkov <juri@jurta.org>
13853
13854 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13855 to not add the length of the summary segment to the return value.
13856 (Bug#14125)
13857
13858 2013-05-05 Leo Liu <sdl.web@gmail.com>
13859
13860 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13861 (inferior-octave-output-filter): Remove.
13862 (octave-send-region, inferior-octave-startup): Fix callers.
13863 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13864 (octave-binary-file-extensions): New user variable.
13865 (octave-find-definition): Confirm if opening binary files.
13866 (octave-help-file): Use octave-find-definition to get the binary
13867 confirmation.
13868 (octave-help): Adjust for octave-help-file change.
13869
13870 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13871
13872 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13873 Merge the two entries that handle function definitions.
13874 (pascal--syntax-propertize): New const.
13875 (pascal-mode): Use it. Use setq-local.
13876
13877 2013-05-04 Glenn Morris <rgm@gnu.org>
13878
13879 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13880 (diary-from-outlook): Respect diary-from-outlook-function.
13881
13882 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13883
13884 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13885 Move the declaration from C.
13886 (read-minibuffer, eval-minibuffer): Move from C.
13887 (completion-setup-function): Avoid minibuffer-completion-contents.
13888
13889 2013-05-03 Leo Liu <sdl.web@gmail.com>
13890
13891 * progmodes/octave.el (octave-font-lock-keywords): Do not
13892 dehighlight 'end' in comments or strings.
13893 (octave-completing-read, octave-goto-function-definition):
13894 New helpers.
13895 (octave-help-buffer): New user variable.
13896 (octave-help-file, octave-help-function): New button types.
13897 (octave-help): New command and bind it to C-h ;.
13898 (octave-find-definition): New command and bind it to M-.
13899 (user-error): Alias to error if not defined.
13900
13901 2013-05-02 Leo Liu <sdl.web@gmail.com>
13902
13903 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13904 for \. (bug#14332)
13905 (octave-font-lock-keywords): Include [ and {.
13906
13907 2013-05-02 Leo Liu <sdl.web@gmail.com>
13908
13909 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13910 (inferior-octave): Remove calling comint-mode and return the buffer.
13911 (inferior-octave-startup): Cosmetic changes.
13912
13913 2013-05-02 Leo Liu <sdl.web@gmail.com>
13914
13915 * progmodes/octave.el (octave-syntax-propertize-function):
13916 Include the case when ' is at line beginning. (Bug#14336)
13917
13918 2013-05-02 Glenn Morris <rgm@gnu.org>
13919
13920 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13921 * desktop.el (vc-dir-mode): Just autoload it here.
13922
13923 2013-05-02 Alan Mackenzie <acm@muc.de>
13924
13925 Eliminate variable c-standard-font-lock-fontify-region-function.
13926 * progmodes/cc-mode.el
13927 (c-standard-font-lock-fontify-region-function): Remove.
13928 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13929
13930 2013-05-01 Leo Liu <sdl.web@gmail.com>
13931
13932 * progmodes/octave.el: Compatible with older emacs-24 releases.
13933 (inferior-octave-has-built-in-variables): Remove. Built-in
13934 variables were removed from Octave in 2007.
13935 (inferior-octave-startup): Fix uses.
13936 (comint-line-beginning-position): Remove compatibility code for
13937 emacs 21.
13938
13939 2013-05-01 Juri Linkov <juri@jurta.org>
13940
13941 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13942
13943 2013-05-01 Juri Linkov <juri@jurta.org>
13944
13945 * comint.el (comint-previous-matching-input): Don't print message
13946 "History item: %d" when `isearch-mode' is active.
13947 (comint-history-isearch-message): Print message "History item: %d"
13948 when `comint-input-ring-index' is not empty and this function is
13949 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13950
13951 2013-05-01 Leo Liu <sdl.web@gmail.com>
13952
13953 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13954 definitions. Use completion-at-point to insert keywords.
13955 (octave-abbrev-start): Remove.
13956 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13957
13958 2013-04-30 Leo Liu <sdl.web@gmail.com>
13959
13960 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13961 change.
13962
13963 2013-04-30 Alan Mackenzie <acm@muc.de>
13964
13965 Handle arbitrarily long C++ member initialisation lists.
13966 * progmodes/cc-engine.el (c-back-over-member-initializers):
13967 new function.
13968 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13969 (most) member init lists.
13970
13971 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13972
13973 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13974 variable.
13975
13976 2013-04-30 Leo Liu <sdl.web@gmail.com>
13977
13978 * progmodes/octave.el (octave-variables): Remove. No builtin
13979 variables any more. All converted to functions.
13980 (octave-font-lock-keywords, octave-completion-at-point-function):
13981 Fix uses.
13982 (octave-font-lock-texinfo-comment): New user variable.
13983 (octave-texinfo-font-lock-keywords): New variable for texinfo
13984 comment block.
13985 (octave-function-comment-block): New face.
13986 (octave-font-lock-texinfo-comment): New function.
13987 (octave-mode): Font lock texinfo comment block.
13988
13989 2013-04-29 Leo Liu <sdl.web@gmail.com>
13990
13991 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13992 indexing expression.
13993 (octave-continuation-string): Do not use \.
13994 (inferior-octave-complete-impossible): Remove.
13995 (inferior-octave-completion-table)
13996 (inferior-octave-completion-at-point): Remove its uses.
13997 (inferior-octave-startup): completion_matches was introduced to
13998 Octave in 1996 so safe to assume it.
13999 (octave-function-file-comment): Improve to follow how Octave does it.
14000 (octave-update-function-file-comment): Tweak.
14001
14002 2013-04-29 Leo Liu <sdl.web@gmail.com>
14003
14004 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14005 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14006 (octave-function-file-comment): Fix typo.
14007 (octave-sync-function-file-names): Use read-char-choice.
14008
14009 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14010
14011 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14012 to t for the less important warnings.
14013
14014 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14015
14016 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14017
14018 2013-04-27 Glenn Morris <rgm@gnu.org>
14019
14020 * vc/log-view.el (log-view-current-entry):
14021 Treat "---" separator lines as part of the following rev. (Bug#14169)
14022
14023 2013-04-27 Juri Linkov <juri@jurta.org>
14024
14025 * subr.el (read-number): Doc fix about using it by interactive
14026 code letter `n'. (Bug#14254)
14027
14028 2013-04-27 Juri Linkov <juri@jurta.org>
14029
14030 * desktop.el (desktop-auto-save-timeout): New option.
14031 (desktop-file-checksum): New variable.
14032 (desktop-save): Add optional arg `auto-save' and don't auto-save
14033 if nothing changed.
14034 (desktop-auto-save-timer): New variable.
14035 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14036 (after-init-hook): Call `desktop-auto-save-set-timer'.
14037 Suggested by Reuben Thomas <rrt@sc3d.org> in
14038 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14039
14040 2013-04-27 Leo Liu <sdl.web@gmail.com>
14041
14042 * progmodes/octave.el (octave-function-file-p)
14043 (octave-skip-comment-forward, octave-function-file-comment)
14044 (octave-update-function-file-comment): New functions.
14045 (octave-mode-map): Bind C-c ; to
14046 octave-update-function-file-comment.
14047 (octave-mode-menu): Add octave-update-function-file-comment.
14048 (octave-mode, inferior-octave-mode): Fix doc-string.
14049 (octave-insert-defun): Conform to Octave's coding convention.
14050 (Bug#14285)
14051
14052 * files.el (basic-save-buffer): Don't let errors in
14053 before-save-hook prevent saving buffer.
14054
14055 2013-04-20 Roland Winkler <winkler@gnu.org>
14056
14057 * faces.el (read-face-name): Use completing-read if arg multiple
14058 is nil.
14059
14060 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14061
14062 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14063 displayed, move point to after the totals line.
14064 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14065 for the details.
14066
14067 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14068
14069 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14070 Add current dir to the load-path.
14071 (package-generate-autoloads): Don't rely on
14072 autoload-ensure-default-file.
14073
14074 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14075
14076 * textmodes/remember.el (remember-store-in-files): Document that
14077 the file name format is passed to `format-time-string'.
14078
14079 2013-04-26 Leo Liu <sdl.web@gmail.com>
14080
14081 * progmodes/octave.el (octave-sync-function-file-names): New function.
14082 (octave-mode): Use it in before-save-hook.
14083
14084 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14085
14086 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14087 (bug#14274).
14088
14089 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14090 \n and comment, even if it's not an implicit ; (bug#14218).
14091
14092 2013-04-26 Glenn Morris <rgm@gnu.org>
14093
14094 * subr.el (read-number): Once more use `read' rather than
14095 `string-to-number', to trap non-numeric input. (Bug#14254)
14096
14097 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14098
14099 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14100 Use `syntax-multiline' text property consistently instead of
14101 `font-lock-multiline'. (Bug#14237)
14102
14103 2013-04-26 Glenn Morris <rgm@gnu.org>
14104
14105 * emacs-lisp/shadow.el (list-load-path-shadows):
14106 No longer necessary to check for duplicate simple.el, since
14107 2012-07-07 change to init_lread to not include installation lisp
14108 directories in load-path when running uninstalled. (Bug#14270)
14109
14110 2013-04-26 Leo Liu <sdl.web@gmail.com>
14111
14112 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14113 (octave-mode, inferior-octave-mode): Use setq-local.
14114 (octave-not-in-string-or-comment-p): Rename to
14115 octave-in-string-or-comment-p.
14116 (octave-in-comment-p, octave-in-string-p)
14117 (octave-in-string-or-comment-p): Replace defsubst with defun.
14118
14119 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14120
14121 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14122
14123 2013-04-25 Bastien Guerry <bzg@gnu.org>
14124
14125 * textmodes/remember.el (remember-data-directory)
14126 (remember-directory-file-name-format): Fix custom types.
14127
14128 2013-04-25 Leo Liu <sdl.web@gmail.com>
14129
14130 * progmodes/octave.el (octave-completion-at-point-function):
14131 Make use of inferior octave process.
14132 (octave-initialize-completions): Remove.
14133 (inferior-octave-completion-table): New function.
14134 (inferior-octave-completion-at-point): Use it.
14135 (octave-completion-alist): Remove.
14136
14137 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14138
14139 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14140 (opascal-mode-syntax-table): New var.
14141 (opascal-literal-kind, opascal-is-literal-end)
14142 (opascal-literal-token-at): Rewrite.
14143 (opascal--literal-start-re, opascal-font-lock-keywords)
14144 (opascal--syntax-propertize): New constants.
14145 (opascal-font-lock-defaults): Adjust.
14146 (opascal-mode): Use them. Set comment-<foo> variables as well.
14147 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14148 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14149 (delphi-other-face, opascal-other-face): Remove face variables.
14150 (opascal-save-state): Remove macro.
14151 (opascal-fontifying-progress-step): Remove constant.
14152 (opascal--ignore-changes): Remove var.
14153 (opascal-set-token-property, opascal-parse-next-literal)
14154 (opascal-is-stable-literal, opascal-complete-literal)
14155 (opascal-is-literal-start, opascal-face-of)
14156 (opascal-parse-region, opascal-parse-region-until-stable)
14157 (opascal-fontify-region, opascal-after-change)
14158 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14159 (opascal-debug-parse-region, opascal-debug-parse-window)
14160 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14161 (opascal-debug-fontify-buffer): Remove.
14162 (opascal-debug-mode-map): Adjust accordingly.
14163
14164 2013-04-25 Leo Liu <sdl.web@gmail.com>
14165
14166 Merge octave-mod.el and octave-inf.el into octave.el with some
14167 cleanups.
14168 * progmodes/octave.el: New file renamed from octave-mod.el.
14169 * progmodes/octave-inf.el: Merged into octave.el.
14170 * progmodes/octave-mod.el: Renamed to octave.el.
14171
14172 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14173
14174 * textmodes/reftex-vars.el
14175 (reftex-label-ignored-macros-and-environments): New defcustom.
14176
14177 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14178
14179 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14180
14181 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14182 (smie-indent-keyword): Improve the check to ensure that the next
14183 comment is really on the same line.
14184 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14185
14186 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14187 semi-colons if the line is not otherwise empty (bug#14218).
14188
14189 2013-04-25 Glenn Morris <rgm@gnu.org>
14190
14191 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14192
14193 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14194
14195 * progmodes/opascal.el (opascal-set-token-property): Rename from
14196 opascal-set-text-properties and only set `token' (bug#14134).
14197 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14198 (opascal-literal-text-properties): Remove.
14199 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14200 Adjust callers.
14201
14202 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14203
14204 * textmodes/remember.el (remember-handler-functions): Add an
14205 option for a new handler `remember-store-in-files'.
14206 (remember-data-directory, remember-directory-file-name-format):
14207 New options.
14208 (remember-store-in-files): New function to store remember notes
14209 as separate files within a directory.
14210
14211 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14212
14213 * progmodes/compile.el (compilation-next-error-function):
14214 Pass "formats" to compilation-find-file (bug#11777).
14215
14216 2013-04-24 Glenn Morris <rgm@gnu.org>
14217
14218 * vc/vc-bzr.el (vc-bzr-print-log):
14219 * vc/vc-hg.el (vc-hg-print-log):
14220 * vc/vc-svn.el (vc-svn-print-log):
14221 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14222
14223 * vc/vc-bzr.el (vc-bzr-print-log):
14224 * vc/vc-cvs.el (vc-cvs-print-log):
14225 * vc/vc-git.el (vc-git-print-log):
14226 * vc/vc-hg.el (vc-hg-print-log):
14227 * vc/vc-mtn.el (vc-mtn-print-log):
14228 * vc/vc-rcs.el (vc-rcs-print-log):
14229 * vc/vc-sccs.el (vc-sccs-print-log):
14230 * vc/vc-svn.el (vc-svn-print-log):
14231 * vc/vc.el (vc-print-log-internal): Doc fixes.
14232
14233 2013-04-23 Glenn Morris <rgm@gnu.org>
14234
14235 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14236 Remove venerable code attempting to avoid substitute-command-keys.
14237
14238 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14239
14240 * textmodes/reftex-vars.el (reftex-label-regexps):
14241 Call `reftex-compile-variables' after changes to this variable.
14242
14243 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14244
14245 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14246 Use lexical-binding.
14247 (jit-lock-force-redisplay): Use markers, check buffer's continued
14248 existence and beware narrowed buffers.
14249 (jit-lock-fontify-now): Adjust call accordingly.
14250
14251 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14252
14253 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14254 to avoid misleading the user.
14255
14256 2013-04-22 Leo Liu <sdl.web@gmail.com>
14257
14258 * info-look.el: Prefer latex2e.info. (Bug#14240)
14259
14260 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14261
14262 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14263
14264 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14265 * net/tramp.el (tramp-call-process): ... here.
14266 (tramp-set-completion-function, tramp-parse-putty):
14267 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14268 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14269 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14270 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14271 (tramp-call-local-coding-command): Use `tramp-call-process'
14272 instead of `tramp-compat-call-process'.
14273
14274 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14275 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14276 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14277 (tramp-find-inline-compress): Improve traces.
14278 (tramp-maybe-send-script): Check for Perl binary.
14279 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14280
14281 2013-04-22 Daiki Ueno <ueno@gnu.org>
14282
14283 * epg.el (epg-context-pinentry-mode): New function.
14284 (epg-context-set-pinentry-mode): New function.
14285 (epg--start): Pass --pinentry-mode option to gpg command.
14286
14287 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14288
14289 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14290 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14291 `completion-at-point'. (Bug#13774)
14292
14293 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14294 default key binding for `describe-distribution' has been moved to
14295 `C-h C-o'. (Bug#13970)
14296
14297 2013-04-21 Glenn Morris <rgm@gnu.org>
14298
14299 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14300 Add doc strings.
14301 (vc-print-log): Clarify interactive prompt.
14302
14303 2013-04-20 Glenn Morris <rgm@gnu.org>
14304
14305 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14306 No longer include timestamp etc information.
14307
14308 2013-04-20 Roland Winkler <winkler@gnu.org>
14309
14310 * faces.el (read-face-name): Bug fix, return just one face if arg
14311 multiple is nil. (Bug#14209)
14312
14313 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14314
14315 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14316 (remove-function): Autoload.
14317
14318 * comint.el (comint-redirect-original-filter-function): Remove.
14319 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14320 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14321 (vc-cvs-annotate-command):
14322 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14323 * progmodes/prolog.el (prolog-consult-compile):
14324 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14325 Use add/remove-function instead.
14326 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14327 (gud-tooltip-process-output, gud-tooltip-tips):
14328 Use add/remove-function instead.
14329 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14330 (scheme-interaction-mode, exit-scheme-interaction-mode):
14331 Use add/remove-function instead.
14332
14333 * vc/vc-dispatcher.el: Use lexical-binding.
14334 (vc--process-sentinel): Rename from vc-process-sentinel.
14335 Change last arg to be the code to run. Don't use vc-previous-sentinel
14336 and vc-sentinel-commands any more.
14337 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14338 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14339
14340 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14341
14342 * progmodes/sh-script.el (sh-imenu-generic-expression):
14343 Handle function names with a single character. (Bug#14111)
14344
14345 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14346
14347 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14348 for subroutines defined in an eval (bug#14182).
14349
14350 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14351
14352 * bookmark.el (bookmark-completing-read): Improve handling of empty
14353 string (bug#14176).
14354
14355 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14356
14357 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14358
14359 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14360
14361 New faster Imenu implementation (bug#14058).
14362 * progmodes/python.el (python-imenu-prev-index-position)
14363 (python-imenu-format-item-label-function)
14364 (python-imenu-format-parent-item-label-function)
14365 (python-imenu-format-parent-item-jump-label-function):
14366 New vars.
14367 (python-imenu-format-item-label)
14368 (python-imenu-format-parent-item-label)
14369 (python-imenu-format-parent-item-jump-label)
14370 (python-imenu--put-parent, python-imenu--build-tree)
14371 (python-imenu-create-index, python-imenu-create-flat-index)
14372 (python-util-popn): New functions.
14373 (python-mode): Set imenu-create-index-function to
14374 python-imenu-create-index.
14375
14376 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14377
14378 * winner.el (winner-active-region): Use region-active-p, activate-mark
14379 and deactivate-mark (bug#14225).
14380
14381 * simple.el (deactivate-mark): Don't inline it.
14382
14383 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14384
14385 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14386
14387 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14388
14389 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14390 file extensions from the archive-mode entry in order to prefer
14391 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14392
14393 2013-04-18 Leo Liu <sdl.web@gmail.com>
14394
14395 * bindings.el (help-event-list): Add ?\?.
14396
14397 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14398
14399 * subr.el (with-wrapper-hook): Declare obsolete.
14400 * simple.el (filter-buffer-substring-function): New hook.
14401 (filter-buffer-substring): Use it.
14402 (filter-buffer-substring-functions): Mark obsolete.
14403 * minibuffer.el (completion-in-region-function): New hook.
14404 (completion-in-region): Use it.
14405 (completion-in-region-functions): Mark obsolete.
14406 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14407 * abbrev.el (abbrev-expand-function): New hook.
14408 (expand-abbrev): Use it.
14409 (abbrev-expand-functions): Mark obsolete.
14410 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14411 and :filter-return.
14412
14413 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14414
14415 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14416 and do not care about match data.
14417
14418 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14419
14420 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14421 completion tables when completing error conditions and
14422 `declare' arguments.
14423 (lisp-complete-symbol, field-complete): Mark as obsolete.
14424 (check-parens): Unmatched parens are user errors.
14425 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14426
14427 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14428
14429 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14430 command changed buffer (ie. `flyspell-pre-buffer' is not current
14431 buffer), which prevents making decisions based on invalid value of
14432 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14433 cause an error when `flyspell-pre-point' was nil after switching
14434 buffers.
14435 (flyspell-post-command-hook): No longer needs to change buffers when
14436 checking pre-word. While at it remove unnecessary progn.
14437
14438 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14439
14440 * textmodes/ispell.el (ispell-add-per-file-word-list):
14441 Fix `flyspell-correct-word-before-point' error when accepting
14442 words and `coment-padding' is an integer by using
14443 `comment-normalize-vars' (Bug #14214).
14444
14445 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14446
14447 New defun movement commands.
14448 * progmodes/python.el (python-nav--syntactically)
14449 (python-nav--forward-defun, python-nav-backward-defun)
14450 (python-nav-forward-defun): New functions.
14451
14452 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14453
14454 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14455 (python-syntax-context): Use named compiler-macro for backwards
14456 compatibility with Emacs 24.x.
14457
14458 2013-04-17 Leo Liu <sdl.web@gmail.com>
14459
14460 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14461 octave-hide-process-buffer.
14462
14463 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14464
14465 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14466 (bug#14216).
14467
14468 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14469
14470 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14471 Fix adjustment of offset when receiving incomplete responses from GDB
14472 (bug#14129).
14473
14474 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14475
14476 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14477 python-mode-abbrev-table.
14478 (python-skeleton-define): Adjust accordingly.
14479 (python-mode-abbrev-table): New table that inherits from it so that
14480 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14481
14482 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14483 (abbrev-symbol): Use it.
14484 (abbrev--before-point): Use it since we already handle inheritance.
14485
14486 2013-04-16 Leo Liu <sdl.web@gmail.com>
14487
14488 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14489 binding to info-lookup-symbol.
14490
14491 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14492
14493 * minibuffer.el (completion--twq-all):
14494 * term/ns-win.el (ns-initialize-window-system):
14495 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14496
14497 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14498
14499 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14500 global bindings.
14501
14502 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14503
14504 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14505
14506 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14507 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14508 to nil.
14509 (ruby-end-of-defun): Remove the unused arg, change the docstring
14510 to reflect that this function is only used as the value of
14511 `end-of-defun-function'.
14512 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14513 to reflect an earlier change that beginning/end-of-defun functions
14514 jump between methods in a class definition, as well as top-level
14515 functions.
14516
14517 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14518
14519 * minibuffer.el (minibuffer-complete): Don't just scroll
14520 a *Completions* that's been iconified.
14521 (minibuffer-force-complete): Make sure repetitions do cycle when going
14522 through completion-in-region -> minibuffer-complete.
14523
14524 2013-04-15 Alan Mackenzie <acm@muc.de>
14525
14526 Correct the placement of c-cpp-delimiters when there're #s not at
14527 col 0.
14528
14529 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14530 place a submatch around the #.
14531 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14532 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14533 on the #, not BOL.
14534
14535 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14536
14537 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14538 (advice--member-p): New arg `name'.
14539 (advice--add-function, advice-member-p): Use it (bug#14202).
14540
14541 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14542
14543 Reformulate java imenu-generic-expression.
14544 The old expression contained ill formed regexps.
14545
14546 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14547 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14548 (cc-imenu-java-method-arg-regexp): New defconsts.
14549 (cc-imenu-java-build-type-args-regex): New defun.
14550 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14551 handling of spaces in the regexp.
14552
14553 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14554
14555 * textmodes/ispell.el (ispell-command-loop): Remove
14556 flyspell highlight of a word when ispell accepts it (bug #14178).
14557
14558 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14559
14560 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14561 uses code from the previous `ange-ftp-run-real-handler'.
14562 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14563 only in case that function exist. This is needed for proper
14564 unloading of Tramp.
14565
14566 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14567
14568 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14569
14570 * textmodes/reftex.el (reftex-compile-variables): Use it.
14571
14572 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14573
14574 * files.el (normal-mode): Only use default major-mode if no other mode
14575 was specified.
14576
14577 * emacs-lisp/trace.el (trace-values): New function.
14578
14579 * files.el: Allow : in local variables (bug#14089).
14580 (hack-local-variable-regexp): New var.
14581 (hack-local-variables-prop-line, hack-local-variables): Use it.
14582
14583 2013-04-13 Roland Winkler <winkler@gnu.org>
14584
14585 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14586 data before it gets modified by bibtex-beginning-of-entry.
14587
14588 2013-04-13 Roland Winkler <winkler@gnu.org>
14589
14590 * textmodes/bibtex.el (bibtex-url): Doc fix.
14591
14592 2013-04-13 Roland Winkler <winkler@gnu.org>
14593
14594 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14595 does not visit a BibTeX file, exclude it from the list of buffers
14596 returned by bibtex-initialize.
14597
14598 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14599
14600 * window.el (split-window): Remove interactive form, since as a
14601 command this function is a special case of split-window-below.
14602 Correct doc string.
14603
14604 2013-04-12 Roland Winkler <winkler@gnu.org>
14605
14606 * faces.el (read-face-name): Do not override value of arg default.
14607 Allow single faces and strings as default values. Remove those
14608 elements from return value that are not faces.
14609 (describe-face): Simplify.
14610 (face-at-point): New optional args thing and multiple so that this
14611 function can provide the same functionality previously provided by
14612 read-face-name.
14613 (make-face-bold, make-face-unbold, make-face-italic)
14614 (make-face-unitalic, make-face-bold-italic, invert-face)
14615 (modify-face, read-face-and-attribute): Use face-at-point.
14616
14617 * cus-edit.el (customize-face, customize-face-other-window)
14618 * cus-theme.el (custom-theme-add-face)
14619 * face-remap.el (buffer-face-set)
14620 * facemenu.el (facemenu-set-face): Use face-at-point.
14621
14622 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14623
14624 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14625
14626 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14627
14628 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14629 off leading { and trailing } from field values.
14630
14631 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14632
14633 * emacs-lisp/timer.el (timer--check): New function.
14634 (timer--time, timer-set-function, timer-event-handler): Use it.
14635 (timer-set-idle-time): Simplify.
14636 (timer--activate): CSE.
14637 (timer-event-handler): Give more info in error message.
14638 (internal-timer-start-idle): New function, moved from C.
14639
14640 * mpc.el (mpc-proc): Add `restart' argument.
14641 (mpc-proc-cmd): Use it.
14642 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14643 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14644 less often.
14645
14646 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14647
14648 * progmodes/sh-script.el: Implement `sh-mode' own
14649 `add-log-current-defun-function' (bug#14112).
14650 (sh-current-defun-name): New function.
14651 (sh-mode): Use the function.
14652
14653 2013-04-09 Bastien Guerry <bzg@gnu.org>
14654
14655 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14656
14657 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14658
14659 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14660
14661 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14662 timer (bug#14156).
14663
14664 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14665
14666 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14667 declaration.
14668
14669 2013-04-07 Leo Liu <sdl.web@gmail.com>
14670
14671 * pcmpl-x.el: New file.
14672
14673 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14674
14675 Do not set x-display-name until X connection is established.
14676 This is needed to prevent from weird situation described at
14677 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14678 * frame.el (make-frame): Set x-display-name after call to
14679 window system initialization function, not before.
14680 * term/x-win.el (x-initialize-window-system): Add optional
14681 display argument and use it.
14682 * term/w32-win.el (w32-initialize-window-system):
14683 * term/ns-win.el (ns-initialize-window-system):
14684 * term/pc-win.el (msdos-initialize-window-system):
14685 Add compatible optional display argument.
14686
14687 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14688
14689 * files.el (normal-backup-enable-predicate): On MS-Windows and
14690 MS-DOS compare truenames of temporary-file-directory and of the
14691 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14692 don't fail comparison by compare-strings. Also, compare file
14693 names case-insensitively on MS-Windows and MS-DOS.
14694
14695 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14696
14697 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14698 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14699
14700 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14701
14702 * whitespace.el (whitespace-color-on, whitespace-color-off):
14703 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14704
14705 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14706
14707 * ispell.el (ispell-set-spellchecker-params):
14708 Really set `ispell-args' for all equivs.
14709
14710 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14711
14712 * ido.el (ido-completions): Use extra elements of ido-decorations
14713 (bug#14143).
14714 (ido-decorations): Update docstring.
14715
14716 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
14717
14718 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14719 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14720 nil during initialization, in order not to miss changes since the
14721 file was opened. (Bug#14140)
14722
14723 2013-04-05 Leo Liu <sdl.web@gmail.com>
14724
14725 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14726
14727 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14728
14729 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14730
14731 2013-04-04 Glenn Morris <rgm@gnu.org>
14732
14733 * electric.el (electric-pair-inhibit-predicate): Add :version.
14734
14735 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14736
14737 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14738 when a package is required several times (bug#14082).
14739
14740 2013-04-04 Roland Winkler <winkler@gnu.org>
14741
14742 * faces.el (read-face-name): Behave as promised by the docstring.
14743 Assume that arg default is a list of faces.
14744 (describe-face): Call read-face-name with list of default faces.
14745
14746 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14747
14748 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14749 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14750 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14751 the header.
14752 (bookmark-exit-hook-internal): Save even if list is empty.
14753
14754 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14755
14756 * emacs-lisp/package.el (package-pinned-packages): New var.
14757 (package--add-to-archive-contents): Obey it (bug#14118).
14758
14759 2013-04-03 Alan Mackenzie <acm@muc.de>
14760
14761 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14762 Also adapt to the new values of element 7 of a parse state.
14763
14764 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14765 parameter `not-in-delimiter'. Handle being inside comment opener.
14766 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14767 character in case we're typing a '*' after a '/'.
14768 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14769 instead by passing the parameter to c-state-pp-to-literal.
14770
14771 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14772 for elt. 7 of a parse state.
14773
14774 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14775
14776 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14777 * international/latin1-disp.el, international/mule-util.el:
14778 * language/cyril-util.el, language/european.el, language/ind-util.el:
14779 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14780 * language/tibetan.el, language/viet-util.el:
14781 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14782
14783 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14784
14785 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14786 (electric-pair-post-self-insert-function): Use it.
14787 (electric-pair-default-inhibit): New function, extracted from
14788 electric-pair-post-self-insert-function.
14789
14790 2013-03-31 Roland Winkler <winkler@gnu.org>
14791
14792 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14793
14794 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14795
14796 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14797
14798 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14799
14800 Un-indent after "pass" and "return" statements (Bug#13888)
14801 * progmodes/python.el (python-indent-block-enders): New var.
14802 (python-indent-calculate-indentation): Use it.
14803
14804 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14805
14806 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14807 defun. Defining it as defalias could introduce too eager
14808 byte-compiler optimization. (Bug#14030)
14809
14810 2013-03-30 Chong Yidong <cyd@gnu.org>
14811
14812 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14813
14814 2013-03-30 Leo Liu <sdl.web@gmail.com>
14815
14816 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14817 (kmacro-execute-from-register): Pass the keyboard macro to
14818 kmacro-call-macro or repeating won't work correctly.
14819
14820 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14821
14822 * progmodes/subword.el: Back to using `forward-symbol'.
14823
14824 * subr.el (forward-whitespace, forward-symbol)
14825 (forward-same-syntax): Move from thingatpt.el.
14826
14827 2013-03-29 Leo Liu <sdl.web@gmail.com>
14828
14829 * kmacro.el (kmacro-to-register): New command.
14830 (kmacro-execute-from-register): New function.
14831 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14832
14833 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14834
14835 * mpc.el: Use defvar-local and setq-local.
14836 (mpc--proc-connect): Connection failures are not bugs.
14837 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14838 (mpc-volume-map): Bind to the up-events.
14839
14840 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14841
14842 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14843 instead of `forward-symbol'.
14844
14845 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14846
14847 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14848 (edebug--recursive-edit): Use it.
14849 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14850 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14851
14852 2013-03-28 Leo Liu <sdl.web@gmail.com>
14853
14854 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14855
14856 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14857
14858 * facemenu.el (list-colors-callback): New defvar.
14859 (list-colors-redisplay): New function.
14860 (list-colors-display): Install list-colors-redisplay as the
14861 revert-buffer-function. (Bug#14063)
14862
14863 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14864
14865 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14866 and suffixes don't overlap (bug#14061).
14867
14868 * case-table.el: Use lexical-binding.
14869 (case-table-get-table): New function.
14870 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14871
14872 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14873
14874 * progmodes/subword.el: Add `superword-mode' to do word motion
14875 over symbol_words (parallels and leverages `subword-mode' which
14876 does word motion inside MixedCaseWords).
14877
14878 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14879
14880 * eshell/em-unix.el: Move su and sudo to...
14881 * eshell/em-tramp.el: ...Eshell tramp module.
14882
14883 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14884
14885 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14886 Change return value to be a sexp. Delay `get-buffer' to after
14887 restoring the desktop (bug#13951).
14888
14889 2013-03-26 Leo Liu <sdl.web@gmail.com>
14890
14891 * register.el: Move semantic tag handling back to
14892 cedet/semantic/senator.el. (Bug#14052)
14893
14894 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14895
14896 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14897 into the prompt either (bug#13963).
14898
14899 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14900
14901 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14902 part of "(error-foo)".
14903
14904 2013-03-24 Juri Linkov <juri@jurta.org>
14905
14906 * replace.el (list-matching-lines-prefix-face): New defcustom.
14907 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14908 `occur-engine' if `face-differs-from-default-p' returns t.
14909 (occur-engine): Add `,' inside backquote construct to evaluate
14910 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14911 Pass `prefix-face' to the functions `occur-context-lines' and
14912 `occur-engine-add-prefix'.
14913 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14914 `prefix-face' and propertize the prefix with `prefix-face'.
14915 (Bug#14017)
14916
14917 2013-03-24 Leo Liu <sdl.web@gmail.com>
14918
14919 * nxml/rng-valid.el (rng-validate-while-idle)
14920 (rng-validate-quick-while-idle): Guard against deleted buffer.
14921 (Bug#13999)
14922
14923 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14924 is the last entry in kill-buffer-hook.
14925
14926 * files.el (kill-buffer-hook): Doc fix.
14927
14928 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14929
14930 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14931 Make it safe-local.
14932
14933 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14934
14935 2013-03-23 Leo Liu <sdl.web@gmail.com>
14936
14937 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14938 Remove.
14939
14940 * nxml/rng-valid.el (rng-validate-mode)
14941 (rng-after-change-function, rng-do-some-validation):
14942 * nxml/rng-maint.el (rng-validate-buffer):
14943 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14944 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14945 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14946 (nxml-extend-after-change-region): Use with-silent-modifications.
14947
14948 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14949 timer-idle-list.
14950
14951 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14952 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14953 timer-idle-list. (Bug#13999)
14954
14955 2013-03-23 Juri Linkov <juri@jurta.org>
14956
14957 * info.el (info-index-match): New face.
14958 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14959 main pattern and add text properties with the new face to matches
14960 in index entries relative to the beginning of the index entry.
14961 (Bug#14015)
14962
14963 2013-03-21 Eric Ludlam <zappo@gnu.org>
14964
14965 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14966 Inhibit read only while inserting objects.
14967
14968 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14969
14970 * progmodes/cfengine.el: Update docs to mention
14971 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14972 symbol motion. Remove "_" from the word syntax.
14973
14974 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14975
14976 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14977 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14978
14979 2013-03-20 Juri Linkov <juri@jurta.org>
14980
14981 * info.el (Info-next-reference-or-link)
14982 (Info-prev-reference-or-link): New functions.
14983 (Info-next-reference, Info-prev-reference): Use them.
14984 (Info-try-follow-nearest-node): Handle footnote navigation.
14985 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14986
14987 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14988
14989 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14990 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14991
14992 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14993
14994 Suppress unnecessary non-ASCII chatter during build process.
14995 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14996 (batch-skkdic-convert): Suppress most of the chatter.
14997 It's not needed so much now that machines are faster,
14998 and its non-ASCII component was confusing; see Dmitry Gutov in
14999 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15000
15001 2013-03-20 Leo Liu <sdl.web@gmail.com>
15002
15003 * ido.el (ido-chop): Fix bug#10994.
15004
15005 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15006
15007 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15008 Remove vars.
15009 (whitespace-color-on, whitespace-color-off):
15010 Use `font-lock-fontify-buffer' (Bug#13817).
15011
15012 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15013
15014 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15015 remapping in mode-line.
15016 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15017
15018 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15019
15020 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15021 value for `whitespace-line' face (Bug#13875).
15022 (whitespace-font-lock-keywords): Change description.
15023 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15024 the constructed keywords instead.
15025 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15026
15027 2013-03-19 Leo Liu <sdl.web@gmail.com>
15028
15029 * progmodes/compile.el (compilation-display-error): New command.
15030 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15031 C-o. (Bug#13992)
15032
15033 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15034
15035 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15036
15037 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15038
15039 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15040
15041 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15042
15043 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15044
15045 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15046 * net/tramp-gvfs.el (top):
15047 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15048 (tramp-handle-shell-command): Use it.
15049 (tramp-dissect-file-name): Raise an error when hostname is a
15050 method name, and neither method nor user is specified.
15051
15052 * net/trampver.el: Update release number.
15053
15054 2013-03-18 Leo Liu <sdl.web@gmail.com>
15055
15056 Make sure eldoc can be turned off properly.
15057 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15058 eldoc-mode.
15059 (eldoc-display-message-p): Revert last change.
15060 (eldoc-display-message-no-interference-p)
15061 (eldoc-print-current-symbol-info): Tweak.
15062
15063 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15064
15065 * doc-view.el (doc-view-new-window-function): Check the new window
15066 overlay's display property instead the char property of the
15067 buffer's first char. Use `with-selected-window' instead of
15068 `save-window-excursion' with `select-window'.
15069 (doc-view-document->bitmap): Check the current doc-view overlay's
15070 display property instead the char property of the buffer's first char.
15071
15072 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15073
15074 Automate the build of ja-dic.el (Bug#13984).
15075 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15076 from the input, rather than assume that it's been done for us by the
15077 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15078 the current date into a ja-dic.el comment, as that complicates
15079 regression testing.
15080
15081 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15082
15083 * whitespace.el: Fix double evaluation.
15084 (whitespace-space, whitespace-hspace, whitespace-tab)
15085 (whitespace-newline, whitespace-trailing, whitespace-line)
15086 (whitespace-space-before-tab, whitespace-indentation)
15087 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15088 obsolete defvars.
15089 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15090 (whitespace-color-on): Use a single font-lock-add-keywords call.
15091 Fix double-evaluation of face variables.
15092
15093 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15094
15095 * net/tramp-adb.el (tramp-adb-parse-device-names):
15096 Use `start-process' instead of `call-process'. Otherwise, the
15097 function might be blocked under MS Windows. (Bug#13299)
15098
15099 2013-03-17 Leo Liu <sdl.web@gmail.com>
15100
15101 Extend eldoc to display info in the mode-line. (Bug#13978)
15102 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15103 (eldoc-mode-line-string): New variable.
15104 (eldoc-minibuffer-message): New function.
15105 (eldoc-message-function): New variable.
15106 (eldoc-message): Use it.
15107 (eldoc-display-message-p)
15108 (eldoc-display-message-no-interference-p):
15109 Support eldoc-post-insert-mode.
15110
15111 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15112 (eval-expression): Run it.
15113
15114 2013-03-17 Roland Winkler <winkler@gnu.org>
15115
15116 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15117 strings in the list of return values.
15118
15119 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15120
15121 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15122 radix before checking for HMS forms.
15123
15124 2013-03-16 Leo Liu <sdl.web@gmail.com>
15125
15126 * progmodes/scheme.el: Add indentation and font-locking for λ.
15127 (Bug#13975)
15128
15129 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15130
15131 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15132 token before point (bug#13942).
15133
15134 2013-03-16 Leo Liu <sdl.web@gmail.com>
15135
15136 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15137
15138 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15139
15140 * startup.el (command-line-normalize-file-name): Fix handling of
15141 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15142 <xfq.free@gmail.com> in
15143 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15144
15145 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15146
15147 Sync with Tramp 2.2.7.
15148
15149 * net/trampver.el: Update release number.
15150
15151 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15152
15153 * doc-view.el: Fix bug#13887.
15154 (doc-view-insert-image): Don't modify overlay associated to
15155 non-live windows, and implement horizontal centering of image in
15156 case it's smaller than the window.
15157 (doc-view-new-window-function): Force redisplay of new windows on
15158 doc-view buffers.
15159
15160 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15161
15162 * saveplace.el (save-place-alist-to-file): Don't sort
15163 `save-place-alist', just pretty-print it (bug#13882).
15164
15165 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15166
15167 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15168 Check whether `default-file-name-coding-system' is bound.
15169 It isn't in XEmacs.
15170
15171 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15172
15173 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15174 backquotes for `obsolete' (bug#13929).
15175
15176 * international/mule.el (find-auto-coding): Include file name in
15177 obsolescence warning (bug#13922).
15178
15179 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15180
15181 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15182 for CFEngine 3-specific indentation.
15183 (cfengine3-indent-line): Use it. Fix up category regex.
15184 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15185
15186 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * type-break.el (type-break-file-name):
15189 * textmodes/remember.el (remember-data-file):
15190 * strokes.el (strokes-file):
15191 * shadowfile.el (shadow-initialize):
15192 * saveplace.el (save-place-file):
15193 * ps-bdf.el (bdf-cache-file):
15194 * progmodes/idlwave.el (idlwave-config-directory):
15195 * net/quickurl.el (quickurl-url-file):
15196 * international/kkc.el (kkc-init-file-name):
15197 * ido.el (ido-save-directory-list-file):
15198 * emulation/viper.el (viper-custom-file-name):
15199 * emulation/vip.el (vip-startup-file):
15200 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15201 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15202
15203 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15204
15205 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15206 * language/thai-word.el: Switch to UTF-8.
15207
15208 See ChangeLog.16 for earlier changes.
15209
15210 ;; Local Variables:
15211 ;; coding: utf-8
15212 ;; End:
15213
15214 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15215
15216 This file is part of GNU Emacs.
15217
15218 GNU Emacs is free software: you can redistribute it and/or modify
15219 it under the terms of the GNU General Public License as published by
15220 the Free Software Foundation, either version 3 of the License, or
15221 (at your option) any later version.
15222
15223 GNU Emacs is distributed in the hope that it will be useful,
15224 but WITHOUT ANY WARRANTY; without even the implied warranty of
15225 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15226 GNU General Public License for more details.
15227
15228 You should have received a copy of the GNU General Public License
15229 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.