]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from emacs-24; up to 2014-04-04T23:31:02Z!joaotavora@gmail.com
[gnu-emacs] / lisp / ChangeLog
1 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Ediff's overlay priorities cause more trouble than they solve.
4 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
5 (ediff-highest-priority): Remove function (bug#17234).
6 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
7 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
8 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
9 overlay priorities.
10
11 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
12
13 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
14 entry; use symbol boundaries to avoid mis-matches.
15
16 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
17
18 * net/tramp.el (tramp-file-name-handler)
19 (tramp-completion-file-name-handler): Avoid recursive loading.
20
21 * net/tramp-sh.el (tramp-make-copy-program-file-name):
22 Quote result also locally.
23
24 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
27 Remove left-over code.
28
29 * newcomment.el (comment-indent-new-line): Sink code where it's used.
30 Reuse the previous comment's indentation unconditionally if it's on its
31 own line.
32
33 2014-04-09 Daniel Colascione <dancol@dancol.org>
34
35 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
36 `no-syntax-crossing' arguments. Forward to `up-list'.
37 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
38 Implement logic for escaping from strings. Use narrowing to deal
39 with corner cases.
40
41 2014-04-09 Leo Liu <sdl.web@gmail.com>
42
43 * net/rcirc.el (rcirc-connection-info): New variable.
44 (rcirc-connect): Use it to store connection info.
45 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
46 for killed process.
47 (rcirc-cmd-reconnect): New command. (Bug#17045)
48 (rcirc-mode, set-rcirc-encode-coding-system)
49 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
50
51 2014-04-09 Daniel Colascione <dancol@dancol.org>
52
53 * emacs-lisp/cl-indent.el: Add comment claiming
54 facility is also good for elisp.
55 (lisp-indent-find-method): New function.
56 (common-lisp-indent-function): Recognize cl-loop.
57 (common-lisp-indent-function-1): Recognize cl constructs; use
58 `lisp-indent-find-method' instead of `get' directly.
59 (if): Use else-body style for elisp.
60
61 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
62
63 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
64 Module methods. (Bug#17216)
65
66 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * help.el (describe-bindings): Fix buffer handling (bug#17210).
69 (describe-bindings-internal): Mark obsolete.
70
71 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
74 buffer-file-name, and buffer-file-truename any more.
75
76 2014-04-08 Leo Liu <sdl.web@gmail.com>
77
78 Use lexical-binding and require cl-lib.
79 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
80 (rcirc-handler-generic, rcirc-fill-paragraph)
81 (rcirc-format-response-string, rcirc-target-buffer)
82 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
83 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
84 (rcirc-ctcp-sender-PING, rcirc-browse-url)
85 (rcirc-markup-timestamp, rcirc-markup-attributes)
86 (rcirc-markup-my-nick, rcirc-markup-urls)
87 (rcirc-markup-bright-nicks, rcirc-markup-fill)
88 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
89 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
90 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
91 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
92 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
93 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
94 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
95 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
96 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
97 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
98 use cl-lib.
99
100 2014-04-07 João Távora <joaotavora@gmail.com>
101
102 * elec-pair.el (electric-pair--syntax-ppss):
103 When inside comments parse from comment beginning.
104 (electric-pair--balance-info): Fix typo in comment.
105 (electric-pair--in-unterminated-string-p): Delete.
106 (electric-pair--unbalanced-strings-p): New function.
107 (electric-pair-string-bound-function): New var.
108 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
109 according to `electric-pair--in-unterminated-string-p'
110
111 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
112 Inhibit quote pairing if point-max is inside an unterminated string.
113 (electric-pair--looking-at-unterminated-string-p): Delete.
114 (electric-pair--in-unterminated-string-p): New function.
115
116 2014-04-07 Glenn Morris <rgm@gnu.org>
117
118 * shell.el (shell-directory-tracker):
119 Go back to just ignoring failures. (Bug#17159)
120
121 2014-04-07 João Távora <joaotavora@gmail.com>
122
123 Fix `electric-pair-delete-adjacent-pairs' in modes binding
124 backspace. (bug#16981)
125 * elec-pair.el (electric-pair-backward-delete-char): Delete.
126 (electric-pair-backward-delete-char-untabify): Delete.
127 (electric-pair-mode-map): Bind backspace to a menu item filtering
128 a new `electric-pair-delete-pair' command.
129 (electric-pair-delete-pair): New command.
130
131 * progmodes/python.el (python-electric-pair-string-delimiter):
132 Fix triple-quoting electricity. (Bug#17192)
133
134 * elec-pair.el (electric-pair-post-self-insert-function):
135 Don't skip whitespace when `electric-pair-text-pairs' and
136 `electric-pair-pairs' were used. syntax to
137 electric-pair--skip-whitespace. (Bug#17183)
138
139 2014-04-07 Eli Zaretskii <eliz@gnu.org>
140
141 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
142 "<F>". (Bug#17199)
143
144 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
147 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
148
149 2014-04-07 Glenn Morris <rgm@gnu.org>
150
151 * help.el (view-lossage): Doc tweak.
152
153 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
154
155 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
156 only when inhibit-x-resources is nil, and do that earlier in the
157 function. Doc fix. (Bug#16694)
158 (face-spec-choose): Accept additional optional argument, whose
159 value is returned if no matching attributes are found.
160 (face-spec-recalc): Use the new optional argument when calling
161 face-spec-choose. (Bug#16378)
162 (make-face-x-resource-internal): Do nothing when
163 inhibit-x-resources is non-nil. Don't touch the default face if
164 reversed video is given--as was done in previous versions of Emacs.
165 (face-set-after-frame-default): Don't call
166 make-face-x-resource-internal here. (Bug#16434)
167
168 2014-04-07 Tassilo Horn <tsdh@gnu.org>
169
170 * doc-view.el (doc-view-bookmark-jump):
171 Use `bookmark-after-jump-hook' to jump to the right page after the
172 buffer is shown in a window. (bug#16090)
173
174 2014-04-07 Eli Zaretskii <eliz@gnu.org>
175
176 * international/characters.el (mirroring): Fix last change:
177 instead of loading uni-mirrored.el explicitly, do that implicitly
178 by creating the 'mirroring' uniprop table. This avoids announcing
179 the loading of uni-mirrored.el.
180
181 2014-04-07 Glenn Morris <rgm@gnu.org>
182
183 * files.el (buffer-stale--default-function)
184 (buffer-stale-function, revert-buffer--default):
185 * autorevert.el (auto-revert-buffers): Doc tweaks.
186
187 2014-04-07 Eli Zaretskii <eliz@gnu.org>
188
189 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
190
191 2014-04-07 Glenn Morris <rgm@gnu.org>
192
193 * files.el (make-backup-file-name-function)
194 (make-backup-file-name, make-backup-file-name--default-function)
195 (make-backup-file-name-1, find-backup-file-name)
196 (revert-buffer-function, revert-buffer-insert-file-contents-function)
197 (buffer-stale--default-function, buffer-stale-function)
198 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
199 (revert-buffer, revert-buffer--default)
200 (revert-buffer-insert-file-contents--default-function):
201 Doc fixes related to defaults no longer being nil.
202 (make-backup-file-name-function): Bump :version.
203 Restore nil as a valid but deprecated custom type.
204
205 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * progmodes/perl-mode.el (perl-syntax-propertize-function):
208 Handle $' used as a variable (bug#17174).
209
210 * progmodes/perl-mode.el (perl-indent-new-calculate):
211 Handle forward-sexp failure (bug#16985).
212 (perl-syntax-propertize-function): Add "foreach" and "for" statement
213 modifiers introducing expressions (bug#17116).
214
215 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
216
217 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
218
219 2014-04-05 Leo Liu <sdl.web@gmail.com>
220
221 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
222 Add define-compilation-mode.
223
224 2014-04-04 João Távora <joaotavora@gmail.com>
225
226 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
227 parse from comment beginning.
228 (electric-pair--balance-info): Fix typo in comment.
229 (electric-pair--in-unterminated-string-p): Delete.
230 (electric-pair--unbalanced-strings-p): New function.
231 (electric-pair-string-bound-function): New var.
232 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
233 according to `electric-pair--in-unterminated-string-p'.
234
235 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
238 Move declaration before first use.
239 (reftex-move-to-next-arg): Silence compiler warning.
240
241 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
242
243 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
244 Use `window-total-width' instead of `window-width'.
245
246 2014-04-03 Daniel Colascione <dancol@dancol.org>
247
248 * subr.el (set-transient-map): Remove rms's workaround entirely;
249 use new `suspicious-object' subr to mark our lambda for closer
250 scrutiny during gc.
251
252 2014-04-02 Richard Stallman <rms@gnu.org>
253
254 * subr.el (set-transient-map): Comment out previous change.
255
256 2014-04-02 Glenn Morris <rgm@gnu.org>
257
258 * menu-bar.el (menu-bar-file-menu):
259 * vc/ediff.el (ediff-current-file):
260 Update for revert-buffer-function no longer being nil by default.
261
262 * simple.el (command-execute): Respect nil disabled-command-function.
263
264 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
265
266 * simple.el (command-execute): Do not execute the command when it
267 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
268
269 2014-04-02 Juri Linkov <juri@jurta.org>
270
271 * dired-aux.el (dired-compress-file): Don't use string-match-p
272 because its match data is used afterwards.
273
274 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
275
276 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
277 0 like nil.
278
279 2014-04-02 João Távora <joaotavora@gmail.com>
280
281 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
282 Inhibit quote pairing if point-max is inside an unterminated string.
283 (electric-pair--looking-at-unterminated-string-p):
284 Delete.
285 (electric-pair--in-unterminated-string-p): New function.
286
287 2014-04-01 Daniel Colascione <dancol@dancol.org>
288
289 * minibuffer.el (minibuffer-complete): Prevent assertion failure
290 when trying to complete the prompt.
291
292 2014-03-31 Leo Liu <sdl.web@gmail.com>
293
294 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
295 Refactor out eldoc-documentation-function-default.
296 (eldoc-documentation-function-default): New function.
297 (eldoc-documentation-function): Change value.
298
299 2014-03-31 Glenn Morris <rgm@gnu.org>
300
301 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
302
303 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
304 (vhdl-compose-components-package, vhdl-compose-configuration):
305 Abbreviate default-directory (missing from some previous upstream sync).
306
307 2014-03-31 Reto Zimmermann <reto@gnu.org>
308
309 Sync with upstream vhdl mode v3.35.2.
310 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
311 (top-level): No longer require assoc.
312 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
313 New functions. Use throughout to replace aget etc.
314 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
315 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
316 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
317 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
318 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
319 except `vhdl-compiler'.
320 (vhdl-error-regexp-add-emacs): Remove all other compilers,
321 when appropriate.
322
323 2014-03-31 Glenn Morris <rgm@gnu.org>
324
325 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
326 Revert 2014-03-26 merge goof; go back to using defalias.
327
328 2014-03-30 Daniel Colascione <dancol@dancol.org>
329
330 * comint.el (comint-send-input):
331 Deactivate completion-in-region-mode before we send comint input.
332 (Bug#17139).
333
334 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
335 on keyboard-quit.
336
337 2014-03-29 Glenn Morris <rgm@gnu.org>
338
339 * textmodes/reftex.el: Manage most autoloads automatically.
340 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
341 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
342 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
343 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
344 * textmodes/reftex-toc.el: Set generated-autoload-file,
345 and add autoload cookies for reftex.el.
346 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
347
348 2014-03-28 Glenn Morris <rgm@gnu.org>
349
350 * cus-start.el (report-emacs-bug-address): Set custom properties.
351 * mail/emacsbug.el (report-emacs-bug-address):
352 Variable is now defined in emacs.c.
353
354 * mail/emacsbug.el (report-emacs-bug):
355 Include system-configuration-features.
356
357 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
358
359 * simple.el (cycle-spacing): Never delete spaces on first run by
360 default, but do so in a new 'fast mode and if there are already
361 N spaces (the previous behavior).
362 Compare N with its value in previous invocation so that changing
363 prefix argument restarts `cycle-spacing' sequence.
364 The idea is that with this change, binding M-SPC to
365 `cycle-spacing' should not introduce any changes in behavior of
366 the binding so long as users do not type M-SPC twice in a raw with
367 the same prefix argument or lack thereof.
368
369 2014-03-28 Glenn Morris <rgm@gnu.org>
370
371 * faces.el (term-file-aliases): New variable.
372 (tty-run-terminal-initialization): Respect term-file-aliases.
373 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
374 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
375 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
376
377 2014-03-27 Glenn Morris <rgm@gnu.org>
378
379 * startup.el (inhibit-startup-hooks): Doc tweak.
380 (normal-top-level): Simplify running of hooks.
381 For window-setup-hook, respect inhibit-startup-hooks.
382 (command-line-1): Don't set window-setup-hook to nil.
383
384 Allow selective autoloading from obsolete/ directory.
385 * Makefile.in (obsolete-autoloads): New rule.
386 (autoloads): Run obsolete-autoloads.
387 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
388 * simple.el (iswitchb-mode): Remove hand-written autoloads.
389
390 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
391
392 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
393 Highlight special globals with font-lock-builtin-face. (Bug#17057)
394
395 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
396 Don't propertize `?' or `!' as symbol constituent when after
397 colon. (Bug#17097)
398
399 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
400
401 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
402 which is no longer needed and causes trouble in GTK builds (bug#17046).
403
404 * emacs-lisp/package-x.el (package--archive-contents-from-url):
405 Use url-insert-file-contents; package-handle-response no longer exists.
406
407 2014-03-26 Daniel Colascione <dancol@dancol.org>
408
409 * simple.el (process-menu-mode-map): New variable.
410 (process-menu-delete-process): New command.
411
412 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
413
414 * emacs-lisp/package.el: Fix bug#16733 (again).
415 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
416 (url-http-target-url): Remove unused declarations.
417 (package-handle-response): Remove.
418 (package--with-work-buffer): Use url-insert-file-contents and simplify.
419 (package--download-one-archive): Use current-buffer instead of
420 dynamic binding of `buffer'.
421 (describe-package-1): Do not decode readme-string.
422
423 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
424
425 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
426
427 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
428 from 2014-03-07, it decreases performance unnecessarily. Let-bind
429 `remote-file-name-inhibit-cache' to nil in the second pass.
430 (tramp-find-executable): Do not call "which" on SunOS.
431 (tramp-send-command-and-check): Fix docstring.
432 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
433 check whether source directory has set the sticky bit.
434
435 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
436
437 * simple.el (primitive-undo): Only process marker adjustments
438 validated against their corresponding (TEXT . POS). Issue warning
439 for lone marker adjustments in undo history. (Bug#16818)
440 (undo-make-selective-list): Add marker adjustments to selective
441 undo list based on whether their corresponding (TEXT . POS) is in
442 the region. Remove variable adjusted-markers, which was unused
443 and only non nil during undo-make-selective-list.
444 (undo-elt-in-region): Return nil when passed a marker adjustment
445 and explain in function doc.
446
447 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
448
449 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
450
451 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
452
453 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
454 Match special global variables without curlies, too.
455 (ruby-font-lock-keywords): Simplify the matcher for special global
456 variables. Don't require a non-word character after the variable.
457 (Bug#17057)
458
459 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 * simple.el (redisplay-highlight-region-function): Increase priority of
462 overlay to make sure boundaries are visible (bug#15899).
463
464 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
465
466 * frameset.el (frameset--initial-params): Fix typo in parameter name.
467 (frameset-restore): Compare display strings with equal.
468
469 * frame.el (make-frame): Don't quote display name in error message,
470 it is already a string.
471
472 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
473
474 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
475 the password.
476
477 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
478
479 * emacs-lisp/package.el (package--add-to-archive-contents):
480 Include already installed and built-in packages in
481 `package-archive-contents'.
482 (package-install): Don't include already installed packages in the
483 options during interactive invocation. (Bug#16762)
484 (package-show-package-list): If the buffer is already displayed in
485 another window, switch to that window.
486
487 2014-03-26 Reto Zimmermann <reto@gnu.org>
488
489 Sync with upstream vhdl mode v3.35.1.
490 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
491 (vhdl-compiler-alist): Doc fix.
492 (vhdl-goto-line): Remove.
493 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
494 (vhdl-mode) <paragraph-start>: Fix value.
495 (vhdl-fix-statement-region): Not `for' in wait-statement.
496 (vhdl-beautify-region): Also (un)tabify.
497 (vhdl-get-visible-signals):
498 Scan declarative part of generate statements.
499 (vhdl-template-record): Fix indentation for record type declaration.
500 (vhdl-expand-abbrev, vhdl-expand-paren):
501 Revert to using fset again rather than defalias.
502 (vhdl-scan-directory-contents): Tweak.
503 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
504 (vhdl-compose-components-package):
505 Replace vhdl-goto-line with forward-line.
506 (top-level): Tweak speedbar frame selection.
507 (vhdl-generate-makefile-1): Support for compilers with no
508 unit-to-file name mapping (create directory with dummy files).
509
510 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
511
512 Sync with upstream verilog-mode revision 702457d.
513 * progmodes/verilog-mode.el (verilog-mode-version): Update.
514 (create-lockfiles): Declare.
515 (verilog-read-decls): Fix module header imports, bug709.
516 Reported by Victor Lau.
517 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
518 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
519 interface-only modules, bug721. Reported by Dean Hoyt.
520
521 2014-03-26 Glenn Morris <rgm@gnu.org>
522
523 * obsolete/gulp.el: Move here from emacs-lisp/.
524
525 * files.el (lock-buffer, unlock-buffer, file-locked-p):
526 Remove fallback aliases, since they are always defined now.
527
528 2014-03-24 Daniel Colascione <dancol@dancol.org>
529
530 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
531 instead of cl-loop search function.
532
533 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
534
535 * calendar/parse-time.el (parse-time-iso8601-regexp)
536 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
537 it more generally.
538
539 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
540
541 * net/dns.el (network-interface-list): Define for XEmacs.
542
543 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
544
545 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
546 the network interfaces changed.
547 (dns-query): Use it to flush the data.
548
549 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
550
551 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
552
553 2014-03-23 Daniel Colascione <dancol@dancol.org>
554
555 Change subword-mode to use `find-word-boundary-function-table' and
556 replace `capitalized-words-mode'. Also, convert to lexical
557 binding.
558
559 * progmodes/cap-words.el: Delete now-obsolete file.
560 * progmodes/subword.el: Reimplement using
561 `find-word-boundary-function-table'.
562 (subword-mode-map): Hollow out.
563 (capitalized-words-mode): Define as obsolete alias for
564 `subword-mode'.
565 (subword-mode, superword-mode): Tweak documentation to reflect new
566 implementation; call `subword-setup-buffer'.
567 (subword-forward, subword-capitalize): Add underscore to indicate
568 unused variable.
569 (subword-find-word-boundary-function-table): New constant.
570 (subword-empty-char-table): New constant.
571 (subword-setup-buffer): New function.
572 (subword-find-word-boundary): New function.
573
574 2014-03-23 Daniel Colascione <dancol@dancol.org>
575
576 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
577 list to look for keyword arguments instead of `memq', fixing
578 (Bug#3647) --- unfortunately, only for freshly-compiled code.
579 Please make bootstrap.
580
581 2014-03-22 Glenn Morris <rgm@gnu.org>
582
583 * dired.el (dired-read-regexp): Make obsolete.
584 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
585 (dired-flag-files-regexp):
586 * dired-aux.el (dired-mark-read-regexp):
587 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
588
589 * startup.el (fancy-startup-text):
590 * help.el (describe-gnu-project): Visit online info about GNU project.
591
592 * help-fns.el (help-fns--interactive-only): New function.
593 (help-fns-describe-function-functions): Add the above function.
594 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
595 (next-line, previous-line): Remove hand-written interactive-only
596 information from doc strings, it is auto-generated now.
597 * bookmark.el (bookmark-write):
598 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
599 (epa-mail-import-keys): Mark interactive-only,
600 and remove hand-written interactive-only information from doc strings.
601 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
602 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
603 * files.el (not-modified):
604 * simple.el (mark-whole-buffer): Mark interactive-only.
605
606 * emacs-lisp/byte-run.el (defun-declarations-alist):
607 Add interactive-only. Doc tweak.
608 (macro-declarations-alist): Doc tweak.
609 * subr.el (declare): Doc tweak (add xref to manual).
610 * comint.el (comint-run):
611 * files.el (insert-file-literally, insert-file):
612 * replace.el (replace-string, replace-regexp):
613 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
614 (delete-forward-char, goto-line, insert-buffer, next-line)
615 (previous-line): Set interactive-only via declare.
616
617 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
618
619 * emacs-lisp/package.el (package-desc): Use the contents of the
620 quoted form, not its cdr. (Bug#16873)
621
622 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
623
624 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
625 benefit of doc.c; change parameter profile to match the X function.
626
627 2014-03-22 Leo Liu <sdl.web@gmail.com>
628
629 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
630 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
631
632 2014-03-21 Richard Stallman <rms@gnu.org>
633
634 * battery.el (battery-linux-sysfs): Search for each field
635 from the beginning of the buffer.
636
637 * subr.el (set-transient-map): Clear out function and value
638 of the temporary symbol when we're done with it.
639
640 * mail/rmailsum.el (rmail-summary-delete-forward):
641 Optimize case of reaching end and handling count.
642 (rmail-summary-mark-deleted): Optimize when N is current msg.
643 Don't create new summary line.
644 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
645 (rmail-summary-undelete-many): Rewrite for speed.
646 (rmail-summary-msg-number): New function.
647
648 * mail/rmail.el (rmail-delete-message): Update summary.
649 (rmail-undelete-previous-message): Handle repeat count arg.
650 (rmail-delete-backward, rmail-delete-forward): Likewise.
651
652 2014-03-21 Daniel Colascione <dancol@dancol.org>
653
654 * mail/emacsbug.el (report-emacs-bug): Include memory usage
655 information in bug reports.
656
657 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
658
659 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
660 and `tramp-copy-env'.
661
662 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
663 (tramp-maybe-open-connection): Handle `tramp-login-env'.
664
665 2014-03-21 Glenn Morris <rgm@gnu.org>
666
667 * electric.el (electric-indent-post-self-insert-function): Add doc.
668
669 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
670
671 * emacs-lisp/package.el (package-compute-transaction):
672 Use `version-list-<=' to compare the requirement version against
673 the version of package already to be installed. Update the error
674 message. (Bug#16826)
675
676 * progmodes/ruby-mode.el (ruby-smie-rules):
677 Add indentation rule for ` @ '. (Bug#17050)
678
679 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
680
681 * align.el (align-regexp): Remove superfluous backslash.
682
683 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
684 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
685 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
686 Fix docstring typos.
687 (ffap-next): Use C-u in docstring.
688 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
689 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
690 Remove superfluous backslashes.
691 (ffap-string-at-point): Reflow docstring.
692
693 * server.el (server-host): Reflow docstring.
694 (server-unload-function): Fix docstring typo.
695 (server-eval-at): Remove superfluous backslash.
696
697 * skeleton.el (skeleton-insert): Remove superfluous backslash.
698 (skeleton-insert): Doc fix.
699 (skeleton-insert): Reflow docstring.
700
701 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
702 (tty-color-approximate, tty-color-by-index, tty-color-values)
703 (tty-color-desc): Remove superfluous backslashes.
704
705 2014-03-21 Glenn Morris <rgm@gnu.org>
706
707 * cus-start.el (history-length): Bump :version.
708
709 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
710 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
711 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
712 Don't set `make-backup-files'.
713
714 * info.el (info--prettify-description): New function,
715 to give info-finder descriptions consistent case, punctuation.
716 (Info-finder-find-node): Use it. Sort packages.
717 Refer to "description" rather than "commentary".
718
719 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
720
721 * frameset.el (frameset--print-register): New function.
722 (frameset-to-register): Use it.
723
724 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
725
726 * progmodes/hideif.el (hif-string-to-number): New function.
727 (hif-tokenize): Use it to understand non-decimal floats.
728
729 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
730
731 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
732
733 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * electric.el (electric-newline-and-maybe-indent): New command.
736 Bind it globally to C-j.
737 (electric-indent-mode): Don't mess with the global map any more.
738 Don't drop the post-self-insert-hook is some buffer is still using it
739 (bug#16770).
740
741 * bindings.el (global-map): Remove C-j binding.
742
743 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
744 the docstring of functions advised before dumping (bug#16993).
745
746 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
747
748 * ps-print.el (ps-generate-postscript-with-faces):
749 Explicitly deactivate the mark (bug#16866).
750 * simple.el (deactivate-mark): Update region highlight.
751
752 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
753
754 * emacs-lisp/package.el (describe-package-1):
755 Decode commentary (bug#16733).
756
757 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
758
759 * custom.el (defcustom): Doc fix: recommend avoiding destructive
760 modification of the value argument of :set (bug#16755).
761
762 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * simple.el (newline-and-indent): Do autofill (bug#17031).
765
766 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
767
768 * newcomment.el (comment-normalize-vars): Only add escaping check
769 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
770 (comment-beginning): Use `narrow-to-region' instead of moving back
771 one character.
772 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
773 (comment-start-skip): Update the docstring.
774
775 2014-03-18 Richard Stallman <rms@gnu.org>
776
777 * dired.el (dired-display-file): Force use of other window.
778
779 2014-03-18 Daniel Colascione <dancol@dancol.org>
780
781 * startup.el (tty-handle-args): Remove debug message from 2007.
782
783 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
786 (advice--make-interactive-form): Use it to avoid (auto)loading function.
787 (advice--make-1, advice-add, advice-remove):
788 Remove braindead :advice-pending hack.
789
790 2014-03-17 Glenn Morris <rgm@gnu.org>
791
792 * calendar/calendar.el (calendar-generate-month): Apply weekend
793 face to the right days; fixes 2013-08-06 change. (Bug#17028)
794
795 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
796
797 * net/tramp.el (tramp-action-out-of-band): Read pending output.
798 (tramp-call-process): Trace also DESTINATION.
799
800 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
801 Quote file names when they are local. Remove superfluous trace.
802
803 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
804
805 * newcomment.el (comment-beginning): If `comment-start-skip'
806 doesn't match, move back one char and try again. (Bug#16971)
807
808 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
809 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
810 Set `comment-start-skip' to a simpler value that doesn't try to
811 check if the semicolon is escaped (this is handled by
812 `syntax-ppss' now). (Bug#16971)
813
814 * progmodes/scheme.el (scheme-mode-variables): Same.
815
816 2014-03-16 Martin Rudalics <rudalics@gmx.at>
817
818 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
819 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
820 current (Bug#16816, Bug#17007).
821 (with-current-buffer-window): New macro doing the same as
822 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
823 * help.el (help-print-return-message): Warn in doc-string to not
824 use this in `with-help-window'.
825 (describe-bindings-internal): Call `describe-buffer-bindings'
826 from within help buffer. See Juanma's scenario in (Bug#16816).
827 (with-help-window): Update doc-string.
828 * dired.el (dired-mark-pop-up):
829 * files.el (save-buffers-kill-emacs):
830 * register.el (register-preview): Use `with-current-buffer-window'
831 instead of `with-temp-buffer-window'.
832
833 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
834
835 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
836 Implement inserting into current buffer, documented in their docstrings.
837 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
838 (rst-section-tree-point, rst-forward-section, rst-indent)
839 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
840 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
841 (rst-font-lock-handle-adornment-pre-match-form)
842 (rst-repeat-last-character): Reflow docstrings.
843 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
844 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
845 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
846 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
847 Fix docstring typos.
848 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
849 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
850 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
851
852 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
853
854 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
855 for compatibility with other ports.
856 (ns-initialize-window-system): Use it. It is set in term/common-win.el
857 from the -xrm command line argument, but in the Nextstep port its value
858 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
859
860 * progmodes/python.el (defconst, python-syntax-count-quotes)
861 (python-indent-region, python-indent-shift-right)
862 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
863 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
864 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
865 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
866 (inferior-python-mode, python-shell-make-comint, run-python-internal)
867 (python-shell-buffer-substring, python-shell-send-buffer)
868 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
869 (python-completion-complete-at-point, python-fill-docstring-style)
870 (python-eldoc-function, python-imenu-format-item-label)
871 (python-imenu-format-parent-item-label)
872 (python-imenu-format-parent-item-jump-label)
873 (python-imenu--build-tree, python-imenu-create-index)
874 (python-imenu-create-flat-index): Fix docstring typos.
875 (python-indent-context, python-shell-prompt-regexp, run-python):
876 Remove superfluous backslashes.
877 (python-indent-line, python-nav-beginning-of-defun)
878 (python-shell-get-buffer, python-shell-get-process)
879 (python-info-current-defun, python-info-current-line-comment-p)
880 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
881 (python-indent-post-self-insert-function, python-shell-send-file)
882 (python-shell-completion-get-completions)
883 (python-shell-completion-complete-or-indent)
884 (python-eldoc--get-doc-at-point): Reflow docstrings.
885
886 2014-03-14 Glenn Morris <rgm@gnu.org>
887
888 * emacs-lisp/package.el (package-menu-mode-map):
889 Replace use of obsolete function alias. Tweak menu item text.
890
891 * info.el (Info-finder-find-node):
892 Ignore the `emacs' metapackage. (Bug#10813)
893
894 * finder.el (finder-list-matches): Include unversioned packages
895 in the result of a keyword search.
896
897 * finder.el (finder--builtins-descriptions): New constant.
898 (finder-compile-keywords): Use finder--builtins-descriptions.
899
900 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
901
902 * simple.el (blink-matching-paren): Describe the new value,
903 `jump', enabling the old behavior.
904 (blink-matching-open): Use that value. (Bug#17008)
905
906 2014-03-14 Glenn Morris <rgm@gnu.org>
907
908 * finder.el (finder-no-scan-regexp): Add leim-list.
909 (finder-compile-keywords):
910 Don't skip files with same basename. (Bug#14010)
911 * Makefile.in (setwins_finder): New, excluding leim.
912 (finder-data): Use setwins_finder.
913
914 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
915 (help-function-arglist, help-make-usage): Move from here...
916 * help.el (help-split-fundoc, help-add-fundoc-usage)
917 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
918 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
919
920 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
921
922 * net/socks.el (socks, socks-override-functions)
923 (socks-find-services-entry):
924 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
925 (hif-find-ifdef-block):
926 * progmodes/modula2.el (m2-indent): Fix docstring typos.
927
928 * net/tls.el (tls-program): Reflow docstring.
929
930 * progmodes/pascal.el (pascal-mode-abbrev-table)
931 (pascal-imenu-generic-expression, pascal-auto-endcomments)
932 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
933 (pascal-outline-mode): Fix docstring typos.
934 (pascal-mode): Let define-derived-mode document mode hook.
935 (pascal-uncomment-area): Reflow.
936 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
937
938 * progmodes/opascal.el (opascal-compound-block-indent)
939 (opascal-case-label-indent): Fix docstring typos.
940 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
941
942 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
943
944 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
945 Fontify multiple adjacent negation chars. (Bug#17004)
946
947 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
948
949 * emacs-lisp/package.el (package--prepare-dependencies):
950 Accept requirements without explicit version (bug#14941).
951
952 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
953
954 * register.el (register-separator, copy-to-register): Doc fixes.
955 (register-preview-default): Remove unnecessary call to concat.
956
957 * frameset.el (frameset-restore): When checking for a visible frame,
958 use the action map instead of calling visible-frame-list.
959
960 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
961
962 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
963
964 2014-03-12 Martin Rudalics <rudalics@gmx.at>
965
966 * window.el (fit-frame-to-buffer): Get maximum width from
967 display's width instead of height.
968
969 2014-03-12 Glenn Morris <rgm@gnu.org>
970
971 * desktop.el (desktop-restore-frames)
972 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
973 (desktop-restore-reuses-frames): Doc tweaks.
974
975 * electric.el (electric-indent-mode): Doc fix.
976
977 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
978
979 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
980 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
981 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
982 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
983 (cvs-dired-use-hook): Fix docstring typos.
984 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
985 Doc fixes.
986
987 * vc/pcvs-defs.el (cvs-auto-remove-handled)
988 (cvs-auto-remove-directories, cvs-default-ignore-marks)
989 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
990 (cvs-execute-single-dir): Fix docstring typos.
991
992 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
993 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
994
995 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
996
997 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
998 Fix docstring typos.
999
1000 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1001
1002 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1003 called from jump-to-register after unloading the frameset package.
1004
1005 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1008 (bug#16975). Deactivate the mark before setting it to nil.
1009 (activate-mark): Do nothing if region is already active.
1010
1011 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1012
1013 * frameset.el (frameset--target-display): Remove definition; declare.
1014 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1015
1016 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1019 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1020 when the advice is pending.
1021 (advice-remove): Remove this marker when not needed any more.
1022
1023 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1024
1025 * frameset.el: Separate options for reusing frames and cleaning up.
1026 (frameset--reuse-list): Remove definition; declare.
1027 (frameset--action-map): Declare.
1028 (frameset--find-frame-if): Doc fix.
1029 (frameset--restore-frame): Cache frame action.
1030 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1031 how to clean up the frame list after restoring. Remove cleaning
1032 options from REUSE-FRAMES. Change all keyword values to symbols.
1033 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1034
1035 * desktop.el (desktop-restore-forces-onscreen)
1036 (desktop-restore-reuses-frames): Use non-keyword values.
1037 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1038
1039 2014-03-10 Glenn Morris <rgm@gnu.org>
1040
1041 * files.el (find-file): Doc fix: update info node name.
1042
1043 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1044 Doc fix: remove references to deleted info nodes.
1045
1046 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1047
1048 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1049 Do not add `nil' to the environment, when there's no remote `locale'.
1050 (tramp-find-inline-encoding): Check, that the remote host has
1051 installed perl, before sending scripts.
1052
1053 2014-03-10 Leo Liu <sdl.web@gmail.com>
1054
1055 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1056 Clear eldoc-last-message. (Bug#16920)
1057
1058 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1061 (bug#14430).
1062
1063 2014-03-09 Juri Linkov <juri@jurta.org>
1064
1065 * ansi-color.el (ansi-color-names-vector): Copy default colors
1066 from `xterm-standard-colors' that look well on the default white
1067 background (and also on the black background) to avoid illegible
1068 color combinations like yellow-on-white and white-on-white.
1069 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1070
1071 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1072
1073 * frameset.el (frameset-restore): When no frame is visible, do not
1074 generate a list of frames, just make visible the selected one.
1075
1076 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1077
1078 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1079 it only contains the repository root. (Bug#16897)
1080
1081 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1082
1083 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1084 only when `remote-file-name-inhibit-cache' is nil.
1085 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1086
1087 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1088
1089 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1090 Fix doc-strings.
1091 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1092 fit-frame-to-buffer variable. Fix doc-string.
1093 (fit-window-to-buffer): Set ONLY argument in call of
1094 fit-frame-to-buffer. Fix doc-string.
1095
1096 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1097
1098 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1099 (tramp-action-password): Clear password cache if needed.
1100 (tramp-read-passwd): Do not clear password cache.
1101
1102 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1103 cache unless it is the first password request.
1104
1105 2014-03-06 Glenn Morris <rgm@gnu.org>
1106
1107 * simple.el (newline): Doc tweak.
1108
1109 * emacs-lisp/shadow.el (load-path-shadows-find):
1110 Ignore dir-locals. (Bug#12357)
1111
1112 2014-03-05 Glenn Morris <rgm@gnu.org>
1113
1114 * files.el (interpreter-mode-alist):
1115 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1116
1117 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1118
1119 * frameset.el (frameset--initial-params): Filter out null entries.
1120
1121 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1122
1123 * window.el (window-min-height, window-min-width):
1124 Rewrite doc-strings.
1125 (window-body-size): Add PIXELWISE argument to make it consistent
1126 with its callees.
1127
1128 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1129
1130 * finder.el (finder-mode-map, finder-mode-syntax-table):
1131 Revert part of 2014-02-28 change.
1132
1133 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1134
1135 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1136 (eww-setup-buffer): Clear next/prev/etc more reliably.
1137 (eww-textarea-map): [tab] doesn't work on tty.
1138 Reported by Mario Lang.
1139
1140 * net/shr.el (shr-map): Ditto.
1141
1142 2014-03-04 Glenn Morris <rgm@gnu.org>
1143
1144 * minibuffer.el (completion-hilit-commonality):
1145 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1146
1147 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1148
1149 * hilit-chg.el (hilit-chg-unload-function): New function.
1150 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1151 (hilit-chg-map-changes): Prefer cardinal number to digit.
1152 (hilit-chg-display-changes): Reflow docstring.
1153 (highlight-changes-rotate-faces): Remove superfluous backslash.
1154
1155 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1156
1157 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1158 `tramp-send-command-and-check'.
1159
1160 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1161
1162 * hexl.el (hexl-address-region, hexl-ascii-region)
1163 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1164 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1165 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1166 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1167 (hexl-mode): Doc fix.
1168 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1169 (hexl-mode-ruler): Fix typos in docstrings.
1170
1171 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1172 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1173 Remove superfluous backslashes.
1174 (strokes-last-stroke, strokes-global-map, strokes-mode):
1175 Reflow docstrings.
1176 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1177 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1178 (strokes-distance-squared, strokes-global-set-stroke)
1179 (strokes-global-set-stroke-string): Doc fixes.
1180 (strokes-help): Fix typos; reflow docstring.
1181
1182 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1183
1184 * window.el (window-in-direction): Fix doc-string.
1185
1186 2014-03-04 Glenn Morris <rgm@gnu.org>
1187
1188 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1189 Explicit error if no grammar.
1190 (smie-config-save): Doc fix. Fix quote typo.
1191
1192 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1195 electric-indent-mode-hook if we obey electric-indent-mode.
1196 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1197 decide whether we obey electric-indent-mode.
1198 (c-change-set-fl-decl-start, c-extend-after-change-region):
1199 Silence warnings.
1200 (c-electric-indent-mode-hook): Assume we do want to obey
1201 electric-indent-mode.
1202
1203 * electric.el (electric-indent-mode-has-been-called): Remove.
1204 (electric-indent-mode): Fix accordingly.
1205
1206 * files.el (hack-local-variables): Mention file name in warning.
1207
1208 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1209
1210 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1211
1212 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1213 * simple.el (delete-forward-char): Mark as interactive-only.
1214
1215 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1216
1217 * icomplete.el (icomplete-completions):
1218 Follow-up to 2014-03-01 change.
1219
1220 * icomplete.el: Miscellaneous doc fixes.
1221 Use Icomplete everywhere instead of icomplete for consistency.
1222 (icomplete-max-delay-chars): Fix typo.
1223 (icomplete-mode): Use \[].
1224 (icomplete-tidy, icomplete-exhibit): Reflow.
1225 (icomplete-minibuffer-setup-hook, icomplete-completions):
1226 Remove superfluous backlashes.
1227
1228 * ido.el: Miscellaneous doc fixes.
1229 Use Ido everywhere instead of ido or `ido' for consistency.
1230 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1231 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1232 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1233 (ido-separator): Extract obsolescence info from docstring and declare
1234 with make-obsolete-variable.
1235 (ido-minibuffer-setup-hook): Simplify example.
1236 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1237 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1238 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1239 (ido-everywhere): Reflow docstring.
1240 (ido-toggle-vc): Doc fix.
1241 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1242 of long list of keybindings.
1243
1244 2014-03-03 Glenn Morris <rgm@gnu.org>
1245
1246 * frame.el (display-pixel-height, display-pixel-width)
1247 (display-mm-dimensions-alist, display-mm-height)
1248 (display-mm-width): Doc tweaks.
1249
1250 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1251
1252 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1253 case of undo in region.
1254
1255 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1256
1257 * window.el (fit-window-to-buffer): Fix argument in window-size
1258 call when window is horizontally combined.
1259
1260 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1261
1262 * icomplete.el (icomplete-completions): Use string-width.
1263 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1264
1265 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1266
1267 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1268 Highlight regexp options. (Bug#16914)
1269
1270 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1271
1272 * window.el (window--max-delta-1): Round down when calculating
1273 how many lines/columns we can get from a window.
1274
1275 2014-03-01 Glenn Morris <rgm@gnu.org>
1276
1277 * isearch.el (search-invisible): Doc fix.
1278
1279 * minibuffer.el (completion-hilit-commonality):
1280 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1281 * comint.el (comint-dynamic-list-completions): Doc fix.
1282 * comint.el (comint-dynamic-list-completions):
1283 * filecache.el (file-cache-minibuffer-complete):
1284 * tempo.el (tempo-display-completions):
1285 * eshell/em-hist.el (eshell-list-history):
1286 Replace use of obsolete argument of display-completion-list.
1287
1288 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1289
1290 * icomplete.el (icomplete-completions):
1291 Revert back to using "..." when ?… cannot be displayed.
1292
1293 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1294
1295 * finder.el (finder-unload-function): New function.
1296
1297 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1298
1299 * dframe.el (dframe-detach):
1300 * find-dired.el (find-dired, find-name-dired):
1301 * finder.el (finder-mode-map, finder-mode-syntax-table)
1302 (finder-headmark, finder-select, finder-mouse-select):
1303 Fix docstring typos.
1304
1305 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1306
1307 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1308 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1309 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1310 Fix doc-string based on a suggestion by Nicolas Richard
1311 <theonewiththeevillook@yahoo.fr>.
1312 * help.el (with-help-window): Fix doc-string.
1313
1314 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1315
1316 * net/shr.el (shr-image-animate): New option.
1317 (shr-put-image): Respect shr-image-animate.
1318
1319 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1320
1321 * net/tramp-adb.el (tramp-adb-parse-device-names):
1322 Use `accept-process-output'.
1323 (tramp-adb-handle-file-truename): Cache the localname only.
1324 (tramp-adb-handle-make-directory)
1325 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1326 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1327 modes cannot be changed.
1328
1329 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1330 file properties of symlinks.
1331
1332 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1333
1334 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1335 required/optional fields to match development biblatex. (Bug#16781)
1336
1337 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1338
1339 * saveplace.el (toggle-save-place):
1340 Fix argument handling. (Bug#16673)
1341
1342 2014-02-28 Glenn Morris <rgm@gnu.org>
1343
1344 * minibuffer.el (completions-first-difference)
1345 (completions-common-part, completion-hilit-commonality): Doc fixes.
1346
1347 2014-02-28 Karl Berry <karl@gnu.org>
1348
1349 * info.el (Info-mode-map): Add H for describe-mode,
1350 to synchronize with standalone Info.
1351
1352 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1353
1354 * progmodes/sql.el (sql-interactive-mode):
1355 Avoid setting global comint-input-ring-separator. (Bug#16814)
1356
1357 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1358
1359 * net/dbus.el (dbus--init-bus): Declare function.
1360 (dbus-path-local, dbus-interface-local): New defconst.
1361 (dbus-init-bus): Use them.
1362 (dbus-return-values-table): Extend doc.
1363 (dbus-handle-bus-disconnect): Extend error message.
1364
1365 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1366
1367 * subr.el (y-or-n-p): Fix double space issue in message.
1368
1369 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1370
1371 * net/tramp.el (tramp-call-process): Improve trace message.
1372 (tramp-handle-insert-file-contents): Trace error case.
1373
1374 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1375 <insert-directory>: Use `tramp-handle-insert-directory'.
1376 (tramp-adb-handle-insert-directory): Remove function.
1377 (tramp-adb-send-command-and-check): New defun, replacing
1378 `tramp-adb-command-exit-status'. Change all callees.
1379 (tramp-adb-handle-file-attributes)
1380 (tramp-adb-handle-directory-files-and-attributes): Use it.
1381 (tramp-adb-ls-output-name-less-p):
1382 Use `directory-listing-before-filename-regexp'.
1383 (tramp-adb-handle-delete-directory): Flush also file properties of
1384 the truename of directory.
1385 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1386 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1387 (tramp-adb-handle-write-region): Implement APPEND.
1388 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1389 properties correctly.
1390 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1391 variables. Check for connected devices only when needed.
1392
1393 2014-02-27 Glenn Morris <rgm@gnu.org>
1394
1395 * minibuffer.el (completion-table-dynamic)
1396 (completion-table-with-cache): Doc fixes.
1397
1398 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1399 (completing-read-multiple): Doc fixes.
1400
1401 2014-02-27 Daniel Colascione <dancol@dancol.org>
1402
1403 * minibuffer.el (completion--nth-completion): Fix indentation.
1404
1405 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1406 explicit tramp path is empty.
1407
1408 2014-02-27 Glenn Morris <rgm@gnu.org>
1409
1410 * emacs-lisp/crm.el (completing-read-multiple):
1411 Empower help-enable-auto-load.
1412
1413 2014-02-26 Glenn Morris <rgm@gnu.org>
1414
1415 * startup.el (command-line): Don't init the tty in daemon mode.
1416
1417 Avoid calling tty-setup-hook twice, eg if a term file
1418 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1419 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1420 (tty-create-frame-with-faces): Use it.
1421 * startup.el (command-line): Pass run-hook argument
1422 to tty-run-terminal-initialization.
1423
1424 * dired.el (dired-restore-desktop-buffer): Demote errors;
1425 eg in case a glob match fails. (Bug#16884)
1426
1427 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1428
1429 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1430 error from `read-from-string'. (Bug#16850)
1431
1432 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1433 result of `completing-read' in the interactive form. (Bug#16854)
1434
1435 2014-02-25 Glenn Morris <rgm@gnu.org>
1436
1437 * image.el (image-animate, image-animate-timeout):
1438 Stop animating images in dead buffers. (Bug#16878)
1439
1440 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1441
1442 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1443 Doc fixes.
1444 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1445 * term/sun.el (sun-raw-prefix-hooks):
1446 Use tty-setup-hook instead of term-setup-hook.
1447 (terminal-init-sun): Construct message from bytecomp plist.
1448 * term/wyse50.el (enable-arrow-keys): Doc fix.
1449
1450 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1451
1452 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1453 Fix docstring typos.
1454
1455 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1456
1457 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1458
1459 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1460
1461 * minibuffer.el (completion--try-word-completion):
1462 Fix error when completing M-x commands (bug#16808).
1463
1464 2014-02-24 Leo Liu <sdl.web@gmail.com>
1465
1466 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1467
1468 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1469
1470 * apropos.el (apropos-print): Avoid formatting error when
1471 apropos-do-all and apropos-compact-layout are both t.
1472
1473 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1474
1475 * apropos.el (apropos-property, apropos-all-words-regexp)
1476 (apropos-true-hit, apropos-variable, apropos-print):
1477 Fix docstring typos, and remove obsolete comment.
1478
1479 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1480
1481 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1482 Preserve trailing "/". (Bug#16851)
1483
1484 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1485
1486 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1487 after `=>' (bug#16811).
1488 (ruby-smie-rules): Handle the inconsistent second element of the
1489 list returned by `smie-indent--parent'.
1490 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1491 method call.
1492
1493 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1494
1495 * elec-pair.el (electric-pair-text-syntax-table)
1496 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1497 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1498 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1499 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1500
1501 2014-02-22 Glenn Morris <rgm@gnu.org>
1502
1503 * imenu.el (imenu--generic-function): Doc fix.
1504
1505 * register.el (frame-configuration-to-register): Make obsolete.
1506
1507 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1508
1509 * desktop.el (desktop-save-buffer-p): Do not fail when
1510 desktop-files-not-to-save is nil. Return t for true result
1511 as the doc says.
1512
1513 2014-02-22 Daniel Colascione <dancol@dancol.org>
1514
1515 * net/secrets.el (secrets-create-item, secrets-search-items):
1516 Check that attribute values are strings, avoiding the construction
1517 of invalid dbus messages.
1518
1519 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1520
1521 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1522 defun-declarations-alist.
1523
1524 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1527 (bug#16829).
1528
1529 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1530
1531 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1532 (whitespace-newline, whitespace-trailing, whitespace-line)
1533 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1534 (whitespace-space-after-tab): Fix typo in docstrings.
1535
1536 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1537
1538 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1539
1540 * electric.el (electric-indent-functions-without-reindent):
1541 Add `yaml-indent-line'.
1542
1543 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1544
1545 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1546 It has done nothing for years; should be removed after the release.
1547
1548 * simple.el (choose-completion): Fix docstring typo.
1549 (read-quoted-char-radix): Remove unneeded * in docstring.
1550 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1551 Don't escape parentheses unnecessarily in docstrings.
1552
1553 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1554
1555 Fix handling of window-min-height/-width (Bug#16738).
1556 * window.el (window--dump-window, window--dump-frame):
1557 New functions.
1558 (window--min-size-1): Account for window dividers.
1559 When window-resize-pixelwise is nil, delay rounding till after the
1560 sum of the window components has been calculated.
1561 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1562 nil make sure at least one text line and two text columns remain
1563 fully visible.
1564 (window-resize): Signal an error when window-resize-apply fails.
1565 (window--resize-child-windows): Fix calculation of by how many
1566 pixels a window can still be shrunk via window-new-normal.
1567 (adjust-window-trailing-edge): Call window--resizable with
1568 correct TRAIL argument.
1569
1570 (with-temp-buffer-window): Don't evaluate BODY within
1571 with-current-buffer (Bug#16816).
1572
1573 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1574
1575 * net/tramp.el (tramp-check-cached-permissions):
1576 Call `file-attributes' with `suffix' being a symbol but a string.
1577
1578 2014-02-21 Daniel Colascione <dancol@dancol.org>
1579
1580 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1581 (dbus-init-bus): New function: call into dbus-init-bus-1
1582 and installs a handler for the disconnect signal.
1583 (dbus-call-method): Rewrite to look for result in cons.
1584 (dbus-call-method-handler): Store result in cons.
1585 (dbus-check-event): Recognize events with nil sender as valid.
1586 (dbus-handle-bus-disconnect): New function. React to bus
1587 disconnection signal by synthesizing dbus error for each
1588 pending synchronous or asynchronous call.
1589 (dbus-notice-synchronous-call-errors): New function.
1590 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1591 is true, not all the time.
1592
1593 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1594
1595 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1596 Remove obsolescence declarations, these variables do not exist anymore.
1597
1598 * savehist.el (savehist-save-minibuffer-history)
1599 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1600 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1601 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1602 mostly, refer to "Savehist mode" when talking about the mode,
1603 and not the function.
1604
1605 * saveplace.el (save-place): Remove redundant info in docstring.
1606 (save-place-forget-unreadable-files, toggle-save-place)
1607 (save-place-forget-unreadable-files, save-place-dired-hook):
1608 Fix typos and remove unneeded backslashes.
1609
1610 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1611
1612 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1613 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1614
1615 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1616 <insert-directory>: Use `tramp-handle-insert-directory'.
1617 (tramp-gvfs-handle-insert-directory): Remove function.
1618
1619 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1620 Call `tramp-handle-insert-directory'.
1621
1622 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1623
1624 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1625 before the start of buffer/region (bug#16799).
1626
1627 2014-02-20 Glenn Morris <rgm@gnu.org>
1628
1629 * isearch.el (search-invisible): Doc fix.
1630
1631 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1632
1633 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1634 (bug#16657).
1635
1636 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1637
1638 * frameset.el (frameset-restore): Delay removing an old frame's
1639 duplicate id until the new frame has been correctly created.
1640
1641 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1642
1643 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1644 (tramp-check-cached-permissions): Call `file-attributes' if the
1645 cache is empty.
1646
1647 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1648 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1649
1650 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1651 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1652 (tramp-gvfs-maybe-open-connection): Set always connection
1653 properties, even if target is mounted already.
1654
1655 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1656 Set tramp-autoload cookie.
1657 (tramp-get-remote-touch): New defun.
1658 (tramp-sh-handle-set-file-times): Use it.
1659 (tramp-sh-handle-directory-files-and-attributes):
1660 Use `tramp-handle-directory-files-and-attributes' if neither stat
1661 nor perl are available on the remote host.
1662
1663 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1664 "/". Write long listing only when "l" belongs to the switches.
1665
1666 * net/trampver.el: Update release number.
1667
1668 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1669
1670 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1671
1672 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1673
1674 * window.el (window-state-put): Allow WINDOW to refer to an
1675 internal window (Bug#16793).
1676
1677 2014-02-19 Glenn Morris <rgm@gnu.org>
1678
1679 * textmodes/remember.el: Move provide statement to end.
1680 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1681 (remember-notes): Doc fixes.
1682
1683 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 * delsel.el (delete-char): Restore incorrectly erased property
1686 (bug#16795).
1687
1688 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1689
1690 * frameset.el (frameset--restore-frame): When a frame is being reused
1691 and its root window is not alive, delete all the frame's windows before
1692 restoring the window state. This works around the issue in bug#16793.
1693
1694 2014-02-18 Glenn Morris <rgm@gnu.org>
1695
1696 * textmodes/remember.el (remember-data-directory)
1697 (remember-directory-file-name-format, remember-store-in-files)
1698 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1699 (remember-notes-save-and-bury-buffer)
1700 (remember-notes--kill-buffer-query): Doc fixes.
1701
1702 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1703
1704 2014-02-17 Alan Mackenzie <acm@muc.de>
1705
1706 Connect electric-indent-mode up with CC Mode. Bug #15478.
1707 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1708 to electric-indent-{,local-}-mode.
1709 (c-basic-common-init): Set electric-indent-inhibit.
1710 Initialise c-electric-flag from electric-indent-mode.
1711 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1712 New hook functions which propagate electric-indent-mode to CC mode.
1713
1714 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1715 hit, toggle electric-indent-local-mode.
1716
1717 * electric.el (electric-indent-mode-has-been-called):
1718 New variable.
1719
1720 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1721
1722 * frameset.el (frameset-cfg-id): New function.
1723 (frameset--reuse-frame, frameset-restore): Use it.
1724 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1725
1726 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1727
1728 * ido.el (ido-file-internal): Remove unused var `d'.
1729 Use \` for to match BoS. Fit within 80n columns.
1730
1731 2014-02-17 Daniel Colascione <dancol@dancol.org>
1732
1733 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1734 dbus-call-method check for completion using a busy-wait loop with
1735 gradual backoff.
1736
1737 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1738
1739 Sync with Tramp 2.2.9.
1740
1741 * net/trampver.el: Update release number.
1742
1743 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1744
1745 * ido.el (ido-file-internal): Don't add the name of an existing
1746 directory twice. (Bug#16747)
1747
1748 2014-02-16 Glenn Morris <rgm@gnu.org>
1749
1750 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1751 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1752
1753 2014-02-15 Michael R. Mauger <michael@mauger.com>
1754
1755 * progmodes/sql.el: Version 3.4
1756 (sql-oracle-options): New default value ("-L").
1757 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1758 (sql-placeholders-filter): Correct placeholder pattern.
1759 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1760 (sql-login-delay): New variable.
1761 (sql-product-interactive): Use it.
1762
1763 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1764
1765 * frameset.el (frameset--jump-to-register): Check that buffer is live
1766 (bug#16749).
1767
1768 2014-02-15 Glenn Morris <rgm@gnu.org>
1769
1770 * info.el (info-initialize): Revert 2014-01-10 change.
1771
1772 2014-02-14 Glenn Morris <rgm@gnu.org>
1773
1774 * replace.el (map-query-replace-regexp)
1775 (read-regexp-defaults-function, read-regexp): Doc fixes.
1776
1777 * dired.el (dired-read-regexp):
1778 * faces.el (list-faces-display):
1779 * misearch.el (multi-isearch-read-matching-buffers)
1780 (multi-isearch-read-matching-files):
1781 * play/cookie1.el (cookie-apropos):
1782 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1783
1784 * textmodes/remember.el (remember): Use frameset-to-register
1785 rather than frame-configuration-to-register.
1786
1787 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1788
1789 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1790 incorrect keybinding.
1791
1792 2014-02-13 Daniel Colascione <dancol@dancol.org>
1793
1794 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1795 when adding overlays so that line numbers from compiler match line
1796 numbers we use.
1797
1798 2014-02-13 Glenn Morris <rgm@gnu.org>
1799
1800 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1801
1802 * jit-lock.el (jit-lock-mode): Doc fix.
1803
1804 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1805
1806 * apropos.el (apropos-read-pattern): When the user passes an empty
1807 string, give a more helpful error message than "Wrong type
1808 argument: stringp, nil".
1809
1810 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1813
1814 2014-02-13 Glenn Morris <rgm@gnu.org>
1815
1816 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1817
1818 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1821 shift-select commands.
1822
1823 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1824
1825 * progmodes/js.el (js-indent-line): Don't widen.
1826 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1827
1828 2014-02-12 Glenn Morris <rgm@gnu.org>
1829
1830 * icomplete.el (icomplete): Add info-link to defgroup.
1831 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1832 (icomplete-minibuffer-map, icomplete-mode)
1833 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1834
1835 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1836 (package-menu-filter): Rename from package-menu-filter-interactive.
1837 Doc fix.
1838
1839 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1840
1841 * frameset.el (frameset--jump-to-register): Select the required
1842 window and buffer before restoring position (bug#16696).
1843
1844 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1845
1846 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1847
1848 2014-02-10 Glenn Morris <rgm@gnu.org>
1849
1850 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1851
1852 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1853
1854 * w32-common-fns.el (x-get-selection): Doc fix.
1855 * select.el (x-get-selection): Doc fix. (Bug#15109)
1856
1857 * face-remap.el (face-remap-add-relative)
1858 (face-remap-remove-relative, face-remap-reset-base)
1859 (face-remap-set-base): Call force-mode-line-update to redisplay
1860 the current buffer due to potential change in faces. (Bug#16709)
1861
1862 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1863
1864 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1865 script more robustly.
1866
1867 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1868
1869 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1870
1871 * simple.el (choose-completion): Doc fix (bug#14160).
1872
1873 * subr.el (event-start): Say what a nil EVENT value means.
1874
1875 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1876 (bug#14197).
1877
1878 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1879
1880 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1881
1882 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1883
1884 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1885 predicate function (bug#15455).
1886
1887 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1888
1889 * ielm.el (inferior-emacs-lisp-mode): Instead of
1890 `comment-use-global-state', set `comment-use-syntax'.
1891
1892 2014-02-10 Glenn Morris <rgm@gnu.org>
1893
1894 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1895
1896 2014-02-09 Alan Mackenzie <acm@muc.de>
1897
1898 Fix c-invalidate-state-cache on narrowed buffers.
1899 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1900 Widen when setting and clearing the CPP delimiter properties.
1901
1902 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1903
1904 * help.el (describe-bindings): Doc fix (bug#9888).
1905
1906 * files.el (save-buffer): Use ARG as the parameter name for
1907 consistency (bug#10346).
1908 (save-buffer): Clarify the 0 argument (bug#10346).
1909
1910 * cus-edit.el (customize-apropos): Fix error string.
1911 (custom-buffer-create): Doc fix (bug#11122).
1912 (custom-sort-items): Doc fix (bug#11121).
1913
1914 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1915
1916 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1917 (icomplete-simple-completing-p): Mention the previous variable.
1918
1919 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1920 meaning of the parameter (bug#12282).
1921
1922 * files.el (find-file-noselect): Clarify prompt when changing
1923 readedness (bug#13261).
1924 (locate-file): Suffixes aren't returned, so don't say that they
1925 are (bug#12674).
1926 (backup-inhibited): Doc clarification (bug#12525).
1927
1928 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1929 before we actually start to delete things (bug#16331).
1930
1931 * subr.el (event-start): Doc fix (bug#14228).
1932 (event-end): Ditto.
1933
1934 2014-02-09 Glenn Morris <rgm@gnu.org>
1935
1936 * emacs-lisp/warnings.el (lwarn):
1937 Empower help-enable-auto-load. (Bug#15940)
1938
1939 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1940
1941 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1942 (Bug#16690)
1943
1944 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1945
1946 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1947 Insert output at end of buffer. (Bug#16120)
1948
1949 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1950
1951 * simple.el (choose-completion-string-functions): Document new
1952 calling convention (bug#14153).
1953 (execute-extended-command): Clarify doc string (bug#13373).
1954
1955 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1956
1957 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1958 (find-grep-dired): Doc fix (bug#14288).
1959
1960 2014-02-08 Juri Linkov <juri@jurta.org>
1961
1962 * isearch.el (isearch-quote-char): Check character validity
1963 like in `quoted-insert' (bug#16677).
1964
1965 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1966
1967 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1968
1969 * isearch.el (isearch-hide-immediately): Doc clarification
1970 (bug#14723).
1971
1972 * simple.el (line-move): Document utility function used many
1973 places in the Emacs sources (bug#14843).
1974
1975 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1976 (dired-prev-marked-file): Doc fix (bug#14855).
1977 (dired-up-directory): Doc fix (bug#14848).
1978
1979 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1980
1981 * files.el (file-relative-name): Doc fix (bug#15159).
1982
1983 * fringe.el (fringe-styles): Doc fix (bug#15239).
1984
1985 * isearch.el (isearch-filter-predicate): Documentation typo fix
1986 (bug#15474).
1987
1988 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1989
1990 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1991
1992 * replace.el (replace-match-maybe-edit): Doc clarification
1993 (bug#15632).
1994
1995 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1996
1997 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1998
1999 2014-02-08 Glenn Morris <rgm@gnu.org>
2000
2001 * help-fns.el (describe-variable):
2002 Check {file,dir}-local-variables-alist, and buffer-file-name,
2003 in the correct buffer.
2004
2005 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2006
2007 * help-fns.el (describe-variable): Fix the case where
2008 a value is directory-local with no dir-locals file. (Bug#16635)
2009
2010 2014-02-08 Glenn Morris <rgm@gnu.org>
2011
2012 * abbrev.el (edit-abbrevs-mode):
2013 Derive from fundamental-mode. (Bug#16682)
2014
2015 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2016
2017 * simple.el (quoted-insert): Check character validity (bug#16677).
2018
2019 2014-02-07 Juri Linkov <juri@jurta.org>
2020
2021 * desktop.el (desktop-read): Claim the lock when the owner is not
2022 the current process. (Bug#16157)
2023
2024 2014-02-07 Juri Linkov <juri@jurta.org>
2025
2026 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2027 to "\\` ". (Bug#16651)
2028
2029 2014-02-07 Juri Linkov <juri@jurta.org>
2030
2031 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2032 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2033 (desktop-auto-save-cancel-timer): New function with some code from
2034 `desktop-auto-save-set-timer'.
2035 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2036 Instead of setting `desktop-save-mode' to nil, call
2037 `desktop-save-mode' with arg 0. (Bug#16630)
2038
2039 2014-02-07 Glenn Morris <rgm@gnu.org>
2040
2041 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2042 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2043 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2044
2045 * obsolete/iswitchb.el: Move to obsolete/.
2046 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2047 since obsolete/ is not scanned for autoloads.
2048 * emacs-lisp/authors.el (authors-valid-file-names):
2049 Add iswitchb.el.
2050
2051 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2052 Disable now non-functional find-file-hook.
2053
2054 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2055
2056 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2057 instead of ";" in order to avoid additional prompts. Let heredoc
2058 scripts read from tty. (Bug#16582)
2059 (tramp-send-command): No special handling of heredocs, it isn't
2060 necessary anymore.
2061
2062 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2065 with a space (bug#16664). Limit the symbols considered to the ones
2066 that are bound or fbound (bug#16646).
2067
2068 2014-02-06 Glenn Morris <rgm@gnu.org>
2069
2070 * epa.el (epa-mail-aliases): Doc fix.
2071
2072 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2073
2074 * emacs-lisp/lisp.el (lisp-completion-at-point):
2075 Use `completion-table-merge' instead of `completion-table-in-turn'
2076 (bug#16604).
2077
2078 * minibuffer.el (completion-table-merge): New function.
2079
2080 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2081
2082 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2083 (tramp-sh-handle-set-file-acl)
2084 (tramp-sh-handle-start-file-process)
2085 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2086 (tramp-find-executable, tramp-send-command): Use it.
2087
2088 2014-02-05 Glenn Morris <rgm@gnu.org>
2089
2090 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2091
2092 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2093
2094 * progmodes/python.el (python-shell-send-string)
2095 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2096
2097 2014-02-04 Anders Lindgren <andlind@gmail.com>
2098
2099 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2100 the names (bug#16620).
2101
2102 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2103
2104 * faces.el (window-divider): New default value. Rewrite doc-string.
2105 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2106
2107 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2108
2109 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2110 `protected' and `public' can also be called without arguments.
2111
2112 2014-02-03 Glenn Morris <rgm@gnu.org>
2113
2114 * register.el (window-configuration-to-register)
2115 (frame-configuration-to-register): Unadvertise unused argument.
2116 * frameset.el (frameset-to-register): Remove unused argument.
2117
2118 * frameset.el (frameset-to-register):
2119 * kmacro.el (kmacro-to-register):
2120 * register.el (increment-register):
2121 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2122 (calc-append-to-register, calc-prepend-to-register):
2123 * play/gametree.el (gametree-layout-to-register)
2124 (gametree-apply-register-layout):
2125 * textmodes/picture.el (picture-clear-rectangle-to-register)
2126 (picture-yank-rectangle-from-register):
2127 * vc/emerge.el (emerge-combine-versions-register):
2128 Use register-read-with-preview to read registers.
2129
2130 2014-02-03 João Távora <joaotavora@gmail.com>
2131
2132 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2133 when at beginning of (possibly narrowed) buffer.
2134
2135 2014-02-02 Daniel Colascione <dancol@dancol.org>
2136
2137 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2138 Also try to display local help from just before point.
2139
2140 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2141
2142 c-parse-state. Don't "append-lower-brace-pair" in certain
2143 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2144 recognised as a comment.
2145
2146 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2147 as well as normal comment starter.
2148 (c-parse-state-get-strategy): Extra return possibility
2149 'back-and-forward.
2150 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2151 return value list to indicate replacement of a brace-pair cons
2152 with its car.
2153 (c-parse-state-1): With 'back-and-forward, only call
2154 c-append-lower-brace-pair-to state-cache when cons-separated.
2155
2156 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2157
2158 * term/ns-win.el (ns-suspend-error): New function.
2159 (ns-initialize-window-system): Add ns-suspend-error to
2160 suspend-hook (Bug#16612).
2161
2162 2014-02-02 Daniel Colascione <dancol@dancol.org>
2163
2164 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2165 Make loading cc-mode silent.
2166
2167 2014-02-02 Daniel Colascione <dancol@dancol.org>
2168
2169 * comint.el (comint-prompt-read-only): Change doc to suggest
2170 remap keybinding.
2171
2172 2014-02-02 Glenn Morris <rgm@gnu.org>
2173
2174 * register.el (register-read-with-preview, point-to-register)
2175 (window-configuration-to-register, frame-configuration-to-register)
2176 (jump-to-register, number-to-register, view-register, insert-register)
2177 (copy-to-register, append-to-register, prepend-to-register)
2178 (copy-rectangle-to-register): Doc fixes.
2179
2180 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2183 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2184 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2185 * help-fns.el (describe-function-1): Use it.
2186
2187 2014-02-02 Glenn Morris <rgm@gnu.org>
2188
2189 * register.el (register-preview-default): New function,
2190 split from register-preview.
2191 (register-preview-function): Rename from register-preview-functions,
2192 make it not a hook.
2193 (register-preview): Use register-preview-function.
2194 (register-read-with-preview): Error on non-character event. (Bug#16595)
2195
2196 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2197
2198 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2199 `:' before binary operators (bug#16609). Don't check for `:'
2200 before `[' and `(', or their syntax status. A percent literal
2201 can't end with either.
2202 (ruby-font-lock-keywords): For built-ins that require arguments,
2203 check that they're followed by something that looks like argument
2204 (bug#16610).
2205
2206 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2207
2208 * subr.el (butlast): Document what an omitted N means (bug#13437).
2209 (nbutlast): Ditto.
2210
2211 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2212
2213 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2214 depth shallower (bug#16587).
2215 (shr-tag-svg): Respect `shr-inhibit-images'.
2216 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2217
2218 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2219
2220 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2221 (ruby-smie-grammar): Make "." right-associative. Make its priority
2222 lower than the ternary and all binary operators.
2223 (ruby-smie-rules): Indent "(" relative to the first non-"."
2224 parent, or the first "." parent at indentation.
2225 Use `ruby-align-chained-calls' for indentation of "." tokens.
2226 (Bug#16593)
2227
2228 2014-01-31 Juri Linkov <juri@jurta.org>
2229
2230 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2231 from `make-hash-table'.
2232
2233 * textmodes/ispell.el (ispell-init-process): Change message format
2234 to be consistent with other messages.
2235
2236 2014-01-31 Glenn Morris <rgm@gnu.org>
2237
2238 * delsel.el (delete-selection-mode): Doc fix.
2239
2240 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2241 (trace-function-background): Doc fixes.
2242
2243 * ido.el (ido-use-virtual-buffers): Doc fix.
2244 Reset :version, since the default value has not changed.
2245
2246 * register.el (register-preview-delay, register-read-with-preview):
2247 Doc fixes.
2248
2249 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2250 do not mess with mail-buffer position (fixes 2009-11-03 change).
2251 * progmodes/cc-mode.el (c-submit-bug-report):
2252 Check auto-fill-mode is bound. (Bug#16592)
2253
2254 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2255
2256 * startup.el (fancy-splash-image-file): New function,
2257 split from fancy-splash-head.
2258 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2259 so that we are both using the same image. (Bug#16574)
2260
2261 2014-01-30 Glenn Morris <rgm@gnu.org>
2262
2263 * simple.el (eval-expression): Doc fix.
2264
2265 * hexl.el (hexl-mode-hook):
2266 * ielm.el (ielm-mode-hook):
2267 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2268 (lisp-interaction-mode-hook):
2269 * progmodes/cfengine.el (cfengine3-documentation-function):
2270 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2271
2272 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2275 is a symbol (bug#16584).
2276
2277 2014-01-30 Glenn Morris <rgm@gnu.org>
2278
2279 * help.el (help-for-help-internal): Add "P" to text.
2280
2281 2014-01-29 Glenn Morris <rgm@gnu.org>
2282
2283 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2284
2285 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2286
2287 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2288 height constraints.
2289
2290 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2291
2292 * progmodes/hideif.el: Extend to full CPP expression syntax.
2293 (hif-token-alist): Add missing tokens.
2294 (hif-token-regexp): Add support for float/octal/hex immediates.
2295 (hif-string-literal-regexp): New const.
2296 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2297 (hif-exprlist): New function.
2298 (hif-parse-if-exp): Use it.
2299 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2300 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2301 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2302 (hif-logxor, hif-comma): New functions.
2303
2304 2014-01-28 Glenn Morris <rgm@gnu.org>
2305
2306 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2307
2308 * indent.el (tab-stop-list): Doc fix. Add :version.
2309
2310 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2311 (cvs-append-to-ignore): Add compatibility alias.
2312
2313 2014-01-27 Glenn Morris <rgm@gnu.org>
2314
2315 * dired.el (dired-hide-details-mode): Don't autoload it,
2316 since it cannot be used outside Dired buffers anyway.
2317
2318 * emulation/cua-base.el (cua-mode): Doc fix.
2319
2320 * dired.el (dired-hide-details-hide-symlink-targets)
2321 (dired-hide-details-hide-information-lines)
2322 (dired-hide-details-mode): Doc fixes.
2323
2324 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2325 * strokes.el (strokes-file): Doc fix. Bump :version.
2326 (strokes-help): Doc fix.
2327 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2328 * emulation/viper.el (viper): Doc fix for custom group.
2329 (top-level): Remove oh-so-no-longer-relevant text about vip.
2330 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2331
2332 * ido.el (ido-save-directory-list-file):
2333 * saveplace.el (save-place-file):
2334 * calendar/timeclock.el (timeclock-file):
2335 * net/quickurl.el (quickurl-url-file):
2336 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2337 * progmodes/idlwave.el (idlwave-config-directory):
2338 * textmodes/remember.el (remember-data-file):
2339 Bump :version.
2340
2341 2014-01-26 Glenn Morris <rgm@gnu.org>
2342
2343 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2344 Doc fix. Make obsolete.
2345 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2346
2347 * sort.el (delete-duplicate-lines): Doc fix.
2348
2349 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2350
2351 * progmodes/ada-mode.el (ada):
2352 * woman.el (woman): Link to info manual and Commentary section.
2353
2354 * progmodes/flymake.el (flymake):
2355 * nxml/nxml-mode.el (nxml):
2356 * net/eww.el (eww):
2357 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2358 * htmlfontify.el (htmlfontify):
2359 * ses.el (ses):
2360 * epa.el (epa):
2361 * ido.el (ido): Link to info manual.
2362
2363 2014-01-25 Leo Liu <sdl.web@gmail.com>
2364
2365 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2366
2367 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2368
2369 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2370 (bug#16537).
2371
2372 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2373
2374 * net/eww.el (eww-download-callback):
2375 Fix reference to eww-download-directory.
2376
2377 * emacs-lisp/bytecomp.el (byte-compile-file):
2378 Remove unused local variable `file-name'.
2379
2380 2014-01-24 Glenn Morris <rgm@gnu.org>
2381
2382 * woman.el (woman-default-faces, woman-monochrome-faces):
2383 Fix obsolescence specification.
2384
2385 * subr.el (with-demoted-errors): Doc fix.
2386
2387 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2390 (cl--macroexp-fboundp): New function.
2391 (cl--make-type-test): Use it.
2392
2393 2014-01-23 Glenn Morris <rgm@gnu.org>
2394
2395 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2396 * simple.el (eval-expression): Doc fixes.
2397
2398 2014-01-22 Glenn Morris <rgm@gnu.org>
2399
2400 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2401
2402 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * emacs-lisp/package.el: Write files silently.
2405 (package-autoload-ensure-default-file, package--write-file-no-coding)
2406 (package-generate-description-file, package--download-one-archive)
2407 (package-install-from-archive): Tell `write-region' to stay quiet.
2408 (package-menu-mode, package-menu--print-info): Omit the Archive column
2409 if there's only one archive.
2410 (package-all-keywords, package--has-keyword-p): Remove dead code.
2411
2412 2014-01-22 Glenn Morris <rgm@gnu.org>
2413
2414 * version.el (emacs-bzr-version-bzr): Fix typo.
2415
2416 * version.el (emacs-repository-get-version):
2417 Check either .bzr or .git, but not both.
2418 Make the git case actually use the DIR argument, and return nil
2419 rather than the empty string.
2420 Avoid error if .git exists but the git executable is not found.
2421
2422 2014-01-22 Martin Rudalics <rudalics@gmx.at>
2423
2424 Fixes in window size functions around Bug#16430 and Bug#16470.
2425 * window.el (window-total-size, window-size): New argument ROUND.
2426 (window--min-delta-1, window-min-delta, window--max-delta-1):
2427 Be more conservative when calculating the numbers of lines or
2428 columns a window can shrink (Bug#16430).
2429 (fit-window-to-buffer): Simplify code.
2430 * term.el (term-window-width): Call window-body-width again.
2431
2432 2014-01-22 Glenn Morris <rgm@gnu.org>
2433
2434 * image.el (image-format-suffixes): Doc fix.
2435
2436 * international/quail.el (quail-define-package): Doc fix.
2437
2438 * emacs-lisp/authors.el (authors-valid-file-names)
2439 (authors-renamed-files-alist): Additions.
2440
2441 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2442 reverts 2014-01-09 change. (Bug#16422)
2443
2444 * calc/calc-embed.el (thing-at-point-looking-at):
2445 * emacs-lisp/map-ynp.el (x-popup-dialog):
2446 * obsolete/lmenu.el (x-popup-dialog):
2447 * emacs-lisp/package.el (url-recreate-url):
2448 * mail/mailclient.el (clipboard-kill-ring-save):
2449 * subr.el (x-popup-dialog): Update declaration.
2450 * mail/rmail.el (rmail-mime-message-p):
2451 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2452
2453 2014-01-21 Daniel Colascione <dancol@dancol.org>
2454
2455 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2456 Correctly detect when we're inside an arithmetic expansion form
2457 containing nested parenthesis.
2458 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2459 to detect cases where we shouldn't expand "<<" to a heredoc
2460 skeleton.
2461
2462 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2465 (eldoc--message-command-p): New function.
2466 (eldoc-display-message-p): Use it.
2467 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2468 message is not automatically erased for us.
2469 (eldoc-print-current-symbol-info): Erase previous message, if any.
2470
2471 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2472
2473 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2474 specify it's an interactive function.
2475
2476 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2477 Fix regex used for scanning for citation keys which failed for
2478 citations with optional arguments.
2479
2480 2014-01-21 Leo Liu <sdl.web@gmail.com>
2481
2482 * simple.el (read--expression): Don't enable eldoc-mode.
2483
2484 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * simple.el (move-beginning-of-line): Make sure we don't move forward
2487 (bug#16497).
2488
2489 2014-01-20 Juri Linkov <juri@jurta.org>
2490
2491 * saveplace.el (toggle-save-place, save-place-to-alist)
2492 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2493 'dired-mode) before checking for dired-directory. (Bug#16477)
2494
2495 2014-01-20 Juri Linkov <juri@jurta.org>
2496
2497 * indent.el (indent-line-to): Use backward-to-indentation
2498 instead of back-to-indentation. (Bug#16461)
2499
2500 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2501
2502 Revert some of the CANNOT_DUMP fix (Bug#16494).
2503 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2504 but fixing this can wait until after the next release.
2505 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2506
2507 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2508
2509 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2510 Use `password-word-equivalents'.
2511 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2512 to t. (Bug#5664, Bug#13124)
2513
2514 2014-01-19 Alan Mackenzie <acm@muc.de>
2515
2516 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2517 points.
2518 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2519 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2520 * progmodes/cc-mode.el (c-before-change, c-after-change)
2521 (c-font-lock-fontify-region): Bind it here.
2522
2523 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2524
2525 * term.el (term-window-width): Call window-text-width instead of
2526 window-width (Bug#16470).
2527
2528 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2529
2530 * simple.el (password-word-equivalents): Remove duplicates.
2531 Sort, to make this easier next time.
2532 Downcase. Omit ": " after "jelszó".
2533
2534 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2535
2536 * term/common-win.el (saved-region-selection): Defvar it.
2537 (x-select-text): Set saved-region-selection (Bug#16382).
2538
2539 2014-01-18 Glenn Morris <rgm@gnu.org>
2540
2541 * emacs-lisp/authors.el (authors-aliases)
2542 (authors-renamed-files-alist): Add some entries.
2543
2544 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2545
2546 * net/tramp.el (tramp-password-prompt-regexp):
2547 Use `password-word-equivalents' if available.
2548 (tramp-action-password, tramp-process-one-action)
2549 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2550
2551 2014-01-17 Chong Yidong <cyd@gnu.org>
2552
2553 * simple.el (password-word-equivalents): New defcustom.
2554 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2555 to 24.4.
2556 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2557 to t. (Bug#13124)
2558
2559 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2560
2561 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2562 (ruby-align-to-stmt-keywords): Change the default value.
2563 Use `ruby-alignable-keywords' to generate the possible customization
2564 choices.
2565 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2566 keywords, check against the value of `ruby-alignable-keywords'
2567 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2568
2569 2014-01-17 Glenn Morris <rgm@gnu.org>
2570
2571 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2572
2573 Make M-x authors return zero *Authors Errors* from current logs.
2574 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2575 (authors-ignored-files): Add some entries, remove others.
2576 (authors-ambiguous-files, authors-valid-file-names):
2577 Add some entries.
2578 (authors-renamed-files-alist): Add, remove, and adjust entries.
2579 (authors-renamed-files-regexps): Add some entries.
2580 Remove some very broad ones. Make some entries `lax'.
2581 (authors-lax-changelogs): New constant.
2582 (authors-disambiguate-file-name): Treat top-level specially.
2583 (authors-lax-changelog-p): New function.
2584 (authors-canonical-file-name): Check file as written against
2585 authors-valid-file-names. Do not special-case etc/.
2586 Handle `lax' logs and authors-renamed-files-regexps elements.
2587
2588 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2589
2590 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2591 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2592 callers.
2593
2594 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2597 Assume we're already in the proper buffer.
2598 Inspired by Anders Lindgren <andlind@gmail.com>.
2599 (follow-post-command-hook): Call it from the right buffer.
2600 (follow-comint-scroll-to-bottom): Adjust call.
2601 (follow-all-followers): Use get-buffer-window-list.
2602
2603 2014-01-15 Daniel Colascione <dancol@dancol.org>
2604
2605 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2606 `buffer-file-name' in interactive-form so that we don't leave
2607 pathless file names in `file-name-history'.
2608
2609 2014-01-15 Juri Linkov <juri@jurta.org>
2610
2611 * indent.el (indent-rigidly): Set deactivate-mark to nil
2612 in transient indentation mode. (Bug#16438)
2613
2614 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2615
2616 * emacs-lisp/package.el (package-desc-keywords): New function
2617 (Bug#16222).
2618 (describe-package-1, package-all-keywords)
2619 (package--has-keyword-p): Use it.
2620
2621 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2622
2623 * simple.el (define-alternatives): When creating the
2624 COMMAND-alternatives variable, assign COMMAND as its definition
2625 name so that `describe-variable' can relocate it.
2626
2627 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2628
2629 * font-lock.el (font-lock-keywords): Fix typo in docstring
2630 (bug#16307).
2631
2632 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2633
2634 * ispell.el (ispell-region): Reset `in-comment' for new line
2635 instead of wrongly reset `add-coment' (bug#13577).
2636
2637 2014-01-14 Daiki Ueno <ueno@gnu.org>
2638
2639 * epa-file.el (epa-file-write-region): Encode the region according
2640 to `buffer-file-format'. Problem reported at:
2641 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2642
2643 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2644
2645 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2646 so it applies in the right buffer (bug#16410).
2647
2648 2014-01-13 Daniel Colascione <dancol@dancol.org>
2649
2650 * textmodes/rst.el (rst-define-key): Provide deprecated
2651 keybindings through named functions instead of anonymous ones so
2652 that "??" doesn't appear in describe-mode output.
2653
2654 2014-01-13 Bastien Guerry <bzg@gnu.org>
2655
2656 * simple.el (define-alternatives): Call the selected command
2657 interactively. When setting `COMMAND--implementation' for the
2658 first time, tell the user how to chose another implementation.
2659 Enhance the docstring.
2660
2661 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2662
2663 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2664 (log-edit--match-first-line): New function.
2665 (log-edit-font-lock-keywords): Use it.
2666 (log-edit-mode): Make jit-lock-defer-multiline work.
2667
2668 2014-01-13 Bastien Guerry <bzg@gnu.org>
2669
2670 * rect.el (rectangle-mark-mode): When the region is not active,
2671 display a message saying that the mark as been set and that
2672 rectangle mode is in use.
2673 (rectangle--highlight-for-redisplay): Only put an overlay with a
2674 visible vertical bar when (display-graphic-p) is non-nil.
2675 This partially fixes Bug#16403.
2676
2677 2014-01-13 Juri Linkov <juri@jurta.org>
2678
2679 * info.el (Info-find-file): Go to DIR before displaying the error
2680 about a nonexistent file if no previous Info file is visited.
2681 Use `user-error' instead of `error' for "Info file %s does not exist".
2682 (Info-find-node-2): In case of a nonexistent node in unwind forms
2683 go to the Top node if there is no previous node to revert to.
2684 (Bug#16405)
2685
2686 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2687
2688 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2689 * window.el (fit-frame-to-buffer): Fix doc-string.
2690 Respect window-min-height/-width. Fit pixelwise when
2691 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2692 when avoiding that frame goes partially off-screen.
2693 (fit-window-to-buffer): Respect window-min-height/-width
2694 (Bug#14096).
2695
2696 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2697
2698 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2699 after an empty line.
2700
2701 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * net/shr.el (shr-render-region): Autoload.
2704
2705 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2706
2707 * net/eww.el (eww-download-directory): Rename from
2708 `eww-download-path' (Bug#16419).
2709
2710 2014-01-12 Leo Liu <sdl.web@gmail.com>
2711
2712 * dired-x.el (dired-mode-map): Fix last change.
2713
2714 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2715
2716 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2717
2718 Spelling fixes.
2719 * emacs-lisp/generic.el (generic--normalize-comments):
2720 Rename from generic--normalise-comments. All uses changed.
2721 * play/bubbles.el (bubbles--neighborhood-score)
2722 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2723 (bubbles--neighborhood-available)
2724 (bubbles--update-neighborhood-score):
2725 Rename from names with 'neighbourhood'. All uses changed.
2726
2727 2014-01-12 Leo Liu <sdl.web@gmail.com>
2728
2729 Re-implement the feature of showing eldoc info after editing.
2730 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2731 (eldoc-edit-message-commands): New function.
2732 (eldoc-print-after-edit): New variable.
2733 (eldoc-pre-command-refresh-echo-area): Emit message only by
2734 eldoc-message-commands.
2735 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2736 if eldoc-print-after-edit is set. (Bug#16346)
2737 * simple.el (read--expression): Enable eldoc-mode.
2738 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2739
2740 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2741 Eric S. Raymond <esr@thyrsus.com>
2742
2743 * version.el (emacs-repository-get-version): Enhance so the
2744 function works correctly in either a Bazaar or Git repo.
2745
2746 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2747
2748 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2749 Goes with removal of the joke manpages from /etc.
2750
2751 2014-01-10 Kenichi Handa <handa@gnu.org>
2752
2753 * mail/rmail.el (rmail-get-coding-system):
2754 Check rmail-get-coding-function before "funcall"ing it.
2755
2756 2014-01-10 Glenn Morris <rgm@gnu.org>
2757
2758 * emacs-lisp/authors.el (authors-fixed-entries):
2759 Update for files that no longer exist.
2760
2761 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2762
2763 * version.el (emacs-bzr-get-version): Restore compatibilty with
2764 24.3 (Tested).
2765
2766 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2767
2768 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2769 and Podfile.
2770
2771 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2772
2773 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2774
2775 2014-01-10 Chong Yidong <cyd@gnu.org>
2776
2777 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2778
2779 2014-01-10 Anders Lindgren <andlind@gmail.com>
2780
2781 * follow.el (follow-cache-command-list): Include right-char and
2782 left-char.
2783
2784 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2785
2786 Spelling fixes.
2787 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2788 * woman.el (woman-mark-horizontal-position):
2789 Rename from woman-mark-horizonal-position. Use changed.
2790
2791 2014-01-10 Glenn Morris <rgm@gnu.org>
2792
2793 * info.el (info-initialize): If running uninstalled, ensure our
2794 own info files are always found first, even if INFOPATH is set.
2795
2796 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2797
2798 2014-01-09 David Engster <deng@randomsample.de>
2799
2800 * emacs-lisp/eieio-custom.el:
2801 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2802 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2803 * emacs-lisp/eieio.el: Regenerate autoloads.
2804
2805 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2806
2807 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2808 following renames. (Bug#8756)
2809
2810 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2811
2812 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2813 (bug#16382).
2814 (activate-mark): Add `no-tmm' argument.
2815 (set-mark, push-mark-command): Use it instead of running
2816 activate-mark-hook by hand.
2817
2818 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2819
2820 In preparation for the move to git, sanitize out some
2821 Bazaar-specific names.
2822
2823 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2824
2825 * version.el (emacs-bzr-version): Name changed to
2826 emacs-repository-version. Obsolete-variable alias made.
2827 * loadup.el: Follow through on this name change.
2828 * mail/emacsbug.el (report-emacs-bug): Factor out any
2829 assumption about the version control system in use.
2830
2831 2014-01-08 David Engster <deng@randomsample.de>
2832
2833 * help-fns.el (help-fns-describe-function-functions):
2834 New variable to call functions for augmenting help buffers.
2835 (describe-function-1): Remove explicit calls to
2836 `help-fns--compiler-macro', `help-fns--parent-mode' and
2837 `help-fns--obsolete'. Put them in above new variable instead, and
2838 call them through `run-hook-with-args'.
2839 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2840 `eieio-describe-class'. Not meant for interactive use anymore,
2841 but to augment existing help buffers. Remove optional second
2842 argument. Create proper button for file location.
2843 Rewrite function to use `insert' instead of `princ' and `prin1' where
2844 possible.
2845 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2846 (eieio-method-def, eieio-class-def): Move further up.
2847 (describe-method, describe-generic, eieio-describe-method):
2848 Remove aliases.
2849 (eieio-help-constructor, eieio-help-generic): Rename from
2850 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2851 Rewrite to use `insert' in the current buffer and use proper help
2852 buttons.
2853 (eieio-help-find-method-definition)
2854 (eieio-help-find-class-definition): Also accept symbols as
2855 arguments.
2856 (eieio-help-mode-augmentation-maybee): Remove.
2857 (eieio-describe-class-sb): Use `describe-function'.
2858 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2859 Add `eieio-help-generic' and `eieio-help-constructor'.
2860
2861 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2862
2863 Spelling fixes.
2864 * language/china-util.el (hz-ascii-designation):
2865 Rename from hz-ascii-designnation.
2866 (hz-ascii-designation): Rename from hz-ascii-designnation.
2867 All uses changed.
2868
2869 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2872 package-alist.
2873
2874 2014-01-08 Bastien Guerry <bzg@gnu.org>
2875
2876 * emacs-lisp/package.el (package-delete):
2877 Correctly delete the package from package-alist.
2878
2879 2014-01-08 Daiki Ueno <ueno@gnu.org>
2880
2881 * emacs-lisp/package.el (url-recreate-url): Declare.
2882 (url-http-target-url): Declare.
2883 (package-handle-response): Include requested URL in the error message.
2884 (package--check-signature): Don't re-signal errors from
2885 package--with-work-buffer. Suggested by Stefan Monnier.
2886
2887 2014-01-07 Bastien Guerry <bzg@gnu.org>
2888
2889 * minibuffer.el (completion--try-word-completion): When both a
2890 hyphen and a space are possible candidates for the character
2891 following a word, display both candidates. (Bug#15980)
2892
2893 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2894
2895 * window.el (balance-windows-2): While rounding don't give a
2896 window more than the remainder. Bug#16351, bug#16383.
2897
2898 2014-01-07 Glenn Morris <rgm@gnu.org>
2899
2900 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2901 (menu-bar-help-menu): Use view-external-packages instead.
2902
2903 2014-01-07 Bastien Guerry <bzg@gnu.org>
2904
2905 * emacs-lisp/package.el (package-delete): Also delete the package
2906 name from `package-alist', not its description only.
2907
2908 2014-01-07 Glenn Morris <rgm@gnu.org>
2909
2910 * help.el (view-external-packages):
2911 * menu-bar.el (menu-bar-help-extra-packages):
2912 Visit efaq.info rather than etc/MORE.STUFF.
2913
2914 2014-01-07 Juri Linkov <juri@jurta.org>
2915
2916 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2917 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2918
2919 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2920 that shadows RET. (Bug#16342)
2921
2922 2014-01-07 Chong Yidong <cyd@gnu.org>
2923
2924 * isearch.el (isearch-yank-char, isearch-yank-word)
2925 (isearch-yank-line): Doc fix.
2926
2927 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2930 * emacs-lisp/elint.el (elint-find-builtins):
2931 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2932 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2933 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2934 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2935 * apropos.el (apropos-safe-documentation):
2936 * subr.el (symbol-file): Remove redundant fboundp.
2937 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2938
2939 2014-01-06 Bastien Guerry <bzg@gnu.org>
2940
2941 * hl-line.el (global-hl-line-overlay): Make a local variable.
2942 (global-hl-line-overlays): New variable to store all overlays.
2943 (global-hl-line-mode): Don't delete overlays from the current
2944 buffer when `global-hl-line-sticky-flag' is non-nil.
2945 (global-hl-line-highlight): Add new overlays to
2946 `global-hl-line-overlays'.
2947 (global-hl-line-unhighlight-all): New function to delete all
2948 overlays when turning off `global-hl-line-mode'.
2949 This fixes Bug#16183.
2950
2951 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * subr.el (set-transient-map): Fix nested case and docstring.
2954
2955 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2956
2957 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2958 `Texinfo' entry.
2959
2960 2014-01-06 Daniel Colascione <dancol@dancol.org>
2961
2962 Fix defun navigation in vc log view.
2963
2964 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2965 like `beginning-of-defun'.
2966 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2967 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2968 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2969 (log-view-extract-comment): Call `log-view-current-entry' directly
2970 instead of relying on broken `log-view-beginning-of-defun' behavior.
2971
2972 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2973
2974 Spelling fixes.
2975 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2976 * emacs-lisp/debug.el (cancel-debug-on-entry):
2977 * epg.el (epg-error-to-string):
2978 * files.el (recover-file):
2979 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2980 * mail/emacsbug.el (report-emacs-bug-hook):
2981 * mail/sendmail.el (mail-recover):
2982 * ses.el (ses-yank-resize):
2983 * term/ns-win.el (ns-print-buffer):
2984 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2985 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2986 All uses changed.
2987 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2988
2989 2014-01-06 Leo Liu <sdl.web@gmail.com>
2990
2991 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2992 to avoid shadowing global key. (Bug#16354)
2993
2994 2014-01-06 Daniel Colascione <dancol@dancol.org>
2995
2996 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2997 rst-mode.
2998
2999 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3000
3001 * window.el (balance-windows): Add mising t to fix Bug#16351.
3002
3003 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3004
3005 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3006 (bug#16285).
3007 (shr-insert): If we have a word that's longer than `shr-width',
3008 break after it anyway. Otherwise we'll do no breaking once we get
3009 such a long word.
3010
3011 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3012
3013 * net/eww.el (eww): Support single/double quote for search.
3014 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3015 (eww-history-quit): Delete and use quit-window.
3016 (eww-history-kill): Delete, because it doesn't work well and
3017 not necessary.
3018 (eww-history-mode-map): Delete some keys and add easy-menu.
3019
3020 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3021
3022 Fix misspelling of 'chinese' in rx (Bug#16237).
3023 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3024 chinese-two-byte.
3025
3026 Change subword regexps back to vars (Bug#16296).
3027 * progmodes/subword.el (subword-forward-regexp)
3028 (subword-backward-regexp): Change these back to variables.
3029
3030 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3033 syntax-begin-function (bug#16247).
3034
3035 2014-01-03 Chong Yidong <cyd@gnu.org>
3036
3037 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3038 (advice--docstring): Delete variable.
3039 (advice--make-1): Leave the docstring empty.
3040 (advice-add): Use function-documentation for advised docstring.
3041
3042 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3043 Ignore function-documentation property when getting documentation.
3044 (ad-activate-advised-definition): Use function-documentation
3045 generate the docstring.
3046 (ad-make-advised-definition): Don't call
3047 ad-make-advised-definition-docstring.
3048 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3049 Delete functions.
3050
3051 * progmodes/sql.el (sql-help): Use function-documentation instead
3052 of dynamic-docstring-function property. No need to autoload now.
3053 (sql--help-docstring): New variable.
3054 (sql--make-help-docstring): Use it.
3055
3056 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3057
3058 * ielm.el (ielm-tab): Retarget.
3059 (ielm-map): Use ielm-tab for tab.
3060 (ielm-complete-filename): Use comint-filename-completion.
3061 (ielm-complete-symbol): Remove.
3062 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3063 remove ielm-tab from completion-at-point-functions (bug#16224).
3064
3065 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3066 Beware signals raised by predicates (bug#16201).
3067
3068 2014-01-02 Richard Stallman <rms@gnu.org>
3069
3070 * dired-aux.el (dired-do-print): Handle printer-name.
3071
3072 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3073 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3074 (rmail-epa-decrypt): Turn off mime processing.
3075
3076 * mail/rmail.el (rmail-make-in-reply-to-field):
3077 Add parens in message-id.
3078
3079 * mail/rmail.el (rmail-get-coding-function): Variable.
3080 (rmail-get-coding-system): Use it.
3081
3082 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3083
3084 * international/mule-conf.el: Unify the charset indian-is13194.
3085 (indian-is13194): Specify unify-map.
3086
3087 2013-12-31 Leo Liu <sdl.web@gmail.com>
3088
3089 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3090
3091 2013-12-30 Daniel Colascione <dancol@dancol.org>
3092
3093 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3094 of printing a useless when we resume from sleep.
3095
3096 * progmodes/sh-script.el
3097 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3098 in indentation code. (Bug#16233)
3099
3100 2013-12-28 João Távora <joaotavora@gmail.com>
3101
3102 * elec-pair.el (electric-pair-post-self-insert-function):
3103 Don't open extra newlines at beginning of buffer. (Bug#16272)
3104
3105 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3106
3107 * frame.el (window-system-for-display): Don't allow to create a
3108 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3109
3110 2013-12-28 Glenn Morris <rgm@gnu.org>
3111
3112 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3113 Update callers.
3114
3115 * apropos.el (apropos-match-face):
3116 * calculator.el (calculator-displayer):
3117 * dabbrev.el (dabbrev-search-these-buffers-only):
3118 * face-remap.el (buffer-face-mode-face):
3119 * simple.el (yank-handled-properties):
3120 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3121 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3122 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3123 (hashcash-double-spend-database):
3124 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3125 (ruby-deep-indent-paren-style):
3126 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3127 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3128 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3129 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3130 Specify custom types.
3131
3132 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3133 * bookmark.el (bookmark-bmenu-use-header-line):
3134 * doc-view.el (doc-view-scale-internally):
3135 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3136 * register.el (register-preview-delay):
3137 * net/shr.el (shr-bullet):
3138 * progmodes/cfengine.el (cfengine-cf-promises)
3139 (cfengine-parameters-indent):
3140 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3141 * textmodes/reftex-vars.el (reftex-label-regexps):
3142 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3143
3144 * net/tls.el (tls-certtool-program): Fix default value.
3145
3146 * desktop.el (desktop-restore-in-current-display):
3147 * newcomment.el (comment-empty-lines):
3148 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3149 (idlwave-pad-keyword):
3150 * progmodes/tcl.el (tcl-tab-always-indent):
3151 * textmodes/reftex-vars.el (reftex-index-default-tag):
3152 * elec-pair.el (electric-pair-skip-whitespace):
3153 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3154
3155 * emacs-lisp/authors.el (authors-ignored-files)
3156 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3157
3158 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3159
3160 * shell.el (shell-dynamic-complete-command): Doc fix.
3161 (shell--command-completion-data): Shell completion now matches
3162 executable filenames from the current buffer's directory, on
3163 systems in which this behavior is the default (windows-nt, ms-dos).
3164
3165 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3166
3167 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3168
3169 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3172 (bug#16251).
3173
3174 * electric.el: Move all electric-pair-* to elec-pair.el.
3175 * elec-pair.el: New file, split from electric.el.
3176
3177 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3178
3179 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3180 indentation level is larger than the width, because that will
3181 infloop.
3182 (shr-insert): Fill repeatedly long texts, so that Japanese is
3183 formatted correctly (bug#16263).
3184 (shr-find-fill-point): Off by one error in comparison with the
3185 indentation.
3186
3187 2013-12-26 João Távora <joaotavora@gmail.com>
3188
3189 * electric.el (electric-pair-mode): More flexible engine for skip-
3190 and inhibit predicates, new options for pairing-related functionality.
3191 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3192 if that keeps or improves their balance in buffers.
3193 (electric-pair-delete-adjacent-pairs): Delete the pair when
3194 backspacing over adjacent matched delimiters.
3195 (electric-pair-open-extra-newline): Open extra newline when
3196 inserting newlines between adjacent matched delimiters.
3197 (electric--sort-post-self-insertion-hook):
3198 Sort post-self-insert-hook according to priority values when
3199 minor-modes are activated.
3200 * simple.el (newline-and-indent): Call newline with interactive
3201 set to t.
3202 (blink-paren-post-self-insert-function): Set priority to 100.
3203 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3204 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3205 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3206 electric-pair-open-newline-between-pairs to nil.
3207
3208 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3209
3210 * progmodes/python.el: Use lexical-binding.
3211 (python-nav-beginning-of-defun): Stop searching ASAP.
3212
3213 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3214
3215 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3216 Fix interactive spec. Doc fix. (Bug#15754)
3217
3218 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3219
3220 * emacs-lisp/byte-run.el (eval-when-compile):
3221 * progmodes/cc-defs.el (cc-eval-when-compile):
3222 Fix edebug spec (bug#16184).
3223
3224 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3225
3226 * net/shr.el (shr-visit-file): Remove debugging function.
3227 (shr-insert): Don't infloop if we can't find a good place to break
3228 the line (bug#16256).
3229
3230 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3231
3232 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3233 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3234 python-nav-lisp-forward-sexp-safe.
3235 (python-nav--forward-sexp): New argument SAFE allows switching
3236 forward sexp movement behavior for parens.
3237 (python-nav-forward-sexp): Throw errors on unterminated parens
3238 (Bug#16191).
3239 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3240 (python-nav-backward-sexp-safe): New functions.
3241 (python-shell-buffer-substring):
3242 Use `python-nav-forward-sexp-safe'.
3243
3244 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3245
3246 * net/shr.el (shr-find-fill-point): Don't break lines before a
3247 quotation mark.
3248 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3249 (shr-find-fill-point): Remove the special checks for the quotation
3250 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3251
3252 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3253
3254 * net/eww.el (eww-form-textarea): Use a different face for
3255 textareas than text input since they have different keymaps
3256 (bug#16142).
3257
3258 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3259
3260 * progmodes/python.el (python-nav-beginning-of-statement):
3261 Speed up (Bug#15295).
3262
3263 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3264
3265 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3266 the window configuration.
3267
3268 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3269
3270 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3271 we run on MS-Windows or MS-DOS.
3272
3273 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3274
3275 * window.el (balance-windows-area): Call window-size instead of
3276 window-height and window-width. Bug#16241.
3277
3278 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3279
3280 * net/eww.el (eww-bookmark-quit): Remove.
3281 (eww-bookmark-browse): Restore the window configuration when you
3282 choose a bookmark (bug#16144).
3283
3284 2013-12-24 Daniel Colascione <dancol@dancol.org>
3285
3286 * icomplete.el: Remove redundant :group arguments to `defcustom'
3287 throughout.
3288 (icomplete-show-matches-on-no-input): New customizable variable.
3289 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3290 we have something to show.
3291 (icomplete-exhibit): Compute completions even if we have no user input.
3292
3293 2013-12-23 Daniel Colascione <dancol@dancol.org>
3294
3295 * icomplete.el: Move `provide' to end of file.
3296
3297 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3298
3299 * net/gnutls.el (gnutls-verify-error): Add version tag.
3300
3301 2013-12-23 Chong Yidong <cyd@gnu.org>
3302
3303 * subr.el (set-transient-map): Rename from
3304 set-temporary-overlay-map. Doc fix.
3305
3306 * face-remap.el (text-scale-adjust):
3307 * indent.el (indent-rigidly):
3308 * kmacro.el (kmacro-call-macro):
3309 * minibuffer.el (minibuffer-force-complete):
3310 * repeat.el (repeat):
3311 * simple.el (universal-argument--mode):
3312 * calendar/todo-mode.el (todo-insert-item--next-param):
3313 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3314
3315 * indent.el (indent-rigidly): Use substitute-command-keys.
3316
3317 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3318
3319 * net/eww.el (eww-tag-select): Add text-property to jump to next
3320 select field.
3321 (eww): Add non-supported ftp error.
3322
3323 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3324
3325 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3326 comments. Handle electric indent after typing `?' and `!'.
3327
3328 2013-12-22 Chong Yidong <cyd@gnu.org>
3329
3330 * faces.el (face-spec-recalc): If the theme specs are not
3331 applicable to a frame, fall back on the defface spec.
3332 This prevents themes from obliterating faces on low-color terminals.
3333
3334 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3335
3336 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3337 after `{'. We need it after block openers, and it doesn't seem
3338 to hurt after hash openers.
3339
3340 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3341
3342 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3343 extracted from `ruby-smie-rules'.
3344 (ruby--electric-indent-chars): New variable.
3345 (ruby--electric-indent-p): New function.
3346 (ruby-mode): Use `electric-indent-functions' instead of
3347 `electric-indent-chars'.
3348
3349 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3350
3351 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3352 docstring.
3353 (ruby-smie-rules): Indent plus one level after `=>'.
3354
3355 2013-12-21 Richard Stallman <rms@gnu.org>
3356
3357 * simple.el (newline): Doc fix.
3358
3359 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3360
3361 * net/eww.el (eww-list-histories, eww-list-histories)
3362 (eww-history-browse, eww-history-quit, eww-history-kill)
3363 (eww-history-mode-map, eww-history-mode): New command and
3364 functions to list browser histories.
3365 (eww-form-text): Support text form with disabled
3366 and readonly attributes.
3367 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3368
3369 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3370
3371 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3372 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3373 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3374 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3375 Use `user-error'.
3376 (eww-bookmark-mode-map): Add menu.
3377 (eww-render, eww-mode): Use `setq-local'.
3378 (eww-tool-bar-map): New variable.
3379 (eww-mode): Set `tool-bar-map'.
3380 (eww-view-source): Check for `html-mode' with `fboundp'.
3381
3382 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3383
3384 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3385 elements with text inside. Also remove debugging.
3386
3387 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3388
3389 * cus-start.el (all): Add ns-use-srgb-colorspace.
3390
3391 2013-12-21 Chong Yidong <cyd@gnu.org>
3392
3393 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3394 undefined. Thus, theme settings for undefined faces do not take
3395 effect until the faces are defined with defface, the same as with
3396 theme variables.
3397
3398 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3399 (face-spec-reset-face): Don't assign extra properties in temacs.
3400 (face-spec-recalc): Apply X resources too.
3401
3402 2013-12-21 Chong Yidong <cyd@gnu.org>
3403
3404 * faces.el (face-spec-set):
3405 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3406 * custom.el (defface): Doc fixes (Bug#16203).
3407
3408 * indent.el (indent-rigidly-map): Add docstring, and move commands
3409 into named functions.
3410 (indent-rigidly-left, indent-rigidly-right)
3411 (indent-rigidly-left-to-tab-stop)
3412 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3413 indentation direction based on bidi direction, and accumulate
3414 sequential commands in a single undo boundary.
3415 (indent-rigidly--pop-undo): New utility function.
3416
3417 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
3418
3419 * faces.el (read-face-name): Require crm.el when using crm-separator.
3420
3421 2013-12-20 Daniel Colascione <dancol@dancol.org>
3422
3423 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3424 so that we don't reflow comments into the shebang line.
3425
3426 2013-12-20 Juri Linkov <juri@jurta.org>
3427
3428 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3429 a position when `dired-directory' is non-nil. Check integer
3430 positions with `integerp'.
3431 (toggle-save-place, save-places-to-alist): Add check for
3432 `dired-directory'.
3433 (save-place-find-file-hook): Check integer positions with
3434 `integerp'.
3435 (save-place-dired-hook): Use `dired-goto-file' when
3436 `dired-filename' is found in the assoc list. Check integer
3437 positions with `integerp'.
3438 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3439
3440 * dired.el (dired-initial-position-hook): Rename back from
3441 `dired-initial-point-hook'.
3442 (dired-initial-position): Rename `dired-initial-point-hook' to
3443 `dired-initial-position-hook'.
3444 (dired-file-name-at-point): Doc fix. (Bug#15329)
3445
3446 2013-12-20 Juri Linkov <juri@jurta.org>
3447
3448 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3449 (read-regexp-suggestions): New function.
3450 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3451 Use `read-regexp-suggestions'. Add non-empty default to history
3452 for empty input.
3453 (occur-read-regexp-defaults-function): Remove function.
3454 (occur-read-primary-args): Use `regexp-history-last' instead of
3455 `occur-read-regexp-defaults-function'.
3456
3457 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3458 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3459 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3460 `hi-lock-read-regexp-defaults-function'. Doc fix.
3461 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3462 with `find-tag-default-as-symbol-regexp'. Doc fix.
3463 (hi-lock-read-regexp-defaults): Remove function.
3464 (hi-lock-regexp-okay): Add check for null.
3465
3466 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3467 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3468
3469 * subr.el (find-tag-default-as-symbol-regexp): New function.
3470 (find-tag-default-as-regexp): Move symbol regexp formatting to
3471 `find-tag-default-as-symbol-regexp'.
3472
3473 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3474
3475 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3476 (Bug#14179)
3477
3478 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3479
3480 * calendar/todo-mode.el: New implementation of item insertion
3481 commands and key bindings.
3482 (todo-key-prompt): New face.
3483 (todo-insert-item): New command.
3484 (todo-insert-item--parameters): New defconst, replacing defvar
3485 todo-insertion-commands-args-genlist.
3486 (todo-insert-item--param-key-alist): New defconst, replacing
3487 defvar todo-insertion-commands-arg-key-list.
3488 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3489 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3490 (todo-insert-item--next-param): New functions.
3491 (todo-insert-item--args, todo-insert-item--argleft)
3492 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3493 New variables.
3494 (todo-key-bindings-t): Change binding of "i" from
3495 todo-insertion-map to todo-insert-item.
3496 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3497 (todo-insertion-command-name, todo-insertion-commands-names)
3498 (todo-define-insertion-command, todo-insertion-commands)
3499 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3500
3501 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3502
3503 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3504 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3505 eval-when-compile.
3506 (todo-move-category): Allow choosing a non-existing todo file to
3507 move the category to, and create that file.
3508 (todo-default-priority): New user option.
3509 (todo-set-item-priority): Use it.
3510 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3511 (desktop-restore-file-buffer): Declare.
3512 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3513 (todo-modes-set-2): Locally set desktop-save-buffer to
3514 todo-desktop-save-buffer.
3515 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3516 (auto-mode-alist): Add autoload cookie.
3517
3518 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3519
3520 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3521 helpers.el was a poor choice of name.
3522 (string-remove-prefix): New function.
3523 (string-remove-suffix): New function.
3524
3525 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3526
3527 Fix assignment for new window total sizes.
3528 * window.el (window--pixel-to-size): Remove function.
3529 (window--pixel-to-total-1, window--pixel-to-total):
3530 Fix calculation of new total sizes.
3531
3532 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3533
3534 * comint.el (comint-output-filter): Fix rear-nonsticky property
3535 placement (Bug#16010).
3536
3537 2013-12-20 Chong Yidong <cyd@gnu.org>
3538
3539 * faces.el (read-color): Minor fix for completion function.
3540
3541 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3542
3543 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3544 New option. (Bug#16182)
3545 (ruby-smie--indent-to-stmt-p): Use it.
3546 (ruby-smie-rules): Revert the logic in the handling of `when'.
3547 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3548 (ruby-deep-arglist, ruby-deep-indent-paren)
3549 (ruby-deep-indent-paren-style): Update docstrings to note that the
3550 vars don't have any effect with SMIE.
3551
3552 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3553
3554 * calc/calc.el (calc-enter, calc-pop): Use the variable
3555 `calc-context-sensitive-enter'.
3556
3557 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3558
3559 * net/shr.el (shr-insert): Protect against infloops in degenerate
3560 tables.
3561
3562 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3563
3564 * progmodes/octave.el (octave): Add link to manual and octave
3565 homepage.
3566 (octave-mode-menu): Link to octave-mode manual.
3567
3568 2013-12-20 Leo Liu <sdl.web@gmail.com>
3569
3570 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3571 insertion using skeleton-end-newline. (Bug#16138)
3572
3573 2013-12-20 Juri Linkov <juri@jurta.org>
3574
3575 * replace.el (occur-engine): Use `add-face-text-property'
3576 to add the face property to matches and titles. (Bug#14645)
3577
3578 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3579 the palette of other hi-lock colors.
3580 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3581
3582 2013-12-19 Juri Linkov <juri@jurta.org>
3583
3584 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3585 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3586 (minibuffer-history-symbol): Move variable declaration closer to
3587 its usage.
3588
3589 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3590 (Bug#14785)
3591
3592 2013-12-19 Juri Linkov <juri@jurta.org>
3593
3594 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3595 New function.
3596 (log-edit-hook): Add it to :options. (Bug#16170)
3597
3598 2013-12-19 Juri Linkov <juri@jurta.org>
3599
3600 * simple.el (eval-expression-print-format): Don't check for
3601 command names and the last command. Always display additional
3602 formats of the integer result in the echo area, and insert them
3603 to the current buffer only with a zero prefix arg.
3604 Display character when char-displayable-p is non-nil.
3605 (eval-expression): With a zero prefix arg, set `print-length' and
3606 `print-level' to nil, and insert the integer values from
3607 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3608
3609 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3610 `eval-last-sexp-arg-internal'. Doc fix.
3611 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3612 `eval-last-sexp-print-value'. Doc fix.
3613 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3614 Set `print-length' and `print-level' to nil when arg is zero.
3615 (eval-last-sexp): Doc fix.
3616 (eval-defun-2): Print the integer values from
3617 `eval-expression-print-format' at the end.
3618
3619 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3620 values from `eval-expression-print-format' at the end.
3621
3622 * ielm.el (ielm-eval-input): Print the integer
3623 values from `eval-expression-print-format' at the end.
3624
3625 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3626
3627 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3628 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3629
3630 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3633 (hl-line-highlight, global-hl-line-highlight): Use it.
3634 (hl-line-overlay): Use defvar-local.
3635
3636 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3637
3638 * term/ns-win.el: Require dnd.
3639 (global-map): Remove drag items.
3640 (ns-insert-text, ns-set-foreground-at-mouse)
3641 (ns-set-background-at-mouse):
3642 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3643 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3644 New functions.
3645
3646 2013-12-19 Glenn Morris <rgm@gnu.org>
3647
3648 * emacs-lisp/ert.el (ert-select-tests):
3649 Fix string/symbol mixup. (Bug#16121)
3650
3651 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3652
3653 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3654 keywords to their parent.
3655
3656 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3657
3658 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3659 first arg to be a string (fixed dead code), or an operator symbol.
3660 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3661 operator symbols.
3662 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3663 did nothing. Don't respond to `(:after ".")', it will be called
3664 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3665 change anything. Only return indentation for binary operators
3666 when they are hanging. De-dent opening paren when its parent is
3667 `.', otherwise it looks bad when the dot is not at bol or eol
3668 (bug#16182).
3669
3670 2013-12-19 Juri Linkov <juri@jurta.org>
3671
3672 * replace.el (query-replace-read-args): Split a non-negative arg
3673 and a negative arg into separate elements.
3674 (query-replace, query-replace-regexp, replace-string)
3675 (replace-regexp): Add arg `backward'. Doc fix.
3676 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3677 move point to the beginning of the match.
3678 (replace-search, replace-highlight): Use new arg `backward'
3679 to set the value of `isearch-forward'.
3680 (perform-replace): Add arg `backward' and use it to perform
3681 replacement backward. (Bug#14979)
3682
3683 * isearch.el (isearch-query-replace): Use a negative prefix arg
3684 to call `perform-replace' with a non-nil arg `backward'.
3685
3686 2013-12-18 Juri Linkov <juri@jurta.org>
3687
3688 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3689 to the default list. Move `log-edit-show-files' to the end.
3690 Add more available functions to options.
3691 (log-edit): Move default specific settings to
3692 `log-edit-insert-message-template'. Don't move point.
3693 (log-edit-insert-message-template): New function.
3694 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3695 (Bug#16170)
3696
3697 2013-12-18 Juri Linkov <juri@jurta.org>
3698
3699 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3700 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3701
3702 2013-12-18 Leo Liu <sdl.web@gmail.com>
3703
3704 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3705 (Bug#16186)
3706
3707 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3708
3709 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3710 formats for displaying file sizes when the -s switch is given.
3711 Instead, compute a separate format for displaying the size in
3712 blocks, which is displayed in addition to the "regular" size.
3713 When -h is given in addition to -s, produce size in blocks in
3714 human-readable form as well. (Bug#16179)
3715
3716 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3717
3718 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3719 Reference tables with ~\ref{...} instead of only \ref{...}.
3720
3721 2013-12-18 Chong Yidong <cyd@gnu.org>
3722
3723 * cus-edit.el (custom-magic-alist): Fix "themed" description
3724 (Bug#14348).
3725
3726 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3727 is non-nil, do not create a new entry in the symbol's theme-value
3728 or theme-face property; update theme-settings only (Bug#14664).
3729 (custom-available-themes): Doc fix.
3730
3731 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3732 (Bug#15674).
3733
3734 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3735
3736 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3737
3738 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3739 (Bug#13914).
3740
3741 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3742
3743 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3744
3745 2013-12-18 Glenn Morris <rgm@gnu.org>
3746
3747 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3748 * cus-start.el (load-prefer-newer): New option.
3749
3750 2013-12-18 Le Wang <l26wang@gmail.com>
3751
3752 * comint.el (comint-previous-matching-input-from-input):
3753 Retain point (Bug#13404).
3754
3755 2013-12-18 Chong Yidong <cyd@gnu.org>
3756
3757 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3758
3759 2013-12-18 Glenn Morris <rgm@gnu.org>
3760
3761 * mail/emacsbug.el (report-emacs-bug):
3762 Only mention enable-multibyte-characters if non-standard.
3763
3764 2013-12-17 Juri Linkov <juri@jurta.org>
3765
3766 * arc-mode.el (archive-extract-by-file): Check if directory exists
3767 before deletion to not show irrelevant errors if it doesn't exist.
3768
3769 2013-12-17 Juri Linkov <juri@jurta.org>
3770
3771 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3772 (Bug#14751)
3773
3774 * net/eww.el (browse-web): Add alias to `eww'.
3775 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3776 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3777
3778 * net/browse-url.el (browse-url-browser-function): Move `eww'
3779 closer to similar functions.
3780
3781 * startup.el (fancy-startup-screen, fancy-about-screen):
3782 Set browse-url-browser-function to eww-browse-url locally.
3783 (Bug#14751)
3784
3785 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * window.el (window--pixel-to-total): Remove unused `mini' var.
3788 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3789 (split-window): Remove unused `new' var.
3790 (window--display-buffer): Remove unused `frame' and `delta' vars.
3791 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3792 and display-width'.
3793
3794 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3795
3796 * dired.el (dired-mark-pop-up):
3797 * register.el (register-preview): Don't bind
3798 split-height-threshold here since it's now done in
3799 display-buffer-below-selected.
3800
3801 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3802
3803 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3804 xterm-rgb-convert-to-16bit.
3805 (rxvt-register-default-colors): Standardize with
3806 xterm-register-default-colors (Bug#14078).
3807
3808 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3809
3810 * simple.el (kill-region): Pass mark first, then point, so that
3811 kill-append works right (Bug#12819).
3812 (copy-region-as-kill, kill-ring-save): Likewise.
3813
3814 2013-12-17 Leo Liu <sdl.web@gmail.com>
3815
3816 * net/rcirc.el (rcirc-add-face):
3817 * eshell/em-prompt.el (eshell-emit-prompt):
3818 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3819 (Bug#16167)
3820
3821 2013-12-17 Chong Yidong <cyd@gnu.org>
3822
3823 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3824 Suggested by Xue Fuqiao.
3825
3826 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3827
3828 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3829
3830 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 * net/shr.el (shr-insert-document): Remove unused var
3833 `shr-preliminary-table-render'.
3834 (shr-rescale-image): Remove unused arg `force'.
3835 (shr-put-image): Update calls accordingly.
3836 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3837
3838 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3839
3840 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3841 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3842 :close-all, to see which indentation method to use (Bug#16116).
3843 (smie-rules-function): Document the method :close-all.
3844
3845 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3846
3847 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3848
3849 * net/eww.el (eww-display-html): If we can't find the anchor we're
3850 looking for, then go to point-min.
3851
3852 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3853
3854 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3855 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3856 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3857 Expand dir too, in case it's relative.
3858
3859 2013-12-16 Juri Linkov <juri@jurta.org>
3860
3861 * desktop.el (desktop-auto-save-timeout): Change default to
3862 `auto-save-timeout'. Doc fix.
3863 (desktop-save): Skip the timestamp in desktop-saved-frameset
3864 when checking for auto-save changes.
3865 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3866 `desktop-auto-save' is called repeatedly by the idle timer.
3867 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3868 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3869 (Bug#15331)
3870
3871 2013-12-16 Juri Linkov <juri@jurta.org>
3872
3873 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3874 (Bug#16035)
3875 (isearch-pre-command-hook): Check `this-command' for symbolp.
3876
3877 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3878
3879 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3880
3881 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3882
3883 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3884 (cfengine3--current-function): Bring in the current-function
3885 functionality from `cfengine3--current-word'.
3886 (cfengine3-completion-function): Bring in the
3887 bounds-of-current-word functionality from
3888 `cfengine3--current-word'.
3889
3890 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3891
3892 * window.el (display-buffer-below-selected):
3893 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3894
3895 2013-12-16 Leo Liu <sdl.web@gmail.com>
3896
3897 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3898 Remove NOMSG arg and all uses changed.
3899
3900 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3903 (cua--deactivate-rectangle): Don't deactivate the mark.
3904 (cua-set-rectangle-mark): Don't set mark-active since
3905 cua--activate-rectangle already does it for us.
3906 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3907 non-rectangular region.
3908
3909 * emulation/cua-base.el (cua-repeat-replace-region):
3910 Use with-current-buffer.
3911
3912 * net/gnutls.el: Use cl-lib.
3913 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3914
3915 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3916
3917 * emacs-lisp/package.el (package-built-in-p): Support both
3918 built-in and the package.el converted package descriptions.
3919 (package-show-package-list): Allow keywords.
3920 (package-keyword-button-action): Use it instead of
3921 `finder-list-matches'.
3922 (package-menu-filter-interactive): Interactive filtering (by
3923 keyword) function.
3924 (package-menu--generate): Support keywords and change keymappings
3925 and headers when they are given.
3926 (package--has-keyword-p): Helper function.
3927 (package-menu--refresh): Use it.
3928 (package--mapc): Helper function.
3929 (package-all-keywords): Use it.
3930 (package-menu-mode-map): Set up menu items and keybindings to
3931 provide a filtering UI.
3932
3933 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3934
3935 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3936 the behavior when a certificate fails validation. Defaults to
3937 old behavior: never abort, just warn.
3938 (gnutls-negotiate): Use it.
3939
3940 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3941
3942 * window.el (display-buffer-below-selected): Never split window
3943 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3944
3945 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3946
3947 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3948 (package-buffer-info): Use it (bug#15108).
3949
3950 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * icomplete.el (icomplete-completions): Make sure the prefix is already
3953 displayed elsewhere before hiding it (bug#16219).
3954
3955 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3956
3957 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3958 open-paren tokens when preceded by a open-paren, too.
3959 (ruby-smie-rules): Handle virtual indentation after open-paren
3960 tokens specially. If there is code between it and eol, return the
3961 column where is starts (Bug#16118).
3962
3963 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3964
3965 * progmodes/cfengine.el: Fix `add-hook' doc.
3966 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3967 (cfengine3--current-word): Fix parameters.
3968 (cfengine3-make-syntax-cache): Simplify further.
3969 (cfengine3-completion-function, cfengine3--current-function):
3970 Use `assq' for symbols.
3971 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3972
3973 2013-12-13 Glenn Morris <rgm@gnu.org>
3974
3975 * loadup.el (load-path): Warn if site-load or site-init changes it.
3976 No more need to reset it when bootstrapping.
3977
3978 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3979
3980 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3981 locations for cf-promises.
3982 (cfengine-mode-syntax-functions-regex): New caching variable.
3983 (cfengine3-fallback-syntax): Fallback syntax for cases where
3984 cf-promises doesn't run.
3985 (cfengine3--current-word): Reimplement using
3986 `cfengine-mode-syntax-functions-regex'.
3987 (cfengine3-completion-function, cfengine3--current-function):
3988 Use `cfengine3-make-syntax-cache' directly.
3989 (cfengine3-clear-syntax-cache): New function.
3990 (cfengine3-make-syntax-cache): Simplify and create
3991 `cfengine-mode-syntax-functions-regex' on demand.
3992 (cfengine3-format-function-docstring): Don't call
3993 `cfengine3-make-syntax-cache' explicitly.
3994
3995 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3996
3997 Fix windmove-find-other-window broken after pixelwise resizing
3998 (Bug#16017).
3999 * windmove.el (windmove-other-window-loc): Revert change from
4000 2013-12-04.
4001 (windmove-find-other-window): Call window-in-direction.
4002 * window.el (window-in-direction): New arguments SIGN, WRAP and
4003 MINI to emulate original windmove-find-other-window behavior.
4004
4005 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4006
4007 * simple.el (blink-matching--overlay): New variable.
4008 (blink-matching-open): Instead of moving point, highlight the
4009 matching paren with an overlay
4010 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4011
4012 * faces.el (paren-showing-faces, show-paren-match)
4013 (show-paren-mismatch): Move from paren.el.
4014
4015 2013-12-13 Leo Liu <sdl.web@gmail.com>
4016
4017 * indent.el (indent-region): Disable progress reporter in
4018 minibuffer. (Bug#16108)
4019
4020 * bindings.el (visual-order-cursor-movement): Fix version.
4021
4022 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4023
4024 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4025 Also match after beginning of line.
4026 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4027 files. Thanks to Russell Sim. (Bug#15378)
4028
4029 2013-12-13 Juri Linkov <juri@jurta.org>
4030
4031 * simple.el <Keypad support>: Remove key bindings duplicated
4032 with bindings.el. (Bug#14397)
4033
4034 2013-12-13 Juri Linkov <juri@jurta.org>
4035
4036 * comint.el (comint-mode-map): Replace `delete-char' with
4037 `delete-forward-char'. (Bug#16109)
4038
4039 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4040
4041 * progmodes/python.el (python-indent-calculate-indentation):
4042 Fix de-denters cornercase. (Bug#15731)
4043
4044 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4047 (advice--make): Pay attention to `depth'.
4048 (advice--make-1): Don't autoload commands eagerly.
4049 * emacs-lisp/elp.el (elp-instrument-function):
4050 * emacs-lisp/trace.el (trace-function-internal):
4051 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4052
4053 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4054
4055 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4056
4057 * term/w32-win.el (w32-handle-dropped-file):
4058 * startup.el (normal-top-level):
4059 * net/browse-url.el (browse-url-file-url):
4060 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4061 decode file names using 'utf-8' rather than
4062 file-name-coding-system.
4063
4064 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4065
4066 * progmodes/python.el (python-indent-context)
4067 (python-indent-calculate-indentation): Fix auto-identation
4068 behavior for comment blocks. (Bug#15916)
4069
4070 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4071
4072 * progmodes/python.el (python-indent-calculate-indentation):
4073 When determining indentation, don't treat "return", "pass", etc., as
4074 operators when they are just string constituents. (Bug#15812)
4075
4076 2013-12-12 Juri Linkov <juri@jurta.org>
4077
4078 * uniquify.el (uniquify-buffer-name-style): Change default to
4079 `post-forward-angle-brackets'.
4080
4081 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4082 `uniquify'. Change default to `post-forward-angle-brackets'.
4083
4084 2013-12-11 Glenn Morris <rgm@gnu.org>
4085
4086 * emacs-lisp/package.el (finder-list-matches):
4087 Autoload rather than falsely declaring.
4088
4089 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4090
4091 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4092 (eww-mode-map): Use them.
4093
4094 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4095
4096 * window.el (display-buffer-in-side-window): Fix doc-string
4097 (Bug#16115).
4098
4099 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4100
4101 * vc/vc-git.el: Silence byte-compiler warnings.
4102 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4103 (log-edit-set-header): Declare.
4104
4105 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4106
4107 * Makefile.in (custom-deps, finder-data): Run output file names
4108 through unmsys--file-name. (Bug#16099)
4109
4110 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4111
4112 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4113 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4114
4115 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4116 instead of deleting the selection "by hand" (bug#16098).
4117 Rely on insert-for-yank to yank rectangles.
4118 (cua-highlight-region-shift-only): Mark obsolete.
4119 (cua-mode): Don't enable/disable transient-mark-mode,
4120 shift-select-mode (cua-mode works both with and without them), and
4121 pc-selection-mode (obsolete).
4122 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4123 (cua--deactivate-rectangle): Deactivate it.
4124
4125 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4126 (delete-selection-helper): Make sure yank starts at the top of the
4127 deleted region.
4128 (minibuffer-keyboard-quit): Use region-active-p.
4129
4130 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4131
4132 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4133 to `delete' (bug#16109).
4134
4135 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4136
4137 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4138 info manual and show keybindings and set `:group' keyword.
4139
4140 2013-12-11 Juri Linkov <juri@jurta.org>
4141
4142 * delsel.el (delete-active-region): Let-bind `this-command'
4143 to prevent `kill-region' from changing its original value.
4144 (delete-selection-helper): Handle `overwrite-mode' for the type
4145 `kill' exactly the same way as for the type `t'.
4146 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4147 Support more commands. (Bug#13312)
4148
4149 2013-12-11 Juri Linkov <juri@jurta.org>
4150
4151 * bindings.el: Map kp keys to non-kp keys systematically
4152 with basic modifiers control, meta and shift. (Bug#14397)
4153
4154 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4155
4156 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4157 "Close browser" menu items. Fix wrong function of "List
4158 bookmarks".
4159
4160 2013-12-11 Juri Linkov <juri@jurta.org>
4161
4162 * misearch.el (multi-isearch-buffers): Set the value of
4163 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4164 arg of isearch-forward to t.
4165 (multi-isearch-buffers-regexp): Set the value of
4166 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4167 arg of isearch-forward-regexp to t.
4168 (multi-isearch-files): Set the value of
4169 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4170 arg of isearch-forward to t.
4171 (multi-isearch-files-regexp): Set the value of
4172 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4173 arg of isearch-forward-regexp to t. (Bug#16035)
4174
4175 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4176 arg of isearch-forward to t.
4177 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4178 arg of isearch-forward-regexp to t.
4179 (dired-isearch-filter-filenames): Remove unnecessary check for
4180 `dired-isearch-filenames'.
4181
4182 * comint.el (comint-history-isearch-backward):
4183 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4184 (comint-history-isearch-backward-regexp):
4185 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4186
4187 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4188
4189 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4190 unmsys--file-name. (Bug#16099)
4191
4192 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4193
4194 * emacs-lisp/package.el (package-keyword-button-action):
4195 Remove finder.el require dependency.
4196
4197 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4198
4199 * emacs-lisp/package.el: Require finder.el.
4200 (describe-package-1): Add keyword buttons.
4201 (package-make-button): New convenience function.
4202 (package-keyword-button-action): Keyword button action using
4203 `finder-list-matches'.
4204
4205 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4206
4207 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4208 last commit.
4209
4210 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4211
4212 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4213 symlinked files.
4214
4215 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4216
4217 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4218 after the end of a percent literal.
4219
4220 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4221
4222 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4223 Handle caret-delimited strings (Bug#16079).
4224
4225 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4226
4227 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4228 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4229 `ruby-parse-partial' (Bug#16078).
4230
4231 2013-12-09 Leo Liu <sdl.web@gmail.com>
4232
4233 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4234
4235 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4236
4237 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4238 (js-switch-indent-offset): New option.
4239 (js--proper-indentation): Use it. And handle the case when
4240 "default" is actually a key in an object literal.
4241 (js--same-line): New function.
4242 (js--multi-line-declaration-indentation): Use it.
4243 (js--indent-in-array-comp, js--array-comp-indentation):
4244 New functions.
4245 (js--proper-indentation): Use them, to handle array comprehension
4246 continuations.
4247
4248 2013-12-08 Leo Liu <sdl.web@gmail.com>
4249
4250 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4251 (flymake-make-overlay): Remove arg MOUSE-FACE.
4252 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4253
4254 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4255
4256 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4257 New function.
4258 (redisplay-highlight-region-function): Use it.
4259
4260 * emulation/cua-base.el (cua--explicit-region-start)
4261 (cua--last-region-shifted): Remove.
4262 (cua--deactivate): Use deactivate-mark.
4263 (cua--pre-command-handler-1): Don't handle shift-selection.
4264 (cua--post-command-handler-1): Don't change transient-mark-mode.
4265 (cua--select-keymaps): Use region-active-p rather than
4266 cua--explicit-region-start or cua--last-region-shifted.
4267 (cua-mode): Enable shift-select-mode.
4268
4269 2013-12-08 Leo Liu <sdl.web@gmail.com>
4270
4271 * progmodes/flymake.el (flymake-popup-current-error-menu):
4272 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4273 (flymake-posn-at-point-as-event, flymake-popup-menu)
4274 (flymake-make-emacs-menu): Remove. (Bug#16077)
4275
4276 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * rect.el (rectangle-mark-mode): Activate mark even if
4279 transient-mark-mode is off (bug#16066).
4280 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4281 is > mark and at bolp.
4282
4283 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4284 (region-extract-function): Use it.
4285 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4286 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4287 Delete functions.
4288 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4289 kill-ring-save, kill-region, delete-char, delete-forward-char.
4290 Ignore self-insert-iso.
4291
4292 * emulation/cua-gmrk.el (cua--init-global-mark):
4293 Ignore `self-insert-iso'.
4294
4295 * emulation/cua-base.el (cua--prefix-copy-handler)
4296 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4297 checking cua--rectangle.
4298 (cua-delete-region): Use region-extract-function.
4299 (cua-replace-region): Delete function.
4300 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4301 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4302 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4303 (cua--init-keymaps): Don't remap delete-selection commands.
4304 (cua-mode): Use delete-selection-mode instead of rolling our own
4305 (bug#16085).
4306
4307 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4308 Obey region-extract-function.
4309
4310 Make registers and delete-selection-mode work on rectangles.
4311 * register.el (describe-register-1): Don't modify the register's value.
4312 (copy-to-register): Obey region-extract-function.
4313 * delsel.el (delete-active-region): Obey region-extract-function.
4314
4315 2013-12-08 Leo Liu <sdl.web@gmail.com>
4316
4317 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4318 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4319 (flymake-compilation-prevents-syntax-check)
4320 (flymake-start-syntax-check-on-newline)
4321 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4322 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4323 (flymake-xml-program, flymake-master-file-dirs)
4324 (flymake-master-file-count-limit)
4325 (flymake-allowed-file-name-masks): Relocate.
4326 (flymake-makehash, flymake-float-time)
4327 (flymake-replace-regexp-in-string, flymake-split-string)
4328 (flymake-get-temp-dir): Remove.
4329 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4330 (flymake-current-row, flymake-selected-frame)
4331 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4332 related functions. (Bug#16077)
4333
4334 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4335
4336 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4337
4338 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4339
4340 * help-fns.el (describe-function-1): Use new advice-* functions
4341 rather than old ad-* functions. Fix function type description and
4342 source links for advised functions and subrs.
4343
4344 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4345
4346 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4347
4348 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4349
4350 * progmodes/compile.el (compilation-start):
4351 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4352
4353 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4354 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4355
4356 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4357
4358 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4359 Touch up the last change.
4360
4361 2013-12-06 Leo Liu <sdl.web@gmail.com>
4362
4363 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4364 (inferior-octave-startup): Always use "octave> " for prompt.
4365 (octave-goto-function-definition)
4366 (octave-sync-function-file-names)
4367 (octave-find-definition-default-filename): Remove redundant backquotes.
4368
4369 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4370
4371 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4372 syntax for `?'.
4373 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4374 where appropriate already.
4375 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4376 end of method names (Bug#15874).
4377
4378 2013-12-06 Juri Linkov <juri@jurta.org>
4379
4380 * isearch.el (isearch--saved-overriding-local-map):
4381 New internal variable.
4382 (isearch-mode): Set it to the initial value of
4383 `overriding-terminal-local-map'.
4384 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4385 with `isearch--saved-overriding-local-map'. (Bug#16035)
4386
4387 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4388
4389 * progmodes/octave.el (inferior-octave-completion-table):
4390 Turn back into function, use `completion-table-with-cache'
4391 (Bug#11906). Update all references.
4392
4393 * minibuffer.el (completion-table-with-cache): New function.
4394
4395 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4396
4397 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4398
4399 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4400
4401 * net/eww.el (eww-current-source): New variable to store page
4402 source.
4403 (eww-display-html, eww-mode, eww-save-history)
4404 (eww-restore-history): Use it.
4405 (eww-view-source): New command to view page source.
4406 Opportunistically uses `html-mode' to highlight the buffer.
4407 (eww-mode-map): Install it.
4408
4409 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
4410
4411 * net/dbus.el (dbus-unregister-service)
4412 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4413 Fix docstring.
4414 (dbus-unregister-service): Skip :serial entries in
4415 `dbus-registered-objects-table'.
4416 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4417
4418 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4419
4420 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4421 around keywords with extra `split-string' argument.
4422
4423 2013-12-04 Martin Rudalics <rudalics@gmx.at>
4424
4425 * windmove.el (windmove-other-window-loc): Handle navigation
4426 between windows (excluding the minibuffer window - Bug#16017).
4427
4428 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4429
4430 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4431 in D-Bus type syntax.
4432 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4433 preserve unibyte strings. (Bug#16048)
4434
4435 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4436
4437 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4438 Call force-mode-line-update is the proper buffer (bug#16042).
4439
4440 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4441
4442 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4443 `log-edit-remember-comment', make argument optional. Adjust all
4444 callers.
4445 (log-edit-mode): Add `log-edit-remember-comment' to
4446 `kill-buffer-hook' locally.
4447 (log-edit-kill-buffer): Don't remember comment explicitly since
4448 the buffer is killed anyway.
4449
4450 2013-12-04 Juri Linkov <juri@jurta.org>
4451
4452 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4453 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4454
4455 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4456
4457 * notifications.el (notifications-close-notification): Call the
4458 D-Bus method with ID being a `:uint32'. (Bug#16030)
4459
4460 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4461
4462 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4463
4464 2013-12-03 Juri Linkov <juri@jurta.org>
4465
4466 * progmodes/compile.el (compilation-start): Rename window alist
4467 entry `no-display-ok' to `allow-no-window'.
4468
4469 * simple.el (shell-command): Add window alist entry
4470 `allow-no-window' to `display-buffer'.
4471 (async-shell-command): Doc fix.
4472
4473 * window.el (display-buffer-no-window): New action function.
4474 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4475
4476 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4477
4478 * vc/log-edit.el (log-edit-set-header): Extract from
4479 `log-edit-toggle-header'.
4480 (log-edit-extract-headers): Separate the summary, when extracted
4481 from header, from the rest of the message with an empty line.
4482
4483 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4484 line, if present, to the Summary header.
4485
4486 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4487
4488 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4489 in current-buffer (bug#16029).
4490
4491 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4492
4493 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4494 (debugger-mode-map): Bind it.
4495 (debugger--backtrace-base): New function.
4496 (debugger-eval-expression): Use it.
4497 (debugger-frame-number): Skip local vars when present.
4498 (debugger--locals-visible-p, debugger--insert-locals)
4499 (debugger--show-locals, debugger--hide-locals): New functions.
4500
4501 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4502
4503 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4504 "LC_ALL".
4505 (tramp-get-remote-locale): New defun.
4506 (tramp-open-connection-setup-interactive-shell): Use it.
4507
4508 2013-12-02 Leo Liu <sdl.web@gmail.com>
4509
4510 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4511
4512 * progmodes/sh-script.el (sh-shell-process):
4513 * progmodes/octave.el (inferior-octave-process-live-p):
4514 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4515 (gdb-inferior-io-sentinel):
4516 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4517
4518 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4519
4520 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4521 `save-selected-window' to `log-edit-hide-buf'. This makes
4522 `log-edit-show-files' idempotent.
4523 (log-edit-show-files): Mark the new window as dedicated.
4524
4525 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4526
4527 * vc/log-edit.el (log-edit-mode-map): Add binding for
4528 `log-edit-kill-biffer'.
4529 (log-edit-hide-buf): Add a FIXME comment.
4530 (log-edit-add-new-comment): New function, extracted from
4531 `log-edit-done'.
4532 (log-edit-done, log-edit-add-to-changelog): Use it.
4533 (log-edit-kill-buffer): New command.
4534
4535 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4536
4537 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4538 instead of killing the buffer.
4539
4540 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4543
4544 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4545
4546 * net/eww.el (eww-form-checkbox-selected-symbol)
4547 (eww-form-checkbox-symbol): New customizable variable.
4548 (eww-form-checkbox, eww-toggle-checkbox):
4549 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4550
4551 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4552 (shr--get-media-pref, shr--extract-best-source): New function.
4553 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4554 no :src tag was specified.
4555
4556 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4557 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4558 Use \\` to match beginning of string instead of ^.
4559 (eww-browse-with-external-browser): Provide optional URL parameter.
4560 (eww-render): Set `eww-current-title' back to "".
4561
4562 * net/shr.el (shr-tag-video): Display content for video if no
4563 poster is available.
4564 (shr-tag-audio): Add support for <audio> tag.
4565
4566 * net/eww.el (eww-text-input-types): New const.
4567 (eww-process-text-input): Treat input types in
4568 `eww-text-input-types' as text.
4569
4570 * net/shr.el (shr-tag-table): Fix comment typo.
4571
4572 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4573
4574 * net/eww.el (eww-follow-link): New command to avoid reloading
4575 pages when we follow #target links (bug#15243).
4576 (eww-quit): Special mode buffers shouldn't query before exiting.
4577
4578 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4579
4580 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4581 forms.
4582
4583 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4584
4585 * net/eww.el (eww-restore-history): Update the window title after
4586 moving in the history.
4587 (eww-current-dom): New variable used to save the current DOM.
4588
4589 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4590
4591 * vc/log-edit.el (log-edit-mode-map): Add binding for
4592 `log-edit-beginning-of-line'.
4593 (log-edit-setup-add-author): New user option.
4594 (log-edit-beginning-of-line): New command.
4595 (log-edit): Move major mode call above the contents setup so that
4596 the local variable values are already applied.
4597 (log-edit): Only insert "Author: " when
4598 `log-edit-setup-add-author' is non-nil.
4599 (log-edit): When SETUP is non-nil, position point after ": "
4600 instead of point-min.
4601
4602 2013-12-01 Glenn Morris <rgm@gnu.org>
4603
4604 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4605
4606 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4607
4608 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4609 redisplay to make sure the initial frame gets a chance to become
4610 visible. (Bug#16014)
4611
4612 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4613
4614 Support resizing frames and windows pixelwise.
4615 * cus-start.el (frame-resize-pixelwise)
4616 (window-resize-pixelwise): New entries.
4617 * emacs-lisp/debug.el (debug): Use window-total-height instead
4618 of window-total-size.
4619 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4620 * help.el (describe-bindings-internal): Use help-buffer as
4621 argument for with-help-window.
4622 (temp-buffer-max-width): New option.
4623 (resize-temp-buffer-window, help-window-setup)
4624 (with-help-window): Rewrite.
4625 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4626 dragging dividers.
4627 * window.el (frame-char-size, window-min-pixel-height)
4628 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4629 (window-min-pixel-width, window-safe-min-pixel-size)
4630 (window-combination-p, window-safe-min-size)
4631 (window-resizable-p, window--size-to-pixel)
4632 (window--pixel-to-size, window--resize-apply-p): New functions.
4633 (window-safe-min-height): Fix doc-string.
4634 (window-size, window-min-size, window--min-size-1)
4635 (window-sizable, window-sizable-p, window--min-delta-1)
4636 (window-min-delta, window--max-delta-1, window-max-delta)
4637 (window--resizable, window--resizable-p, window-resizable)
4638 (window-full-height-p, window-full-width-p, window-at-side-p)
4639 (window--in-direction-2, window-in-direction)
4640 (window--resize-reset-1, window--resize-mini-window)
4641 (window-resize, window-resize-no-error)
4642 (window--resize-child-windows-normal)
4643 (window--resize-child-windows, window--resize-siblings)
4644 (window--resize-this-window, window--resize-root-window)
4645 (window--resize-root-window-vertically)
4646 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4647 (maximize-window, minimize-window, delete-window)
4648 (quit-restore-window, window-split-min-size, split-window)
4649 (balance-windows-2, balance-windows)
4650 (balance-windows-area-adjust, balance-windows-area)
4651 (window--state-get-1, window-state-get, window--state-put-1)
4652 (window--state-put-2, window-state-put)
4653 (display-buffer-record-window, window--display-buffer):
4654 Make functions handle pixelwise sizing of windows.
4655 (display-buffer--action-function-custom-type)
4656 (display-buffer-fallback-action):
4657 Add display-buffer-in-previous-window.
4658 (display-buffer-use-some-window): Resize window to height it had
4659 before.
4660 (fit-window-to-buffer-horizontally): New option.
4661 (fit-frame-to-buffer): Describe new values.
4662 (fit-frame-to-buffer-bottom-margin): Replace with
4663 fit-frame-to-buffer-margins.
4664 (window--sanitize-margin): New function.
4665 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4666 using window-text-pixel-size.
4667
4668 2013-11-30 Glenn Morris <rgm@gnu.org>
4669
4670 * emacs-lisp/bytecomp.el (byte-compile-form):
4671 Make the `interactive-only' warning like the `obsolete' one.
4672 * comint.el (comint-run):
4673 * files.el (insert-file-literally, insert-file):
4674 * replace.el (replace-string, replace-regexp):
4675 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4676 (goto-line, insert-buffer, next-line, previous-line):
4677 Tweak `interactive-only' spec.
4678
4679 Stop keeping (most) generated cedet grammar files in the repository.
4680 * Makefile.in (semantic): New.
4681 (compile-main): Depend on semantic.
4682
4683 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4686 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4687
4688 * uniquify.el (uniquify-buffer-name-style): Change default.
4689
4690 * loadup.el: Preload "uniquify".
4691
4692 * time.el (display-time-update): Update all mode lines (bug#15999).
4693
4694 * electric.el (electric-indent-mode): Enable by default.
4695 * loadup.el: Preload "electric".
4696
4697 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4698
4699 * emacs-lisp/helpers.el (string-empty-p): New function.
4700 (string-blank-p): New function.
4701
4702 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4703
4704 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4705 (Bug#14029).
4706
4707 2013-11-29 Andreas Politz <politza@fh-trier.de>
4708 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4709 allow non-lambda lists as functions.
4710 (imenu--in-alist): Don't recurse into non-subalists.
4711 (imenu): Don't pass function itself as an argument (Bug#14029).
4712
4713 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4714
4715 * progmodes/python.el (python-mode-map): Remove binding for ":".
4716 (python-indent-electric-colon): Remove command.
4717 (python-indent-post-self-insert-function): Integrate the previous code
4718 of python-indent-electric-colon. Make it conditional on
4719 electric-indent-mode.
4720 (python-mode): Add ?: to electric-indent-chars.
4721 Move python-indent-post-self-insert-function to the end of
4722 post-self-insert-hook.
4723
4724 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4725
4726 * doc-view.el (doc-view-goto-page): Update mode-line.
4727
4728 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4729
4730 2013-11-27 Glenn Morris <rgm@gnu.org>
4731
4732 * international/charprop.el, international/uni-bidi.el:
4733 * international/uni-category.el, international/uni-combining.el:
4734 * international/uni-comment.el, international/uni-decimal.el:
4735 * international/uni-decomposition.el, international/uni-digit.el:
4736 * international/uni-lowercase.el, international/uni-mirrored.el:
4737 * international/uni-name.el, international/uni-numeric.el:
4738 * international/uni-old-name.el, international/uni-titlecase.el:
4739 * international/uni-uppercase.el:
4740 Remove generated files from VCS repository.
4741
4742 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4743
4744 * filenotify.el (file-notify-add-watch): Don't special-case
4745 w32notify when computing the directory to watch.
4746
4747 2013-11-27 Glenn Morris <rgm@gnu.org>
4748
4749 Make bootstrap without generated uni-*.el files possible again.
4750 * loadup.el: Update command-line-args checking for unidata-gen.
4751 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4752 * composite.el, international/characters.el:
4753 Handle unicode tables being undefined.
4754
4755 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4756 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4757 (compile-main): Depend on leim rule.
4758 (leim): New rule.
4759 * loadup.el: Move leim-list.el to leim/ subdirectory.
4760 * startup.el (normal-top-level): No more leim directory.
4761 * international/ja-dic-cnv.el (skkdic-convert):
4762 Disable version-control and autoloads in output files.
4763 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4764 Disable version-control and autoloads in output files.
4765 * leim/quail: Move here from ../leim.
4766 * leim/quail/hangul.el (hangul-input-method-activate):
4767 Add autoload cookie.
4768 (generated-autoload-load-name): Set file-local value.
4769 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4770 (generated-autoload-load-name): Set file-local value.
4771
4772 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4773
4774 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4775 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4776 (eww-quit): Ask confirmation before quitting eww.
4777
4778 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4779
4780 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4781 reading output from Diff on MS-Windows and MS-DOS.
4782
4783 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4784
4785 * emacs-lisp/helpers.el (string-reverse): New function.
4786
4787 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4788
4789 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4790 names on MS Windows, like "/[::1]:".
4791
4792 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4793 SWITCHES.
4794
4795 2013-11-26 Glenn Morris <rgm@gnu.org>
4796
4797 * progmodes/python.el (python-indent-guess-indent-offset):
4798 Avoid corner-case error. (Bug#15975)
4799
4800 Preload leim-list.el. (Bug#4789)
4801 * loadup.el: Load leim-list.el when found.
4802 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4803
4804 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4805
4806 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4807
4808 * emacs-lisp/helpers.el (string-join): New function.
4809
4810 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4811
4812 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4813 Mark as obsolete and replace it with a symbol property.
4814 (byte-compile-form): Use new 'interactive-only property.
4815 * comint.el, files.el, replace.el, simple.el:
4816 Apply new 'interactive-only properly.
4817
4818 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4819
4820 * window.el (display-buffer-at-bottom): Make sure that
4821 split-window-sensibly creates the new window on bottom
4822 (Bug#15961).
4823
4824 2013-11-23 David Kastrup <dak@gnu.org>
4825
4826 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4827 on the conflict markers when available.
4828 (smerge--get-marker): New function.
4829 (smerge-end-re, smerge-base-re): Add subgroup.
4830
4831 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * frame.el (handle-focus-in, handle-focus-out): Add missing
4834 interactive spec.
4835
4836 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4837
4838 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4839 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4840
4841 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4842
4843 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4844 (gomoku--last-pos): New var.
4845 (gomoku--intangible-chars): New const.
4846 (gomoku--intangible): New function.
4847 (gomoku-mode): Use it. Derive from special-mode.
4848 (gomoku-move-up): Adjust line count.
4849 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4850 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4851 Simplify accordingly.
4852
4853 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4854 Remove blink-cursor code.
4855 (blink-cursor-timer-function, blink-cursor-suspend):
4856 Don't special-case GUIs.
4857 (blink-cursor-mode): Use focus-in/out-hook.
4858
4859 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4860
4861 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4862 work when annotation is invisible (Bug#13886).
4863
4864 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4865
4866 * json.el (json-alist-p): Only return non-nil if the alist has
4867 simple keys (Bug#13518).
4868
4869 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4870
4871 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4872 when control-statement is the first statement in a buffer (Bug#15956).
4873
4874 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4875
4876 * imenu.el (imenu-generic-skip-comments-and-strings):
4877 New option (Bug#15560).
4878 (imenu--generic-function): Use it.
4879
4880 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4881
4882 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4883 (Bug#13898)
4884
4885 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4886
4887 * emacs-lisp/helpers.el: Add some string helpers.
4888 (string-trim-left): Removes leading whitespace.
4889 (string-trim-right): Removes trailing whitespace.
4890 (string-trim): Removes leading and trailing whitespace.
4891
4892 * subr.el (string-suffix-p): New function.
4893
4894 2013-11-23 Glenn Morris <rgm@gnu.org>
4895
4896 * progmodes/python.el (python-shell-send-file):
4897 Add option to delete file when done. (Bug#15647)
4898 (python-shell-send-string, python-shell-send-region): Use it.
4899
4900 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4901
4902 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4903 to set buffer-read-only to t, never to nil. (Bug#15938)
4904
4905 * textmodes/tex-mode.el (latex-noindent-environments):
4906 Add safe-local-variable property. (Bug#15936)
4907
4908 2013-11-23 Glenn Morris <rgm@gnu.org>
4909
4910 * textmodes/enriched.el (enriched-mode): Doc fix.
4911 * emacs-lisp/authors.el (authors-renamed-files-alist):
4912 Add enriched.doc -> enriched.txt.
4913
4914 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4915
4916 2013-11-22 Leo Liu <sdl.web@gmail.com>
4917
4918 * progmodes/octave.el (inferior-octave-startup): Spit out error
4919 message.
4920
4921 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4922
4923 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4924 Improve docstring.
4925 Add :version.
4926 (ruby-encoding-magic-comment-style): Add :version.
4927
4928 2013-11-22 Leo Liu <sdl.web@gmail.com>
4929
4930 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4931 (Bug#15076)
4932 (octave-help-mode): Adapt to change to help-mode-finish to use
4933 derived-mode-p on 2013-09-17.
4934 (inferior-octave-prompt): Also match octave-gui.
4935 (octave-kill-process): Don't ask twice. (Bug#10564)
4936
4937 2013-11-22 Leo Liu <sdl.web@gmail.com>
4938
4939 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4940 (inferior-octave-startup, inferior-octave-check-process)
4941 (inferior-octave-track-window-width-change)
4942 (octave-completion-at-point, octave-eldoc-function): Use it.
4943 (octave-kill-process): Provide confirmation. (Bug#10564)
4944
4945 2013-11-21 Leo Liu <sdl.web@gmail.com>
4946
4947 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4948 Fix obsolete variable comment-use-global-state.
4949
4950 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4951
4952 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4953 Add `octave-source-file'.
4954 (octave-source-file): New function. (Bug#15935)
4955
4956 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4957
4958 * net/eww.el (eww-local-regex): New variable.
4959 (eww): Use it to detect localhost and similar.
4960
4961 2013-11-21 Leo Liu <sdl.web@gmail.com>
4962
4963 Add completion for command `ag'.
4964 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4965 (pcomplete/ag): New function.
4966 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4967
4968 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4969
4970 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4971 (bug#14646).
4972 (make-obsolete): Remove interactive spec.
4973
4974 2013-11-21 Glenn Morris <rgm@gnu.org>
4975
4976 * startup.el (command-line-1): Use path-separator with -L.
4977
4978 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4979
4980 * emacs-lisp/package.el (describe-package-1): Add package archive
4981 to shown fields.
4982
4983 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4984
4985 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4986 Change default to "# encoding: %s" to differentiate it from the
4987 default Ruby encoding comment template.
4988
4989 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4990
4991 * ses.el (ses-mode): Doc fix. (Bug#14748)
4992
4993 2013-11-20 Leo Liu <sdl.web@gmail.com>
4994
4995 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4996
4997 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4998
4999 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5000 when rebase or bisect are in progress.
5001
5002 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5003
5004 * filenotify.el (file-notify-add-watch): Doc fix.
5005
5006 2013-11-19 Leo Liu <sdl.web@gmail.com>
5007
5008 * obsolete/rcompile.el: Mark obsolete.
5009
5010 * progmodes/compile.el (compilation-start)
5011 (compilation-goto-locus, compilation-find-file):
5012 Pass no-display-ok and handle nil value from display-buffer.
5013 (Bug#13594)
5014
5015 * window.el (display-buffer-alist, display-buffer): Document the
5016 new parameter no-display-ok. Return either a window or nil
5017 but never a non-window value.
5018
5019 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * electric.el (electric-indent-mode-map): Remove.
5022 (electric-indent-mode): Change the global-map instead (bug#15915).
5023
5024 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5025 Use add-function.
5026
5027 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * emacs-lisp/nadvice.el (remove-function): Align with
5030 add-function's behavior.
5031
5032 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5033 (gdb--string-regexp): New constant.
5034 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5035 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5036 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5037 submatch 1.
5038 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5039 Adjust use accordingly.
5040 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5041
5042 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5043
5044 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5045 interpolation curlies (Bug#15914).
5046
5047 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5048
5049 * calc/calc.el (calc-context-sensitive-enter): New variable.
5050 (calc-enter): Use `calc-context-sensitive-enter'.
5051
5052 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5053
5054 * progmodes/cfengine.el: Version bump.
5055 (cfengine-cf-promises): New defcustom to locate cf-promises.
5056 (cfengine3-vartypes): Add new "data" type.
5057 (cfengine3--current-word): New function to get current name-like
5058 word or its bounds.
5059 (cfengine3--current-function): New function to look up a CFEngine
5060 function's definition.
5061 (cfengine3-format-function-docstring): New function.
5062 (cfengine3-make-syntax-cache): New function.
5063 (cfengine3-documentation-function): New function: ElDoc glue.
5064 (cfengine3-completion-function): New function: completion glue.
5065 (cfengine3-mode): Set `compile-command',
5066 `eldoc-documentation-function', and add to
5067 `completion-at-point-functions'.
5068
5069 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5070
5071 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5072 `tramp-current-connection'.
5073
5074 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5075
5076 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5077 nil/self/true/false with "end of symbol".
5078
5079 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5080
5081 * subr.el (version-regexp-alist): Fix a typo.
5082
5083 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5084
5085 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5086 "en_US.utf8" and "LC_CTYPE" to "".
5087 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5088 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5089
5090 2013-11-15 Leo Liu <sdl.web@gmail.com>
5091
5092 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5093
5094 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5095
5096 * progmodes/gud.el (ctl-x-map):
5097 Remove C-x SPC binding. (Bug#12342)
5098 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5099
5100 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5101
5102 * subr.el (version-regexp-alist):
5103 Recognize hg, svn and darcs versions as snapshot versions.
5104
5105 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5106 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5107 (ruby--encoding-comment-required-p): Extract from
5108 `ruby-mode-set-encoding'.
5109 (ruby-mode-set-encoding): Add the ability to always insert an
5110 utf-8 encoding comment. Fix and simplify coding comment update
5111 logic.
5112
5113 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5114
5115 * net/tramp-gvfs.el (top): Run init code only when
5116 `tramp-gvfs-enabled' is not nil.
5117 (tramp-gvfs-enabled): Check also :system bus.
5118
5119 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5120
5121 Sync with upstream verilog-mode revision 78e66ba.
5122 * progmodes/verilog-mode.el (verilog-end-of-defun)
5123 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5124 (verilog-get-end-of-defun): Remove unused argument.
5125 (verilog-comment-depth): Remove unused local `e'.
5126 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5127 Don't pass arg to verilog-get-end-of-defun.
5128
5129 2013-11-14 Glenn Morris <rgm@gnu.org>
5130
5131 * obsolete/assoc.el (aget): Prefix dynamic variable.
5132
5133 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5134
5135 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * widget.el, hfy-cmap.el: Remove bogus package version number.
5138
5139 2013-11-13 Glenn Morris <rgm@gnu.org>
5140
5141 * replace.el (replace-eval-replacement):
5142 Try to give more helpful error message. (Bug#15836)
5143
5144 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5145 (archive-7z-update): Avoid custom type mismatches.
5146
5147 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5148
5149 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5150
5151 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5152 address can be empty.
5153
5154 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5155 Accept nil SWITCHES.
5156 (tramp-gvfs-handle-write-region): Implement APPEND.
5157
5158 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5159
5160 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5161 binary "|" operator and closing block args delimiter.
5162 Remove FIXME comment referring to Ruby 1.8-only syntax.
5163 (ruby-smie--implicit-semi-p): Not after "|" operator.
5164 (ruby-smie--closing-pipe-p): New function.
5165 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5166 (ruby-smie-rules): Indent after "|".
5167
5168 2013-11-12 Glenn Morris <rgm@gnu.org>
5169
5170 * ps-print.el (ps-face-attribute-list):
5171 Handle anonymous faces. (Bug#15827)
5172
5173 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5174
5175 * window.el (display-buffer-other-frame): Fix doc-string.
5176 (Bug#15868)
5177
5178 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5181
5182 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5183
5184 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5185 (tramp-sh-handle-file-local-copy): Don't write a message when
5186 saving temporary files.
5187
5188 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5189 both directories are remote.
5190 (tramp-smb-handle-directory-files): Do not return double entries.
5191 Do not expand full file names.
5192 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5193 (tramp-smb-handle-write-region): Implement APPEND.
5194 (tramp-smb-get-stat-capability): Fix a stupid bug.
5195
5196 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5199
5200 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5201
5202 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5203 throwing error over malformed let/let* (bug#15814).
5204
5205 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5206
5207 * iswitchb.el (iswitchb-mode): Mark obsolete.
5208
5209 2013-11-11 Glenn Morris <rgm@gnu.org>
5210
5211 * international/uni-bidi.el, international/uni-category.el:
5212 * international/uni-name.el, international/uni-numeric.el:
5213 Regenerate for Unicode 6.3.0.
5214
5215 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5216
5217 * net/tramp.el (tramp-methods):
5218 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5219 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5220
5221 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5222
5223 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5224 Force highlighting text after Summary keyword in doc face for rpm.
5225
5226 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5227
5228 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5229 available and the word has no wildcards, append one to the grep pattern.
5230 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5231 (ispell-complete-word): Call `ispell-lookup-words' with the value
5232 independent of `ispell-look-p'.
5233
5234 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5235
5236 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5237 Not after "||".
5238 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5239 their parent.
5240
5241 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5244 (ruby-font-lock-keywords): Use backquote.
5245
5246 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5247
5248 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5249 (ruby-smie--backward-token): Only consider full-string matches.
5250
5251 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5252
5253 * faces.el (describe-face): Add distant-foreground.
5254
5255 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5256
5257 * progmodes/ruby-mode.el: Improve encoding comment handling.
5258 (ruby-encoding-magic-comment-style): New option.
5259 (ruby-custom-encoding-magic-comment-template): New option.
5260 (ruby--insert-coding-comment, ruby--detect-encoding):
5261 New functions extracted from `ruby-mode-set-encoding'.
5262 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5263 to control the style of the auto-inserted encoding comment.
5264
5265 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5266
5267 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5268 Use `smie-backward-sexp' with token argument.
5269
5270 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5271
5272 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5273 Remove instrumentation code.
5274
5275 2013-11-08 Glenn Morris <rgm@gnu.org>
5276
5277 * progmodes/autoconf.el (autoconf-mode):
5278 Tweak comment-start-skip. (Bug#15822)
5279
5280 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5283 at bobp (bug#15826).
5284 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5285
5286 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5287
5288 * man.el (Man-start-calling): New macro, extracted from
5289 Man-getpage-in-background.
5290 (Man-getpage-in-background): Use it.
5291 (Man-update-manpage): New command.
5292 (Man-mode-map): Bind it.
5293
5294 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5295
5296 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5297 of "and", "or", "&&" and "||".
5298 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5299 argument. Prohibit opening curly brace because it could only be a
5300 block opener in that position.
5301 (ruby-smie--forward-token, ruby-smie--backward-token):
5302 Separate "|" from "&" or "*" going after it. That can happen in block
5303 arguments.
5304 (ruby-smie--indent-to-stmt): New function, seeks the end of
5305 previous statement or beginning of buffer.
5306 (ruby-smie-rules): Use it.
5307 (ruby-smie-rules): Check if there's a ":" before a curly block
5308 opener candidate; if there is, it's a hash.
5309
5310 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5313 (cl--block-wrapper): Fix last accidental change.
5314
5315 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5316
5317 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5318 Instrument, in order to hunt failure on hydra.
5319
5320 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5321
5322 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5323 malformed bindings form (bug#15814).
5324
5325 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5326
5327 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5328 "." compared to " @ ". This incidentally fixes some indentation
5329 examples with "do".
5330 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5331 (ruby-smie-grammar): New tokens: "and" and "or".
5332 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5333 Exclude "and" and "or". Remove "do" in order to work around token
5334 priorities.
5335 (ruby-smie-rules): Add all infix tokens. Handle the case of
5336 beginning-of-buffer.
5337
5338 2013-11-06 Glenn Morris <rgm@gnu.org>
5339
5340 * Makefile.in (setwins_almost, setwins_for_subdirs):
5341 Avoid accidental matches.
5342
5343 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * menu-bar.el (popup-menu): Use key-binding.
5346
5347 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5348
5349 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5350 menus, support also the menus produced by minor modes.
5351 (Bug#15817)
5352
5353 2013-11-06 Leo Liu <sdl.web@gmail.com>
5354
5355 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5356 DISTANCE to bound the search. All uses changed. (Bug#15808)
5357
5358 2013-11-06 Glenn Morris <rgm@gnu.org>
5359
5360 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5361 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5362 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5363
5364 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * electric.el (electric-indent-just-newline): New command.
5367 (electric-indent-mode-map): New keymap.
5368 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5369 Re-add :group which weren't redundant.
5370
5371 * electric.el (electric-indent-local-mode): New minor mode.
5372 (electric-indent-functions-without-reindent): New var.
5373 (electric-indent-post-self-insert-function): Use it.
5374 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5375
5376 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5377
5378 * international/quail.el (quail-help): Be more explicit about the
5379 meaning of the labels shown on the keys. (Bug#15800)
5380
5381 * startup.el (normal-top-level): Load the subdirs.el files before
5382 setting the locale environment. (Bug#15805)
5383
5384 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5385
5386 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5387 via arguments so as to get the right ones (bug#15418).
5388
5389 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5390
5391 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5392
5393 Fix problems found while writing a test suite.
5394
5395 * net/tramp-compat.el (tramp-compat-load): New defun.
5396 * net/tramp.el (tramp-handle-load): Use it.
5397
5398 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5399 "(numberp ok-if-already-exists)" correctly.
5400
5401 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5402
5403 * international/characters.el (glyphless-char-display-control):
5404 Add usage note.
5405
5406 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5407
5408 * progmodes/python.el (python-mode):
5409 * progmodes/scheme.el (scheme-mode):
5410 * progmodes/prolog.el (prolog-mode):
5411 * progmodes/ruby-mode.el (ruby-mode):
5412 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5413 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5414
5415 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * rect.el (rectangle--highlight-for-redisplay):
5418 * emacs-lisp/smie.el (smie--next-indent-change):
5419 Use buffer-chars-modified-tick.
5420
5421 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5422
5423 * electric.el (electric-indent-post-self-insert-function):
5424 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5425
5426 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5427
5428 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5429
5430 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5431
5432 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5433 (bug#15786).
5434
5435 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5438
5439 * progmodes/python.el: Fix up last change.
5440 (python-shell--save-temp-file): New function.
5441 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5442 `string' comes from the current buffer.
5443 (python-shell-send-string-no-output): Remove `msg' arg.
5444 (python--use-fake-loc): New var.
5445 (python-shell-buffer-substring): Obey it. Try to compensate for the
5446 extra coding line added by python-shell--save-temp-file.
5447 (python-shell-send-region): Use python-shell--save-temp-file and
5448 python-shell-send-file directly. Add `nomain' argument.
5449 (python-shell-send-buffer): Use python-shell-send-region.
5450 (python-electric-pair-string-delimiter): New function.
5451 (python-mode): Use it.
5452
5453 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5454
5455 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5456 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5457 environment and decoding all of the default-directory's to here
5458 from command-line.
5459 (command-line): Decode also argv[0].
5460
5461 * loadup.el: Error out if default-directory is a multibyte string
5462 when we are dumping.
5463
5464 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5465
5466 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5467
5468 * emacs-lisp/package.el (package-menu-mode)
5469 (package-menu--print-info, package-menu--archive-predicate):
5470 Add Archive column to package list.
5471
5472 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5473
5474 Fix problems found while writing a test suite.
5475
5476 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5477 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5478 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5479 to nil when running original file name handler. Otherwise,
5480 there are problems with constructs like "$$FOO".
5481
5482 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5483 for `localname'.
5484
5485 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5486
5487 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5488
5489 * subr.el (version<, version<=, version=):
5490 Update docstrings with information for snapshot versions.
5491
5492 * helpers.el: New library for misc helper functions.
5493 (hash-table-keys): New function returning a list of hash keys.
5494 (hash-table-values): New function returning a list of hash values.
5495
5496 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5497
5498 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5499 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5500
5501 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5502
5503 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5504 checking whether point is after a 1-letter word.
5505
5506 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5507
5508 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5509 Don't infloop when expanding region over `multiline' syntax-type that
5510 begins a line (bug#15778).
5511
5512 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5515 Make it into a proper minor mode.
5516 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
5517 (rectangle-mark-mode-map): New keymap.
5518 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5519
5520 2013-11-04 Glenn Morris <rgm@gnu.org>
5521
5522 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5523
5524 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5527 (ruby-smie-rules): Use smie-rule-parent instead.
5528
5529 * emacs-lisp/smie.el (smie-rule-parent): Always call
5530 smie-indent-virtual rather than only for hanging tokens.
5531 (smie--next-indent-change): New helper command.
5532
5533 2013-11-03 Glenn Morris <rgm@gnu.org>
5534
5535 * Makefile.in (abs_srcdir): Remove.
5536 (emacs): Unset EMACSLOADPATH.
5537
5538 2013-11-02 Glenn Morris <rgm@gnu.org>
5539
5540 * Makefile.in (EMACS): Use a relative filename.
5541 (abs_top_builddir): Remove.
5542 (custom-deps, finder-data, autoloads): Use --chdir.
5543
5544 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5545
5546 Use relative filenames in TAGS files.
5547 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5548 (lisptagsfiles4, TAGS): Use relative file names.
5549 (TAGS-LISP): Remove.
5550 (maintainer-clean): No more TAGS-LISP file.
5551
5552 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5553 (lisptagsfiles4): Use absolute filenames again.
5554 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5555 Remove all *loaddefs files, not just the first. Remove esh-groups.
5556 (maintainer-clean): Delete TAGS, TAGS-LISP.
5557
5558 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5559
5560 * emacs-lisp/package.el (package-version-join):
5561 Recognize snapshot versions.
5562
5563 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5564
5565 * subr.el (version-regexp-alist): Add support for snapshot versions.
5566
5567 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5568
5569 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5570 New function, replacement for `smie-rule-parent' for when we want to
5571 skip over our direct parent if it's an assignment token..
5572 (ruby-smie-rules): Use it.
5573
5574 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5575
5576 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5577 unconditionally. Remove now unnecessary forward declarations.
5578 Remove XEmacs-specific setup.
5579 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5580 (ruby-font-lock-syntactic-keywords)
5581 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5582 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5583 (ruby-here-doc-end-syntax): Remove.
5584 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5585 defined as function.
5586
5587 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5588
5589 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5590
5591 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5592
5593 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5594 table and abbrev table, `define-derived-mode' does that for us
5595 anyway.
5596
5597 2013-11-01 Glenn Morris <rgm@gnu.org>
5598
5599 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5600 files is atomic for some time, so no parallel compilation issues).
5601
5602 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5603
5604 * faces.el (face-x-resources): Add :distant-foreground.
5605 (region): Use :distant-foreground for gtk and ns.
5606
5607 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5608
5609 Allow multiple bibliographies when BibLaTeX is used rather than
5610 BibTeX.
5611 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5612 (reftex-locate-bibliography-files): Us it.
5613
5614 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5615
5616 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5617 allow comments in pbm files.
5618
5619 * term/w32-win.el (dynamic-library-alist): Support newer versions
5620 of libjpeg starting with v7: look only for the DLL from the
5621 version against which Emacs was built.
5622 Support versions of libpng beyond 1.4.x.
5623 Support libtiff v4.x.
5624
5625 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5626
5627 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5628 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5629 Add property :safe.
5630 (ruby-deep-arglist): Add property :type.
5631
5632 2013-10-31 Glenn Morris <rgm@gnu.org>
5633
5634 * Makefile.in (custom-deps, finder-data): No need to setq the target
5635 variables, we are in the right directory and the defaults work fine.
5636
5637 2013-10-30 Glenn Morris <rgm@gnu.org>
5638
5639 * Makefile.in (autoloads): Do not use abs_lisp.
5640
5641 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5642 `newline' does not respect `standard-output', so use `princ'.
5643
5644 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5645
5646 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5647 * buff-menu.el (Buffer-menu--unmark): New function.
5648 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5649
5650 2013-10-30 Glenn Morris <rgm@gnu.org>
5651
5652 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5653
5654 * emacs-lisp/package.el (lm-homepage): Declare.
5655
5656 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5657 Fix doc typos.
5658
5659 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5660
5661 * Makefile.in (finder-data, autoloads, update-subdirs)
5662 (compile-main, compile-clean, compile-always, bootstrap-clean):
5663 Check return value of cd.
5664 (compile-calc): Remove.
5665
5666 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5669
5670 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5671 (byte-compile-and-folded): New function.
5672 (=, <, >, <=, >=): Use it.
5673
5674 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5675 (path-separator, null-device, buffer-file-coding-system)
5676 (lpr-headers-switches): Check system-type before modifying them.
5677 (find-buffer-file-type-coding-system): Mark obsolete.
5678 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5679 find-file-not-found-set-buffer-file-coding-system.
5680 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5681 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5682 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5683 (w32-direct-print-region-helper, w32-direct-print-region-function)
5684 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5685 * startup.el (normal-top-level-add-subdirs-to-load-path):
5686 * ps-print.el (ps-print-region-function):
5687 * lpr.el (print-region-function): Use new name.
5688
5689 * subr.el (custom-declare-variable-early): Remove function.
5690 (custom-declare-variable-list): Remove var.
5691 (error, user-error): Remove `while' loop.
5692 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5693 (user-emacs-directory-warning, locate-user-emacs-file):
5694 Move to files.el.
5695 * simple.el (read-quoted-char-radix, read-quoted-char):
5696 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5697 Move from subr.el.
5698 * custom.el (custom-declare-variable-list): Don't process
5699 custom-declare-variable-list.
5700
5701 * progmodes/python.el (python-shell-get-buffer): New function.
5702 (python-shell-get-process): Use it.
5703 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5704 Python which encoding was used. Don't split-string since we only care
5705 about the first line. Return the temp-file, if applicable.
5706 (python-shell-send-region): Tell compile.el how to turn locations in
5707 the temp-file into locations in the source buffer.
5708
5709 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * subr.el (undefined): Add missing behavior from the C code for
5712 unbound keys.
5713
5714 * rect.el: Use lexical-binding. Add new rectangular region support.
5715 (rectangle-mark): New command.
5716 (rectangle--region): New var.
5717 (deactivate-mark-hook): Reset rectangle--region.
5718 (rectangle--extract-region, rectangle--insert-for-yank)
5719 (rectangle--highlight-for-redisplay)
5720 (rectangle--unhighlight-for-redisplay): New functions.
5721 (region-extract-function, redisplay-unhighlight-region-function)
5722 (redisplay-highlight-region-function): Use them to handle
5723 rectangular region.
5724 * simple.el (region-extract-function): New var.
5725 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5726 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5727 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5728 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5729 (redisplay-unhighlight-region-function)
5730 (redisplay-highlight-region-function): New vars.
5731 (redisplay--update-region-highlight): New function.
5732 (pre-redisplay-function): Use it.
5733 (exchange-point-and-mark): Don't deactivate the mark before
5734 reactivate-it anyway.
5735 * comint.el (comint-kill-region): Remove yank-handler argument.
5736 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5737 (delete-char): Remove property, since it's now part of their
5738 default behavior.
5739 (self-insert-iso): Remove property since this command doesn't exist.
5740
5741 * emacs-lisp/package.el (package--download-one-archive)
5742 (describe-package-1): Don't query the user about final newline.
5743
5744 2013-10-29 Daniel Colascione <dancol@dancol.org>
5745
5746 * net/tramp.el (tramp-methods): Document new functionality.
5747 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5748 tramp-hostname-checker if method provides one instead of scanning
5749 argument list for "%h" to decide hostname acceptability.
5750
5751 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5752
5753 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5754 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5755 Handle COPY-CONTENTS. (Bug#15737)
5756
5757 2013-10-28 Daiki Ueno <ueno@gnu.org>
5758
5759 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
5760 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5761
5762 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5763
5764 * image.el (defimage, image-load-path): Doc fixes.
5765
5766 2013-10-27 Alan Mackenzie <acm@muc.de>
5767
5768 Indent statements in macros following "##" correctly.
5769 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5770 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5771
5772 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5773
5774 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5775
5776 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5777
5778 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5779 after `=' is probably a new expression.
5780
5781 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5782
5783 * man.el (man-imenu-title): New option.
5784 (Man-mode-map): Add menu. (Bug#15722)
5785 (Man-mode): Add imenu to menu.
5786
5787 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5788
5789 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5790 specific in what the first arg can be: a non-keyword word,
5791 string/regexp/percent literal opener, opening paren, or unary
5792 operator followed directly by word.
5793
5794 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5797 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5798 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5799 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5800 Remove vars, they do not apply any more.
5801 (prolog-mode-abbrev-table): Remove redundant declaration.
5802 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5803 (prolog-use-smie): Remove.
5804 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5805 supported by prolog-electric-if-then-else-flag.
5806 (prolog-mode-variables, prolog-menu): Use setq-local.
5807 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5808 Remove binding to `Backspace' since this key doesn't exist anyway.
5809 Remove bindings for electric self-inserting keys.
5810 (prog-mode): Assume it's defined.
5811 (prolog-post-self-insert): New function.
5812 (prolog-mode): Use it.
5813 (prolog-indent-line, prolog-indent-level)
5814 (prolog-find-indent-of-matching-paren)
5815 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5816 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5817 (prolog-goto-next-paren, prolog-in-string-or-comment)
5818 (prolog-tokenize, prolog-inside-mline-comment)
5819 (prolog-find-start-of-mline-comment): Remove functions.
5820 (prolog-find-unmatched-paren, prolog-clause-end)
5821 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5822 (prolog-electric--if-then-else): Rename from
5823 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5824 (prolog-tokenize-searchkey): Remove const.
5825 (prolog-clause-info): Use forward-sexp.
5826 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5827 (prolog-electric-if-then-else): Remove commands.
5828 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5829 for use in post-self-insert-hook.
5830 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5831 for use in post-self-insert-hook.
5832 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5833 for use in post-self-insert-hook.
5834 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5835 adapt it for use in post-self-insert-hook.
5836
5837 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5838
5839 * emacs-lisp/ert.el (ert-run-tests-interactively):
5840 Use `completing-read'. (Bug#9756)
5841
5842 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5843
5844 * simple.el (line-move): Call line-move-1 instead of
5845 line-move-visual when the current window hscroll is zero, but
5846 temporary-goal-column indicates we will need to hscroll as result
5847 of the movement. (Bug#15712)
5848
5849 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5850
5851 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5852 capitalization. Use :visible instead of :active.
5853 Fix `ruby-indent-exp' reference. Add menu items for the generic
5854 commands that are used with SMIE.
5855 (ruby-do-end-to-brace): Insert space after `{'.
5856
5857 2013-10-25 John Anthony <john@jo.hnanthony.com>
5858
5859 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5860
5861 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5862
5863 2013-10-25 Glenn Morris <rgm@gnu.org>
5864
5865 * vc/vc.el (vc-print-log): Don't use a working revision unless
5866 one was explicitly specified. (Bug#15322)
5867
5868 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * subr.el (add-to-list): Preserve return value in compiler-macro
5871 (bug#15692).
5872
5873 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5874
5875 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5876 result. Ask user to retry using '-all' flag. (Bug#15701)
5877
5878 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5879
5880 * emacs-lisp/smie.el: New smie-config system.
5881 (smie-config): New defcustom.
5882 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5883 (smie-config-guess, smie-config-save): New commands.
5884 (smie-config--mode-local, smie-config--buffer-local)
5885 (smie-config--trace, smie-config--modefuns): New vars.
5886 (smie-config--advice, smie-config--mode-hook)
5887 (smie-config--setter, smie-config-local, smie-config--get-trace)
5888 (smie-config--guess-value, smie-config--guess): New functions.
5889 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5890 text properties. Treat "string fence" syntax like string syntax.
5891
5892 * progmodes/sh-script.el (sh-use-smie): Change default.
5893 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5894 (sh-var-value): Simplify by CSE.
5895 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5896 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5897 is used.
5898 (sh-guess-basic-offset): Use cl-incf.
5899 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5900
5901 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5902
5903 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5904 (bug#15699).
5905
5906 2013-10-24 Glenn Morris <rgm@gnu.org>
5907
5908 * Makefile.in (abs_top_srcdir): Remove.
5909 (update-subdirs): Use relative path to update-subdirs.
5910
5911 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5912
5913 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5914 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5915 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5916 Call unmsys--file-name before expand-file-name, not after it.
5917
5918 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5919
5920 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5921 (ert-test-skipped): New error.
5922 (ert-skip, ert-stats-skipped): New defuns.
5923 (ert--skip-unless): New macro.
5924 (ert-test-skipped): New struct.
5925 (ert--run-test-debugger, ert-test-result-type-p)
5926 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5927 (ert--stats-set-test-and-result, ert-char-for-test-result)
5928 (ert-string-for-test-result, ert-run-tests-batch)
5929 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5930 Handle skipped tests. (Bug#9803)
5931
5932 2013-10-24 Glenn Morris <rgm@gnu.org>
5933
5934 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5935
5936 * Makefile.in (abs_top_srcdir): New, set by configure.
5937 (update-subdirs): Correct build-aux location.
5938
5939 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5940
5941 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5942 value, whether we could auto-deduce `backend', or not.
5943
5944 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5945 with parameters" example. Simplify the "is it block or is it
5946 hash" check, but also make it more thorough.
5947
5948 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5949
5950 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5951
5952 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5953
5954 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5955 { if it is hanging.
5956
5957 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5958 :before ";".
5959
5960 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5961
5962 * progmodes/compile.el (compilation-directory-matcher)
5963 (compilation-page-delimiter):
5964 Support GNU Make-4.0 directory quoting. (Bug#15678)
5965
5966 2013-10-23 Leo Liu <sdl.web@gmail.com>
5967
5968 * ido.el (ido-tidy): Handle read-only text.
5969
5970 2013-10-23 Glenn Morris <rgm@gnu.org>
5971
5972 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5973 (emacs, compile, compile-always):
5974 Quote entities that might contain whitespace.
5975 (custom-deps, finder-data, autoloads): Use abs_lisp.
5976 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5977 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5978 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5979
5980 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5981
5982 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5983 Use `following-char'.
5984
5985 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5986
5987 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5988 * progmodes/ruby-mode.el (ruby-smie-rules):
5989 Remove corresponding workaround. Fix indentation rule of ";" so it
5990 also applies when ";" is the parent.
5991
5992 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5993
5994 * frame.el (display-screens, display-pixel-height)
5995 (display-pixel-width, display-mm-width, display-backing-store)
5996 (display-save-under, display-planes, display-color-cells)
5997 (display-visual-class, display-monitor-attributes-list):
5998 Mention the optional ‘display’ argument in doc strings.
5999
6000 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6001
6002 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6003 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6004
6005 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6006
6007 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6008 TODO. Add "." after " @ ".
6009 (ruby-smie--at-dot-call): New function. Checks if point at method
6010 call with explicit target.
6011 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6012 to the method name tokens when it precedes them.
6013 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6014 (ruby-smie-rules): Add rule for indentation before and after "."
6015 token.
6016
6017 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6018
6019 * textmodes/remember.el (remember-diary-extract-entries):
6020 Avoid add-to-list.
6021
6022 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6023 an instruction.
6024
6025 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6026
6027 * progmodes/ruby-mode.el (ruby-smie-grammar):
6028 Add (almost) all infix operators.
6029 (ruby-smie--implicit-semi-p): Add new operator chars.
6030
6031 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6032 `smie-down-list'.
6033 (ruby-smie--args-separator-p): Check that there's no newline
6034 between method call and its arguments.
6035
6036 2013-10-20 Alan Mackenzie <acm@muc.de>
6037
6038 Allow comma separated lists after Java "implements".
6039
6040 * progmodes/cc-engine.el (c-backward-over-enum-header):
6041 Parse commas.
6042 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6043 from a "disallowed" list in enum fontification.
6044
6045 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6046
6047 * startup.el (default-frame-background-mode): Remove unused defvar.
6048
6049 * progmodes/verilog-mode.el (verilog-mode): Don't set
6050 comment-indent-function globally.
6051
6052 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6053
6054 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6055 Move Info menu item creation to ns-win.el.
6056
6057 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6058 in menu bar.
6059
6060 * menu-bar.el: Move GNUstep specific menus...
6061
6062 * term/ns-win.el (ns-initialize-window-system): ... to here.
6063
6064 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * simple.el (newline): Only run post-self-insert-hook when
6067 called interactively.
6068
6069 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6070
6071 * icomplete.el (icomplete-with-completion-tables): Add :version.
6072
6073 2013-10-19 Alan Mackenzie <acm@muc.de>
6074
6075 Fix fontification bugs with constructors and const.
6076
6077 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6078 CASE 2) Remove the check for the absence of a suffix construct
6079 after a function declaration with only types (no identifiers) in
6080 the parentheses. Also, accept a function declaration with just a
6081 type inside the parentheses, if this type can be positively
6082 recognised as such, or if a prefix keyword like "explicit" nails
6083 down the construct as a declaration.
6084
6085 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6086
6087 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6088 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6089 the problem whereby selecting a menu item that leads to a
6090 minibuffer prompt moves the cursor out of the minibuffer window,
6091 making it hard to type at the prompt. Suggested by Stefan Monnier
6092 <monnier@iro.umontreal.ca>.
6093
6094 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6095
6096 * menu-bar.el: Don't make Services menu.
6097
6098 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6099
6100 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6101 (ffap-alist): Use ffap-c++-mode for c++-mode.
6102 (ffap-c++-path): New variable.
6103 (ffap-c++-mode): New function.
6104
6105 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6106
6107 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6108
6109 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6110
6111 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6112 introduced on 2013-09-08, which results in an infinite loop
6113 requesting a password.
6114
6115 2013-10-18 Glenn Morris <rgm@gnu.org>
6116
6117 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6118
6119 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6120
6121 Sync with upstream verilog-mode revision 1a6ecec7.
6122 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6123 (verilog-mode-release-date): Remove.
6124 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6125 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6126 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6127 (verilog-auto-tieoff-ignore-regexp)
6128 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6129 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6130 (verilog-signals-with, verilog-dir-cache-preserving)
6131 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6132 Doc fixes.
6133 (verilog-case-fold): New option, to control case folding in
6134 regexp searches, bug597.
6135 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6136 (verilog-string-match-fold, verilog-in-paren-count)
6137 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6138 (verilog-at-close-struct-p): New functions.
6139 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6140 (verilog-forward-sexp, verilog-set-auto-endcomments)
6141 (verilog-leap-to-case-head): Handle "unique0" case.
6142 (verilog-in-constraint-re): New constant.
6143 (verilog-keywords, verilog-type-font-keywords):
6144 Add some SystemVerilog 1800-2012 keywords.
6145 (verilog-label-be): Remove unimplemented argument, bug669.
6146 (verilog-batch-execute-func): When batch expanding clear
6147 create-lockfiles to prevent spurious user locks when a file ends
6148 up not changing.
6149 (verilog-calculate-indent, verilog-calc-1)
6150 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6151 (verilog-do-indent): Fix indentation of nested constraints
6152 and structures.
6153 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6154 (verilog-auto-inst-param): Use verilog-string-match-fold.
6155 (verilog-read-inst-module-matcher):
6156 Fix AUTOINST on gate primitives with #1.
6157 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6158 Reads all user-defined typed variables.
6159 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6160 (verilog-signals-matching-regexp)
6161 (verilog-signals-not-matching-regexp, verilog-auto):
6162 Respect verilog-case-fold.
6163 (verilog-diff-report): Fix line count.
6164 (verilog-auto-assign-modport): Remove unused local `modi'.
6165 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6166 better handle multidimensional arrays.
6167 Fix packed array ports misadding bit index in AUTOINST, bug637.
6168 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6169 to not double-declare existing outputs and inputs, respectively.
6170 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6171 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6172 (verilog-sk-uvm-component): New skeleton.
6173 (verilog-submit-bug-report): Add verilog-case-fold,
6174 remove verilog-mode-release-date.
6175
6176 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6177
6178 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6179 as before.
6180
6181 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6182
6183 * textmodes/remember.el (remember): Set buffer-offer-save in
6184 remember buffers (bug#13566).
6185
6186 2013-10-18 Daniel Colascione <dancol@dancol.org>
6187
6188 When evaluating forms in ielm, direct standard output to ielm
6189 buffer. Add new ielm-return-for-effect command. Remove trailing
6190 whitespace throughout.
6191
6192 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6193 (ielm-return-for-effect): New command.
6194 (ielm-send-input): Accept optional `for-effect' parameter.
6195 (ielm-eval-input): Accept optional `for-effect' parameter.
6196 Bind `standard-output' to stream we create using
6197 `ielm-standard-output-impl'. Suppress printing result when
6198 `for-effect'.
6199 (ielm-standard-output-impl): New function.
6200 (inferior-emacs-lisp-mode): Explain new features in documentation.
6201
6202 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6203
6204 Code cleanup.
6205
6206 * net/tramp.el (tramp-debug-message): Do not check for connection
6207 buffer.
6208 (tramp-message): Use "vector" connection property.
6209
6210 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6211 (tramp-equal-remote, tramp-eshell-directory-change)
6212 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6213 (tramp-adb-handle-rename-file)
6214 * net/tramp-cmds.el (tramp-list-remote-buffers)
6215 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6216 * net/tramp-compat.el (tramp-compat-process-running-p)
6217 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6218 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6219 (tramp-gvfs-handle-rename-file)
6220 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6221 (tramp-set-file-uid-gid)
6222 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6223 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6224 of `file-remote-p'.
6225
6226 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6227 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6228 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6229 (tramp-gw-open-network-stream): Suppress unrelated traces.
6230
6231 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6232 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6233 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6234 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6235 connection property.
6236
6237 * net/tramp-cache.el (top): Suppress traces when reading
6238 persistency file.
6239
6240 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6241 Refactor common code. Improve debug message.
6242 (tramp-maybe-open-connection)
6243 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6244 connection buffer too early.
6245
6246 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6247 from `tramp-smb-actions-with-acl'.
6248 (tramp-smb-actions-set-acl): New defconst.
6249 (tramp-smb-handle-copy-directory)
6250 (tramp-smb-action-get-acl): New defun, renamed from
6251 `tramp-smb-action-with-acl'.
6252 (tramp-smb-action-set-acl): New defun.
6253 (tramp-smb-handle-set-file-acl): Rewrite.
6254
6255 2013-10-17 Glenn Morris <rgm@gnu.org>
6256
6257 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6258
6259 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6260
6261 * skeleton.el (skeleton-newline): Remove.
6262 (skeleton-internal-1): Use (insert "\n") instead.
6263
6264 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6265 let-bindings.
6266
6267 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6268 forward-sexp-function while we redo its job (bug#15613).
6269
6270 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6271
6272 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6273 represented by lists.
6274
6275 2013-10-16 Glenn Morris <rgm@gnu.org>
6276
6277 * tmm.el (tmm--history): New dynamic variable.
6278 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6279
6280 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6281
6282 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6283 (tramp-smb-errors): Add error messages.
6284 (tramp-smb-actions-with-acl): New defconst.
6285 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6286 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6287 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6288 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6289 (tramp-smb-get-stat-capability): Fix tests.
6290
6291 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6292
6293 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6294 (bug#15580).
6295
6296 2013-10-16 Glenn Morris <rgm@gnu.org>
6297
6298 * ansi-color.el (ansi-color-drop-regexp):
6299 Add 1J, 1K, 2K. (Bug#15617)
6300
6301 * files.el (hack-local-variables--warned-lexical): New.
6302 (hack-local-variables):
6303 Warn about misplaced lexical-binding. (Bug#15616)
6304
6305 * net/eww.el (eww-render): Always set eww-current-url,
6306 and update header line. (Bug#15622)
6307 (eww-display-html): ... Rather than just doing it here.
6308
6309 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6310
6311 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6312 menu navigations commands.
6313
6314 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6315
6316 * progmodes/subword.el (subword-capitalize): Be careful when
6317 the search for [[:alpha:]] fails (bug#15580).
6318
6319 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6320
6321 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6322 to commands that scroll the menu.
6323
6324 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6325
6326 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6327 Handle methods ending with `?' and `!'.
6328
6329 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6330
6331 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6332 `japanese-cp932' to `cp932' to fix the problem where saving a
6333 source file written in Shift_JIS twice would end up having
6334 `coding: japanese-cp932' which Ruby could not recognize.
6335 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6336 in `ruby-encoding-map'.
6337 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6338 doesn't need to be explicitly declared in magic comment.
6339 (ruby-encoding-map): Add type declaration for better customize UI.
6340
6341 2013-10-13 Glenn Morris <rgm@gnu.org>
6342
6343 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6344 Occur buffers are read-only. http://bugs.debian.org/720775
6345
6346 * emacs-lisp/authors.el (authors-fixed-entries):
6347 Comment out old alpha stuff.
6348
6349 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6350
6351 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6352 to `after-save-hook' instead of `before-save-hook'.
6353 (ruby-mode-set-encoding): Use the value of coding system used to
6354 write the file. Call `basic-save-buffer-1' after modifying the
6355 buffer.
6356
6357 2013-10-13 Alan Mackenzie <acm@muc.de>
6358
6359 Fix indentation/fontification of Java enum with
6360 "implements"/generic.
6361
6362 * progmodes/cc-engine.el (c-backward-over-enum-header):
6363 Extracted from the three other places and enhanced to handle generics.
6364 (c-inside-bracelist-p): Uses new function above.
6365 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6366 function above.
6367 (c-font-lock-enum-tail): Uses new function above.
6368
6369 2013-10-13 Kenichi Handa <handa@gnu.org>
6370
6371 * international/mule-cmds.el (select-safe-coding-system): Remove a
6372 superfluous condition in chekcing whether a coding system is safe
6373 or not.
6374
6375 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6376
6377 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6378
6379 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6380
6381 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6382
6383 2013-10-13 Glenn Morris <rgm@gnu.org>
6384
6385 * menu-bar.el (menu-bar-update-buffers):
6386 Unify Buffers menu prompt string. (Bug#15576)
6387
6388 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6389
6390 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6391 Add some entries.
6392 (authors-fixed-entries): Use accented form of name.
6393
6394 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6395
6396 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6397 method calls (bug#15594).
6398 (ruby-smie--args-separator-p): New function.
6399 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6400 recognize paren-free method calls.
6401
6402 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6403 internals of universal-argument.
6404
6405 2013-10-11 Eli Zaretskii <eliz@gnu.org>
6406
6407 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6408 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6409 dropped menu on second mouse click on the menu bar.
6410
6411 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6414 (explicit-shell-file-name): Declare.
6415 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6416 (sh-completion-at-point-function): New function.
6417 (sh-mode): Use it.
6418 (sh-smie--keyword-p): Remove unused argument.
6419 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6420 vars.
6421 (sh-set-shell): Always setup SMIE, even if we use the
6422 old indentation code.
6423
6424 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6425
6426 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6427 cases of ? and =.
6428 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6429 predicate would return nil are almost non-existent.
6430 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6431
6432 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6433 cache also after commands that modify the buffer but don't move
6434 point.
6435
6436 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * env.el (substitute-env-in-file-name): New function.
6439 (substitute-env-vars): Extend the meaning of the optional arg.
6440
6441 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6442
6443 * term/w32-win.el (dynamic-library-alist): Define separate lists
6444 of GIF DLLs for versions before and after 5.0.0 of giflib.
6445 (Bug#15531)
6446
6447 2013-10-10 João Távora <joaotavora@gmail.com>
6448
6449 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6450 not locked, use last revision and current source as
6451 defaults. (Bug#15569)
6452
6453 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6454
6455 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6456 menu-bar is hidden.
6457
6458 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6459
6460 * window.el (pop-to-buffer-same-window): Fix doc-string.
6461 (Bug#15492)
6462
6463 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6466
6467 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6468
6469 * calendar/icalendar.el (icalendar-import-file):
6470 Fix interactive spec. (Bug#15482)
6471
6472 2013-10-10 Glenn Morris <rgm@gnu.org>
6473
6474 * desktop.el (desktop-save): Default to saving in .emacs.d,
6475 since PWD is no longer in desktop-path by default. (Bug#15319)
6476
6477 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6478 now that text mode has a menu with the same entry.
6479 (menu-bar-text-mode-auto-fill): Remove now unused func.
6480 * textmodes/text-mode.el (text-mode-map):
6481 Use auto-fill help text from menu-bar.el.
6482
6483 2013-10-10 John Anthony <john@jo.hnanthony.com>
6484
6485 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6486
6487 2013-10-09 Juri Linkov <juri@jurta.org>
6488
6489 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6490 instead of this-command-keys. Add universal-argument-more and
6491 universal-argument-minus to the list of prefix commands. (Bug#15568)
6492
6493 2013-10-09 Glenn Morris <rgm@gnu.org>
6494
6495 * vc/vc-svn.el (vc-svn-create-repo):
6496 Expand paths in file://... url. (Bug#15446)
6497
6498 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6499 Add some entries.
6500 (authors): Remove unused local variables.
6501
6502 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6503
6504 * profiler.el: Create a more coherent calltree from partial backtraces.
6505 (profiler-format): Hide the tail with `invisible' so that C-s can still
6506 find the hidden elements.
6507 (profiler-calltree-depth): Don't recurse so enthusiastically.
6508 (profiler-function-equal): New hash-table-test.
6509 (profiler-calltree-build-unified): New function.
6510 (profiler-calltree-build): Use it.
6511 (profiler-report-make-name-part): Indent the calltree less.
6512 (profiler-report-mode): Add visibility specs for profiler-format.
6513 (profiler-report-expand-entry, profiler-report-toggle-entry):
6514 Expand the whole subtree when provided with a prefix arg.
6515
6516 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6517
6518 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6519 iuwu-mod token.
6520 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6521 hanging iuwu-mod token.
6522 (ruby-smie--forward-token): Do not include a dot after a token in
6523 that token.
6524 (ruby-smie--backward-token): Likewise.
6525
6526 2013-10-08 Juri Linkov <juri@jurta.org>
6527
6528 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6529 to isearch-other-control-char.
6530 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6531 and isearch-post-command-hook to post-command-hook.
6532 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6533 and isearch-post-command-hook from post-command-hook.
6534 (isearch-unread-key-sequence)
6535 (isearch-reread-key-sequence-naturally)
6536 (isearch-lookup-scroll-key, isearch-other-control-char)
6537 (isearch-other-meta-char): Remove functions.
6538 (isearch-pre-command-hook, isearch-post-command-hook):
6539 New functions based on isearch-other-meta-char rewritten
6540 relying on the new behavior of overriding-terminal-local-map
6541 that does not replace the local keymaps any more. (Bug#15200)
6542
6543 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6544
6545 Support menus on text-mode terminals.
6546 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6547 functionality.
6548
6549 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6550
6551 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6552 Move here from mouse.el.
6553 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6554 and arrow keys.
6555 (tty-menu-navigation-map): New map for TTY menu navigation.
6556
6557 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6558
6559 * frame.el (display-mouse-p): Report text-mode mouse as available
6560 on w32.
6561 (display-popup-menus-p): Report availability if mouse is
6562 available; don't condition on window-system.
6563
6564 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6565 (tty-menu-selected-face): New faces.
6566
6567 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6570 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6571 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6572 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6573 New constants.
6574 (lisp-mode-variables): New `elisp' argument.
6575 (emacs-lisp-mode): Use it.
6576 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6577 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6578
6579 * indent.el: Use lexical-binding.
6580 (indent-region): Add progress reporter.
6581 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6582 last step.
6583 (indent--next-tab-stop): New function to implement this behavior.
6584 (tab-to-tab-stop, move-to-tab-stop): Use it.
6585
6586 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6587
6588 * indent.el (indent-rigidly--current-indentation): New function.
6589 (indent-rigidly-map): New var.
6590 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6591
6592 2013-10-08 Bastien Guerry <bzg@gnu.org>
6593
6594 * register.el (insert-register): Fix 2013-10-07 change.
6595
6596 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6597
6598 * progmodes/perl-mode.el: Use lexical-binding.
6599 Remove redundant :group args.
6600 (perl-nochange): Change default to be closer to other major modes's
6601 standard behavior.
6602 (perl-indent-line): Don't consider text on current line as a
6603 valid beginning of function from which to indent.
6604
6605 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6606 with more than one argument (bug#15538).
6607
6608 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6609
6610 * vc/pcvs.el: Use lexical-binding.
6611 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6612 environment of `eval'.
6613 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6614 than a list of expressions. Adjust callers.
6615 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6616
6617 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6618
6619 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6620 case of the dot in a chained method call being on the following line.
6621
6622 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * electric.el (electric-indent-inhibit): New var.
6625 (electric-indent-post-self-insert-function): Use it.
6626 * progmodes/python.el (python-mode): Set it.
6627
6628 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6629 open braces.
6630
6631 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6632
6633 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6634 (css-mode): Use electric-indent-chars.
6635
6636 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6637 (font-lock-beg, font-lock-end): Move before first use.
6638 (nxml-mode): Use syntax-propertize-function.
6639 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6640 (nxml-extend-after-change-region): Remove.
6641 * nxml/xmltok.el: Use lexical-binding.
6642 (xmltok-save): Use `declare'.
6643 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6644 * nxml/nxml-util.el: Use lexical-binding.
6645 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6646 Use `declare'.
6647 * nxml/nxml-ns.el: Use lexical-binding.
6648 (nxml-ns-save): Use `declare'.
6649 (nxml-ns-prefixes-for): Avoid add-to-list.
6650 * nxml/rng-match.el: Use lexical-binding.
6651 (rng--ipattern): Use cl-defstruct.
6652 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6653 (rng-cons-group-after, rng-subst-group-after)
6654 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6655 Use closures instead of `(lambda...).
6656
6657 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6658
6659 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6660 of BEG and END.
6661
6662 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6663 Use `tramp-handle-insert-file-contents'.
6664 (tramp-gvfs-handle-insert-file-contents): Remove function.
6665
6666 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6667 Use `save-restriction' in order to keep markers.
6668
6669 * net/trampver.el: Update release number.
6670
6671 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * progmodes/compile.el (compilation-parse-errors):
6674 Use compilation--put-prop.
6675 (compilation--ensure-parse): Check compilation-multiline.
6676
6677 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6678
6679 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6680 lexical-binding.
6681
6682 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6683
6684 * progmodes/ruby-mode.el: Fix recently added tests.
6685 (ruby-smie-grammar): Add - and +.
6686 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6687 (ruby-smie--backward-id): New functions.
6688 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6689 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6690 any more.
6691
6692 2013-10-07 Leo Liu <sdl.web@gmail.com>
6693
6694 * register.el (register-preview-delay)
6695 (register-preview-functions): New variables.
6696 (register-read-with-preview, register-preview)
6697 (register-describe-oneline): New functions.
6698 (point-to-register, window-configuration-to-register)
6699 (frame-configuration-to-register, jump-to-register)
6700 (number-to-register, view-register, insert-register)
6701 (copy-to-register, append-to-register, prepend-to-register)
6702 (copy-rectangle-to-register): Use register-read-with-preview to
6703 read register. (Bug#15525)
6704
6705 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6706
6707 * net/network-stream.el (network-stream-open-starttls): Don't add
6708 --insecure if it's already present, because that gnutls-cli
6709 rejects getting that parameter twice.
6710
6711 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6712
6713 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6714 keyword, too.
6715
6716 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6717
6718 * newcomment.el (comment-use-global-state): Change default value
6719 to t, mark obsolete (Bug#15251).
6720 (comment-beginning): In addition to `comment-to-syntax', check the
6721 value of `comment-use-global-state'.
6722
6723 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6726 (ruby-comment-column): Follow the global default, by default.
6727 (ruby-smie-grammar): Add assignment syntax.
6728 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6729 open-paren, a comma, or a \.
6730 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6731 and line continuations.
6732 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6733 followed by implicit semi-colons. Add rule for string concatenation
6734 and for indentation at BOB.
6735 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6736
6737 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6738 calling next-sexp, since next-token may have skipped chars which
6739 next-sexp doesn't know should be skipped!
6740
6741 2013-10-05 Leo Liu <sdl.web@gmail.com>
6742
6743 * progmodes/octave.el (octave-send-region):
6744 Call compilation-forget-errors.
6745
6746 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6747
6748 * vc/vc-svn.el (vc-svn-find-admin-dir):
6749 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6750 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6751 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6752 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6753
6754 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6757
6758 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6759
6760 * subr.el (read-passwd): Hide chars even when called within a context
6761 where after-change-functions is disabled (bug#15501).
6762 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6763 until we removed ourself from overriding-terminal-local-map.
6764
6765 2013-10-04 Leo Liu <sdl.web@gmail.com>
6766
6767 * progmodes/octave.el (inferior-octave-mode):
6768 Call compilation-forget-errors.
6769
6770 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6771
6772 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6773
6774 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6775
6776 * net/secrets.el (secrets-create-collection): Add optional
6777 argument ALIAS. Use proper Label keyword. Append ALIAS as
6778 dbus-call-method argument. (Bug#15516)
6779
6780 2013-10-04 Leo Liu <sdl.web@gmail.com>
6781
6782 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6783 (inferior-octave-compilation-font-lock-keywords): New variables.
6784 (compilation-error-regexp-alist)
6785 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6786 (inferior-octave-mode): Use compilation-shell-minor-mode.
6787
6788 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6789
6790 * minibuffer.el (completion--replace): Be careful that `end' might be
6791 a marker.
6792
6793 2013-10-03 Daiki Ueno <ueno@gnu.org>
6794
6795 Add support for package signature checking.
6796 * emacs-lisp/package.el (url-http-file-exists-p)
6797 (epg-make-context, epg-context-set-home-directory)
6798 (epg-verify-string, epg-context-result-for)
6799 (epg-signature-status, epg-signature-to-string)
6800 (epg-check-configuration, epg-configuration)
6801 (epg-import-keys-from-file): Declare.
6802 (package-check-signature): New user option.
6803 (package-unsigned-archives): New user option.
6804 (package-desc): Add `signed' field.
6805 (package-load-descriptor): Set `signed' field if .signed file exists.
6806 (package--archive-file-exists-p): New function.
6807 (package--check-signature): New function.
6808 (package-install-from-archive): Check package signature.
6809 (package--download-one-archive): Check archive signature.
6810 (package-delete): Remove .signed file.
6811 (package-import-keyring): New command.
6812 (package-refresh-contents): Import default keyring.
6813 (package-desc-status): Add "unsigned" status.
6814 (describe-package-1, package-menu--print-info)
6815 (package-menu-mark-delete, package-menu--find-upgrades)
6816 (package-menu--status-predicate): Support "unsigned" status.
6817
6818 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6819
6820 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6821 the new compilation scheme using the new byte-codes.
6822
6823 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6824 (byte-pophandler): New byte codes.
6825 (byte-goto-ops): Adjust accordingly.
6826 (byte-compile--use-old-handlers): New var.
6827 (byte-compile-catch): Use new byte codes depending on
6828 byte-compile--use-old-handlers.
6829 (byte-compile-condition-case--old): Rename from
6830 byte-compile-condition-case.
6831 (byte-compile-condition-case--new): New function.
6832 (byte-compile-condition-case): New function that dispatches depending
6833 on byte-compile--use-old-handlers.
6834 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6835 when we can.
6836
6837 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6838 Optimize under `condition-case' and `catch' if
6839 byte-compile--use-old-handlers is nil.
6840 (disassemble-offset): Handle new bytecodes.
6841
6842 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6843
6844 * subr.el (error): Use `declare'.
6845 (decode-char, encode-char): Use advertised-calling-convention instead
6846 of the docstring to discourage use of the `restriction' arg.
6847
6848 2013-10-03 Daiki Ueno <ueno@gnu.org>
6849
6850 * epg.el (epg-verify-file): Add a comment saying that it does not
6851 notify verification error as a return value nor a signal.
6852 (epg-verify-string): Ditto.
6853
6854 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6855
6856 * progmodes/compile.el (compilation-start): Try globbing the arg to
6857 `cd' (bug#15417).
6858
6859 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6860
6861 Sync with Tramp 2.2.8.
6862
6863 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6864 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6865 * net/trampver.el: Update release number.
6866
6867 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6868
6869 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6870 and default-process-coding-system for darwin only.
6871
6872 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6873
6874 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6875
6876 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6877
6878 * vc/vc-git.el (vc-git-grep): Disable pager.
6879
6880 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6881
6882 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6883 Use :url instead of :homepage, as per
6884 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6885
6886 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6887 non-nil, use `syntax-ppss' (Bug#15251).
6888
6889 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6890
6891 * progmodes/octave.el (inferior-octave-startup-file):
6892 Prefer ~/.emacs.d/init_octave.m.
6893
6894 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6895
6896 * emacs-lisp/package.el (package-desc-from-define):
6897 Accept additional arguments as plist, convert them to an alist and store
6898 them in the `extras' slot.
6899 (package-generate-description-file): Convert extras alist back to
6900 plist and append to the `define-package' form arguments.
6901 (package--alist-to-plist): New function.
6902 (package--ac-desc): Add `extras' slot.
6903 (package--add-to-archive-contents): Check if the archive-contents
6904 vector is long enough, and if it is, pass its `extras' slot value
6905 to `package-desc-create'.
6906 (package-buffer-info): Call `lm-homepage', pass the returned value
6907 to `package-desc-from-define'.
6908 (describe-package-1): Render the homepage button (Bug#13291).
6909
6910 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6911 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6912
6913 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6914
6915 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6916 and default-process-coding-system to utf-8-unix (Bug#15402).
6917
6918 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6919
6920 * subr.el (looking-back): Do not recommend using looking-back.
6921
6922 2013-09-28 Alan Mackenzie <acm@muc.de>
6923
6924 Fix indentation/fontification of Java enum with "implements".
6925
6926 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6927 regexp which matches "implements", etc., in Java.
6928 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6929 specifier clauses coming after "enum".
6930 * progmodes/cc-fonts.el (c-font-lock-declarations)
6931 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6932 after "enum".
6933
6934 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6935
6936 * faces.el (region): Change ns_selection_color to
6937 ns_selection_fg_color, add ns_selection_bg_color.
6938
6939 2013-09-28 Leo Liu <sdl.web@gmail.com>
6940
6941 * progmodes/octave.el (inferior-octave-completion-table)
6942 (inferior-octave-completion-at-point): Minor tweaks.
6943
6944 * textmodes/ispell.el (ispell-lookup-words): Rename from
6945 lookup-words. (Bug#15460)
6946 (lookup-words): Obsolete.
6947 (ispell-complete-word, ispell-command-loop): All uses changed.
6948
6949 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6950
6951 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6952 (octave-mode-menu): Add octave-send-buffer.
6953 (octave-send-buffer): New function.
6954
6955 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6956
6957 * progmodes/octave.el (octave-mode-map): Add key binding for
6958 octave-lookfor.
6959 (octave-mode-menu): Add octave-lookfor.
6960 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6961 octave-lookfor.
6962 (octave-lookfor): New function.
6963
6964 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6967 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6968 its convention.
6969 (cl--loop-set-iterator-function): New function.
6970 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6971 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6972 Bind `it' with `let' instead of substituting it with `cl-subst'.
6973 (cl--unused-var-p): New function.
6974 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6975 Eliminate some unused variable warnings (bug#15326).
6976
6977 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6978
6979 * doc-view.el (doc-view-scale-reset): Rename from
6980 `doc-view-reset-zoom-level'.
6981 (doc-view-scale-adjust): New command.
6982 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6983 `doc-view-scale-adjust'.
6984
6985 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6986
6987 * doc-view.el (doc-view-reset-zoom-level): New command.
6988 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6989 zoom commands (bug#15466).
6990
6991 2013-09-26 Kenichi Handa <handa@gnu.org>
6992
6993 * international/quail.el (quail-help): Make it not a command.
6994
6995 2013-09-26 Leo Liu <sdl.web@gmail.com>
6996
6997 * minibuffer.el (completion-all-sorted-completions): Make args
6998 optional as they are.
6999
7000 2013-09-25 Daniel Colascione <dancol@dancol.org>
7001
7002 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7003 specs are and that they're not evaluated.
7004
7005 2013-09-24 Sam Steingold <sds@gnu.org>
7006
7007 * midnight.el (clean-buffer-list-kill-regexps)
7008 (clean-buffer-list-kill-buffer-names): Update for the new Man
7009 buffer naming which includes the object name.
7010
7011 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7012
7013 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7014 (eshell-parse-command, eshell-parse-pipeline): Use it since
7015 eshell-separate-commands requires a dynamic scoped var.
7016 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7017
7018 2013-09-23 Leo Liu <sdl.web@gmail.com>
7019
7020 * autoinsert.el (auto-insert-alist): Make the value of
7021 lexical-binding match its file setting.
7022
7023 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7024
7025 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7026
7027 * autoarg.el (autoarg-kp-digit-argument):
7028 * electric.el (Electric-command-loop):
7029 * kmacro.el (kmacro-step-edit-insert):
7030 Do not set universal-argument-num-events.
7031
7032 2013-09-22 Leo Liu <sdl.web@gmail.com>
7033
7034 * files.el (interpreter-mode-alist): Add octave.
7035
7036 2013-09-21 Alan Mackenzie <acm@muc.de>
7037
7038 C++: fontify identifier in declaration following "public:" correctly.
7039 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7040 to match "public", etc.
7041 (c-decl-prefix-re): Add ":" into the C++ value.
7042 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7043 bit. Add a check for a ":" preceded by "public", etc.
7044
7045 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7046
7047 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7048 recognized by GDB 7.5 and later.
7049
7050 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7051
7052 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7053
7054 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * subr.el (internal--call-interactively): New const.
7057 (called-interactively-p): Use it (bug#3984).
7058
7059 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7060
7061 * vc/pcvs.el (cvs-mode-ignore):
7062 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7063 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7064
7065 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7068 (eshell-ls-orig-insert-directory): Remove.
7069 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7070 (eshell-ls-use-in-dired): Use advice-add/remove.
7071 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7072 Add `orig-fun' arg for use in :around advice.
7073 Make it check (redundantly) eshell-ls-use-in-dired.
7074
7075 2013-09-19 Glenn Morris <rgm@gnu.org>
7076
7077 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7078
7079 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7080
7081 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7082
7083 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7084
7085 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7086 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7087 (tramp-get-remote-python): New defuns.
7088 (tramp-get-remote-uid-with-perl)
7089 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7090 contributed by yary <not.com@gmail.com> (tiny change).
7091 (tramp-get-remote-uid-with-python)
7092 (tramp-get-remote-gid-with-python): New defuns. Python code
7093 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7094 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7095
7096 2013-09-19 Glenn Morris <rgm@gnu.org>
7097
7098 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7099
7100 * eshell/em-unix.el (eshell-remove-entries):
7101 Rename argument to avoid name-clash with global `top-level'.
7102
7103 * eshell/esh-proc.el (eshell-kill-process-function):
7104 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7105 (eshell-reset-after-proc): Remove unused arg `proc'.
7106
7107 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7108 (directory-files-and-attributes): Mark unused arg.
7109
7110 * eshell/em-unix.el (eshell-remove-entries):
7111 Remove unused arg `path'. Update callers.
7112
7113 * eshell/em-hist.el (eshell-hist-parse-arguments):
7114 Remove unused arg `silent'. Update callers.
7115
7116 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7117 Fix (f)boundp mix-up.
7118
7119 * eshell/em-smart.el (eshell-smart-scroll-window)
7120 (eshell-disable-after-change):
7121 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7122
7123 2013-09-18 Alan Mackenzie <acm@muc.de>
7124
7125 Fix fontification of type when followed by "const".
7126 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7127 "known" types from fontification.
7128
7129 2013-09-18 Glenn Morris <rgm@gnu.org>
7130
7131 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7132 (chart-face-list): Drop Emacsen without display-color-p.
7133
7134 * net/eww.el (libxml-parse-html-region): Declare.
7135 (eww-display-html): Explicit error if no libxml2 support.
7136
7137 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7138
7139 * image.el (image-type-from-buffer, image-multi-frame-p):
7140 Remove --without-x warning/error.
7141
7142 * mouse.el (mouse-yank-primary):
7143 * term.el (term-mouse-paste):
7144 Reorder to silence --without-x compilation.
7145
7146 * mpc.el (doc-view-mode): Silence --without-x compilation.
7147
7148 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7149 Silence --without-x compilation.
7150
7151 * progmodes/gud.el (gud-find-file, gud-mode):
7152 Silence --without-x compilation.
7153 (tooltip-mode): Declare.
7154
7155 * wdired.el (dired-backup-overwrite): Remove declaration.
7156 (wdired-mode-map): Add doc string.
7157
7158 * custom.el (x-get-resource): Declare.
7159
7160 * eshell/em-glob.el (ange-cache):
7161 * eshell/em-unix.el (ange-cache): Declare.
7162
7163 * faces.el (x-display-list, x-open-connection, x-get-resource):
7164 Declare.
7165
7166 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7167 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7168 Declare.
7169
7170 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7171
7172 * net/gnutls.el (gnutls-log-level): Declare.
7173
7174 * net/shr.el (image-size, image-animate): Declare.
7175
7176 * simple.el (font-info): Declare.
7177
7178 * subr.el (x-popup-dialog): Declare.
7179
7180 * term/common-win.el (x-select-enable-primary)
7181 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7182 Declare.
7183
7184 * term/ns-win.el (x-handle-args): Declare.
7185
7186 * term/x-win.el (x-select-enable-clipboard): Declare.
7187
7188 * term/w32-win.el (create-default-fontset): Declare.
7189
7190 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7191 Declare.
7192
7193 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7194 (fit-frame-to-buffer): Explicit error if --without-x.
7195 (mouse-autoselect-window-select): Silence compiler.
7196
7197 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7198
7199 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7200 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7201 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7202 * eshell/esh-util.el (eshell-sublist):
7203 Remove unused local variables.
7204
7205 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7206
7207 * textmodes/two-column.el: Make 2C-split work for --without-x.
7208 (scroll-bar-columns): Autoload.
7209 (top-level): Require fringe when compiling.
7210
7211 2013-09-18 Leo Liu <sdl.web@gmail.com>
7212
7213 * subr.el (add-hook): Robustify to handle closure as well.
7214
7215 2013-09-17 Glenn Morris <rgm@gnu.org>
7216
7217 * simple.el (messages-buffer-mode-map): Unbind "g".
7218
7219 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7220
7221 * help-mode.el (help-mode-finish): Use derived-mode-p.
7222 Remove obsolete highlighting.
7223
7224 * play/life.el (life-mode): Use define-derived-mode. Derive from
7225 special-mode.
7226 (life): Let-bind inhibit-read-only.
7227 (life-setup): Avoid `setq'. Use `life-mode'.
7228
7229 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7230 which should not be needed any more.
7231 (package-menu-refresh, package-menu-describe-package): Use user-error.
7232
7233 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7234 (eshell-post-rewrite-command-hook): Make obsolete.
7235 (eshell-parse-command): Simplify.
7236 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7237 (eshell--cmd): Declare.
7238 (eshell-parse-pipeline): Remove unused var `final-p'.
7239 Pass a dynvar to eshell-post-rewrite-command-hook.
7240 Implement the new eshell-post-rewrite-command-function.
7241 (eshell-invoke-directly): Remove unused arg `input'.
7242 * eshell/esh-io.el (eshell-io-initialize):
7243 Use eshell-post-rewrite-command-function (bug#15399).
7244 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7245 adjust to new calling convention.
7246 (eshell-create-handles): Rename args to avoid clashing with dynvar
7247 `standard-output'.
7248
7249 2013-09-17 Glenn Morris <rgm@gnu.org>
7250
7251 * simple.el (messages-buffer-mode): New major mode.
7252 (messages-buffer): New function.
7253 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7254 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7255 (ert-run-test): Use `messages-buffer' function.
7256 (ert--force-message-log-buffer-truncation): Ignore read-only.
7257 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7258 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7259
7260 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7261
7262 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7263
7264 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7265
7266 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * icomplete.el (icomplete-in-buffer): New var.
7269 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7270 vars and replace them with functions.
7271 (icomplete-minibuffer-setup): Adjust accordingly.
7272 (icomplete--completion-table, icomplete--completion-predicate)
7273 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7274 New functions.
7275 (icomplete-forward-completions, icomplete-backward-completions)
7276 (icomplete-simple-completing-p, icomplete-exhibit)
7277 (icomplete-completions): Use them.
7278 (icomplete--in-region-buffer): New var.
7279 (icomplete--in-region-setup): New function.
7280 (icomplete-mode): Use it.
7281
7282 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7283 (bug#15379).
7284 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7285 return args and options.
7286 (eshell-eval-using-options): Use the new return value of
7287 eshell--do-opts to set the options's vars in their scope.
7288 (eshell--set-option): Rename from eshell-set-option.
7289 Add arg `opt-vals'.
7290 (eshell--process-option): Rename from eshell-process-option.
7291 Add arg `opt-vals'.
7292 (eshell--process-args): Use an `opt-vals' alist to store the options's
7293 values during their processing and return them additionally to the
7294 remaining args.
7295
7296 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7297
7298 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7299 continuation character an operator, as far as indentation is
7300 concerned (Bug#15369).
7301
7302 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7303
7304 * window.el (window--state-put-2): Don't process buffer state
7305 when buffer doesn't exist any more (Bug#15382).
7306
7307 2013-09-15 Glenn Morris <rgm@gnu.org>
7308
7309 * eshell/em-unix.el (eshell/rm):
7310 Make -f ignore missing files. (Bug#15373)
7311
7312 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7313 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7314 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7315
7316 2013-09-14 Glenn Morris <rgm@gnu.org>
7317
7318 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7319
7320 2013-09-13 Glenn Morris <rgm@gnu.org>
7321
7322 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7323 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7324
7325 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7326
7327 * frame.el (x-focus-frame): Mark as declared in frame.c.
7328
7329 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7330
7331 * ls-lisp.el: Use advice-add.
7332 (original-insert-directory): Remove.
7333 (ls-lisp--insert-directory): Rename from insert-directory; add
7334 `orig-fun' argument.
7335 (insert-directory): Advise.
7336
7337 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7338
7339 * term.el (term-emulate-terminal): Decode the command string
7340 before passing it to term-command-hook. (Bug#15337)
7341
7342 2013-09-13 Glenn Morris <rgm@gnu.org>
7343
7344 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7345
7346 * eshell/esh-ext.el (eshell-search-path): Declare.
7347
7348 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7349 Otherwise an error occurs if eshell-dirs module not loaded.
7350
7351 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7352
7353 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7354
7355 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7356 `tramp-check-proper-host'. Check for a valid method name.
7357
7358 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7359 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7360 * net/tramp-sh.el (tramp-maybe-open-connection):
7361 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7362
7363 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7364 also for hash values.
7365
7366 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7367
7368 * term/ns-win.el (parameters): Don't declare as dynamic.
7369 (before-make-frame-hook): Don't add ineffective function.
7370
7371 * eshell/*.el: Use lexical-binding (bug#15231).
7372
7373 2013-09-12 Kenichi Handa <handa@gnu.org>
7374
7375 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7376
7377 2013-09-12 Glenn Morris <rgm@gnu.org>
7378
7379 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7380 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7381
7382 * subr.el (do-after-load-evaluation): Also give compiler warnings
7383 when obsolete files are used (except by obsolete files).
7384
7385 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7386 in the status output, assume `filename' is the first. (Bug#15322)
7387
7388 * vc/vc.el (vc-deduce-fileset): Doc fix.
7389
7390 * calc/calc-help.el (Info-goto-node):
7391 * progmodes/cperl-mode.el (Info-find-node):
7392 * vc/ediff.el (Info-goto-node): Update declarations.
7393
7394 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7395
7396 * vc/vc-bzr.el (vc-compilation-mode): Declare.
7397 (vc-bzr-pull): Require vc-dispatcher.
7398 * vc/vc-git.el (vc-compilation-mode): Declare.
7399 (vc-git-pull): Require vc-dispatcher.
7400
7401 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7402
7403 * progmodes/octave.el (help-button-action): Declare.
7404
7405 * shell.el (shell-directory-tracker): Output error as a message
7406 rather than just returning it as a string.
7407 (shell-process-pushd): Remove useless use of message.
7408
7409 * dframe.el (dframe-timer-fn):
7410 * files.el (dir-locals-read-from-file):
7411 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7412 (mpc-format):
7413 * reveal.el (reveal-post-command):
7414 * saveplace.el (load-save-place-alist-from-file):
7415 * shell.el (shell-resync-dirs):
7416 * w32-common-fns.el (x-get-selection-value):
7417 * emacs-lisp/copyright.el (copyright-find-copyright):
7418 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7419 * emulation/tpu-edt.el (tpu-copy-keyfile):
7420 * play/bubbles.el (bubbles--mark-neighbourhood):
7421 * progmodes/executable.el
7422 (executable-make-buffer-file-executable-if-script-p):
7423 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7424
7425 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 Cleanup Eshell to rely less on dynamic scoping.
7428 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7429 last-value, and ext-command here. Bind `args' closer to `body'.
7430 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7431 (eshell--args): Declare new dynamic var.
7432 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7433 last-value, and ext-command. Pass `args' to `body'.
7434 (eshell-process-args): Bind eshell--args.
7435 (eshell-set-option): Use eshell--args.
7436 * eshell/eshell.el (eshell): Use derived-mode-p.
7437 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7438 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7439 (eshell-glob-function): Declare.
7440 * eshell/esh-util.el: Require cl-lib.
7441 (eshell-read-hosts-file): Avoid add-to-list.
7442 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7443 `err'.
7444 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7445 Declare.
7446 (eshell/diff): Remove unused var `err'.
7447 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7448 `killflag'.
7449 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7450 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7451 first use.
7452 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7453 Move declaration before first use.
7454 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7455 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7456 rely on cl-return.
7457
7458 2013-09-12 Glenn Morris <rgm@gnu.org>
7459
7460 * term/ns-win.el (global-map): Remove binding for ispell-next,
7461 deleted 1999-05-29. (Bug#15357)
7462
7463 2013-09-11 Glenn Morris <rgm@gnu.org>
7464
7465 * echistory.el (electric-command-history): Remove call to deleted func.
7466
7467 * play/landmark.el (landmark-mode): Fix typos.
7468
7469 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7470 Check cvs-sort-ignore-file is bound.
7471
7472 * savehist.el: No need for cl when compiling on Emacs.
7473
7474 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7477 (bug#15338).
7478 (eshell-self-insert-command, eshell-send-invisible):
7479 Remove unused argument.
7480 (eshell-handle-control-codes): Remove unused var `orig'.
7481 Avoid delete-backward-char.
7482
7483 * files.el (set-auto-mode): Simplify a bit further.
7484
7485 2013-09-11 Glenn Morris <rgm@gnu.org>
7486
7487 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7488 (set-auto-mode): Don't regexp-quote elements.
7489 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7490 * progmodes/cc-mode.el (interpreter-mode-alist):
7491 * progmodes/ruby-mode.el (interpreter-mode-alist):
7492 Revert previous change.
7493
7494 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7495
7496 * play/snake.el (snake-mode):
7497 * play/mpuz.el (mpuz-mode):
7498 * play/landmark.el (lm-mode):
7499 * play/blackbox.el (blackbox-mode):
7500 * play/5x5.el (5x5-mode):
7501 * obsolete/options.el (Edit-options-mode):
7502 * net/quickurl.el (quickurl-list-mode):
7503 * net/newst-treeview.el (newsticker-treeview-mode):
7504 * mail/rmailsum.el (rmail-summary-mode):
7505 * mail/mspools.el (mspools-mode):
7506 * locate.el (locate-mode):
7507 * ibuffer.el (ibuffer-mode):
7508 * emulation/ws-mode.el (wordstar-mode):
7509 * emacs-lisp/debug.el (debugger-mode):
7510 * array.el (array-mode):
7511 * net/eudc.el (eudc-mode): Use define-derived-mode.
7512 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7513 Move initialization into declaration.
7514 (mairix-searches-mode): Use define-derived-mode.
7515 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7516 (eudc-edit-hotlist): Use dolist.
7517 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7518 (Man-mode): Use define-derived-mode.
7519 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7520 (Info-edit-mode): Use define-derived-mode.
7521 (Info-cease-edit): Use Info-mode.
7522 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7523 into declaration.
7524 (eshell-mode): Use define-derived-mode.
7525 * chistory.el (command-history-mode-map): Rename from
7526 command-history-map.
7527 (command-history-mode): Use define-derived-mode.
7528 (Command-history-setup): Remove function.
7529 * calc/calc.el (calc-trail-mode-map): New var.
7530 (calc-trail-mode): Use define-derived-mode.
7531 (calc-trail-buffer): Set calc-main-buffer manually.
7532 * bookmark.el (bookmark-insert-annotation): New function.
7533 (bookmark-edit-annotation): Use it.
7534 (bookmark-edit-annotation-mode): Make it a proper major mode.
7535 (bookmark-send-edited-annotation): Use derived-mode-p.
7536 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7537 closer to its ideal place. Use \' to match EOS.
7538
7539 * profiler.el (profiler-calltree-find): Use function-equal.
7540
7541 2013-09-10 Glenn Morris <rgm@gnu.org>
7542
7543 * files.el (interpreter-mode-alist): Convert to regexps.
7544 (set-auto-mode): Adapt for this. (Bug#15306)
7545 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7546 Comment out unused variable.
7547 * progmodes/cc-mode.el (interpreter-mode-alist):
7548 * progmodes/python.el (interpreter-mode-alist):
7549 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7550 * progmodes/sh-script.el (sh-set-shell):
7551 No longer use interpreter-mode-alist to get list of shells.
7552
7553 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7554
7555 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * simple.el: Use set-temporary-overlay-map for universal-argument.
7558 (universal-argument-map): Don't use default-bindings (bug#15317).
7559 Bind switch-frame explicitly. Replace universal-argument-minus with
7560 a conditional binding.
7561 (universal-argument-num-events, saved-overriding-map): Remove.
7562 (restore-overriding-map): Remove.
7563 (universal-argument--mode): Rename from save&set-overriding-map,
7564 and rewrite.
7565 (universal-argument, universal-argument-more, negative-argument)
7566 (digit-argument): Adjust accordingly.
7567 (universal-argument-minus): Remove.
7568 (universal-argument-other-key): Remove.
7569
7570 * subr.el (with-demoted-errors): Add `format' argument.
7571
7572 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7573
7574 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7575 `tramp-cleanup-connection'.
7576
7577 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7578 parameters KEEP-DEBUG and KEEP-PASSWORD.
7579
7580 * net/tramp.el (tramp-file-name-handler):
7581 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7582 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7583 (tramp-maybe-open-connection):
7584 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7585 Use `tramp-cleanup-connection'.
7586
7587 * net/tramp-sh.el (tramp-maybe-open-connection):
7588 Catch 'uname-changed inside the progress reporter.
7589
7590 2013-09-10 Glenn Morris <rgm@gnu.org>
7591
7592 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7593
7594 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7595 returns "alternate access method" in mode (eg "-rw-r--r--.").
7596
7597 2013-09-08 Glenn Morris <rgm@gnu.org>
7598
7599 * saveplace.el (load-save-place-alist-from-file):
7600 Demote errors. (Bug#15305)
7601
7602 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7603
7604 Improve compatibility with older Emacsen, and XEmacs.
7605
7606 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7607 only if it is bound. It isn't for XEmacs.
7608 (with-tramp-progress-reporter): Do not let-bind `result'.
7609 This yields to scoping errors in XEmacs.
7610 (tramp-handle-make-auto-save-file-name): New function, moved from
7611 tramp-sh.el.
7612
7613 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7614 for `make-auto-save-file-name'.
7615 (tramp-adb--gnu-switches-to-ash):
7616 Use `tramp-compat-replace-regexp-in-string'.
7617
7618 * net/tramp-cache.el (tramp-cache-print): Call
7619 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7620
7621 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7622 bound. It isn't for XEmacs.
7623
7624 * net/tramp-compat.el (tramp-compat-copy-file):
7625 Catch `wrong-number-of-arguments' error.
7626 (tramp-compat-replace-regexp-in-string): New defun.
7627
7628 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7629 for `make-auto-save-file-name'.
7630 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7631 `copy-file'.
7632 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7633 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7634 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7635
7636 * net/tramp-gw.el (tramp-gw-open-network-stream):
7637 Use `tramp-compat-replace-regexp-in-string'.
7638
7639 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7640 Call `tramp-handle-make-auto-save-file-name'.
7641 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7642 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7643 (tramp-sh-file-inotifywait-process-filter):
7644 Use `tramp-compat-replace-regexp-in-string'.
7645 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7646
7647 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7648 for `make-auto-save-file-name'.
7649 (tramp-smb-handle-copy-directory):
7650 Call `tramp-compat-replace-regexp-in-string'.
7651 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7652 (tramp-smb-handle-copy-file): Improve error message.
7653 (tramp-smb-handle-rename-file): Rename directly only in case
7654 `newname' does not exist yet. This is a restriction of smbclient.
7655 (tramp-smb-maybe-open-connection): Rerun the function only when
7656 `auth-sources' is non-nil.
7657
7658 2013-09-08 Kenichi Handa <handa@gnu.org>
7659
7660 * international/characters.el: Set category "^" (Combining) for
7661 more characters.
7662
7663 2013-09-07 Alan Mackenzie <acm@muc.de>
7664
7665 Correctly fontify Java class constructors.
7666 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7667 in Java Mode.
7668 (c-recognize-typeless-decls): Set the Java value to t.
7669 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7670 While handling a "(", add a check for, effectively, Java, and handle a
7671 "typeless" declaration there.
7672
7673 2013-09-07 Roland Winkler <winkler@gnu.org>
7674
7675 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7676 field subtitle for entry type book.
7677
7678 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * minibuffer.el: Make minibuffer-complete call completion-in-region
7681 rather than other way around.
7682 (completion--some, completion-pcm--find-all-completions):
7683 Don't delay signals when debugging.
7684 (minibuffer-completion-contents): Beware fields within the
7685 minibuffer contents.
7686 (completion-all-sorted-completions): Use defvar-local.
7687 (completion--do-completion, completion--cache-all-sorted-completions)
7688 (completion-all-sorted-completions, minibuffer-force-complete):
7689 Add args `beg' and `end'.
7690 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7691 (minibuffer-complete): Use completion-in-region.
7692 (completion-complete-and-exit): New fun, extracted from
7693 minibuffer-complete-and-exit.
7694 (minibuffer-complete-and-exit): Use it.
7695 (completion--complete-and-exit): Rename from
7696 minibuffer--complete-and-exit.
7697 (completion-in-region--single-word): New function, extracted from
7698 minibuffer-complete-word.
7699 (minibuffer-complete-word): Use it.
7700 (display-completion-list): Make `common-substring' argument obsolete.
7701 (completion--in-region): Call completion--in-region-1 instead of
7702 minibuffer-complete.
7703 (completion-help-at-point): Pass boundaries to
7704 minibuffer-completion-help as args rather than via an overlay.
7705 (completion-pcm--string->pattern): Use `any-delim'.
7706 (completion-pcm--optimize-pattern): New function.
7707 (completion-pcm--pattern->regex): Handle `any-delim'.
7708 * icomplete.el (icomplete-forward-completions)
7709 (icomplete-backward-completions, icomplete-completions):
7710 Adjust calls to completion-all-sorted-completions and
7711 completion--cache-all-sorted-completions.
7712 (icomplete-with-completion-tables): Default to t.
7713 * emacs-lisp/crm.el (crm--current-element): Rename from
7714 crm--select-current-element. Don't put an overlay but return the
7715 boundaries instead.
7716 (crm--completion-command): Take two new args to bind to the boundaries.
7717 (crm-completion-help): Adjust accordingly.
7718 (crm-complete): Use completion-in-region.
7719 (crm-complete-word): Use completion-in-region--single-word.
7720 (crm-complete-and-exit): Use completion-complete-and-exit.
7721
7722 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7723
7724 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7725 than dynamically.
7726
7727 2013-09-06 Juri Linkov <juri@jurta.org>
7728
7729 * info.el (Info-display-images-node): When image file doesn't exist
7730 display text version of the image if it's provided in the Info file.
7731 Otherwise, display the location of missing image from SRC attribute.
7732 Add help-echo text property from ALT attribute. (Bug#15279)
7733
7734 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7735
7736 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7737 (edit-abbrevs-mode): Use define-derived-mode.
7738
7739 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7740 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7741 that it's defined.
7742 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7743 Use define-derived-mode.
7744
7745 * epg.el (epg-start-encrypt): Minor CSE simplification.
7746
7747 2013-09-06 William Xu <william.xwl@gmail.com>
7748
7749 * arc-mode.el: Add support for 7za (bug#15264).
7750 (archive-7z-program): New var.
7751 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7752 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7753 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7754
7755 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7756
7757 Remove URL syntax.
7758
7759 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7760 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7761 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7762 (tramp-postfix-host-format, tramp-file-name-regexp)
7763 (tramp-completion-file-name-regexp)
7764 (tramp-completion-dissect-file-name)
7765 (tramp-handle-substitute-in-file-name): Remove 'url case.
7766 (tramp-file-name-regexp-url)
7767 (tramp-completion-file-name-regexp-url): Remove constants.
7768
7769 2013-09-06 Glenn Morris <rgm@gnu.org>
7770
7771 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7772
7773 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7774
7775 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7776 keywords" below "here-doc beginnings" (Bug#15270).
7777
7778 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 * subr.el (pop): Use `car-safe'.
7781 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7782 to detect unused `pop' return value.
7783
7784 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7785 var `block-regexp'.
7786 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7787 (python-fill-string): Remove unused var `marker'.
7788 (python-skeleton-add-menu-items): Remove unused var `items'.
7789
7790 * international/mule-cmds.el: Require CL.
7791 (find-coding-systems-for-charsets): Avoid add-to-list.
7792 (sanitize-coding-system-list): New function, extracted from
7793 select-safe-coding-system-interactively.
7794 (select-safe-coding-system-interactively): Use it.
7795 (read-input-method-name): Accept symbols for `default'.
7796
7797 * emacs-lisp/advice.el (defadvice): Add indent rule.
7798
7799 2013-09-05 Daniel Hackney <dan@haxney.org>
7800
7801 * dired-x.el:
7802 * net/ange-ftp.el:
7803 * net/browse-url.el:
7804 * net/dbus.el:
7805 * net/eudc.el:
7806 * net/eudcb-ldap.el:
7807 * net/eww.el:
7808 * net/imap.el:
7809 * printing.el:
7810 * vc/ediff-diff.el:
7811 * vc/ediff-init.el:
7812 * vc/ediff-merg.el:
7813 * vc/ediff-mult.el:
7814 * vc/ediff-util.el:
7815 * vc/ediff-wind.el:
7816 * vc/ediff.el:
7817 * vc/emerge.el:
7818 * vc/pcvs.el:
7819 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7820 byte compiler. Remove some unused let-bound variables.
7821
7822 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7823
7824 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7825 a "ref-cell", since it gets better optimized (bug#14883).
7826
7827 2013-09-05 Glenn Morris <rgm@gnu.org>
7828
7829 * progmodes/cc-awk.el (c-forward-sws): Declare.
7830
7831 2013-09-04 Glenn Morris <rgm@gnu.org>
7832
7833 * generic-x.el [rul-generic-mode]: Require cc-mode.
7834 (c++-mode-syntax-table): Declare.
7835 (rul-generic-mode-syntax-table): Init in the defvar.
7836
7837 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7838
7839 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7840 (vc-do-command, vc-set-async-update):
7841 * vc/vc-mtn.el (vc-mtn-dir-status):
7842 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7843 (vc-hg-pull, vc-hg-merge-branch):
7844 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7845 (vc-git-merge-branch):
7846 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7847 (vc-cvs-dir-status-files):
7848 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7849 (vc-bzr-dir-status-files):
7850 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7851 * vc/vc-annotate.el: Use lexical-binding.
7852 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7853 (vc-sentinel-movepoint): Declare.
7854 (vc-annotate): Don't use `goto-line'.
7855 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7856 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7857 (vc-sentinel-movepoint): Declare.
7858 * vc/vc-svn.el: Use lexical-binding.
7859 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7860 * vc/vc-sccs.el:
7861 * vc/vc-rcs.el: Use lexical-binding.
7862
7863 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7864 `deleted'. Don't drop errors silently.
7865
7866 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7867
7868 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7869
7870 * vc/vc.el (vc-ignore): Rewrite.
7871 (vc-default-ignore): New function.
7872 (vc-default-ignore-completion-table): Use find-ignore-file.
7873
7874 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7875 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7876 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7877 Remove. Most code moved to vc.el.
7878
7879 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7882 * net/tramp-smb.el (tramp-smb-get-file-entries):
7883 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7884 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7885
7886 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7887 Update call to it.
7888 (eww-change-select): Remove unused var `properties'.
7889 (eww-make-unique-file-name): Remove unused var `base'.
7890
7891 * finder.el (finder-compile-keywords): Don't mess with windows.
7892
7893 * calculator.el (calculator-funcall): Fix typo in last change.
7894
7895 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7896
7897 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7898 <pkg>-autoloads.el file stop us.
7899
7900 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7901 warnings, and factor out common code.
7902
7903 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7904
7905 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7906 two-character operators and whether the character preceding them
7907 changes their meaning (Bug#15208).
7908
7909 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7910
7911 Format code sent to Python shell for robustness.
7912 * progmodes/python.el (python-shell-buffer-substring):
7913 New function.
7914 (python-shell-send-region, python-shell-send-buffer): Use it.
7915
7916 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7917
7918 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7919 * net/tramp.el (tramp-user-error): ... here.
7920 (tramp-find-method, tramp-check-proper-host)
7921 (tramp-dissect-file-name, tramp-debug-message)
7922 (tramp-handle-shell-command):
7923 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7924 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7925
7926 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7927
7928 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7929
7930 * avoid.el (mouse-avoidance-point-position)
7931 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7932 returns nil.
7933
7934 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7935
7936 * progmodes/python.el (python-shell-completion-get-completions):
7937 Drop use of deleted `comint-last-prompt-overlay'.
7938 (python-nav-if-name-main): New command.
7939
7940 2013-09-01 Glenn Morris <rgm@gnu.org>
7941
7942 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7943 Avoid leading space in $wins. Otherwise the sed command used by
7944 eg compile-main ends up containing "/*.el". (Bug#15170)
7945
7946 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7947
7948 2013-08-30 Glenn Morris <rgm@gnu.org>
7949
7950 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7951 Fix is-this-a-directory logic. (Bug#15220)
7952
7953 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * textmodes/css-mode.el: Use SMIE.
7956 (css-smie-grammar): New var.
7957 (css-smie--forward-token, css-smie--backward-token)
7958 (css-smie-rules): New functions.
7959 (css-mode): Use them.
7960 (css-navigation-syntax-table): Remove var.
7961 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7962 (css-indent-calculate, css-indent-line): Remove functions.
7963
7964 Misc changes to reduce use of `(lambda...); and other cleanups.
7965 * cus-edit.el: Use lexical-binding.
7966 (customize-push-and-save, customize-apropos)
7967 (custom-buffer-create-internal): Use closures.
7968 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7969 * progmodes/ada-xref.el: Use setq.
7970 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7971 * dframe.el: Use lexical-binding.
7972 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7973 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7974 * descr-text.el: Use lexical-binding.
7975 (describe-text-widget, describe-text-sexp, describe-property-list):
7976 Use closures.
7977 * comint.el (comint-history-isearch-push-state): Use a closure.
7978 * calculator.el: Use lexical-binding.
7979 (calculator-number-to-string): Make it work with lexical-binding.
7980 (calculator-funcall): Same and use cl-letf.
7981
7982 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7983 (lisp--company-doc-string, lisp--company-location): New functions.
7984 (lisp-completion-at-point): Use them to improve Company support.
7985
7986 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7987 params of lambda expressions.
7988 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7989 (ruby-smie--opening-pipe-p): New function.
7990 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7991 symbols and matched |...| for formal params.
7992 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7993 from being treated as hanging. Handle "rescue".
7994
7995 2013-08-29 Glenn Morris <rgm@gnu.org>
7996
7997 * progmodes/cc-engine.el (c-pull-open-brace):
7998 Move definition before use.
7999
8000 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8001
8002 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8003 are immutable. Don't use `unsafe' any more.
8004 (cl--defsubst-expand): Don't substitute at the same time as keeping
8005 a residual unused let-binding. Don't use `unsafe' any more.
8006
8007 2013-08-29 Glenn Morris <rgm@gnu.org>
8008
8009 * calendar/cal-china.el (calendar-chinese-year-cache):
8010 Recenter on 2015.
8011
8012 * nxml/nxml-util.el (nxml-debug-clear-inside):
8013 Use cl-loop rather than loop.
8014
8015 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8016
8017 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8018
8019 2013-08-28 Glenn Morris <rgm@gnu.org>
8020
8021 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8022
8023 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8024
8025 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8026
8027 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * simple.el (repeat-complex-command--called-interactively-skip):
8030 New function.
8031 (repeat-complex-command): Use it (bug#14136).
8032
8033 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8034 (c-define-abbrev-table): Add `doc' argument.
8035 (c-mode-abbrev-table, c++-mode-abbrev-table)
8036 (objc-mode-abbrev-table, java-mode-abbrev-table)
8037 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8038 (awk-mode-abbrev-table): Use it.
8039 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8040 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8041 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8042 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8043 Move initialization into the declaration; and remove any
8044 autoload cookie.
8045
8046 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8047 and dynamic let binding.
8048
8049 * vc/smerge-mode.el: Remove redundant :group args.
8050
8051 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8052 to load-path.
8053
8054 2013-08-28 Juri Linkov <juri@jurta.org>
8055
8056 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8057 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8058 (isearch-other-meta-char): Handle an undefined shifted printing
8059 character by downshifting it. (Bug#15200)
8060
8061 2013-08-28 Juri Linkov <juri@jurta.org>
8062
8063 * isearch.el (isearch-search): Change regexp error message for
8064 non-regexp searches. (Bug#15166)
8065
8066 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8067
8068 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8069 for portability to hosts where /bin/sh has problems.
8070
8071 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8072
8073 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8074
8075 2013-08-27 Juri Linkov <juri@jurta.org>
8076
8077 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8078 in the keyboard macro. (Bug#15126)
8079
8080 2013-08-27 Juri Linkov <juri@jurta.org>
8081
8082 * isearch.el (isearch-quote-char): Comment out converting unibyte
8083 to multibyte, thus syncing with its `quoted-insert' counterpart.
8084 (Bug#15166)
8085
8086 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8087
8088 * window.el (display-buffer-use-some-window): Add missing
8089 argument in call of get-largest-window (Bug#15185).
8090 Reported by Stephen Leake.
8091
8092 2013-08-27 Glenn Morris <rgm@gnu.org>
8093
8094 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8095
8096 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8099 from a matcher-function unless there's no more matches (bug#15161).
8100
8101 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8102
8103 * minibuffer.el: Revert change from 2013-08-20.
8104
8105 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8106 with text property `tramp-default', if appropriate.
8107 (tramp-check-proper-host): New defun.
8108 (tramp-dissect-file-name): Do not check hostname. Revert change
8109 of 2013-03-18.
8110 (tramp-backtrace): Make VEC-OR-PROC optional.
8111
8112 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8113 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8114 * net/tramp-sh.el (tramp-maybe-open-connection):
8115 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8116 Apply `tramp-check-proper-host'.
8117
8118 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8119
8120 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8121 lambda expression in order to have `describe-variable' display it.
8122
8123 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8124
8125 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8126 BUF can be optional. (Bug#15186)
8127
8128 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8129
8130 * progmodes/flymake.el (flymake-get-real-file-name-function):
8131 Fix broken customization. (Bug#15184)
8132
8133 2013-08-25 Alan Mackenzie <acm@muc.de>
8134
8135 Improve indentation of bracelists defined by macros (without "=").
8136
8137 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8138 expansion begins with "{", regard it as bracelist when it doesn't
8139 contain a ";".
8140
8141 Parse C++ inher-intro when there's a template split over 2 lines.
8142
8143 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8144 rigorously the search for "class" etc. followed by ":".
8145
8146 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8147 random languages a regexp which never matches rather than nil.
8148
8149 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8150
8151 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8152 (c-awk-regexp-one-line-possibly-open-char-list-re)
8153 (c-awk-one-line-possibly-open-regexp-re)
8154 (c-awk-one-line-non-syn-ws*-re): Remove.
8155 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8156 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8157 (c-awk-space*-unclosed-regexp-/-re): New constants.
8158 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8159 aren't regexp delimiters.
8160
8161 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8162 handling for a rare situation in AWK Mode involving unterminated
8163 strings/regexps.
8164
8165 2013-08-23 Glenn Morris <rgm@gnu.org>
8166
8167 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8168
8169 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8170
8171 * files.el (create-file-buffer): If the result would begin with
8172 spaces, prepend a "|" instead of removing them. (Bug#15162)
8173
8174 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8177 text-properties (bug#15155).
8178
8179 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8180 exist any more.
8181 (calc-keypad-redraw): Remove unused var `pad'.
8182 (calc-keypad-press): Remove unused var `menu'.
8183
8184 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8185
8186 * window.el (display-buffer-pop-up-frame):
8187 Call pop-up-frame-function with BUFFER current so `make-frame' will
8188 use it as the new frame's buffer (Bug#15133).
8189
8190 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8191
8192 * calendar/timeclock.el: Minor cleanups.
8193 (timeclock-ask-before-exiting, timeclock-use-display-time):
8194 Use `symbol'.
8195 (timeclock-modeline-display): Define as alias before the
8196 actual definition.
8197 (timeclock-mode-line-display): Use define-minor-mode.
8198 (timeclock-day-list-template): Make it a function, add an argument.
8199 (timeclock-day-list-required, timeclock-day-list-length)
8200 (timeclock-day-list-debt, timeclock-day-list-span)
8201 (timeclock-day-list-break): Adjust calls accordingly.
8202
8203 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8204
8205 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8206 Use read--expression so that completion works again.
8207
8208 2013-08-21 Sam Steingold <sds@gnu.org>
8209
8210 Add rudimentary inferior shell interaction
8211 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8212 (sh-set-shell): Reset it.
8213 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8214 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8215
8216 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * align.el: Use lexical-binding.
8219 (align-region): Simplify accordingly.
8220
8221 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8222
8223 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8224
8225 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8226 `non-essential' up.
8227
8228 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8229
8230 * net/tramp.el:
8231 * net/tramp-adb.el:
8232 * net/tramp-cmds.el:
8233 * net/tramp-ftp.el:
8234 * net/tramp-gvfs.el:
8235 * net/tramp-gw.el:
8236 * net/tramp-sh.el: Don't wrap external variable declarations by
8237 `eval-when-compile'.
8238
8239 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8240
8241 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8242 now that Emacs supports ImageMagick animations.
8243
8244 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8245
8246 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8247 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8248
8249 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8250
8251 * window.el (mouse-autoselect-window-select): Do autoselect when
8252 mouse pointer is on margin.
8253
8254 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8255
8256 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8257
8258 2013-08-16 Glenn Morris <rgm@gnu.org>
8259
8260 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8261 Handle "Remote Directory" response of some clients. (Bug#15058)
8262
8263 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8264 Tweak warning. (Bug#14926)
8265
8266 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8267 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8268
8269 * image-mode.el (image-mode-map): Add menu items to reverse,
8270 increase, decrease, reset animation speed.
8271 (image--set-speed, image-increase-speed, image-decrease-speed)
8272 (image-reverse-speed, image-reset-speed): New functions.
8273 (image-mode-map): Add bindings for speed commands.
8274
8275 * image.el (image-animate-get-speed, image-animate-set-speed):
8276 New functions.
8277 (image-animate-timeout): Respect image :speed property.
8278
8279 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8280
8281 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8282 previous line (bug#15101).
8283 (debugger-eval-expression, debugger-record-expression):
8284 Use read--expression (bug#15102).
8285
8286 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8287
8288 Remove byte compiler warnings, visible when compiling with
8289 `byte-compile-force-lexical-warnings' set to t.
8290
8291 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8292 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8293 (tramp-handle-unhandled-file-name-directory)
8294 (tramp-handle-file-notify-add-watch, tramp-action-login)
8295 (tramp-action-succeed, tramp-action-permission-denied)
8296 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8297 arguments with "_".
8298
8299 * net/tramp-adb.el (tramp-adb-parse-device-names)
8300 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8301 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8302 (tramp-adb-handle-file-truename): Remove unused arguments.
8303
8304 * net/tramp-cache.el (tramp-flush-directory-property)
8305 (tramp-flush-connection-property, tramp-list-connections)
8306 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8307
8308 * net/tramp-compat.el (tramp-compat-make-temp-file):
8309 Rename FILENAME to F.
8310
8311 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8312 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8313 (tramp-zeroconf-parse-workstation-device-names)
8314 (tramp-zeroconf-parse-webdav-device-names)
8315 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8316
8317 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8318 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8319
8320 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8321 arguments.
8322 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8323 (tramp-sh-handle-insert-file-contents-literally)
8324 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8325 with "_".
8326 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8327 Remove unused variables.
8328
8329 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8330 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8331 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8332
8333 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8334 Make them a defconst.
8335 (tramp-uuencode-region): Remove unused variable.
8336
8337 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8338
8339 * frameset.el (frameset--prop-setter): New function.
8340 (frameset-prop): Add gv-setter declaration.
8341 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8342 parameter was already set in FILTERED. Doc fix.
8343 (frameset--record-minibuffer-relationships): Allow saving a
8344 minibufferless frame without its corresponding minibuffer frame.
8345 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8346 frame, if the frame id matches.
8347 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8348 frames before orphaned ones.
8349 (frameset-restore): Warn about orphaned windows, instead of error out.
8350
8351 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8352
8353 * window.el (window-make-atom): Don't overwrite parameter
8354 already present.
8355 (display-buffer-in-atom-window): Handle special case where we
8356 split an already atomic window.
8357 (window--major-non-side-window, display-buffer-in-side-window)
8358 (window--side-check): Ignore minibuffer window when walking
8359 window tree.
8360 (window-deletable-p): Return 'frame only if no other frame uses
8361 our minibuffer window.
8362 (record-window-buffer): Run buffer-list-update-hook.
8363 (split-window): Make sure window--check-frame won't destroy an
8364 existing atomic window in case the new window gets nested
8365 inside.
8366 (display-buffer-at-bottom): Ignore minibuffer window when
8367 walking window tree. Don't split a side window.
8368 (pop-to-buffer): Don't set-buffer here, the select-window call
8369 should do that.
8370 (mouse-autoselect-window-select): Autoselect only if we are in the
8371 text portion of the window.
8372
8373 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8374
8375 * net/shr.el (shr-parse-image-data): New function to grab both the
8376 data itself and the Content-Type.
8377 (shr-put-image): Use it.
8378
8379 * net/eww.el (eww-display-image): Ditto.
8380
8381 * image.el (image-content-type-suffixes): New variable.
8382
8383 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8384
8385 * progmodes/python.el (python-imenu--build-tree)
8386 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8387
8388 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8389
8390 * simple.el (backward-word): Mention the optional argument.
8391
8392 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8393
8394 * frameset.el (frameset--make): Rename constructor from make-frameset.
8395 (frameset-p, frameset-valid-p): Don't autoload.
8396 (frameset-valid-p): Use normal accessors.
8397
8398 2013-08-13 Glenn Morris <rgm@gnu.org>
8399
8400 * progmodes/compile.el (compile-command): Tweak example in doc.
8401 * obsolete/scribe.el (scribe-mode):
8402 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8403
8404 * mail/feedmail.el (feedmail-confirm-outgoing)
8405 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8406
8407 * cus-start.el (truncate-partial-width-windows): Fix type.
8408
8409 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8410
8411 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8412
8413 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8414
8415 * emacs-lisp/timer.el (timer--time-setter): New function.
8416 (timer--time): Use it as gv-setter.
8417
8418 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8419 setter is not a symbol.
8420
8421 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
8422
8423 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8424 if sending fails. This makes debugging easier.
8425
8426 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8427
8428 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8429 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8430 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8431
8432 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8433
8434 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8435
8436 2013-08-12 Glenn Morris <rgm@gnu.org>
8437
8438 * format.el (format-annotate-function):
8439 Handle read-only text properties in the source. (Bug#14887)
8440
8441 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8442
8443 * net/eww.el (eww-display-html): Ignore coding system errors.
8444 One web site uses "utf-8lias" as the coding system.
8445
8446 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8447
8448 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8449
8450 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8451
8452 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8453 (tutorial--detailed-help): Remove unused local variables.
8454 (tutorial--save-tutorial-to): Use ignore-errors.
8455 (help-with-tutorial): Use looking-at-p.
8456
8457 * view.el (view-buffer-other-window, view-buffer-other-frame):
8458 Mark unused arguments.
8459
8460 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8461 (woman-select-symbol-fonts, woman, woman-find-file)
8462 (woman-insert-file-contents, woman-non-underline-faces):
8463 Use string-match-p.
8464 (woman1-unquote): Move declaration.
8465
8466 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8467 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8468 argument. Remove unused local variable.
8469 (xml-parse-elem-type): Use string-match-p.
8470 (xml-substitute-numeric-entities): Use ignore-errors.
8471
8472 * calculator.el (calculator): Mark unused argument.
8473 (calculator-paste, calculator-quit, calculator-integer-p):
8474 Use ignore-errors.
8475 (calculator-string-to-number, calculator-decimal, calculator-exp)
8476 (calculator-op-or-exp): Use string-match-p.
8477
8478 * dired.el (dired-buffer-more-recently-used-p): Declare.
8479 (dired-insert-set-properties, dired-insert-old-subdirs):
8480 Use ignore-errors.
8481
8482 * dired-aux.el (dired-compress): Use ignore-errors.
8483 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8484 (dired-do-async-shell-command, dired-do-shell-command)
8485 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8486 (dired-insert-subdir-validate): Use string-match-p.
8487 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8488 (dired-add-entry): Use string-match-p, looking-at-p.
8489 (dired-insert-subdir-newpos): Remove unused local variable.
8490
8491 * filenotify.el (file-notify-callback): Remove unused local variable.
8492
8493 * filesets.el (filesets-error): Mark unused argument.
8494 (filesets-which-command-p, filesets-filter-dir-names)
8495 (filesets-directory-files, filesets-get-external-viewer)
8496 (filesets-ingroup-get-data): Use string-match-p.
8497
8498 * find-file.el (ff-other-file-name, ff-other-file-name)
8499 (ff-find-the-other-file, ff-cc-hh-converter):
8500 Remove unused local variables.
8501 (ff-get-file-name): Use string-match-p.
8502 (ff-all-dirs-under): Use ignore-errors.
8503
8504 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8505 (follow-select-if-visible): Remove unused local variable.
8506
8507 * forms.el (read-file-filter): Move declaration.
8508 (forms--make-format, forms--make-parser, forms-insert-record):
8509 Quote function with #'.
8510 (forms--update): Use string-match-p. Quote function with #'.
8511
8512 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8513 (help-make-xrefs): Use looking-at-p.
8514 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8515
8516 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8517 (ibuffer-confirm-operation-on): Use string-match-p.
8518
8519 * msb.el (msb-item-handler, msb-dired-item-handler):
8520 Mark unused arguments.
8521
8522 * ses.el (ses-decode-cell-symbol)
8523 (ses-kill-override): Remove unused local variable.
8524 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8525 (ses-load): Use ignore-errors, looking-at-p.
8526 (ses-jump-safe): Use ignore-errors.
8527 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8528
8529 * tabify.el (untabify, tabify): Mark unused arguments.
8530
8531 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8532 Mark unused argument.
8533 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8534 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8535
8536 * emacs-lisp/timer.el (timer--time): Define setter with
8537 gv-define-setter to avoid deprecation warning.
8538
8539 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8540 (*record-cmpl-statistics-p*): Remove (was commented out).
8541 (cmpl-statistics-block): Remove (body was commented out).
8542 All callers changed.
8543 (add-completions-from-buffer, load-completions-from-file):
8544 Remove unused variables.
8545
8546 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8547
8548 * filecache.el (file-cache-delete-file-list):
8549 Print message only when told so.
8550 (file-cache-files-matching): Use #' in mapconcat argument.
8551
8552 * ffap.el (ffap-url-at-point): Fix reference to variable
8553 thing-at-point-default-mail-uri-scheme.
8554
8555 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8556
8557 * subr.el (define-error): New function.
8558 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8559 error-file-not-found and define with define-error.
8560 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8561 and define with define-error.
8562 * userlock.el (file-locked, file-supersession):
8563 * simple.el (mark-inactive):
8564 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8565 * progmodes/ada-mode.el (ada-mode-errors):
8566 * play/life.el (life-extinct):
8567 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8568 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8569 * nxml/rng-util.el (rng-error):
8570 * nxml/rng-uri.el (rng-uri-error):
8571 * nxml/rng-match.el (rng-compile-error):
8572 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8573 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8574 * nxml/nxml-rap.el (nxml-scan-error):
8575 * nxml/nxml-outln.el (nxml-outline-error):
8576 * net/soap-client.el (soap-error):
8577 * net/gnutls.el (gnutls-error):
8578 * net/ange-ftp.el (ftp-error):
8579 * mpc.el (mpc-proc-error):
8580 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8581 (json-number-format, json-string-escape, json-string-format)
8582 (json-key-format, json-object-format):
8583 * jka-compr.el (compression-error):
8584 * international/quail.el (quail-error):
8585 * international/kkc.el (kkc-error):
8586 * emacs-lisp/ert.el (ert-test-failed):
8587 * calc/calc.el (calc-error, inexact-result, math-overflow)
8588 (math-underflow):
8589 * bookmark.el (bookmark-error-no-filename):
8590 * epg.el (epg-error): Define with define-error.
8591
8592 * time.el (display-time-event-handler)
8593 (display-time-next-load-average): Don't call sit-for since it seems
8594 unnecessary (bug#15045).
8595
8596 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8597 Use #' instead of ' to quote functions.
8598 (checkdoc-output-mode): Use setq-local.
8599 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8600 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8601 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8602 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8603 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8604 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8605 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8606 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8607
8608 * ido.el (ido-completion-help): Fix up compiler warning.
8609
8610 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8611
8612 * frameset.el (frameset-p): Add autoload cookie.
8613 (frameset--jump-to-register): New function, based on code moved from
8614 register.el.
8615 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8616
8617 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8618 (frameset-restore, frameset-save, frameset-session-filter-alist):
8619 Remove declarations.
8620 (register-alist): Doc fix.
8621 (frameset-to-register): Move to frameset.el.
8622 (jump-to-register, describe-register-1): Remove frameset-specific code.
8623
8624 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8625
8626 * allout-widgets.el (allout-widgets-pre-command-business)
8627 (allout-widgets-post-command-business)
8628 (allout-widgets-after-change-handler)
8629 (allout-decorate-item-and-context, allout-set-boundary-marker)
8630 (allout-body-modification-handler)
8631 (allout-graphics-modification-handler): Mark ignored arguments.
8632 (allout-widgets-post-command-business)
8633 (allout-widgets-exposure-change-processor)
8634 (allout-widgets-exposure-undo-processor)
8635 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8636 (allout-parse-item-at-point, allout-decorate-item-guides)
8637 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8638 * allout.el (epa-passphrase-callback-function): Declare.
8639 (allout-overlay-insert-in-front-handler)
8640 (allout-overlay-interior-modification-handler)
8641 (allout-isearch-end-handler, allout-chart-siblings)
8642 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8643 (allout-yank-processing, allout-process-exposed)
8644 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8645 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8646 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8647 (lisp-indent-defform): Mark ignored arguments.
8648 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8649 (calculate-lisp-indent): Remove unused variables.
8650 * international/characters.el (indian-2-column, arabic-2-column)
8651 (tibetan): Mark ignored arguments.
8652 (use-cjk-char-width-table): Mark ignored arguments.
8653 Remove unused variables.
8654 * international/fontset.el (build-default-fontset-data)
8655 (x-compose-font-name, create-fontset-from-fontset-spec):
8656 Mark ignored arguments.
8657 (fontset-plain-name): Remove unused variables.
8658 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8659 (keyboard-coding-system): Mark ignored arguments.
8660 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8661 * help.el (resize-temp-buffer-window):
8662 * window.el (display-buffer-in-major-side-window)
8663 (display-buffer-in-side-window, display-buffer-in-previous-window):
8664 Remove unused variables.
8665 * isearch.el (isearch-forward-symbol):
8666 * version.el (emacs-bzr-version-bzr):
8667 * international/mule-cmds.el (current-language-environment):
8668 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8669 (x-handle-display):
8670 * term/pc-win.el (x-list-fonts, x-display-planes)
8671 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8672 (x-server-version, x-display-screens, x-display-mm-height)
8673 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8674 (x-selection-owner-p, x-own-selection-internal)
8675 (x-disown-selection-internal, x-get-selection-internal)
8676 (msdos-initialize-window-system):
8677 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8678 * term/x-win.el (x-handle-no-bitmap-icon):
8679 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8680 (vc-default-find-file-hook, vc-default-extra-menu):
8681 Mark ignored arguments.
8682
8683 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8684
8685 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8686 break-condition in the context of the debugged code (bug#12685).
8687
8688 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8689
8690 * comint.el:
8691 Do not use an overlay to highlight the last prompt. (Bug#14744)
8692 (comint-mode): Make comint-last-prompt buffer local.
8693 (comint-last-prompt): New variable.
8694 (comint-last-prompt-overlay): Remove. Superseded by
8695 comint-last-prompt.
8696 (comint-snapshot-last-prompt, comint-output-filter):
8697 Use comint-last-prompt.
8698
8699 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8700
8701 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8702 (frameset-save): Check validity of the resulting frameset.
8703
8704 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8705
8706 * ido.el (ido-record-command): Add doc string.
8707
8708 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8709
8710 * frameset.el (frameset): Do not disable creation of the default
8711 frameset-p predicate. Doc fix.
8712 (frameset-valid-p): New function, copied from the old predicate-p.
8713 Add additional checks.
8714 (frameset-restore): Check with frameset-valid-p.
8715 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8716 (frameset-name, frameset-description, frameset-properties)
8717 (frameset-states): Add docstring.
8718 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8719 (frameset-filter-alist): Doc fixes.
8720
8721 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8722
8723 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8724
8725 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8726
8727 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8728 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8729 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8730 (byte-compile-normal-call): Remove obsolescence check.
8731
8732 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8733
8734 * frameset.el (frameset-restore): Doc fix.
8735
8736 * register.el (frameset-frame-id, frameset-frame-with-id)
8737 (frameset-p, frameset-restore, frameset-save): Declare.
8738 (register-alist): Document framesets.
8739 (frameset-session-filter-alist): Declare.
8740 (frameset-to-register): New function.
8741 (jump-to-register): Implement jumping to framesets. Doc fix.
8742 (describe-register-1): Describe framesets.
8743
8744 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8745
8746 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8747
8748 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8749 Use lexical-binding.
8750
8751 * frameset.el (frameset): Use type vector, not list (incompatible
8752 change). Do not declare a new constructor, use the default one.
8753 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8754 `name' and `description', respectively, and add read-only slot
8755 `timestamp'. Doc fixes.
8756 (frameset-copy, frameset-persistent-filter-alist)
8757 (frameset-filter-alist, frameset-switch-to-gui-p)
8758 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8759 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8760 (frameset-filter-iconified, frameset-keep-original-display-p):
8761 Doc fixes.
8762 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8763 Rename from frameset-filter-(save|restore)-param. All callers changed.
8764 Doc fix.
8765 (frameset-p): Adapt to change to vector and be more thorough.
8766 Change arg name to OBJECT. Doc fix.
8767 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8768 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8769 All callers changed.
8770 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8771 All callers changed.
8772 (frameset--record-minibuffer-relationships): Rename from
8773 frameset--process-minibuffer-frames. All callers changed.
8774 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8775 Use new default constructor (again). Doc fix.
8776 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8777 All callers changed.
8778 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8779 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8780 Doc fix.
8781 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8782 PARAMETERS and WINDOW-STATE, respectively.
8783 (frameset-restore): Add new keyword argument PREDICATE.
8784 Reset frameset--target-display to nil. Doc fix.
8785
8786 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8789 (bat-mode): Use it.
8790 (bat-mode-syntax-table): Mark \n as end-of-comment.
8791 (bat-font-lock-keywords): Remove comment rule.
8792
8793 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8794 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8795
8796 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8797 (byte-compile-callargs-warn): Use `push'.
8798 (byte-compile-arglist-warn): Ignore higher-order "calls".
8799 (byte-compile-file-form-autoload): Use `pcase'.
8800 (byte-compile-function-form): If quoting a symbol, check that it exists.
8801
8802 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8803
8804 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8805 and add a few popular commands found in batch files.
8806 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8807 (dos-mode): Doc fixes.
8808
8809 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8812 (dos-mode): Use setq-local. Add space after "rem".
8813 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8814 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8815
8816 2013-08-07 Arni Magnusson <arnima@hafro.is>
8817
8818 * progmodes/dos.el: New file.
8819 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8820 dos-mode.
8821
8822 2013-08-06 Glenn Morris <rgm@gnu.org>
8823
8824 * calendar/calendar.el: Add new faces, and day-header-array.
8825 (calendar-weekday-header, calendar-weekend-header)
8826 (calendar-month-header): New faces.
8827 (calendar-day-header-construct): New function.
8828 (calendar-day-header-width): Also :set calendar-day-header-array.
8829 (calendar-american-month-header, calendar-european-month-header)
8830 (calendar-iso-month-header): Use calendar- faces.
8831 (calendar-generate-month):
8832 Use calendar-day-header-array for day headers; apply faces to them.
8833 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8834 (calendar-abbrev-construct): Add optional maxlen argument.
8835 (calendar-day-name-array): Doc fix.
8836 (calendar-day-name-array, calendar-abbrev-length)
8837 (calendar-day-abbrev-array):
8838 Also :set calendar-day-header-array, and maybe redraw.
8839 (calendar-day-header-array): New option. (Bug#15007)
8840 (calendar-font-lock-keywords): Set to nil and make obsolete.
8841 (calendar-day-name): Add option to use header array.
8842
8843 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8844
8845 * net/shr.el (shr-render-td): Remove debugging.
8846 (shr-render-td): Make width computation consistent by defaulting
8847 all zero-width columns to 10 characters. This may not be optimal,
8848 but it's at least consistent.
8849 (shr-make-table-1): Redo last change to fix the real problem in
8850 colspan handling.
8851
8852 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8853
8854 * files.el (cache-long-line-scans):
8855 Make obsolete alias to `cache-long-scans'.
8856
8857 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8858
8859 * frameset.el (frameset, frameset-filter-alist)
8860 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8861 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8862 (frameset-compute-pos): Rename from frameset--compute-pos,
8863 and add docstring.
8864 (frameset-move-onscreen): Use frameset-compute-pos.
8865 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8866
8867 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8868 Fix typos in docstrings.
8869
8870 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8871
8872 * frame.el (get-other-frame): Tiny cleanup.
8873
8874 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8875
8876 * vc/vc.el (vc-default-ignore-completion-table):
8877 Silence byte-compiler warning.
8878
8879 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8880 slot, which can indeed be nil.
8881 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8882 Move entry for `left' from persistent to live filter alist.
8883 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8884 Doc fixes.
8885 (frameset-filter-params): When restoring a frame, copy items added to
8886 `filtered', to avoid unwittingly modifying the original parameters.
8887 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8888 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8889
8890 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8891 to use looking-at-p instead of looking-at. (Bug#15028)
8892
8893 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 Revert introduction of isearch-filter-predicates (bug#14714).
8896 Rely on add-function instead.
8897 * isearch.el (isearch-filter-predicates): Rename it back to
8898 isearch-filter-predicate.
8899 (isearch-message-prefix): Use advice-function-mapc and advice
8900 properties to get the isearch-message-prefix.
8901 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8902 instead of run-hook-with-args-until-failure.
8903 (isearch-filter-visible): Not obsolete any more.
8904 * loadup.el: Preload nadvice.
8905 * replace.el (perform-replace): Revert to funcall
8906 instead of run-hook-with-args-until-failure.
8907 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8908 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8909 dired-isearch-filenames-toggle; make it into a proper minor mode.
8910 Use add/remove-function.
8911 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8912 Call the minor-mode rather than add/remove-hook.
8913 (dired-isearch-filter-filenames):
8914 Remove isearch-message-prefix property.
8915 * info.el (Info--search-loop): New function, extracted from Info-search.
8916 Funcall isearch-filter-predicate instead of
8917 run-hook-with-args-until-failure isearch-filter-predicates.
8918 (Info-search): Use it.
8919 (Info-mode): Use isearch-filter-predicate instead of
8920 isearch-filter-predicates.
8921
8922 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8923
8924 Do not call to `selected-window' where it is assumed by default.
8925 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8926 `window-hscroll', `window-width', `window-height', `window-buffer',
8927 `window-frame', `window-start', `window-point', `next-window'
8928 and `window-display-table'.
8929 * abbrev.el (abbrev--default-expand):
8930 * bs.el (bs--show-with-configuration):
8931 * buff-menu.el (Buffer-menu-mouse-select):
8932 * calc/calc.el (calc):
8933 * calendar/calendar.el (calendar-generate-window):
8934 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8935 (diary-make-entry):
8936 * comint.el (send-invisible, comint-dynamic-complete-filename)
8937 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8938 * completion.el (complete):
8939 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8940 * disp-table.el (describe-current-display-table):
8941 * doc-view.el (doc-view-insert-image):
8942 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8943 * ehelp.el (with-electric-help):
8944 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8945 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8946 * emacs-lisp/helper.el (Helper-help-scroller):
8947 * emulation/cua-base.el (cua--post-command-handler-1):
8948 * eshell/esh-mode.el (eshell-output-filter):
8949 * ffap.el (ffap-gnus-wrapper):
8950 * help-macro.el (make-help-screen):
8951 * hilit-chg.el (highlight-compare-buffers):
8952 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8953 * hl-line.el (global-hl-line-highlight):
8954 * icomplete.el (icomplete-simple-completing-p):
8955 * isearch.el (isearch-done):
8956 * jit-lock.el (jit-lock-stealth-fontify):
8957 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8958 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8959 * mpc.el (mpc-tagbrowser, mpc):
8960 * net/rcirc.el (rcirc-any-buffer):
8961 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8962 * play/landmark.el (landmark-max-width, landmark-max-height):
8963 * play/zone.el (zone):
8964 * progmodes/compile.el (compilation-goto-locus):
8965 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8966 * progmodes/etags.el (find-tag-other-window):
8967 * progmodes/fortran.el (fortran-column-ruler):
8968 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8969 * progmodes/verilog-mode.el (verilog-point-text):
8970 * reposition.el (reposition-window):
8971 * rot13.el (toggle-rot13-mode):
8972 * server.el (server-switch-buffer):
8973 * shell.el (shell-dynamic-complete-command)
8974 (shell-dynamic-complete-environment-variable):
8975 * simple.el (insert-buffer, set-selective-display)
8976 (delete-completion-window):
8977 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8978 (speedbar-recenter):
8979 * startup.el (fancy-splash-head):
8980 * textmodes/ispell.el (ispell-command-loop):
8981 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8982 * tutorial.el (help-with-tutorial):
8983 * vc/add-log.el (add-change-log-entry):
8984 * vc/compare-w.el (compare-windows):
8985 * vc/ediff-help.el (ediff-indent-help-message):
8986 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8987 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8988 (ediff-setup-control-frame):
8989 * vc/emerge.el (emerge-position-region):
8990 * vc/pcvs-util.el (cvs-bury-buffer):
8991 * window.el (walk-windows, mouse-autoselect-window-select):
8992 * winner.el (winner-set-conf, winner-undo): Related users changed.
8993
8994 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8995
8996 * frameset.el (frameset--set-id): Doc fix.
8997 (frameset-frame-id, frameset-frame-id-equal-p)
8998 (frameset-locate-frame-id): New functions.
8999 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9000 (frameset-restore): Use them.
9001
9002 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9003
9004 Do not call to `selected-frame' where it is assumed by default.
9005 Affected functions are `raise-frame', `redraw-frame',
9006 `frame-first-window', `frame-terminal' and `delete-frame'.
9007 * calendar/appt.el (appt-disp-window):
9008 * epg.el (epg-wait-for-completion):
9009 * follow.el (follow-delete-other-windows-and-split)
9010 (follow-avoid-tail-recenter):
9011 * international/mule.el (set-terminal-coding-system):
9012 * mail/rmail.el (rmail-mail-return):
9013 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9014 * progmodes/f90.el (f90-add-imenu-menu):
9015 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9016 * server.el (server-switch-buffer):
9017 * simple.el (delete-completion-window):
9018 * talk.el (talk):
9019 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9020 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9021 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9022 * vc/ediff.el (ediff-documentation): Related users changed.
9023 * frame.el (selected-terminal): Remove the leftover.
9024
9025 2013-08-05 Glenn Morris <rgm@gnu.org>
9026
9027 * calendar/calendar.el (calendar-generate-month):
9028 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9029 (calendar-generate-month, calendar-font-lock-keywords):
9030 Fix for calendar-day-header-width > length of any day name.
9031
9032 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9033
9034 * desktop.el (desktop-clear): Use new name of sort predicate.
9035
9036 * frameset.el (frameset): Add docstring. Move :version property to its
9037 own `version' slot.
9038 (frameset-copy): Rename from copy-frameset.
9039 (frameset-p): Check more thoroughly.
9040 (frameset-prop): Do not check for :version, which is no longer a prop.
9041 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9042 Use new :never value instead of t.
9043 (frameset-filter-alist): Expand and clarify docstring.
9044 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9045 (frameset-filter-minibuffer, frameset-filter-save-param)
9046 (frameset-filter-restore-param, frameset-filter-iconified):
9047 Add pointer to docstring of frameset-filter-alist.
9048 (frameset-filter-params): Rename filter values to be more meaningful:
9049 :never instead of t, and reverse the meanings of :save and :restore.
9050 (frameset--process-minibuffer-frames): Clarify error message.
9051 (frameset-save): Avoid unnecessary and confusing call to framep.
9052 Use new BOA constructor for framesets.
9053 (frameset--reuse-list): Doc fix.
9054 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9055 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9056 (frameset-minibufferless-first-p): Doc fix.
9057 Rename from frameset-sort-frames-for-deletion.
9058 (frameset-restore): Doc fixes. Use new function names.
9059 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9060
9061 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9062
9063 * desktop.el (desktop-restore-forces-onscreen)
9064 (desktop-restore-reuses-frames): Document :keyword constant values.
9065 (desktop-filter-parameters-alist): Remove, now identical to
9066 frameset-filter-alist.
9067 (desktop--filter-tty*): Remove, moved to frameset.el.
9068 (desktop-save-frameset, desktop-restore-frameset):
9069 Do not pass :filters argument.
9070
9071 * frameset.el (frameset-live-filter-alist)
9072 (frameset-persistent-filter-alist): New variables.
9073 (frameset-filter-alist): Use them. Add autoload cookie.
9074 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9075 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9076 `frameset--id' (it's supposed to be internal to frameset.el).
9077 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9078 (frameset--initial-params): New function.
9079 (frameset--get-frame): Use it. Doc fix.
9080 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9081 Accept :all, not 'all.
9082 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9083 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9084 with fbound symbols. Fix frame id matching, and remove matching ids if
9085 the frame being restored is deleted. Obey :delete.
9086
9087 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * subr.el (macrop): New function.
9090 (text-clone--maintaining): New var.
9091 (text-clone--maintain): Rename from text-clone-maintain. Use it
9092 instead of inhibit-modification-hooks.
9093
9094 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9095 a proxy, so as handle autoloads and redefinitions of the target.
9096 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9097
9098 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9099 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9100 (pcase--mutually-exclusive-p): New function.
9101 (pcase--split-consp): Use it.
9102 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9103 mutually exclusive with the current predicate.
9104
9105 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9106 (edebug-macrop): Remove. Use `macrop' instead.
9107 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9108 (ad-macro-p):
9109 * eshell/esh-cmd.el (eshell-macrop):
9110 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9111
9112 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9113
9114 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9115 (advice-mapc): New function, using it.
9116 (advice-function-member-p): New function.
9117 (advice--normalize): Store the cdr in advice--saved-rewrite since
9118 that's the part that will be changed.
9119 (advice--symbol-function): New function.
9120 (advice-remove): Handle removal before the function is defined.
9121 Adjust to new advice--saved-rewrite.
9122 (advice-member-p): Use advice-function-member-p and
9123 advice--symbol-function.
9124
9125 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9126
9127 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9128 (frameset-filter-minibuffer): Doc fix.
9129 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9130 (frameset--set-id, frameset--process-minibuffer-frames)
9131 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9132 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9133
9134 * desktop.el (desktop-clear): Only delete frames when called
9135 interactively and desktop-restore-frames is non-nil. Doc fix.
9136 (desktop-read): Set desktop-saved-frameset to nil.
9137
9138 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9139
9140 * vc/vc.el (vc-ignore): Rewrite.
9141 (vc-default-ignore-completion-table, vc--read-lines)
9142 (vc--add-line, vc--remove-regexp): New functions.
9143
9144 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9145 (vc-svn-ignore-completion-table): New function.
9146
9147 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9148 (vc-hg-ignore-completion-table)
9149 (vc-hg-find-ignore-file): New functions.
9150
9151 * vc/vc-git.el (vc-git-ignore): Rewrite.
9152 (vc-git-ignore-completion-table)
9153 (vc-git-find-ignore-file): New functions.
9154
9155 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9156
9157 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9158 (vc-bzr-ignore-completion-table)
9159 (vc-bzr-find-ignore-file): New functions.
9160
9161 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9162
9163 * frameset.el (frameset-prop): New function and setter.
9164 (frameset-save): Do not modify frame list passed by the caller.
9165
9166 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9167
9168 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9169
9170 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9173 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9174
9175 * custom.el (custom-initialize-default, custom-initialize-set)
9176 (custom-initialize-reset, custom-initialize-changed): Affect the
9177 toplevel-default-value (bug#6275, bug#14586).
9178 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9179 for bug#6275.
9180
9181 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9182
9183 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9184 Add cl-def* expressions.
9185
9186 * frameset.el (frameset-filter-params): Fix order of arguments.
9187
9188 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9189
9190 Move code related to saving frames to frameset.el.
9191 * desktop.el: Require frameset.
9192 (desktop-restore-frames): Doc fix.
9193 (desktop-restore-reuses-frames): Rename from
9194 desktop-restoring-reuses-frames.
9195 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9196 (desktop-clear): Clear frames too.
9197 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9198 (desktop--filter-tty*, desktop-save, desktop-read):
9199 Use frameset functions.
9200 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9201 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9202 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9203 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9204 (desktop--process-minibuffer-frames, desktop-save-frames)
9205 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9206 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9207 (desktop--sort-states, desktop-restoring-frames-p)
9208 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9209 (desktop-restoring-frameset-p, desktop-restore-frameset)
9210 (desktop--check-dont-save, desktop-save-frameset): New functions.
9211 (desktop--app-id): New constant.
9212 (desktop-first-buffer, desktop-buffer-ok-count)
9213 (desktop-buffer-fail-count): Move before first use.
9214 * frameset.el: New file.
9215
9216 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * files.el: Use lexical-binding.
9219 (dir-locals-read-from-file): Remove unused `err' variable.
9220 (hack-dir-local-variables--warned-coding): New var.
9221 (hack-dir-local-variables): Use it to avoid repeated warnings.
9222 (make-backup-file-name--default-function): New function.
9223 (make-backup-file-name-function): Use it as default.
9224 (buffer-stale--default-function): New function.
9225 (buffer-stale-function): Use it as default.
9226 (revert-buffer-insert-file-contents--default-function): New function.
9227 (revert-buffer-insert-file-contents-function): Use it as default.
9228 (insert-directory): Avoid add-to-list.
9229
9230 * autorevert.el (auto-revert-handler): Simplify.
9231 Use buffer-stale--default-function.
9232
9233 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9234
9235 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9236
9237 * whitespace.el (whitespace-ensure-local-variables): New function.
9238 (whitespace-cleanup-region): Call it.
9239 (whitespace-turn-on): Call it.
9240
9241 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9242
9243 Complete file name handlers.
9244
9245 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9246 (tramp-handle-verify-visited-file-modtime)
9247 (tramp-handle-file-notify-rm-watch): New functions.
9248 (tramp-call-process): Do not bind `default-directory'.
9249
9250 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9251 Order alphabetically.
9252 <access-file, add-name-to-file, dired-call-process>:
9253 <dired-compress-file, file-acl, file-notify-rm-watch>:
9254 <file-ownership-preserved-p, file-selinux-context>:
9255 <make-directory-internal, make-symbolic-link, set-file-acl>:
9256 <set-file-selinux-context, set-visited-file-modtime>:
9257 <verify-visited-file-modtime>: Add handler.
9258 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9259
9260 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9261 <file-notify-add-watch, file-notify-rm-watch>:
9262 <set-file-times, set-visited-file-modtime>:
9263 <verify-visited-file-modtime>: Add handler.
9264 (with-tramp-gvfs-error-message)
9265 (tramp-gvfs-handle-set-visited-file-modtime)
9266 (tramp-gvfs-fuse-file-name): Remove.
9267 (tramp-gvfs-handle-file-notify-add-watch)
9268 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9269 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9270
9271 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9272 Order alphabetically.
9273 <file-notify-rm-watch>: Use default Tramp handler.
9274 <executable-find>: Remove private handler.
9275 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9276 `default-directory'.
9277 (tramp-sh-handle-executable-find)
9278 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9279 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9280 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9281 Do not use `format' in `tramp-message'.
9282
9283 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9284 <file-notify-rm-watch, set-visited-file-modtime>:
9285 <verify-visited-file-modtime>: Add handler.
9286 (tramp-smb-call-winexe): Do not bind `default-directory'.
9287
9288 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9289
9290 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9291
9292 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9293
9294 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9295 use it.
9296 (log-view-diff-changeset): Same.
9297 (log-view-diff-common): Call backend command `previous-revision'
9298 to find out the previous revision, in both cases. Swap the
9299 variables `to' and `fr', so that `fr' usually refers to the
9300 earlier revision (Bug#14989).
9301
9302 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9303
9304 * ibuf-ext.el (ibuffer-filter-by-filename):
9305 Make it work with dired buffers too.
9306
9307 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9308
9309 * emacs-lisp/re-builder.el (reb-color-display-p):
9310 * files.el (save-buffers-kill-terminal):
9311 * net/browse-url.el (browse-url):
9312 * server.el (server-save-buffers-kill-terminal):
9313 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9314 Prefer nil to selected-frame for the first arg of frame-parameter.
9315
9316 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9317
9318 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9319
9320 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9321
9322 * minibuffer.el (completion--twq-all): Try and preserve each
9323 completion's case choice (bug#14907).
9324
9325 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9326
9327 * net/network-stream.el (open-network-stream): Mention the new
9328 :nogreeting parameter.
9329 (network-stream-open-starttls): Use the :nogreeting parameter
9330 (bug#14938).
9331
9332 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9333
9334 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9335 more natural than popping.
9336
9337 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9338 (shr-urlify): Highlight under mouse.
9339
9340 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9341
9342 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9343
9344 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9345
9346 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9347 buffer for output.
9348
9349 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9350 point-min==1. Fix search string. Fix parentheses missing.
9351
9352 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9353 assume point-min==1. Fix search string. Fix parentheses missing.
9354
9355 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9356
9357 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9358 buffer for output.
9359
9360 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9361
9362 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9363 initial frame is minibuffer-less. (Bug#14841)
9364
9365 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9366
9367 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9368 option.
9369
9370 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9371 (tramp-maybe-open-connection): Use it.
9372
9373 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9374
9375 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9376 minimal set of parameters passed when creating a frame, because
9377 the minibuffer status of a frame cannot be changed later.
9378
9379 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9380
9381 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9382 replace-regexp-in-string and inadvertent omissions in previous change.
9383 (todo-filter-items): Ensure only file names are comma-separated in
9384 name of filtered items buffer.
9385
9386 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9387
9388 * desktop.el: Optionally force offscreen frames back onscreen.
9389 (desktop-restoring-reuses-frames): New option.
9390 (desktop--compute-pos, desktop--move-onscreen): New functions.
9391 (desktop--make-frame): Use desktop--move-onscreen.
9392
9393 2013-07-27 Alan Mackenzie <acm@muc.de>
9394
9395 Fontify a Java generic method as a function.
9396 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9397 value to t.
9398
9399 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
9400
9401 * calendar/todo-mode.el: Add command to rename todo files.
9402 (todo-rename-file): New command.
9403 (todo-key-bindings-t): Add key binding for it. Change the
9404 bindings of todo-filter-regexp-items(-multifile) to use `x'
9405 instead of `r', since the latter is better suited to the new
9406 renaming command.
9407
9408 2013-07-27 Alan Mackenzie <acm@muc.de>
9409
9410 Make Java try-with-resources statement parse properly.
9411 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9412 (c-block-stmt-1-2-key): New language constants/variables.
9413 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9414 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9415 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9416 with c-block-stmt-1-2-key.
9417
9418 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
9419
9420 * desktop.el (desktop--make-frame): Apply most frame parameters after
9421 creating the frame to force (partially or totally) offscreen frames to
9422 be restored as such.
9423
9424 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9425
9426 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9427 (Bug#14948)
9428
9429 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9432 `base' arg of backtrace-frame.
9433
9434 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9435
9436 * simple.el (list-processes): Doc fix.
9437
9438 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9439
9440 * desktop.el (desktop--select-frame):
9441 Try harder to reuse existing frames.
9442
9443 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9446 (edebug-eval): Use backtrace-eval.
9447 (edebug--display, edebug--recursive-edit): Don't let-bind the
9448 edebug-outer-* vars that keep track of variables we locally let-bind.
9449 (edebug-outside-excursion): Don't restore outside values of locally
9450 let-bound vars.
9451 (edebug--display): Use user-error.
9452 (cl-lexical-debug, cl-debug-env): Remove.
9453
9454 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9455
9456 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9457 are restored to be sure that they are visible before deleting any
9458 remaining ones.
9459
9460 2013-07-26 Matthias Meulien <orontee@gmail.com>
9461
9462 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9463 vc-print-root-log. (Bug#14948)
9464
9465 2013-07-26 Richard Stallman <rms@gnu.org>
9466
9467 Add aliases for encrypting mail.
9468 * epa.el (epa-mail-aliases): New option.
9469 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9470 Bind inhibit-read-only so read-only text doesn't ruin everything.
9471 (epa-mail-default-recipients): New subroutine broken out.
9472 Handle epa-mail-aliases.
9473
9474 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9475
9476 Add support for lexical variables to the debugger's `e' command.
9477 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9478 vars, except for debugger-outer-match-data.
9479 (debugger-frame-number): Move check for "on a function call" from
9480 callers into it. Add `skip-base' argument.
9481 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9482 (debugger-env-macro): Only reset the state stored in non-variables,
9483 i.e. current-buffer and match-data.
9484 (debugger-eval-expression): Rewrite using backtrace-eval.
9485 * subr.el (internal--called-interactively-p--get-frame): Remove.
9486 (called-interactively-p):
9487 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9488 `base' arg of backtrace-frame instead.
9489
9490 2013-07-26 Glenn Morris <rgm@gnu.org>
9491
9492 * align.el (align-regexp): Doc fix. (Bug#14857)
9493 (align-region): Explicit error if subexpression missing/does not match.
9494
9495 * simple.el (global-visual-line-mode):
9496 Do not duplicate the mode lighter. (Bug#14858)
9497
9498 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9499
9500 * window.el (display-buffer): In display-buffer bind
9501 split-window-keep-point to t, bug#14829.
9502
9503 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9504
9505 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9506 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9507 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9508 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9509 Change accordingly.
9510 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9511 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9512
9513 2013-07-25 Glenn Morris <rgm@gnu.org>
9514
9515 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9516
9517 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9518
9519 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9520 parameter to modify-frame-parameters if the value has not changed;
9521 this is a workaround for bug#14949.
9522 (desktop--make-frame): On cl-delete-if call, check parameter name,
9523 not full parameter.
9524
9525 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9526
9527 * vc/vc.el (vc-ignore): New function.
9528
9529 * vc/vc-svn.el (vc-svn-ignore): New function.
9530
9531 * vc/vc-hg.el (vc-hg-ignore): New function.
9532
9533 * vc/vc-git.el (vc-git-ignore): New function.
9534
9535 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9536 (vc-dir-ignore): New function.
9537
9538 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9539 (cvs-append-to-ignore): Move here from pcvs.el.
9540
9541 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9542
9543 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9544
9545 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9546
9547 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9548 (desktop-restore-frames): Warn when deleting an existing frame failed.
9549
9550 2013-07-24 Glenn Morris <rgm@gnu.org>
9551
9552 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9553
9554 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9555
9556 * filenotify.el (file-notify-supported-p):
9557 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9558 Remove functions.
9559
9560 * autorevert.el (auto-revert-use-notify)
9561 (auto-revert-notify-add-watch):
9562 * net/tramp.el (tramp-file-name-for-operation):
9563 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9564 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9565 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9566 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9567 Remove `file-notify-supported-p' entry.
9568
9569 2013-07-24 Glenn Morris <rgm@gnu.org>
9570
9571 * printing.el: Replace all uses of deleted ps-windows-system,
9572 ps-lp-system, ps-flatten-list with lpr- versions.
9573
9574 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9575
9576 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9577 checked with memq (bug#14935).
9578
9579 * files.el (revert-buffer-function): Use a non-nil default.
9580 (revert-buffer-preserve-modes): Declare var to
9581 provide access to the `preserve-modes' argument.
9582 (revert-buffer): Let-bind it.
9583 (revert-buffer--default): New function, extracted from revert-buffer.
9584
9585 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9586
9587 * lpr.el: Signal print errors more prominently.
9588 (print-region-function): Don't default to nil.
9589 (lpr-print-region): New function, extracted from print-region-1.
9590 Check lpr's return value and signal an error in case of problem.
9591 (print-region-1): Use it.
9592 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9593 versions instead.
9594 (ps-printer-name): Default to nil.
9595 (ps-printer-name-option): Default to lpr-printer-switch.
9596 (ps-print-region-function): Don't default to nil.
9597 (ps-postscript-code-directory): Simplify default.
9598 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9599 (ps-string-list, ps-eval-switch, ps-flatten-list)
9600 (ps-flatten-list-1): Remove.
9601 (ps-multibyte-buffer): Avoid setq.
9602 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9603 (print-region-function, ps-print-region-function): Don't set them here.
9604
9605 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9606
9607 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9608 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9609 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9610 (ido-decorations): Doc fix.
9611
9612 * ansi-color.el: Fix old URL.
9613
9614 2013-07-23 Michael R. Mauger <michael@mauger.com>
9615
9616 * progmodes/sql.el: Version 3.3
9617 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9618 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9619 (sql-interactive-remove-continuation-prompt): Rewrite, use
9620 functions above. Fix continuation prompt and complete output line
9621 handling.
9622 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9623 redirected output buffer.
9624 (sql-mode): Restore deleted code (Bug#13591).
9625
9626 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9627
9628 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9629
9630 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9631
9632 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9633
9634 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9635 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9636 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9637
9638 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9639
9640 * desktop.el (desktop-clear): Simplify; remove useless checks
9641 against invalid buffer names.
9642 (desktop-list*): Use cl-list*.
9643 (desktop-buffer-info, desktop-create-buffer): Simplify.
9644
9645 2013-07-23 Leo Liu <sdl.web@gmail.com>
9646
9647 * bookmark.el (bookmark-make-record): Restore NAME as a default
9648 value. (Bug#14933)
9649
9650 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9653 extracted from autoload--insert-text.
9654 (autoload--insert-text): Remove.
9655 (autoload--print-cookie-text): New function, extracted from
9656 autoload--insert-cookie-text.
9657 (autoload--insert-cookie-text): Remove.
9658 (autoload-generate-file-autoloads): Adjust calls accordingly.
9659
9660 * winner.el (winner-hook-installed-p): Remove.
9661 (winner-mode): Simplify accordingly.
9662
9663 * subr.el (add-to-list): Fix compiler-macro when `append' is
9664 not constant. Don't use `cl-member' for the base case.
9665
9666 * progmodes/subword.el: Fix boundary case (bug#13758).
9667 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9668 own group.
9669 (subword-backward-regexp): Make it a constant.
9670 (subword-forward-internal): Don't treat a trailing capital as the
9671 beginning of a word.
9672
9673 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9674
9675 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9676 global value of tabulated-list-revert-hook (bug#14930).
9677
9678 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9679
9680 * desktop.el: Require 'cl-lib.
9681 (desktop-before-saving-frames-functions): New hook.
9682 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9683 for frames being saved. Rename from desktop--save-minibuffer-frames.
9684 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9685 Do not save frames with non-nil `desktop-dont-save' parameter.
9686 Filter out deleted frames.
9687 (desktop--find-frame): Use cl-find-if.
9688 (desktop--select-frame): Use cl-(first|second|third) to access values
9689 of desktop-mini.
9690 (desktop--make-frame): Use cl-delete-if.
9691 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9692 (desktop-restore-frames): Use cl-(first|second|third) to access values
9693 of desktop-mini. Look for visible frame at the end, not while
9694 restoring frames.
9695
9696 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9697 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9698 Use string-match-p, looking-at-p (bug#14927).
9699
9700 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9701
9702 * desktop.el (desktop-saved-frame-states):
9703 Rename from desktop--saved-states; all users changed.
9704 (desktop-save-frames): Rename from desktop--save-frames.
9705 Do not save state to desktop file.
9706 (desktop-save): Save desktop-saved-frame-states to desktop file
9707 and reset to nil.
9708 (desktop-restoring-frames-p): New function.
9709 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9710 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9711 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9712
9713 * desktop.el: Correctly restore iconified frames.
9714 (desktop--filter-iconified-position): New function.
9715 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9716
9717 2013-07-20 Glenn Morris <rgm@gnu.org>
9718
9719 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9720 Let `message' do the formatting.
9721 (def-gdb-preempt-display-buffer): Add explicit format.
9722
9723 * image-dired.el (image-dired-track-original-file):
9724 Use with-current-buffer.
9725 (image-dired-track-thumbnail): Use with-current-buffer.
9726 Avoid changing point of wrong window.
9727
9728 * image-dired.el (image-dired-track-original-file):
9729 Avoid changing point of wrong window. (Bug#14909)
9730
9731 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9732
9733 * progmodes/gdb-mi.el (gdb-done-or-error):
9734 Guard against "%" in gdb output. (Bug#14127)
9735
9736 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9737
9738 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9739 (Bug#14826)
9740
9741 * international/mule.el (coding-system-iso-2022-flags): Fix last
9742 change.
9743
9744 2013-07-20 Kenichi Handa <handa@gnu.org>
9745
9746 * international/mule.el (coding-system-iso-2022-flags):
9747 Add `8-bit-level-4'. (Bug#8522)
9748
9749 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9750
9751 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9752 (bug#14815).
9753
9754 * net/eww.el (eww-process-text-input): Allow inputting when the
9755 point is at the start of the line, as the properties aren't
9756 front-sticky.
9757
9758 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9759 degenerate widths.
9760
9761 2013-07-19 Richard Stallman <rms@gnu.org>
9762
9763 * epa.el (epa-popup-info-window): Doc fix.
9764
9765 * subr.el (split-string): New arg TRIM.
9766
9767 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9768
9769 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9770 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9771
9772 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9773
9774 * filenotify.el (file-notify--library): Rename from
9775 `file-notify-support'. Do not autoload. Adapt all uses.
9776 (file-notify-supported-p): New defun.
9777
9778 * autorevert.el (auto-revert-use-notify):
9779 Use `file-notify-supported-p' instead of `file-notify-support'.
9780 Adapt docstring.
9781 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9782
9783 * net/tramp.el (tramp-file-name-for-operation):
9784 Add `file-notify-supported-p'.
9785
9786 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9787 New defun.
9788 (tramp-sh-file-name-handler-alist): Add it as handler for
9789 `file-notify-supported-p '.
9790
9791 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9792 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9793 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9794 Add `ignore' as handler for `file-notify-*' functions.
9795
9796 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9797
9798 * simple.el (line-move-partial, line-move): Don't start vscroll or
9799 scroll-up if the current line is not taller than the window.
9800 (Bug#14881)
9801
9802 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9803
9804 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9805 highlight question marks in the method names as strings.
9806 (ruby-block-beg-keywords): Inline.
9807 (ruby-font-lock-keyword-beg-re): Extract from
9808 `ruby-font-lock-keywords'.
9809
9810 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9811
9812 * frame.el (blink-cursor-blinks): New defcustom.
9813 (blink-cursor-blinks-done): New defvar.
9814 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9815 (blink-cursor-timer-function): Check if number of blinks has been
9816 done on X and NS.
9817 (blink-cursor-suspend, blink-cursor-check): New defuns.
9818
9819 2013-07-15 Glenn Morris <rgm@gnu.org>
9820
9821 * edmacro.el (edmacro-format-keys): Fix previous change.
9822
9823 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9824
9825 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9826 The hack didn't work outside English locales anyway.
9827
9828 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9829
9830 * simple.el (define-alternatives): Rename from alternatives-define,
9831 per RMS' suggestion.
9832
9833 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9834
9835 * desktop.el (desktop-restore-frames): Change default to t.
9836 (desktop-restore-in-current-display): Now offer more options.
9837 (desktop-restoring-reuses-frames): New customization option.
9838 (desktop--saved-states): Doc fix.
9839 (desktop-filter-parameters-alist): New variable, renamed and expanded
9840 from desktop--excluded-frame-parameters.
9841 (desktop--target-display): New variable.
9842 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9843 (desktop--filter-tty*, desktop--filter-*-color)
9844 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9845 (desktop--filter-save-desktop-parm)
9846 (desktop-restore-in-original-display-p): New functions.
9847 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9848 (desktop--save-minibuffer-frames): New function, inspired by a similar
9849 function from Martin Rudalics.
9850 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9851 (desktop--restore-in-this-display-p): Remove.
9852 (desktop--find-frame): Rename from desktop--find-frame-in-display
9853 and add predicate argument.
9854 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9855 (desktop--reuse-list): New variable.
9856 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9857 New functions.
9858 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9859
9860 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9861
9862 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9863
9864 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9865
9866 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9867 Highlight conversion methods on Kernel.
9868
9869 2013-07-13 Alan Mackenzie <acm@muc.de>
9870
9871 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9872 and comment it out. This out-commenting enables certain C++
9873 declarations to be parsed correctly.
9874
9875 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9876
9877 * international/mule.el (define-coding-system): Doc fix.
9878
9879 * simple.el (default-font-height): Don't call font-info if the
9880 frame's default font didn't change since the frame was created.
9881 (Bug#14838)
9882
9883 2013-07-13 Leo Liu <sdl.web@gmail.com>
9884
9885 * ido.el (ido-read-file-name): Guard against non-symbol value.
9886
9887 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9888
9889 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9890 in nested defuns.
9891
9892 2013-07-13 Leo Liu <sdl.web@gmail.com>
9893
9894 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9895 ido-set-matches call. (Bug#6852)
9896
9897 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9898
9899 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9900 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9901 Ruby 2.0.
9902 (ruby-font-lock-keywords): Distinguish calls to functions with
9903 module-like names from module references. Highlight character
9904 literals.
9905
9906 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9907
9908 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9909 (gdb-send): Handle continued commands. (Bug#14847)
9910
9911 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9912
9913 * desktop.el (desktop--v2s): Remove unused local variable.
9914 (desktop-save-buffer): Make defvar-local; adjust docstring.
9915 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9916 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9917
9918 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9919
9920 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9921
9922 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9923
9924 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9925 (Bug#14842)
9926
9927 2013-07-12 Glenn Morris <rgm@gnu.org>
9928
9929 * doc-view.el: Require cl-lib at runtime too.
9930 (doc-view-remove-if): Remove.
9931 (doc-view-search-next-match, doc-view-search-previous-match):
9932 Use cl-remove-if.
9933
9934 * edmacro.el: Require cl-lib at runtime too.
9935 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9936 (edmacro-mismatch, edmacro-subseq): Remove.
9937
9938 * shadowfile.el: Require cl-lib.
9939 (shadow-remove-if): Remove.
9940 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9941 Use cl-remove-if.
9942
9943 * wid-edit.el: Require cl-lib.
9944 (widget-choose): Use cl-remove-if.
9945 (widget-remove-if): Remove.
9946
9947 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9948 (ebrowse-delete-if-not): Remove.
9949 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9950 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9951 Use cl-delete-if-not.
9952
9953 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9954
9955 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9956 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9957
9958 2013-07-12 Leo Liu <sdl.web@gmail.com>
9959
9960 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9961
9962 2013-07-11 Glenn Morris <rgm@gnu.org>
9963
9964 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9965 (edebug-gensym-index, edebug-gensym):
9966 Remove reimplementation of cl-gensym.
9967 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9968
9969 * thumbs.el: Require cl-lib at run-time too.
9970 (thumbs-gensym-counter, thumbs-gensym):
9971 Remove reimplementation of cl-gensym.
9972 (thumbs-temp-file): Use cl-gensym.
9973
9974 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9975 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9976 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9977 (ert--union, ert--gensym-counter, ert--gensym-counter)
9978 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9979 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9980 (ert-make-test-unbound, ert--expand-should-1)
9981 (ert--expand-should, ert--should-error-handle-error)
9982 (should-error, ert--explain-equal-rec)
9983 (ert--plist-difference-explanation, ert-select-tests)
9984 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9985 Use cl-lib functions rather than reimplementations.
9986
9987 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9988
9989 * net/tramp.el (tramp-methods): Extend docstring.
9990 (tramp-connection-timeout): New defcustom.
9991 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9992 (with-tramp-progress-reporter): Simplify.
9993 (tramp-process-actions): Improve messages.
9994
9995 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9996 * net/tramp-sh.el (tramp-maybe-open-connection):
9997 Use `tramp-connection-timeout'.
9998 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9999 (Bug#14808)
10000
10001 2013-07-11 Leo Liu <sdl.web@gmail.com>
10002
10003 * ido.el (ido-read-file-name): Conform to the requirements of
10004 read-file-name. (Bug#11861)
10005 (ido-read-directory-name): Conform to the requirements of
10006 read-directory-name.
10007
10008 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10009
10010 * subr.el (delay-warning): New function.
10011
10012 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10013
10014 * simple.el (default-line-height): New function.
10015 (line-move-partial, line-move): Use it instead of computing the
10016 line height inline.
10017 (line-move-partial): Always compute ROWH. If the last line is
10018 partially-visible, but its text is completely visible, allow
10019 cursor to enter such a partially-visible line.
10020
10021 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10022
10023 Improve error messages. (Bug#14808)
10024
10025 * net/tramp.el (tramp-current-connection): New defvar, moved from
10026 tramp-sh.el.
10027 (tramp-message-show-progress-reporter-message): Remove, not
10028 needed anymore.
10029 (tramp-error-with-buffer): Show message in minibuffer.
10030 Discard input before waiting. Reset connection timestamp.
10031 (with-tramp-progress-reporter): Improve messages.
10032 (tramp-process-actions): Use progress reporter. Delete process in
10033 case of error. Improve messages.
10034
10035 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10036 Call `tramp-error-with-buffer' with vector and buffer.
10037 (tramp-current-connection): Remove.
10038 (tramp-maybe-open-connection): The car of
10039 `tramp-current-connection' are the first 3 slots of the vector.
10040
10041 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10042
10043 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10044 inside continued strings.
10045
10046 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10047
10048 Timestamp fixes for undo (Bug#14824).
10049 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10050
10051 2013-07-10 Leo Liu <sdl.web@gmail.com>
10052
10053 * files.el (require-final-newline): Allow safe local value.
10054 (Bug#14834)
10055
10056 2013-07-09 Leo Liu <sdl.web@gmail.com>
10057
10058 * ido.el (ido-read-directory-name): Handle fallback.
10059 (ido-read-file-name): Update DIR to ido-current-directory.
10060 (Bug#1516)
10061 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10062
10063 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10064
10065 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10066 "autoload". Remove "warn lower camel case" section, previously
10067 commented out. Highlight negation char. Do not highlight the
10068 target in singleton method definitions.
10069
10070 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10071
10072 * faces.el (tty-setup-hook): Declare the hook.
10073
10074 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10075 and detect when a guard/pred depends on local vars (bug#14773).
10076 (pcase--u1): Adjust caller.
10077
10078 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10079
10080 * simple.el (line-move-partial, line-move): Account for
10081 line-spacing.
10082 (line-move-partial): Avoid setting vscroll when the last
10083 partially-visible line in window is of default height.
10084
10085 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10086
10087 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10088 been used a while.
10089
10090 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10091
10092 * subr.el (read-quoted-char): Remove unused local variable `char'.
10093
10094 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10095
10096 * ediff.el (ediff-version): Version update.
10097 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10098 (ediff-merge-with-ancestor-command, ediff-directories-command)
10099 (ediff-directories3-command, ediff-merge-directories-command)
10100 (ediff-merge-directories-with-ancestor-command): New functions.
10101 All are command-line interfaces to ediff: to facilitate calling
10102 Emacs with the appropriate ediff functions invoked.
10103
10104 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10105 (viper-save-kill-buffer): Check if buffer is modified.
10106
10107 * viper.el (viper-version): Version update.
10108 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10109
10110 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10111
10112 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10113 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10114 (viper-intercept-ESC-key): Simplify.
10115 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10116 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10117 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10118 (viper-setup-ESC-to-escape): New functions.
10119 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10120 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10121
10122 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10123
10124 * simple.el (default-font-height, window-screen-lines):
10125 New functions.
10126 (line-move, line-move-partial): Use them instead of
10127 frame-char-height and window-text-height. This makes scrolling
10128 text smoother when the buffer's default face uses a font that is
10129 different from the frame's default font.
10130
10131 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10132
10133 * files.el (write-file): Do not display confirm dialog for NS,
10134 it does its own dialog, which can't be canceled (Bug#14578).
10135
10136 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10137
10138 * simple.el (line-move-partial): Adjust the row returned by
10139 posn-at-point for the current window-vscroll. (Bug#14567)
10140
10141 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10142
10143 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10144 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10145 spaces.
10146
10147 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10148
10149 * window.el (window-state-put-stale-windows): New variable.
10150 (window--state-put-2): Save list of windows without matching buffer.
10151 (window-state-put): Remove "bufferless" windows if possible.
10152
10153 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10154
10155 * simple.el (alternatives-define): Remove leftover :group keyword.
10156 Tweak docstring.
10157
10158 2013-07-06 Leo Liu <sdl.web@gmail.com>
10159
10160 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10161 (ido-enable-virtual-buffers): New variable.
10162 (ido-buffer-internal, ido-toggle-virtual-buffers)
10163 (ido-make-buffer-list): Use it.
10164 (ido-exhibit): Support turning on and off virtual buffers
10165 automatically.
10166
10167 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10168
10169 * simple.el (alternatives-define): New macro.
10170
10171 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * subr.el (read-quoted-char): Use read-key.
10174 (sit-for): Let read-event decode tty input (bug#14782).
10175
10176 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10177
10178 * calendar/todo-mode.el: Add handling of file deletion, both by
10179 mode command and externally. Fix various related bugs.
10180 Clarify Commentary and improve some documentation strings and code.
10181 (todo-delete-file): New command.
10182 (todo-check-file): New function.
10183 (todo-show): Handle external deletion of the file we're trying to
10184 show (bug#14688). Replace called-interactively-p by an optional
10185 prefix argument to avoid problematic interaction with catch form
10186 when byte compiled (bug#14702).
10187 (todo-quit): Handle external deletion of the archive's todo file.
10188 Make sure the buffer that was visiting the archive file is still
10189 live before trying to bury it.
10190 (todo-category-completions): Handle external deletion of any
10191 category completion files.
10192 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10193 of todo files, in case of external deletion.
10194 (todo-add-file): Replace unnecessary setq by let-binding.
10195 (todo-find-archive): Check whether there are any archives.
10196 Replace unnecessary setq by let-binding.
10197 (todo-archive-done-item): Use find-file-noselect to get the
10198 archive buffer whether or not the archive already exists.
10199 Remove superfluous code. Use file size instead of buffer-file-name to
10200 check if the archive is new; if it is, update list of archives.
10201 (todo-default-todo-file): Allow nil to be a valid value for when
10202 there are no todo files.
10203 (todo-reevaluate-default-file-defcustom): Use corrected definition
10204 of todo-default-todo-file.
10205 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10206 (todo-delete-category, todo-show-categories-table)
10207 (todo-category-number): Clarify comment.
10208 (todo-filter-items): Clarify documentation string.
10209 (todo-show-current-file, todo-display-as-todo-file)
10210 (todo-reset-and-enable-done-separator): Tweak documentation string.
10211 (todo-done-separator): Make separator length window-width, since
10212 bug#2749 is now fixed.
10213
10214 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10215
10216 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10217 Support both "gvfs-monitor-dir" and "inotifywait".
10218 (tramp-sh-file-inotifywait-process-filter): Rename from
10219 `tramp-sh-file-notify-process-filter'.
10220 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10221 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10222
10223 2013-07-05 Leo Liu <sdl.web@gmail.com>
10224
10225 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10226
10227 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10228
10229 * frame.el (display-pixel-height, display-pixel-width)
10230 (display-mm-height, display-mm-width): Mention behavior on
10231 multi-monitor setups in docstrings.
10232 (w32-display-monitor-attributes-list): Declare function.
10233 (display-monitor-attributes-list): Use it.
10234
10235 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10236
10237 * filenotify.el: New package.
10238
10239 * autorevert.el (top): Require filenotify.el.
10240 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10241 instead.
10242 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10243 (auto-revert-notify-handler): Use `file-notify-*' functions.
10244
10245 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10246
10247 * net/tramp.el (tramp-file-name-for-operation):
10248 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10249
10250 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10251 for `file-notify-add-watch' and `file-notify-rm-watch'.
10252 (tramp-process-sentinel): Improve trace.
10253 (tramp-sh-handle-file-notify-add-watch)
10254 (tramp-sh-file-notify-process-filter)
10255 (tramp-sh-handle-file-notify-rm-watch)
10256 (tramp-get-remote-inotifywait): New defuns.
10257
10258 2013-07-03 Juri Linkov <juri@jurta.org>
10259
10260 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10261 call of `occur-read-primary-args' to interactive spec.
10262
10263 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10264 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10265
10266 2013-07-03 Matthias Meulien <orontee@gmail.com>
10267
10268 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10269 `Buffer-menu-multi-occur'. Add it to the menu.
10270 (Buffer-menu-mode): Document it in docstring.
10271 (Buffer-menu-multi-occur): New command. (Bug#14673)
10272
10273 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10274
10275 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10276 keywords and built-ins.
10277
10278 2013-07-03 Glenn Morris <rgm@gnu.org>
10279
10280 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10281
10282 Make info-xref checks case-sensitive by default
10283 * info.el (Info-find-node, Info-find-in-tag-table)
10284 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10285 Add option for exact case matching of nodes.
10286 * info-xref.el (info-xref): New custom group.
10287 (info-xref-case-fold): New option.
10288 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10289
10290 2013-07-03 Leo Liu <sdl.web@gmail.com>
10291
10292 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10293
10294 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10295
10296 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10297 middle of block statement initially, lower the depth. Remove
10298 FIXME comment, not longer valid. Remove middle of block statement
10299 detection, no need to do that anymore since we've been using
10300 `ruby-parse-region' here.
10301
10302 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10303
10304 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10305
10306 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10307
10308 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10309
10310 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10311
10312 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10313 (desktop-restore-in-current-display): New customization option.
10314 (desktop--excluded-frame-parameters): Add `font'.
10315 (desktop--save-frames): Rename from desktop--save-windows.
10316 (desktop--restore-in-this-display-p): New function.
10317 (desktop--make-full-frame): Remove unwanted width/height from
10318 full(width|height) frames.
10319 (desktop--restore-frames): Rename from desktop--restore-windows.
10320 Obey desktop-restore-current-display. Do not delete old frames or
10321 select a new frame unless we were able to restore at least one frame.
10322
10323 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10324
10325 * files.el (find-file-noselect): Simplify conditional expression.
10326
10327 * textmodes/remember.el (remember-append-to-file):
10328 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10329
10330 Add `remember-notes' function to store random notes across Emacs
10331 restarts.
10332 * textmodes/remember.el (remember-data-file): Add :set callback to
10333 affect notes buffer (if any).
10334 (remember-notes): New command.
10335 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10336 New defcustoms for the `remember-notes' function.
10337 (remember-notes-save-and-bury-buffer): New command.
10338 (remember-notes-mode-map): New variable.
10339 (remember-mode): New minor mode.
10340 (remember-notes--kill-buffer-query): New function.
10341 * startup.el (initial-buffer-choice): Add notes to custom type.
10342
10343 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10344
10345 * bindings.el (right-char, left-char): Don't call sit-for, this is
10346 no longer needed. Use arithmetic comparison only for numerical
10347 arguments.
10348
10349 * international/mule-cmds.el (select-safe-coding-system):
10350 Handle the case of FROM being a string correctly. (Bug#14755)
10351
10352 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10353
10354 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10355 progression on degenerate tables.
10356 (shr-rescale-image): ImageMagick animated images currently don't work.
10357
10358 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10359
10360 Some fixes and improvements for desktop frame restoration.
10361 It is still experimental and disabled by default.
10362 * desktop.el (desktop--save-windows): Put the selected frame at
10363 the head of the list.
10364 (desktop--make-full-frame): New function.
10365 (desktop--restore-windows): Try to re-select the frame that was
10366 selected upon saving. Do not abort if some frames fail to restore,
10367 just show an error message and continue. Set up maximized frames
10368 so they have default non-maximized dimensions.
10369
10370 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10371
10372 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10373 Don't start heredoc inside a string or comment.
10374
10375 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10376
10377 * bindings.el (visual-order-cursor-movement): New defcustom.
10378 (right-char, left-char): Provide visual-order cursor motion by
10379 calling move-point-visually. Update the doc strings.
10380
10381 2013-06-28 Kenichi Handa <handa@gnu.org>
10382
10383 * international/mule.el (define-coding-system): New coding system
10384 properties :inhibit-null-byte-detection,
10385 :inhibit-iso-escape-detection, and :prefer-utf-8.
10386 (set-buffer-file-coding-system): If :charset-list property of
10387 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10388 appropriate for setting.
10389
10390 * international/mule-cmds.el (select-safe-coding-system):
10391 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10392 multibyte characters, return utf-8 (or one of its siblings).
10393
10394 * international/mule-conf.el (prefer-utf-8): New coding system.
10395 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10396 files.
10397
10398 2013-06-28 Ivan Kanis <ivan@kanis.fr>
10399
10400 * net/shr.el (shr-render-region): New function.
10401
10402 * net/eww.el: Autoload `eww-browse-url'.
10403
10404 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10405
10406 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10407 Adapt to `package-desc-version' being a list.
10408 Use `package--ac-desc-version' to retrieve version from a package
10409 archive element.
10410
10411 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
10412
10413 New experimental feature to save&restore window and frame setup.
10414 * desktop.el (desktop-save-windows): New defcustom.
10415 (desktop--saved-states): New var.
10416 (desktop--excluded-frame-parameters): New defconst.
10417 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10418 (desktop--restore-windows, desktop--save-windows): New functions.
10419 (desktop-save): Call `desktop--save-windows'.
10420 (desktop-read): Call `desktop--restore-windows'.
10421
10422 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10423
10424 * net/shr.el (add-face-text-property): Remove compat definition.
10425
10426 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10427
10428 * info.el (Info-try-follow-nearest-node): Move search for footnote
10429 above search for node name to prevent missing a footnote (bug#14717).
10430
10431 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10432
10433 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10434
10435 2013-06-27 Leo Liu <sdl.web@gmail.com>
10436
10437 * net/eww.el (eww-read-bookmarks): Check file size.
10438
10439 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10440
10441 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10442 advice--pending if newdef is nil or an autoload (bug#13820).
10443 (advice-mapc): New function.
10444
10445 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10446
10447 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10448 probably.
10449 (eww-mode-map): Add a menu bar.
10450 (eww-add-bookmark): New command.
10451 (eww-bookmark-mode): New mode and commands.
10452 (eww-add-bookmark): Remove newlines from the title.
10453 (eww-bookmark-browse): Don't bug out if it's the only window.
10454
10455 2013-06-26 Glenn Morris <rgm@gnu.org>
10456
10457 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10458 (hfy-size): Handle ttys. (Bug#14668)
10459
10460 * info-xref.el: Update for Texinfo 5 change in *note format.
10461 (info-xref-node-re, info-xref-note-re): New constants.
10462 (info-xref-check-buffer): Use info-xref-note-re.
10463
10464 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10465
10466 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10467
10468 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10469 nil terminate the loop (bug#14718).
10470
10471 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10472
10473 * net/eww.el: Rework history traversal. When going forward/back,
10474 put these actions into the history, too, so that they can be
10475 replayed.
10476 (eww-render): Move the history reset to the correct buffer.
10477
10478 2013-06-25 Juri Linkov <juri@jurta.org>
10479
10480 * files-x.el (modify-dir-local-variable): Change the header comment
10481 in the file with directory local variables. (Bug#14692)
10482
10483 * files-x.el (read-file-local-variable-value): Add `default'.
10484 (Bug#14710)
10485
10486 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10487
10488 * net/eww.el (eww-make-unique-file-name): Create a unique file
10489 name before saving to entering `y' accidentally asynchronously.
10490
10491 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10492
10493 * net/eww.el (eww-download): New command and keystroke.
10494
10495 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10496
10497 * net/eww.el (eww-copy-page-url): Change name of command.
10498
10499 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10500 be more consistent with Info and dired.
10501
10502 * net/eww.el (eww-mode-map): Ditto.
10503
10504 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10505
10506 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10507 packages from archives.
10508 (package-archive-contents): Change format; include obsolete packages.
10509 (package-desc): Use `dir' to mark builtin packages.
10510 (package--from-builtin): Set the `dir' field to `builtin'.
10511 (generated-autoload-file, version-control): Declare.
10512 (package-compute-transaction): Change first arg and return value to be
10513 lists of package-descs. Adjust to new package-archive-contents format.
10514 (package--add-to-archive-contents): Adjust to new
10515 package-archive-contents format.
10516 (package-download-transaction): Arg is now a list of package-descs.
10517 (package-install): If `pkg' is a package name, pass it as
10518 a requirement, so it is subject to the usual (e.g. disabled) checks.
10519 (describe-package): Accept package-desc as well.
10520 (describe-package-1): Describe a specific package-desc. Add links to
10521 other package-descs for the same package name.
10522 (package-menu-describe-package): Pass the actual package-desc.
10523 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10524 works correctly.
10525 (package-desc-status): New function.
10526 (package-menu--refresh): New function, extracted
10527 from package-menu--generate.
10528 (package-menu--generate): Use it.
10529 (package-delete): Update package-alist.
10530 (package-menu-execute): Don't call package-initialize.
10531
10532 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10533 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10534 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10535 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10536 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10537 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10538
10539 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10540
10541 * window.el (window--state-get-1): Workaround for bug#14527.
10542 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10543
10544 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10545
10546 * net/eww.el (eww-back-url): Implement the history by stashing all
10547 the data into a list.
10548 (eww-forward-url): Allow going forward in the history, too.
10549
10550 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10551
10552 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10553 for values and use read--expression for expressions (bug#14710).
10554 (read-file-local-variable): Avoid setq.
10555 (read-file-local-variable-mode): Use minor-mode-list.
10556
10557 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10558
10559 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10560 for DOI URLs.
10561
10562 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10563
10564 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10565 Update imenu-support when dialect changes.
10566
10567 2013-06-25 Leo Liu <sdl.web@gmail.com>
10568
10569 * ido.el (ido-read-internal): Allow forward slash on windows.
10570
10571 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10572
10573 * net/eww.el (eww): Start of strings is \\`, not ^.
10574
10575 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10576
10577 * net/shr.el (shr-browse-url): Fix interactive spec.
10578
10579 * net/eww.el (eww): Add a trailing slash to domain names.
10580
10581 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10582
10583 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10584
10585 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10586
10587 * net/shr.el (shr-browse-url): Use an external browser if given a
10588 prefix.
10589
10590 * net/eww.el (eww-external-browser): Move to shr.
10591
10592 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10593
10594 * net/eww.el (eww): Work more correctly for file: URLs.
10595 (eww-detect-charset): Allow quoted charsets.
10596 (eww-yank-page-url): New command and keystroke.
10597
10598 2013-06-24 Daiki Ueno <ueno@gnu.org>
10599
10600 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10601 file name of gpg executable.
10602 (epg-context-program): New function.
10603 (epg-context-home-directory): New function.
10604 (epg-context-set-program): New function.
10605 (epg-context-set-home-directory): New function.
10606 (epg--start): Use `epg-context-program' instead of
10607 'epg-gpg-program'.
10608 (epg--list-keys-1): Likewise.
10609
10610 2013-06-24 Leo Liu <sdl.web@gmail.com>
10611
10612 * ido.el (ido-read-internal): Fix bug#14620.
10613
10614 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10615
10616 * faces.el (face-documentation): Simplify.
10617 (read-face-attribute, tty-find-type, x-resolve-font-name):
10618 Use `string-match-p'.
10619 (list-faces-display): Use `string-match-p'. Simplify.
10620 (face-spec-recalc): Check face to avoid face alias loops.
10621 (read-color): Use `string-match-p' and non-capturing parenthesis.
10622
10623 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10624
10625 * net/shr.el (shr-rescale-image): Use the new
10626 :max-width/:max-height functionality.
10627
10628 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10629
10630 * net/eww.el (eww-search-prefix): New variable.
10631 (eww): Use it.
10632 (eww-external-browser): New variable.
10633 (eww-mode-map): New keystroke.
10634 (eww-browse-with-external-browser): New command.
10635
10636 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10637
10638 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10639
10640 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10641 Don't skip aligning the next header field when padding is 0;
10642 otherwise, field width is not respected unless the title is as
10643 wide as the field.
10644
10645 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10646
10647 * emacs-lisp/package.el (package-el-version): Remove.
10648 (package-process-define-package): Fix inf-loop.
10649 (package-install): Allow symbols as arguments again.
10650
10651 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10652
10653 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10654 add some more keyword-like methods.
10655 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10656
10657 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10658
10659 * bs.el (bs-buffer-show-mark): Make defvar-local.
10660 (bs-mode): Use setq-local.
10661
10662 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10663 (emacs-lock--try-unlocking): Make defvar-local.
10664
10665 2013-06-22 Glenn Morris <rgm@gnu.org>
10666
10667 * play/cookie1.el (cookie-apropos): Minor simplification.
10668
10669 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10670
10671 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10672
10673 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10674 `regexp-opt', it breaks the build during dumping.
10675
10676 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10677
10678 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10679 Highlight keyword-like methods on Kernel and Module with
10680 font-lock-builtin-face.
10681 (auto-mode-alist): Consolidate different entries into one regexp
10682 and add more *file-s.
10683
10684 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10685
10686 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10687
10688 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10689 (diary-entry): Use it in the action of this button type instead of
10690 diary-goto-entry.
10691
10692 * calendar/todo-mode.el: New version.
10693 (todo-add-category): Append new category to end of file and give
10694 it the highest number, instead of putting it at the beginning and
10695 giving it 0. Incorporate noninteractive functionality.
10696 (todo-forward-category): Adapt to 1-based category numbering.
10697 Allow skipping over archived categories.
10698 (todo-backward-category): Derive from todo-forward-category.
10699 (todo-backward-item, todo-forward-item): Make noninteractive and
10700 delegate interactive part to new commands. Make sensitive to done items.
10701 (todo-categories): Make value an alist of category names and
10702 vectors of item counts.
10703 (todo-category-beg): Make a defconst.
10704 (todo-category-number): Use 1 instead of 0 as initial value.
10705 (todo-category-select): Make sensitive to overlays, optional item
10706 highlighting and done items.
10707 (todo-delete-item): Make sensitive to overlays and marked and done items.
10708 (todo-edit-item): Make sensitive to overlays and editing of
10709 date/time header optional. Add format checks.
10710 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10711 no-op if point is not on an item. Advertise using todo-edit-quit.
10712 (todo-edit-mode): Make sensitive to new format, font-locking, and
10713 multiple todo files.
10714 (todo-insert-item, todo-insert-item-here): Derive from
10715 todo-basic-insert-item and extend functionality.
10716 (todo-item-end, todo-item-start): Make sensitive to done items.
10717 (todo-item-string): Don't return text properties. Restore point.
10718 (todo-jump-to-category): Make sensitive to multiple todo files and
10719 todo archives. Use extended category completion.
10720 (todo-lower-item, todo-raise-item): Rename to *-priority and
10721 derive from todo-set-item-priority.
10722 (todo-mode): Derive from special-mode. Make sensitive to new
10723 format, font-locking and multiple todo files. Make read-only.
10724 (todo-mode-map): Don't suppress digit keys, so they can supply
10725 prefix arguments. Add many new key bindings.
10726 (todo-prefix): Insert as an overlay instead of file text.
10727 Change semantics from diary date expression to purely visual mark.
10728 (todo-print): Rename to todo-print-buffer. Make buffer display
10729 features printable. Remove option to restrict number of items
10730 printed. Add option to print to file.
10731 (todo-print-function): Rename to todo-print-buffer-function.
10732 (todo-quit): Extend to handle exiting new todo modes.
10733 (todo-remove-item): Make sensitive to overlays.
10734 (todo-save): Extend to buffers of filtered items.
10735 (todo-show): Make sensitive to done items, multiple todo files and
10736 new todo modes. Offer to convert legacy todo file before creating
10737 first new todo file.
10738 (todo-show-priorities): Rename to todo-top-priorities.
10739 Change semantics of value 0.
10740 (todo-top-priorities): Rename to todo-filter-top-priorities,
10741 derive from todo-filter-items and extend functionality.
10742 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10743 and extend functionality to other types of filtered items.
10744 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10745 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10746 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10747 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10748 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10749 (todo-edit-mode-hook, todo-entry-prefix-function)
10750 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10751 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10752 (todo-initials, todo-insert-threshold, todo-item-string-start)
10753 (todo-line-string, todo-menu, todo-mode-hook)
10754 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10755 (todo-print-priorities, todo-remove-separator)
10756 (todo-save-top-priorities-too, todo-string-count-lines)
10757 (todo-string-multiline-p, todo-time-string-format)
10758 (todo-tmp-buffer-name): Remove.
10759 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10760 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10761 (todo-edit-category-diary-inclusion)
10762 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10763 (todo-edit-file, todo-edit-item-date-day)
10764 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10765 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10766 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10767 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10768 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10769 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10770 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10771 (todo-filter-top-priorities-multifile, todo-find-archive)
10772 (todo-find-filtered-items-file, todo-go-to-source-item)
10773 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10774 (todo-jump-to-archive-category, todo-lower-category)
10775 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10776 (todo-move-category, todo-move-item, todo-next-button)
10777 (todo-next-item, todo-padded-string, todo-powerset)
10778 (todo-previous-button, todo-previous-item)
10779 (todo-print-buffer-to-file, todo-raise-category)
10780 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10781 (todo-set-category-number, todo-set-item-priority)
10782 (todo-set-top-priorities-in-category)
10783 (todo-set-top-priorities-in-file, todo-show-categories-table)
10784 (todo-sort-categories-alphabetically-or-numerically)
10785 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10786 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10787 (todo-toggle-item-header, todo-toggle-item-highlighting)
10788 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10789 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10790 (todo-unarchive-items, todo-unmark-category): New commands.
10791 (todo-absolute-file-name, todo-add-to-buffer-list)
10792 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10793 (todo-basic-insert-item, todo-category-completions)
10794 (todo-category-number, todo-category-string-matcher-1)
10795 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10796 (todo-check-format, todo-clear-matches)
10797 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10798 (todo-current-category, todo-date-string-matcher)
10799 (todo-define-insertion-command, todo-diary-expired-matcher)
10800 (todo-diary-goto-entry, todo-diary-item-p)
10801 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10802 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10803 (todo-done-item-section-p, todo-done-separator)
10804 (todo-done-string-matcher, todo-files, todo-filter-items)
10805 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10806 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10807 (todo-insert-category-line, todo-insert-item-from-calendar)
10808 (todo-insert-sort-button, todo-insert-with-overlays)
10809 (todo-insertion-command-name, todo-insertion-key-bindings)
10810 (todo-label-to-key, todo-longest-category-name-length)
10811 (todo-make-categories-list, todo-mode-external-set)
10812 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10813 (todo-modes-set-3, todo-multiple-filter-files)
10814 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10815 (todo-read-category, todo-read-date, todo-read-dayname)
10816 (todo-read-file-name, todo-read-time)
10817 (todo-reevaluate-category-completions-files-defcustom)
10818 (todo-reevaluate-default-file-defcustom)
10819 (todo-reevaluate-filelist-defcustoms)
10820 (todo-reevaluate-filter-files-defcustom)
10821 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10822 (todo-reset-done-separator, todo-reset-done-separator-string)
10823 (todo-reset-done-string, todo-reset-global-current-todo-file)
10824 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10825 (todo-reset-prefix, todo-set-categories)
10826 (todo-set-date-from-calendar, todo-set-show-current-file)
10827 (todo-set-top-priorities, todo-short-file-name)
10828 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10829 (todo-total-item-counts, todo-update-buffer-list)
10830 (todo-update-categories-display, todo-update-categories-sexp)
10831 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10832 New functions.
10833 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10834 New major modes.
10835 (todo-categories, todo-display, todo-edit, todo-faces)
10836 (todo-filtered): New defgroups.
10837 (todo-archived-only, todo-button, todo-category-string, todo-date)
10838 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10839 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10840 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10841 (todo-add-item-if-new-category, todo-always-add-time-string)
10842 (todo-categories-align, todo-categories-archived-label)
10843 (todo-categories-category-label, todo-categories-diary-label)
10844 (todo-categories-done-label, todo-categories-number-separator)
10845 (todo-categories-todo-label, todo-categories-totals-label)
10846 (todo-category-completions-files, todo-completion-ignore-case)
10847 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10848 (todo-done-separator-string, todo-done-string)
10849 (todo-files-function, todo-filter-done-items, todo-filter-files)
10850 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10851 (todo-initial-category, todo-initial-file, todo-item-mark)
10852 (todo-legacy-date-time-regexp, todo-mode-line-function)
10853 (todo-nondiary-marker, todo-number-prefix)
10854 (todo-print-buffer-function, todo-show-current-file)
10855 (todo-show-done-only, todo-show-first, todo-show-with-done)
10856 (todo-skip-archived-categories, todo-top-priorities-overrides)
10857 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10858 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10859 New defcustoms.
10860 (todo-category-done, todo-date-pattern, todo-date-string-start)
10861 (todo-diary-items-buffer, todo-done-string-start)
10862 (todo-filtered-items-buffer, todo-item-start)
10863 (todo-month-abbrev-array, todo-month-name-array)
10864 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10865 (todo-top-priorities-buffer): New defconsts.
10866 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10867 (todo-categories-with-marks, todo-category-string-face)
10868 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10869 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10870 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10871 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10872 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10873 (todo-font-lock-keywords, todo-global-current-todo-file)
10874 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10875 (todo-insertion-commands-args)
10876 (todo-insertion-commands-args-genlist)
10877 (todo-insertion-commands-names, todo-insertion-map)
10878 (todo-key-bindings-t, todo-key-bindings-t+a)
10879 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10880 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10881 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10882 (todo-visited): New variables.
10883
10884 2013-06-21 Glenn Morris <rgm@gnu.org>
10885
10886 * play/cookie1.el (cookie-apropos): Add optional display argument.
10887 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10888 (psychoanalyze-pinhead): Use cookie-doctor.
10889
10890 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10891
10892 * emacs-lisp/package.el (tar-get-file-descriptor)
10893 (tar--extract): Declare.
10894
10895 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10896
10897 Extend flymake's warning predicate to be a function (bug#14217).
10898 * progmodes/flymake.el (flymake-warning-predicate): New.
10899 (flymake-parse-line): Use it.
10900 (flymake-warning-re): Make obsolete alias to
10901 `flymake-warning-predicate'.
10902
10903 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10904
10905 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10906 (package-obsolete-list): Remove.
10907 (package-activate): Remove min-version argument. Add `force' argument.
10908 Adjust to new package-alist format.
10909 (package-mark-obsolete): Remove.
10910 (package-unpack): Force reload of the package's autoloads.
10911 (package-installed-p): Check builtins if the installed package is not
10912 recent enough.
10913 (package-initialize): Don't reset package-obsolete-list.
10914 Don't specify which package version to activate.
10915 (package-process-define-package, describe-package-1)
10916 (package-menu--generate): Adjust to new package-alist format.
10917
10918 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10919
10920 * allout-widgets.el (allout-widgets-mode-off)
10921 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10922 (allout-widgets-post-command-business)
10923 (allout-widgets-after-copy-or-kill-function)
10924 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10925 (allout-decorate-item-and-context)
10926 (allout-graphics-modification-handler): Fix typos in docstrings.
10927 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10928
10929 * cmuscheme.el (scheme-start-file): Doc fix.
10930 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10931 (scheme-input-filter): Use `string-match-p'.
10932
10933 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10934
10935 * dired-x.el: Use Dired consistently in docstrings.
10936
10937 * dired.el: Use Dired consistently in docstrings.
10938 (dired-readin, dired-mode): Use `setq-local'.
10939 (dired-switches-alist): Make defvar-local.
10940 (dired-buffers-for-dir): Use `zerop'.
10941 (dired-safe-switches-p, dired-switches-escape-p)
10942 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10943 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10944 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10945 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10946 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10947 (dired-toggle-marks, dired-mark-files-containing-regexp)
10948 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10949 (dired-flag-auto-save-files, dired-flag-backup-files):
10950 Use `looking-at-p'.
10951 (dired-mark-files-regexp, dired-build-subdir-alist):
10952 Use `string-match-p', `looking-at-p'.
10953
10954 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10955 (direct-print-region-helper): Use `string-match-p'.
10956
10957 2013-06-21 Leo Liu <sdl.web@gmail.com>
10958
10959 * comint.el (comint-redirect-results-list-from-process):
10960 Fix infinite loop.
10961
10962 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10963
10964 * net/eww.el (eww-update-header-line-format): Quote % characters.
10965
10966 2013-06-21 Glenn Morris <rgm@gnu.org>
10967
10968 * play/cookie1.el (cookie): New custom group.
10969 (cookie-file): New option.
10970 (cookie-check-file): New function.
10971 (cookie): Make it interactive. Make start and end messages optional.
10972 Interactively, display the result. Default to cookie-file.
10973 (cookie-insert): Default to cookie-file.
10974 (cookie-snarf): Make start and end messages optional.
10975 Default to cookie-file. Use with-temp-buffer.
10976 (cookie-read): Rename from read-cookie.
10977 Make start and end messages optional. Default to cookie-file.
10978 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10979 Do not autoload it.
10980 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10981 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10982
10983 2013-06-21 Leo Liu <sdl.web@gmail.com>
10984
10985 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10986
10987 2013-06-21 Glenn Morris <rgm@gnu.org>
10988
10989 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10990
10991 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10992 Daniel Hackney <dan@haxney.org>
10993
10994 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10995 Consolidate the single-file vs tarball code.
10996 (package-desc-suffix): New function.
10997 (package-desc-full-name): Don't bother inlining it.
10998 (package-load-descriptor): Return the new package-desc.
10999 (package-mark-obsolete): Remove unused arg `package'.
11000 (package-unpack): Make it work for single files as well.
11001 Make it update package-alist.
11002 (package--make-autoloads-and-stuff): Rename from
11003 package--make-autoloads-and-compile. Don't compile any more.
11004 (package--compile): New function.
11005 (package-generate-description-file): New function, extracted from
11006 package-unpack-single.
11007 (package-unpack-single): Remove.
11008 (package--with-work-buffer): Add indentation and debugging info.
11009 (package-download-single): Remove.
11010 (package-install-from-archive): Rename from package-download-tar, make
11011 it take a pkg-desc, and make it work for single files as well.
11012 (package-download-transaction): Simplify.
11013 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11014 external tar program.
11015 (package-install-from-buffer): Remove `pkg-desc' argument.
11016 Use package-tar-file-info for tar-mode buffers.
11017 (package-install-file): Simplify accordingly.
11018 (package-archive-base): Change to take a pkg-desc.
11019 * tar-mode.el (tar--check-descriptor): New function, extracted from
11020 tar-get-descriptor.
11021 (tar-get-descriptor): Use it.
11022 (tar-get-file-descriptor): New function.
11023 (tar--extract): New function, extracted from tar-extract.
11024 (tar--extract): Use it.
11025 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11026 case the summary uses non-ascii. Adjust to new calling convention of
11027 package-tar-file-info.
11028
11029 2013-06-21 Leo Liu <sdl.web@gmail.com>
11030
11031 * comint.el (comint-redirect-results-list-from-process):
11032 Fix random delay. (Bug#14681)
11033
11034 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11035
11036 * profiler.el (profiler-format-number): Use log, not log10.
11037
11038 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11039
11040 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11041
11042 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11043
11044 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11045 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11046 yet available.
11047 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11048 (AUTOGENEL): ... here.
11049 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11050 (cl--defsubst-expand): Use it.
11051
11052 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11053
11054 * subr.el (log10): Move here from C code, and declare as obsolete.
11055 All uses of (log10 X) replaced with (log X 10).
11056
11057 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11058
11059 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11060 Declare with `defvar-local'.
11061 (tabulated-list-use-header-line, tabulated-list-entries)
11062 (tabulated-list-padding, tabulated-list-printer)
11063 (tabulated-list-sort-key): Declare with `defvar-local'.
11064 (tabulated-list-init-header, tabulated-list-print-fake-header):
11065 Use `setq-local'.
11066
11067 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11068
11069 * arc-mode.el (archive-mode): Add `archive-write-file' to
11070 `write-contents-functions' also for remote files. (Bug#14652)
11071
11072 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11073
11074 * cus-edit.el (custom-commands): Fix typos.
11075 (custom-display): Fix tooltip text.
11076 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11077 Fix typos in docstrings.
11078 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11079 (custom-unlispify-menu-entry, custom-magic-value-create)
11080 (custom-add-see-also, custom-group-value-create): Use ?\s.
11081 (custom-guess-type, customize-apropos, editable-field)
11082 (custom-face-value-create): Use `string-match-p'.
11083 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11084
11085 * custom.el (custom-load-symbol): Use `string-match-p'.
11086
11087 * ansi-color.el: Convert to lexical binding.
11088 (ansi-colors): Fix URL.
11089 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11090 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11091 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11092
11093 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11094
11095 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11096
11097 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11098
11099 2013-06-19 Tom Tromey <tromey@redhat.com>
11100
11101 * net/eww.el (eww-top-url): Remove.
11102 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11103 (eww-render): Set new variables. Don't set eww-top-url.
11104 (eww-handle-link): Handle "prev", "home", and "contents".
11105 Downcase the rel text.
11106 (eww-top-url): Choose best top URL.
11107
11108 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11109
11110 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11111 relying in widget.el. Using widget.el leads to too many
11112 user interface inconsistencies.
11113 (eww-self-insert): Implement entering commands in text fields.
11114 (eww-process-text-input): New function to make text input field editing
11115 work.
11116 (eww-submit): Rewrite to use the new-style form methods.
11117 (eww-select-display): Display the correct selected item.
11118 (eww-change-select): Implement changing the select value.
11119 (eww-toggle-checkbox): Implement radio/checkboxes.
11120 (eww-update-field): Fix compilation error.
11121 (eww-tag-textarea): Implement <textarea>.
11122
11123 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11124 we don't shadow mode-specific bindings.
11125
11126 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11127 nothing to push.
11128
11129 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11130
11131 2013-06-19 Glenn Morris <rgm@gnu.org>
11132
11133 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11134
11135 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11136
11137 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11138 not needed.
11139
11140 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11141
11142 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11143
11144 * net/browse-url.el (browse-url-browser-function):
11145 `eww-browse-url' has the right calling signature, `eww' does not.
11146
11147 2013-06-19 Glenn Morris <rgm@gnu.org>
11148
11149 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11150 Only eval autoloaded macros.
11151 (byte-compile-autoload): Only give the macro warning for macros.
11152
11153 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11154 (ps-underlined-faces): Declare.
11155
11156 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11157 (speedbar-add-supported-extension): Declare.
11158
11159 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11160 Don't include a date stamp in the header of the generated file;
11161 it leads to needless differences between output files.
11162
11163 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11164
11165 * net/secrets.el (secrets-struct-secret-content-type):
11166 Replace check of introspection data by a test call of "CreateItem".
11167 Some servers do not offer introspection.
11168
11169 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11170
11171 * electric.el (electric-pair-mode): Improve interaction with
11172 electric-layout-mode.
11173 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11174 (electric-pair-syntax): Use text-mode-syntax-table in comments
11175 and strings.
11176 (electric-pair--insert): New function.
11177 (electric-pair-post-self-insert-function): Use it and
11178 electric--after-char-pos.
11179
11180 2013-06-19 Leo Liu <sdl.web@gmail.com>
11181
11182 * progmodes/octave.el (octave-help): Fix regexp.
11183
11184 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11185
11186 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11187 (shr-table-horizontal-line): Allow nil as a value, and change the
11188 default.
11189 (shr-insert-table-ruler): Respect the nil value.
11190
11191 2013-06-18 Tom Tromey <tromey@barimba>
11192
11193 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11194 New defvars.
11195 (eww-open-file): New defun.
11196 (eww-render): Initialize new variables.
11197 (eww-display-html): Handle "link" and "a".
11198 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11199 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11200 (eww-back-url): Rename from eww-previous-url.
11201 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11202 New defuns.
11203
11204 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11205
11206 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11207 Distinguish ternary operator tokens from slash symbol and slash
11208 char literal.
11209
11210 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11211
11212 Convert symbol prettification into minor mode and global minor mode.
11213
11214 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11215 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11216 (prettify-symbols--keywords): Rename from
11217 `prog-prettify-symbols-alist' and make a local defvar.
11218 (prettify-symbols--compose-symbol): Rename from
11219 `prog--prettify-font-lock-compose-symbol'.
11220 (prettify-symbols--make-keywords): Rename from
11221 `prog-prettify-font-lock-symbols-keywords' and simplify.
11222 (prog-prettify-install): Remove.
11223 (prettify-symbols-mode): New minor mode, based on
11224 `prog-prettify-install'.
11225 (turn-on-prettify-symbols-mode): New function.
11226 (global-prettify-symbols-mode): New globalized minor mode.
11227
11228 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11229 * progmodes/cfengine.el (cfengine3-mode):
11230 * progmodes/perl-mode.el (perl-mode): Don't call
11231 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11232
11233 2013-06-18 Juri Linkov <juri@jurta.org>
11234
11235 * files-x.el (modify-file-local-variable-message): New function.
11236 (modify-file-local-variable)
11237 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11238 and call `modify-file-local-variable-message' when it's non-nil.
11239 (add-file-local-variable, delete-file-local-variable)
11240 (add-file-local-variable-prop-line)
11241 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11242 and use it. (Bug#9820)
11243
11244 2013-06-18 Juri Linkov <juri@jurta.org>
11245
11246 * emulation/vi.el (vi-shell-op):
11247 * emulation/vip.el (vip-execute-com, ex-command):
11248 * emulation/viper-cmd.el (viper-exec-bang):
11249 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11250 the call of `shell-command-on-region'. (Bug#14637)
11251
11252 * simple.el (shell-command-on-region): Doc fix.
11253
11254 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11257 (bug#14633).
11258
11259 2013-06-18 Glenn Morris <rgm@gnu.org>
11260
11261 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11262
11263 * newcomment.el (comment-search-forward, comment-search-backward):
11264 Doc fix. (Bug#14376)
11265
11266 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11267
11268 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11269 (buffer-face-mode-invoke): Doc fix.
11270
11271 2013-06-18 Matthias Meulien <orontee@gmail.com>
11272
11273 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11274 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11275
11276 2013-06-18 Glenn Morris <rgm@gnu.org>
11277
11278 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11279 Replace obsolete function generic-make-keywords with its expansion.
11280
11281 * progmodes/python.el (ffap-alist): Declare.
11282
11283 * textmodes/reftex.el (bibtex-mode-map): Declare.
11284
11285 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11286
11287 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11288 (package-unpack, package-unpack-single): Return the pkg-dir.
11289 (package-download-transaction): Use it to update package-alist.
11290
11291 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11292
11293 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11294 possible choice.
11295
11296 2013-06-17 Juri Linkov <juri@jurta.org>
11297
11298 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11299
11300 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11301
11302 * emacs-lisp/package.el (package-load-descriptor):
11303 Remove `with-syntax-table' call, `read' doesn't need it.
11304 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11305
11306 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11307
11308 * startup.el (command-line): Expand package name returned by
11309 `package--description-file' (bug#14639).
11310
11311 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11312
11313 * emacs-lisp/package.el (package-load-descriptor): Do not call
11314 `emacs-lisp-mode', just use its syntax table.
11315
11316 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11317
11318 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11319 `font-lock-extra-managed-props' if any prettifying keyword is added.
11320 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11321 (prog-mode): Use `setq-local'.
11322
11323 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11324
11325 * international/characters.el (standard-case-table): Set syntax of ?»
11326 and ?« to punctuation.
11327
11328 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11329
11330 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11331 Save relevant match data before calling `syntax-ppss' (bug#14595).
11332
11333 2013-06-15 Juri Linkov <juri@jurta.org>
11334
11335 * files-x.el (modify-file-local-variable-prop-line): Add local
11336 variables to the end of the existing comment on the first line.
11337 Use `file-auto-mode-skip' to skip interpreter magic line,
11338 and also skip XML declaration.
11339
11340 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11341
11342 * startup.el (package--builtin-versions): New var.
11343 (package-subdirectory-regexp): Remove.
11344 (package--description-file): Hard code its value instead.
11345
11346 * emacs-lisp/package.el: Don't activate packages older than builtin.
11347 (package-obsolete-list): Rename from package-obsolete-alist, and make
11348 it into a simple list of package-desc.
11349 (package-strip-version): Remove.
11350 (package-built-in-p): Use package--builtin-versions.
11351 (package-mark-obsolete): Simplify.
11352 (package-process-define-package): Mark it obsolete if older than the
11353 builtin version.
11354 (package-handle-response): Use line-end-position.
11355 (package-read-archive-contents, package--download-one-archive):
11356 Simplify.
11357 (package--add-to-archive-contents): Skip if older than the builtin or
11358 installed version.
11359 (package-menu-describe-package): Fix last change.
11360 (package-list-unversioned): New var.
11361 (package-menu--generate): Use it.
11362
11363 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11364 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11365 (autoload-builtin-package-versions): New variable.
11366 (autoload-generate-file-autoloads): Use them.
11367 Remove the list of autoloaded functions/macros from the
11368 (autoload...) comments.
11369
11370 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11371
11372 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11373
11374 * simple.el (line-move-partial): Don't jump to the next screen
11375 line as soon as it becomes visible. Instead, continue enlarging
11376 the vscroll until the portion of a tall screen line that's left on
11377 display is about the height of the frame's default font.
11378 (Bug#14567)
11379
11380 2013-06-15 Glenn Morris <rgm@gnu.org>
11381
11382 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11383 compilation-error-regexp-alist void, or local while let-bound.
11384
11385 * progmodes/make-mode.el (makefile-mode-syntax-table):
11386 Treat "=" as punctuation. (Bug#14614)
11387
11388 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11389
11390 * help-fns.el (describe-variable):
11391 Add extra line for permanent-local variables.
11392
11393 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11394
11395 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11396 Add export, import, library. (Bug#9164)
11397 (library): Set indent function.
11398
11399 2013-06-14 Glenn Morris <rgm@gnu.org>
11400
11401 * term/xterm.el (xterm--query):
11402 Stop after first matching handler. (Bug#14615)
11403
11404 2013-06-14 Ivan Kanis <ivan@kanis.fr>
11405
11406 Add support for dired in saveplace.
11407 * dired.el (dired-initial-position-hook): New variable.
11408 (dired-initial-position): Call hook to place cursor position.
11409 * saveplace.el (save-place-to-alist): Add dired position.
11410 (save-place-dired-hook): New function.
11411
11412 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11413
11414 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11415 through a symbol rather than letrec.
11416
11417 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11418 (package-desc): Add `dir' field.
11419 (package-desc-full-name): New function.
11420 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11421 (package-maybe-load-descriptor): Remove.
11422 (package-load-all-descriptors): Just call package-load-descriptor.
11423 (package--disabled-p): New function.
11424 (package-desc-vers, package-desc-doc): Remove aliases.
11425 (package--dir): Remove function.
11426 (package-activate): Check if a package is disabled.
11427 (package-process-define-package): New function, extracted from
11428 define-package.
11429 (define-package): Turn into a place holder.
11430 (package-unpack-single, package-tar-file-info):
11431 Use package--description-file.
11432 (package-compute-transaction): Use package--disabled-p.
11433 (package-download-transaction): Don't call
11434 package-maybe-load-descriptor since they're all loaded anyway.
11435 (package-install): Change argument to be a pkg-desc.
11436 (package-delete): Use a single pkg-desc argument.
11437 (describe-package-1): Use package-desc-dir instead of package--dir.
11438 Use package-desc property instead of package-symbol.
11439 (package-install-button-action): Adjust accordingly.
11440 (package--push): Rewrite.
11441 (package-menu--print-info): Adjust accordingly. Change the ID format
11442 to be a pkg-desc.
11443 (package-menu-describe-package, package-menu-get-status)
11444 (package-menu--find-upgrades, package-menu-mark-upgrades)
11445 (package-menu-execute, package-menu--name-predicate):
11446 Adjust accordingly.
11447 * startup.el (package--description-file): New function.
11448 (command-line): Use it.
11449 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11450 Use package-desc-version.
11451
11452 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11453 (byte-compile-preprocess): Use it.
11454 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11455 can't quite recognize.
11456 (byte-compile-add-to-list): Remove.
11457 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11458 (cconv-closure-convert): Add assertion.
11459
11460 * emacs-lisp/map-ynp.el: Use lexical-binding.
11461 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11462 Factor out some repeated code.
11463
11464 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11465
11466 * subr.el (with-eval-after-load): New macro.
11467 (eval-after-load): Allow form to be a function.
11468 take advantage of lexical-binding.
11469 (do-after-load-evaluation): Use dolist and adjust to new format.
11470 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11471
11472 2013-06-13 Juri Linkov <juri@jurta.org>
11473
11474 * replace.el (perform-replace): Display "symbol " and other search
11475 modes from `isearch-message-prefix' in the *Help* buffer.
11476
11477 * isearch.el (isearch-query-replace): Add " symbol" and other
11478 possible search modes from `isearch-message-prefix' to the prompt.
11479 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11480 when reading a regexp to collect.
11481
11482 2013-06-13 Juri Linkov <juri@jurta.org>
11483
11484 * isearch.el (word-search-regexp): Match whitespace if the search
11485 string begins or ends in whitespace. The LAX arg is applied to
11486 both ends of the search string. Use `regexp-quote' and explicit
11487 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11488 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11489 boundaries are replaced with symbol boundaries, and characters
11490 between symbols match non-word non-symbol syntax. (Bug#14602)
11491
11492 2013-06-13 Juri Linkov <juri@jurta.org>
11493
11494 * isearch.el (isearch-del-char): Don't exceed the length of
11495 `isearch-string' by the prefix arg. (Bug#14563)
11496
11497 2013-06-13 Juri Linkov <juri@jurta.org>
11498
11499 * isearch.el (isearch-yank-word, isearch-yank-line)
11500 (isearch-char-by-name, isearch-quote-char)
11501 (isearch-printing-char, isearch-process-search-char):
11502 Add optional count prefix arg. (Bug#14563)
11503
11504 * international/isearch-x.el
11505 (isearch-process-search-multibyte-characters):
11506 Add optional count prefix arg.
11507
11508 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11511 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11512 lexical-binding.
11513
11514 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11515
11516 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11517
11518 2013-06-13 Glenn Morris <rgm@gnu.org>
11519
11520 * startup.el (tty-handle-args):
11521 Don't just discard "--" and anything after. (Bug#14608)
11522
11523 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11524
11525 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11526
11527 Implement changes in Secret Service API. Make it backward compatible.
11528 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11529 (secrets-create-item): Use it. Prefix properties with interface.
11530
11531 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11532
11533 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11534 (term-emulate-terminal): Respect term-suppress-hard-newline.
11535
11536 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11537
11538 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11539 Only remove a `thumb-file' overlay. (Bug#14548)
11540
11541 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11542
11543 * mail/reporter.el (reporter-submit-bug-report):
11544 Handle missing package-name. (Bug#14600)
11545
11546 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11547
11548 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11549 (reftex-citation-prompt, reftex-default-bibliography)
11550 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11551 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11552 (reftex-bib-sort-author, reftex-bib-sort-year)
11553 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11554 (reftex-extract-bib-entries-from-thebibliography)
11555 (reftex-get-bibkey-default, reftex-get-bib-names)
11556 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11557 (reftex-format-bib-entry, reftex-parse-bibitem)
11558 (reftex-format-bibitem, reftex-do-citation)
11559 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11560 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11561 (reftex-insert-bib-matches, reftex-format-citation)
11562 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11563 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11564 existing comments into docstrings.
11565
11566 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11567
11568 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11569
11570 2013-06-12 Andreas Schwab <schwab@suse.de>
11571
11572 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11573 for auto-save files.
11574
11575 2013-06-12 Glenn Morris <rgm@gnu.org>
11576
11577 * ido.el (ido-delete-ignored-files): Remove.
11578 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11579 Go back to calling ido-ignore-item-p directly.
11580
11581 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11582
11583 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11584
11585 * ido.el (ido-delete-ignored-files): New function,
11586 split from ido-make-file-list-1.
11587 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11588 (ido-make-file-list-1): Use ido-delete-ignored-files.
11589
11590 2013-06-12 Leo Liu <sdl.web@gmail.com>
11591
11592 * progmodes/octave.el (inferior-octave-startup)
11593 (inferior-octave-completion-table)
11594 (inferior-octave-track-window-width-change)
11595 (octave-eldoc-function-signatures, octave-help)
11596 (octave-find-definition): Use single quoted strings.
11597 (inferior-octave-startup-args): Change default value.
11598 (inferior-octave-startup): Do not hard code "-i" and
11599 "--no-line-editing".
11600 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11601 (inferior-octave-directory-tracker): Use it.
11602 (octave-goto-function-definition): Robustify.
11603 (octave-help): Support highlighting operators in 'See also'.
11604 (octave-find-definition): Find subfunctions only in Octave mode.
11605
11606 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11607
11608 * help-fns.el (help-fns--compiler-macro): If the handler function is
11609 named, then put a link to it.
11610 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11611 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11612 (cl-typep): Use it.
11613 (cl-eval-when): Simplify debug spec.
11614 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11615 compiler-macro function instead of setting `compiler-macro-file'.
11616
11617 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11618
11619 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11620 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11621
11622 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11623 Daniel Hackney <dan@haxney.org>
11624
11625 First part of Daniel Hackney's patch to package.el.
11626 * emacs-lisp/package.el: Use defstruct.
11627 (package-desc): New, main struct.
11628 (package--bi-desc, package--ac-desc): New structs, used to describe the
11629 format in external files.
11630 (package-desc-vers): Replace with package-desc-version accessor.
11631 (package-desc-doc): Replace with package-desc-summary accessor.
11632 (package-activate-1): Remove `package' arg since the pkg-vec now
11633 includes the name.
11634 (define-package): Use package-desc-from-define.
11635 (package-unpack-single): Change file-name arg to be a symbol.
11636 (package--add-to-archive-contents): Use package-desc-create and new
11637 accessor functions to package--ac-desc.
11638 (package-buffer-info, package-tar-file-info): Return a package-desc.
11639 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11640 arg to be a package-desc.
11641 (package-install-file): Adjust accordingly. Use \' to match EOS.
11642 (package--from-builtin): New function.
11643 (describe-package-1, package-menu--generate): Use it.
11644 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11645 (package-generate-autoloads): Idem and return the name of the file.
11646 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11647 Change pkg-info arg to be a package-desc.
11648 Use package-make-ac-desc.
11649 (package-upload-file): Use \' to match EOS.
11650 * finder.el (finder-compile-keywords): Use package-make-builtin.
11651
11652 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11653
11654 * vc/vc.el (vc-deduce-fileset): Change error message.
11655 (vc-read-backend): New function.
11656 (vc-next-action): Use it.
11657
11658 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11659
11660 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11661 (prolog-font-lock-keywords): Use regexp-opt instead.
11662 Don't manually highlight strings.
11663 (prolog-mode-variables): Simplify comment-start-skip.
11664 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11665
11666 * emacs-lisp/generic.el (generic--normalise-comments)
11667 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11668 (generic-mode-set-comments): Use them.
11669 (generic-bracket-support): Use setq-local.
11670 (generic-make-keywords-list): Declare obsolete.
11671
11672 2013-06-11 Glenn Morris <rgm@gnu.org>
11673
11674 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11675 Prettify after setting font-lock-defaults. (Bug#14574)
11676
11677 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11678
11679 * replace.el (query-replace, occur-read-regexp-defaults-function)
11680 (replace-search):
11681 * subr.el (declare-function, number-sequence, local-set-key)
11682 (substitute-key-definition, locate-user-emacs-file)
11683 (with-silent-modifications, split-string, eval-after-load):
11684 Fix typos, remove unneeded backslashes and reflow some docstrings.
11685
11686 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11689 default for Elisp files.
11690
11691 2013-06-11 Glenn Morris <rgm@gnu.org>
11692
11693 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11694 although define-derived-mode was doing this anyway. (Bug#14583)
11695
11696 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11697
11698 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11699 Fix make-variable-buffer-local call to refer to the correct variable.
11700
11701 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11702
11703 * eshell/em-term.el (eshell-visual-commands)
11704 (eshell-visual-subcommands, eshell-visual-options):
11705 Add summary line to docstrings. Add cross-references.
11706
11707 2013-06-10 Glenn Morris <rgm@gnu.org>
11708
11709 * epa.el (epa-read-file-name): New function. (Bug#14510)
11710 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11711
11712 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11713
11714 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11715 output redirection to be ignored with visual commands.
11716
11717 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11718
11719 * eshell/em-term.el (eshell-visual-command-p): New function.
11720 (eshell-term-initialize): Move long lambda to separate function
11721 eshell-visual-command-p.
11722 * eshell/em-dirs.el (eshell-dirs-initialize):
11723 * eshell/em-script.el (eshell-script-initialize):
11724 Add missing #' to lambda.
11725
11726 2013-06-08 Leo Liu <sdl.web@gmail.com>
11727
11728 * progmodes/octave.el (octave-add-log-current-defun): New function.
11729 (octave-mode): Set add-log-current-defun-function.
11730 (octave-goto-function-definition): Do not move point if not found.
11731 (octave-find-definition): Enhance to try subfunctions first.
11732
11733 2013-06-08 Glenn Morris <rgm@gnu.org>
11734
11735 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11736 (byte-compile-backward-char, byte-compile-backward-word):
11737 Improve previous change, to handle non-explicit nil.
11738
11739 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11740
11741 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11742 (smie--opener/closer-at-point): New function.
11743 (smie--matching-block-data): Use it. Don't match from right after an
11744 opener or right before a closer. Obey smie-blink-matching-inners.
11745 Don't signal a mismatch for repeated inners like "switch..case..case".
11746
11747 2013-06-07 Leo Liu <sdl.web@gmail.com>
11748
11749 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11750 to t. (Bug#14303)
11751 (octave-function-header-regexp): Fix. (Bug#14570)
11752 (octave-help-mode-finish-hook, octave-help-mode-finish):
11753 Remove. Just use temp-buffer-show-hook.
11754
11755 * newcomment.el (comment-search-backward): Revert last change.
11756 (Bug#14434)
11757
11758 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11759
11760 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11761
11762 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11763 through xargs, to avoid failure due to MS-Windows limitations on
11764 command-line length.
11765
11766 2013-06-06 Glenn Morris <rgm@gnu.org>
11767
11768 * font-lock.el (lisp-font-lock-keywords-2):
11769 Treat user-error like error.
11770
11771 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11772 (byte-compile-backward-char, byte-compile-backward-word):
11773 Handle explicit nil arguments. (Bug#14565)
11774
11775 2013-06-05 Alan Mackenzie <acm@muc.de>
11776
11777 * isearch.el (isearch-allow-prefix): New user option.
11778 (isearch-other-meta-char): Don't exit isearch when a prefix
11779 argument is typed whilst `isearch-allow-prefix' is non-nil.
11780 (Bug#9706)
11781
11782 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11783
11784 * autorevert.el (auto-revert-notify-handler): Use memq.
11785 Hide assertion failure.
11786
11787 * skeleton.el: Use cl-lib.
11788 (skeleton-further-elements): Use defvar-local.
11789 (skeleton-insert): Use cl-progv.
11790
11791 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11792
11793 * progmodes/prog-mode.el (prog-prettify-symbols)
11794 (prog-prettify-install): Update docstrings.
11795
11796 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11797
11798 * simple.el: Move all the prog-mode code to prog-mode.el.
11799 * progmodes/prog-mode.el: New file.
11800 * loadup.el: Add prog-mode.el.
11801
11802 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11803
11804 * simple.el (prog-prettify-symbols): Add version.
11805 (prog-prettify-install): Add convenience function to prettify symbols.
11806
11807 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11808 (perl--augmented-font-lock-keywords-1)
11809 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11810 variables and use it.
11811
11812 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11813 (cfengine3-mode): Remove unneeded variable and use it.
11814
11815 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11816 (lisp--augmented-font-lock-keywords-1)
11817 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11818 Remove unneeded variables and use it.
11819
11820 2013-06-05 João Távora <joaotavora@gmail.com>
11821
11822 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11823 to point when opening the connection. (Bug#14380)
11824
11825 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11826
11827 * subr.el (load-history-regexp, load-history-filename-element)
11828 (eval-after-load, after-load-functions, do-after-load-evaluation)
11829 (eval-next-after-load, display-delayed-warnings)
11830 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11831 definition of save-match-data.
11832 (overriding-local-map): Remove accidental obsolescence declaration.
11833
11834 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11835
11836 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11837
11838 Generalize symbol prettify support to prog-mode and implement it
11839 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11840 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11841 (prog--prettify-font-lock-compose-symbol)
11842 (prog-prettify-font-lock-symbols-keywords): New variables and
11843 functions to support symbol prettification.
11844 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11845 (lisp--augmented-font-lock-keywords-1)
11846 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11847 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11848 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11849 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11850 Implement prettify of -> => :: strings.
11851 * progmodes/perl-mode.el (perl-prettify-symbols)
11852 (perl--font-lock-compose-symbol)
11853 (perl--font-lock-symbols-keywords): Move to prog-mode.
11854 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11855 (perl-font-lock-keywords-1)
11856 (perl-font-lock-keywords-2): Remove explicit prettify support.
11857 (perl--augmented-font-lock-keywords)
11858 (perl--augmented-font-lock-keywords-1)
11859 (perl--augmented-font-lock-keywords-2, perl-mode):
11860 Implement prettify support.
11861
11862 2013-06-05 Leo Liu <sdl.web@gmail.com>
11863
11864 Re-implement SMIE matching block highlight using
11865 show-paren-data-function. (Bug#14395)
11866 * emacs-lisp/smie.el (smie-matching-block-highlight)
11867 (smie--highlight-matching-block-overlay)
11868 (smie--highlight-matching-block-lastpos)
11869 (smie-highlight-matching-block)
11870 (smie-highlight-matching-block-mode): Remove.
11871 (smie--matching-block-data-cache): New variable.
11872 (smie--matching-block-data): New function.
11873 (smie-setup): Use smie--matching-block-data for
11874 show-paren-data-function.
11875
11876 * progmodes/octave.el (octave-mode-menu): Fix.
11877 (octave-find-definition): Skip garbage lines.
11878
11879 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11880
11881 Fix compilation error with simultaneous dynamic+lexical scoping.
11882 Add warning when a defvar appears after the first let-binding.
11883 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11884 (byte-compile-close-variables): Initialize it.
11885 (byte-compile--declare-var): New function.
11886 (byte-compile-file-form-defvar)
11887 (byte-compile-file-form-define-abbrev-table)
11888 (byte-compile-file-form-custom-declare-variable): Use it.
11889 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11890 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11891 (byte-compile-bind): Handle dynamic bindings that shadow
11892 lexical bindings.
11893 (byte-compile-unbind): Make arg non-optional.
11894 (byte-compile-let): Simplify.
11895 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11896 (cconv--analyse-function, cconv-analyse-form): Populate it.
11897 Protect byte-compile-bound-variables to limit the scope of defvars.
11898 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11899 Remove unneeded rule for `declare'.
11900
11901 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11902 so as to avoid depending on cl-adjoin at run-time.
11903 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11904
11905 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11906 (macroexp--warn-and-return): Use it.
11907
11908 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11909
11910 * subr.el: Convert to lexical binding.
11911 (overriding-local-map): Make obsolete.
11912 (add-to-list): Doc fix. Add compiler macro.
11913 (read-key): Swap values of local maps.
11914
11915 2013-06-05 Leo Liu <sdl.web@gmail.com>
11916
11917 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11918
11919 2013-06-04 Leo Liu <sdl.web@gmail.com>
11920
11921 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11922 (compilation-auto-jump): Suppress the "Mark set" message to give
11923 way to exit message.
11924
11925 2013-06-04 Alan Mackenzie <acm@muc.de>
11926
11927 Remove faulty optimisation from indentation calculation.
11928 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11929 search limit based on 2000 characters back from indent-point.
11930
11931 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11932
11933 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11934
11935 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11936
11937 * emacs-lisp/lisp.el: Use lexical-binding.
11938 (lisp--local-variables-1, lisp--local-variables): New functions.
11939 (lisp--local-variables-completion-table): New var.
11940 (lisp-completion-at-point): Use it complete let-bound vars.
11941
11942 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11943 eagerly (bug#14422).
11944
11945 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11946
11947 * autorevert.el (auto-revert-notify-enabled)
11948 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11949 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11950 (auto-revert-notify-handler): Handle also gfilenotify.
11951
11952 * subr.el (file-notify-handle-event): New defun. Replacing ...
11953 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11954 Remove.
11955
11956 2013-06-03 Juri Linkov <juri@jurta.org>
11957
11958 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11959 `M-s h .'. (Bug#14427)
11960
11961 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11962 command `hi-lock-face-symbol-at-point'.
11963 (hi-lock-face-symbol-at-point): New command.
11964 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11965 (hi-lock-menu): Add `highlight-symbol-at-point'.
11966 (hi-lock-mode): Doc fix.
11967
11968 * isearch.el (isearch-forward-symbol-at-point): New command.
11969 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11970 (isearch-highlight-regexp): Add a regexp which matches
11971 words/symbols for word/symbol mode.
11972
11973 * subr.el (find-tag-default-bounds): New function with the body
11974 mostly moved from `find-tag-default'.
11975 (find-tag-default): Move most code to `find-tag-default-bounds',
11976 call it and apply `buffer-substring-no-properties' afterwards.
11977
11978 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11979
11980 * eshell/em-term.el (eshell-term-initialize):
11981 Use `cl-intersection' rather than `intersection'.
11982
11983 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11984
11985 * vc/log-view.el: Doc fix.
11986 (log-view-mode-map): Copy keymap from `special-mode-map'.
11987
11988 2013-06-02 Eric Ludlam <zappo@gnu.org>
11989
11990 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11991 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11992 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11993 (eieio-unbound, eieio-default-superclass)
11994 (eieio--define-field-accessors, method-static, method-before)
11995 (method-primary, method-after, method-num-lists)
11996 (method-generic-before, method-generic-primary)
11997 (method-generic-after, method-num-slots)
11998 (eieio-specialized-key-to-generic-key)
11999 (eieio--check-type, class-v, class-p)
12000 (eieio-class-name, define-obsolete-function-alias)
12001 (eieio-class-parents-fast, eieio-class-children-fast)
12002 (same-class-fast-p, class-constructor, generic-p)
12003 (generic-primary-only-p, generic-primary-only-one-p)
12004 (class-option-assoc, class-option, eieio-object-p)
12005 (class-abstract-p, class-method-invocation-order)
12006 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12007 (eieio-class-un-autoload, eieio-defclass)
12008 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12009 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12010 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12011 (eieio-defgeneric-reset-generic-form)
12012 (eieio-defgeneric-form-primary-only)
12013 (eieio-defgeneric-reset-generic-form-primary-only)
12014 (eieio-defgeneric-form-primary-only-one)
12015 (eieio-defgeneric-reset-generic-form-primary-only-one)
12016 (eieio-unbind-method-implementations)
12017 (eieio--defmethod, eieio--typep)
12018 (eieio-perform-slot-validation, eieio-validate-slot-value)
12019 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12020 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12021 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12022 (eieio-slot-name-index, eieio-class-slot-name-index)
12023 (eieio-set-defaults, eieio-initarg-to-attribute)
12024 (eieio-attribute-to-initarg, eieio-c3-candidate)
12025 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12026 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12027 (eieio-class-precedence-list, eieio-generic-call-methodname)
12028 (eieio-generic-call-arglst, eieio-generic-call-key)
12029 (eieio-generic-call-next-method-list)
12030 (eieio-pre-method-execution-functions, eieio-generic-call)
12031 (eieio-generic-call-primary-only, eieiomt-method-list)
12032 (eieiomt-optimizing-obarray, eieiomt-install)
12033 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12034 (eieio-generic-form, eieio-defmethod, make-obsolete)
12035 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12036 (defclass): Remove `eval-and-compile' from macro.
12037 (call-next-method, shared-initialize): Instead of using
12038 `scoped-class' variable, use new eieio--scoped-class, and
12039 eieio--with-scoped-class.
12040 (initialize-instance): Rename local variable 'scoped-class' to
12041 'this-class' to remove ambiguitity from old global.
12042
12043 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12044 eieio.el.
12045 (eieio--scoped-class-stack): New variable.
12046 (eieio--scoped-class): New fcn.
12047 (eieio--with-scoped-class): New scoping macro.
12048 (eieio-defclass): Use pushnew instead of add-to-list.
12049 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12050 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12051 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12052 `scoped-class' variable, use new eieio--scoped-class, and
12053 eieio--with-scoped-class.
12054
12055 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12056
12057 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12058
12059 * eshell/esh-ext.el (eshell-external-command): Pass args to
12060 `eshell-find-interpreter'.
12061 (eshell-find-interpreter): Add new second parameter ARGS.
12062
12063 * eshell/em-script.el (eshell-script-initialize): Add second arg
12064 to the function added as MATCH to `eshell-interpreter-alist'.
12065
12066 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12067 the function added as MATCH to `eshell-interpreter-alist'.
12068
12069 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12070 (eshell-visual-options): New defcustom.
12071 (eshell-escape-control-x): Adapt docstring.
12072 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12073 `eshell-visual-options' in addition to `eshell-visual-commands'.
12074 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12075
12076 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12077
12078 * progmodes/python.el (python-indent-block-enders): Add break,
12079 continue and raise keywords.
12080
12081 2013-06-01 Glenn Morris <rgm@gnu.org>
12082
12083 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12084
12085 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12086 * progmodes/cc-cmds.el (delete-forward-p):
12087 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12088 * progmodes/cc-engine.el (buffer-syntactic-context):
12089 * progmodes/cc-fonts.el (face-property-instance):
12090 * progmodes/cc-mode.el (set-keymap-parents):
12091 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12092 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12093 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12094 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12095 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12096
12097 * progmodes/cc-vars.el (other): Emacs has this widget since
12098 at least 21.1, so don't (re)define it.
12099
12100 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12101 Replace the obsolete alias pcomplete-arg-quote-list.
12102
12103 2013-06-01 Leo Liu <sdl.web@gmail.com>
12104
12105 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12106 punctuation syntax.
12107 (inferior-octave-minimal-columns)
12108 (inferior-octave-last-column-width): New variables.
12109 (inferior-octave-track-window-width-change): New function.
12110 (inferior-octave-mode): Adjust column width so that Octave output,
12111 for example from 'ls', can fit into the window nicely.
12112
12113 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12114
12115 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12116 Highlight expansions inside regexp literals.
12117
12118 2013-05-31 Glenn Morris <rgm@gnu.org>
12119
12120 * obsolete/sym-comp.el (symbol-complete):
12121 Replace obsolete completion-annotate-function.
12122
12123 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12124
12125 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12126
12127 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12128 New function, checks if point is inside a literal that allows
12129 expression expansion.
12130 (ruby-syntax-propertize-expansion): Use it.
12131 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12132 around the body.
12133
12134 2013-05-30 Juri Linkov <juri@jurta.org>
12135
12136 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12137 to "\M-si".
12138 (isearch-invisible): New variable.
12139 (isearch-forward): Doc fix.
12140 (isearch-mode): Set `isearch-invisible'
12141 to the value of `search-invisible'.
12142 (isearch-toggle-case-fold): Doc fix.
12143 (isearch-toggle-invisible): New command.
12144 (isearch-query-replace): Let-bind `search-invisible'
12145 to the value of `isearch-invisible'.
12146 (isearch-search): Use `isearch-invisible' instead of
12147 `search-invisible'. Let-bind `search-invisible'
12148 to the value of `isearch-invisible'. (Bug#11378)
12149
12150 2013-05-30 Juri Linkov <juri@jurta.org>
12151
12152 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12153 call when `query-flag' is nil and `search-invisible' is non-nil.
12154 (Bug#11746)
12155
12156 2013-05-30 Glenn Morris <rgm@gnu.org>
12157
12158 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12159
12160 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12161 (cc-require): Suppress spurious "noruntime" warnings.
12162 (cc-require-when-compile): Use fboundp, for sake of compiler.
12163
12164 * progmodes/cc-mode.el: Move load of cc-vars before that of
12165 cc-langs (which in turn loads cc-vars), to quieten compiler.
12166
12167 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12168
12169 * paren.el: Simplify the code.
12170 (show-paren-mode): Always start the timer.
12171 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12172 (show-paren--overlay, show-paren--overlay-1): Rename from
12173 show-paren-overlay and show-paren-overlay-1, and initialize to an
12174 overlay rather than to nil.
12175 (show-paren-function): Misc cleanup and simplifications.
12176
12177 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12178
12179 * paren.el (show-paren-data-function): New hook.
12180 (show-paren--default): New function, extracted from show-paren-function.
12181 (show-paren-function): Use show-paren-data-function.
12182
12183 2013-05-30 Glenn Morris <rgm@gnu.org>
12184
12185 * ielm.el (ielm-map, ielm-complete-symbol):
12186 Use completion-at-point rather than obsolete functions.
12187 (inferior-emacs-lisp-mode): Doc fix.
12188 Set completion-at-point-functions, rather than
12189 comint-dynamic-complete-functions.
12190
12191 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12192 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12193 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12194
12195 * image.el (image-animated-p): Tweak definition.
12196
12197 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12198 (rlogin-process-connection-type): Tweak default. Add set-after.
12199 (rlogin-host): Doc fix.
12200 (rlogin): Tweak prompt.
12201 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12202
12203 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12204 * progmodes/tcl.el (inferior-tcl-mode-map):
12205 Use completion-at-point rather than obsolete alias.
12206
12207 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12208
12209 * minibuffer.el (read-file-name-completion-ignore-case):
12210 Move before completion--in-region, for eager macro expansion.
12211
12212 2013-05-29 Juri Linkov <juri@jurta.org>
12213
12214 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12215 for total count of matching lines. Add `global-matches' for total
12216 count of matches. Rename `matches' to `lines' for count of
12217 matching lines. Add `matches' for count of matches.
12218 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12219 to `prev-line' for line number of prev match endpt.
12220 Increment `matches' for every match. Print the number of
12221 matching lines in the header.
12222 (occur-context-lines): Rename `lines' to `curr-line'.
12223 Rename `prev-lines' to `prev-line'. (Bug#14017)
12224
12225 2013-05-29 Juri Linkov <juri@jurta.org>
12226
12227 * replace.el (perform-replace): Add `skip-read-only-count',
12228 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12229 Increment them for corresponding conditions and report the number
12230 of skipped occurrences in the final message. (Bug#11746)
12231 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12232 (replace-string, replace-regexp): Doc fix.
12233
12234 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12237
12238 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12239 prog-mode-map (bug#14504).
12240
12241 2013-05-29 Leo Liu <sdl.web@gmail.com>
12242
12243 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12244 (octave-help): Small simplification.
12245
12246 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12247 off the highlight first.
12248
12249 2013-05-29 Glenn Morris <rgm@gnu.org>
12250
12251 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12252 Handle idlwave-last-system-routine-info-cons-cell being nil.
12253
12254 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12255 (idlwave-write-paths): Simplify via with-temp-buffer.
12256
12257 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12258 * emulation/cua-rect.el: Also load cua-base at run time.
12259
12260 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12261 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12262 (cperl-imenu-on-info): Require imenu.
12263
12264 2013-05-28 Alan Mackenzie <acm@muc.de>
12265
12266 Handle "capitalised keywords" correctly.
12267 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12268
12269 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12270
12271 * eshell/em-unix.el: Add -r option to cp.
12272
12273 2013-05-28 Glenn Morris <rgm@gnu.org>
12274
12275 * vc/vc-arch.el (vc-exec-after): Declare.
12276 (vc-switches): Autoload.
12277 * vc/vc-bzr.el: No need to require vc when compiling.
12278 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12279 (vc-resynch-buffer, vc-dir-refresh): Declare.
12280 (vc-setup-buffer, vc-switches): Autoload.
12281 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12282 (vc-resynch-buffer): Declare.
12283 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12284 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12285 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12286 (grep-read-regexp, grep-read-files, grep-expand-template)
12287 (vc-dir-refresh): Declare.
12288 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12289 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12290 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12291 * vc/vc-mtn.el (vc-exec-after): Declare.
12292 (vc-switches): Autoload.
12293 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12294 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12295 (vc-file-tree-walk): Declare.
12296 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12297 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12298 (vc-tag-precondition, vc-rename-master): Autoload.
12299 * vc/vc-svn.el (vc-exec-after): Declare.
12300 (vc-switches, vc-setup-buffer): Autoload.
12301 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12302 Autoload.
12303 (vc-resynch-buffer): Declare.
12304
12305 * obsolete/fast-lock.el (byte-compile-warnings):
12306 Don't warn about obsolete features in this obsolete file.
12307
12308 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12309 Move definition before use.
12310
12311 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12312 (dun-unix-verbs): Remove dun-zippy.
12313 (dun-zippy): Remove function.
12314
12315 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12316
12317 2013-05-27 Juri Linkov <juri@jurta.org>
12318
12319 * replace.el (replace-search): New function with code moved out
12320 from `perform-replace'.
12321 (replace-highlight, replace-dehighlight): Move function definitions
12322 up closer to `replace-search'. (Bug#11746)
12323
12324 2013-05-27 Juri Linkov <juri@jurta.org>
12325
12326 * replace.el (perform-replace): Ignore invisible matches.
12327 In addition to checking `query-replace-skip-read-only', also
12328 filter out matches by calling `run-hook-with-args-until-failure'
12329 on `isearch-filter-predicates', and also check `search-invisible'
12330 for t or call `isearch-range-invisible'.
12331 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12332
12333 2013-05-27 Juri Linkov <juri@jurta.org>
12334
12335 * isearch.el (isearch-filter-predicates): Rename from
12336 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12337 (isearch-message-prefix): Display text from the property
12338 `isearch-message-prefix' of the currently active filters.
12339 (isearch-search): Don't compare `isearch-filter-predicate' with
12340 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12341 on `isearch-filter-predicates'. Also check `search-invisible' for t
12342 or call `isearch-range-invisible'.
12343 (isearch-filter-visible): Make obsolete.
12344 (isearch-lazy-highlight-search):
12345 Call `run-hook-with-args-until-failure' on
12346 `isearch-filter-predicates' and use `isearch-range-invisible'.
12347
12348 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12349 `isearch-filter-predicates' instead of `funcall'ing
12350 `isearch-filter-predicate'.
12351 (Info-mode): Set `Info-isearch-filter' to
12352 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12353
12354 * dired-aux.el (dired-isearch-filter-predicate-orig):
12355 Remove variable.
12356 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12357 (dired-isearch-filenames-end): Add and remove
12358 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12359 instead of changing the value of `isearch-filter-predicate'.
12360 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12361 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12362 Put property `isearch-message-prefix' to "filename " on
12363 `dired-isearch-filter-filenames'.
12364
12365 * wdired.el (wdired-change-to-wdired-mode):
12366 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12367 locally instead of changing `isearch-filter-predicate'.
12368 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12369
12370 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12371
12372 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12373 return the commit hash (Bug#14459). Also set the
12374 `vc-git-detached' property.
12375 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12376 (vc-git-mode-line-string): Use the same help-echo format whether
12377 in detached mode or not, because we know the actual revision now.
12378 When in detached mode, shorten the revision to 7 chars.
12379
12380 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12381
12382 * emacs-lisp/easy-mmode.el (define-minor-mode):
12383 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12384 mode hook and provide a docstring.
12385
12386 2013-05-27 Alan Mackenzie <acm@muc.de>
12387
12388 Remove spurious syntax-table text properties inserted by C-y.
12389 * progmodes/cc-mode.el (c-after-change): Also clear hard
12390 syntax-table property with value nil.
12391
12392 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
12393
12394 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12395 when reading the events; the buffer layout shall not be changed.
12396
12397 2013-05-27 Leo Liu <sdl.web@gmail.com>
12398
12399 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12400 New variable.
12401 (inferior-octave-directory-tracker): Automatically re-sync
12402 default-directory.
12403 (octave-help): Improve handling of 'See also'.
12404
12405 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12406
12407 * doc-view.el: Minor naming convention tweaks.
12408 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12409
12410 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12411 even if there's no `display' property yet (bug#14435).
12412
12413 2013-05-25 Eli Zaretskii <eliz@gnu.org>
12414
12415 * subr.el (unmsys--file-name): Rename from reveal-filename.
12416
12417 * Makefile.in (custom-deps, finder-data, autoloads)
12418 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12419 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12420 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12421
12422 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12423
12424 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12425 error-completion on the first 2 args of condition-case (bug#14446).
12426 Don't burp at EOB.
12427
12428 2013-05-25 Leo Liu <sdl.web@gmail.com>
12429
12430 * comint.el (comint-previous-matching-input): Do not flood the
12431 *Messages* buffer with trivial messages.
12432
12433 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12434
12435 * progmodes/flymake.el (flymake-nop): Don't return a string.
12436 (flymake-set-at): Fix typo.
12437
12438 * simple.el (read--expression): New function, extracted from
12439 eval-expression. Set completion-at-point-functions (bug#14465).
12440 (eval-expression, eval-minibuffer): Use it.
12441
12442 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12443
12444 * progmodes/flymake.el (flymake-save-buffer-in-file)
12445 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12446 (flymake-selected-frame, flymake-log, flymake-ins-after)
12447 (flymake-set-at, flymake-get-buildfile-from-cache)
12448 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12449 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12450 Refine the doc string.
12451 (flymake-get-file-name-mode-and-masks): Reformat.
12452 (flymake-get-real-file-name-function): Fix a minor bug.
12453
12454 2013-05-24 Juri Linkov <juri@jurta.org>
12455
12456 * progmodes/grep.el (grep-mode-font-lock-keywords):
12457 Support =linenumber= format used by git-grep for lines with
12458 function names. (Bug#13549)
12459
12460 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12461
12462 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12463 0 after a semi-colon; it works better for smie-auto-fill.
12464 (octave--indent-new-comment-line): New function.
12465 (octave-indent-new-comment-line): Use it (indirectly).
12466 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12467 modify comment-line-break-function.
12468
12469 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12470 (smie-setup): Use add-function to set it.
12471
12472 2013-05-24 Sam Steingold <sds@gnu.org>
12473
12474 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12475 argument (before the `interactive' argument).
12476
12477 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12478
12479 * image-mode.el (image-mode-winprops): Add winprops to
12480 image-mode-winprops-alist before running
12481 image-mode-new-window-functions.
12482 * doc-view.el (doc-view-new-window-function): Don't delay
12483 doc-view-goto-page via timers (bug#14435).
12484
12485 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12486
12487 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12488 (doc-view-desktop-save-buffer): New function.
12489 (doc-view-restore-desktop-buffer): New function.
12490 (desktop-buffer-mode-handlers):
12491 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12492 handler.
12493 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12494 `desktop-save-buffer' function.
12495
12496 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12497
12498 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12499 (tramp-gvfs-file-name-handler): Raise a user error when
12500 `tramp-gvfs-enabled' is nil.
12501 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12502 Do not raise a user error when loading package. (Bug#14447)
12503
12504 * net/xesam.el: Move to obsolete/.
12505
12506 2013-05-24 Glenn Morris <rgm@gnu.org>
12507
12508 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12509
12510 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12511
12512 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12513 (Info-find-node, Man-getpage-in-background): Declare.
12514
12515 * mail/unrmail.el (unrmail):
12516 Replace obsolete detect-coding-with-priority.
12517
12518 * net/socks.el (socks-split-string): Use this rather than split-string.
12519 (socks-nslookup-host): Update for above change.
12520 (dynamic-choice, s5-dynamic-choice-match)
12521 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12522 Comment out unused code.
12523
12524 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12525 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12526 (gud-tooltip-echo-area): Make obsolete.
12527 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12528
12529 * progmodes/js.el (js--optimize-arglist): Declare.
12530
12531 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12532
12533 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12534 (ediff-window-C): Declare.
12535
12536 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12537 Tweak requires to silence compiler.
12538
12539 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12540 (he-search-string, he-tried-table, he-expand-list)
12541 (he-init-string, he-string-member, he-substitute-string)
12542 (he-reset-string): Declare.
12543
12544 * obsolete/options.el (list-options): Use custom-variable-p,
12545 rather than obsolete alias.
12546
12547 2013-05-23 Sam Steingold <sds@gnu.org>
12548
12549 * simple.el (shell-command-on-region): Pass the `replace' argument
12550 down to `call-process-region' to comply with the doc as reported on
12551 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12552
12553 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12554
12555 * emacs-lisp/smie.el (smie-indent-forward-token)
12556 (smie-indent-backward-token): Handle string tokens (bug#14381).
12557
12558 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12559
12560 * ielm.el (ielm-menu): New menu.
12561 (inferior-emacs-lisp-mode): Set comment-start.
12562
12563 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12564
12565 * textmodes/reftex.el (reftex-ref-style-toggle):
12566 Fix deactivate action.
12567
12568 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12569 Add cleveref macros.
12570
12571 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
12572 Accept options for bibliography commands.
12573 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12574 Add addbibresource. Basic Biblatex support.
12575
12576 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12577
12578 * net/tramp-gvfs.el (top):
12579 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12580 when loading package. (Bug#14447)
12581
12582 2013-05-23 Glenn Morris <rgm@gnu.org>
12583
12584 * progmodes/js.el: No need to load comint when compiling.
12585 (ring-insert, comint-send-string, comint-send-input)
12586 (comint-last-input-end, ido-chop): Declare.
12587
12588 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12589 * vc/ediff-mult.el: Adjust requires.
12590 (ediff-directories-internal, ediff-directory-revisions-internal)
12591 (ediff-patch-file-internal): Declare.
12592 * vc/ediff-ptch.el: Adjust requires.
12593 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12594 (ediff-find-file): Autoload.
12595 * vc/ediff-util.el: No need to load ediff when compiling.
12596 (ediff-regions-internal): Declare.
12597 * vc/ediff-wind.el: Adjust requires.
12598 (ediff-compute-toolbar-width): Define when compiling.
12599 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12600 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12601 (dired-get-filename, dired-get-marked-files)
12602 (ediff-last-dir-patch, ediff-patch-default-directory)
12603 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12604 (ediff-patch-buffer-internal): Declare.
12605
12606 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12607 (ispell-process, ispell-buffer-local-words, lm-summary)
12608 (lm-section-start, lm-section-end): Declare.
12609 (checkdoc-ispell-init): Simplify.
12610
12611 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12612 (he-string-member, he-reset-string, he-substitute-string): Declare.
12613
12614 * eshell/em-ls.el: Adjust requires.
12615 (eshell-glob-regexp): Declare.
12616 * eshell/em-tramp.el: Adjust requires.
12617 (eshell-parse-command): Autoload.
12618 * eshell/em-xtra.el: Adjust requires.
12619 (eshell-parse-command): Autoload.
12620 * eshell/esh-ext.el: Adjust requires.
12621 (eshell-parse-command, eshell-close-handles): Autoload.
12622 * eshell/esh-io.el: Adjust requires.
12623 (eshell-output-filter): Autoload.
12624 * eshell/esh-util.el: No need to load tramp when compiling.
12625 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12626 Declare.
12627 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12628 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12629 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12630 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12631 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12632 * eshell/esh-opt.el, eshell/esh-proc.el:
12633 * eshell/esh-var.el: Adjust requires.
12634 * eshell/eshell.el: Do not require esh-util twice.
12635 (eshell-add-input-to-history): Declare.
12636 (eshell-command): Check history module is active before using it.
12637
12638 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12639
12640 2013-05-22 Leo Liu <sdl.web@gmail.com>
12641
12642 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12643
12644 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12645
12646 * autorevert.el (auto-revert-notify-add-watch)
12647 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12648 it indicates changes in file modification time.
12649
12650 2013-05-22 Glenn Morris <rgm@gnu.org>
12651
12652 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12653 Always delete the autoloaded function from the noruntime and
12654 unresolved functions lists.
12655
12656 * allout.el: No need to load epa, epg, overlay when compiling.
12657 (epg-context-set-passphrase-callback, epg-list-keys)
12658 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12659 (epg-key-user-id-list): Declare.
12660
12661 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12662 (viper-set-parsing-style-toggling-macro)
12663 (viper-set-emacs-state-searchstyle-macros):
12664 Use called-interactively-p on Emacs.
12665 (viper-looking-back): Make it an obsolete alias. Update callers.
12666 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12667 Use looking-back rather than viper-looking-back.
12668 (viper-tmp-insert-at-eob, viper-enlarge-region)
12669 (viper-read-string-with-history, viper-register-to-point)
12670 (viper-append-to-register, viper-change-state-to-vi)
12671 (viper-backward-char-carefully, viper-forward-char-carefully)
12672 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12673 (viper-change-state-to-emacs): Declare.
12674 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12675 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12676 * emulation/viper-mous.el: Do not load viper-cmd.
12677 (viper-backward-char-carefully, viper-forward-char-carefully)
12678 (viper-forward-word, viper-adjust-window): Declare.
12679
12680 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12681
12682 * progmodes/idlw-help.el (idlwave-help-fontify):
12683 Use called-interactively-p.
12684
12685 * term/w32console.el (w32-get-console-codepage)
12686 (w32-get-console-output-codepage): Declare.
12687
12688 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12689 Remove unnecessary declarations.
12690 (dframe-message): Doc fix.
12691
12692 * info.el (dframe-select-attached-frame, dframe-current-frame):
12693 Declare.
12694
12695 * speedbar.el (speedbar-message): Make it an obsolete alias.
12696 Update all callers.
12697 (speedbar-with-attached-buffer)
12698 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12699 (speedbar-with-writable): Use backquote.
12700 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12701 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12702 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12703 rather than speedbar- aliases.
12704 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12705 (speedbar-make-specialized-keymap, speedbar-insert-button)
12706 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12707 (speedbar-do-function-pointer): Declare.
12708 (rmail-speedbar-button, rmail-speedbar-find-file)
12709 (rmail-speedbar-move-message):
12710 Use dframe-with-attached-buffer rather than speedbar- alias.
12711 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12712 (dframe-message, speedbar-make-specialized-keymap)
12713 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12714 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12715 (speedbar-insert-button, dframe-select-attached-frame)
12716 (dframe-maybee-jump-to-attached-frame)
12717 (speedbar-change-initial-expansion-list)
12718 (speedbar-previously-used-expansion-list-name): Declare.
12719 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12720 Use dframe-message, dframe-with-attached-buffer rather than
12721 speedbar- aliases.
12722 (gud-sentinel): Silence compiler.
12723 * progmodes/vhdl-mode.el (speedbar-refresh)
12724 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12725 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12726 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12727 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12728 (speedbar-file-lists, speedbar-make-tag-line)
12729 (speedbar-line-directory, speedbar-goto-this-file)
12730 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12731 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12732 (speedbar-make-button, speedbar-reset-scanners)
12733 (speedbar-files-item-info, speedbar-line-text)
12734 (speedbar-find-file-in-frame, speedbar-set-timer)
12735 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12736 (speedbar-with-writable): Do not (re)define it.
12737 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12738 rather than speedbar- alias.
12739
12740 2013-05-21 Leo Liu <sdl.web@gmail.com>
12741
12742 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12743 menu items.
12744 (octave-mode): Tweak fill-nobreak-predicate.
12745 (inferior-octave-startup): Check process to avoid infinite loop.
12746 (inferior-octave): Pop to buffer first to show abornmal process
12747 exit information.
12748
12749 2013-05-21 Glenn Morris <rgm@gnu.org>
12750
12751 * printing.el (pr-menu-bar): Define when compiling.
12752
12753 2013-05-21 Leo Liu <sdl.web@gmail.com>
12754
12755 * progmodes/octave.el (octave-auto-fill): Remove.
12756 (octave-indent-new-comment-line): Improve.
12757 (octave-mode): Use auto fill mode through
12758 comment-line-break-function and fill-nobreak-predicate.
12759 (octave-goto-function-definition): Support DEFUN_DLD.
12760 (octave-beginning-of-defun): Small tweak.
12761 (octave-help): Show parent directory.
12762
12763 2013-05-21 Glenn Morris <rgm@gnu.org>
12764
12765 * files.el (dired-unmark):
12766 * progmodes/gud.el (gdb-input): Update declarations.
12767
12768 * calculator.el (electric, ehelp): No need to load when compiling.
12769 (Electric-command-loop, electric-describe-mode): Declare.
12770
12771 * doc-view.el (doc-view-current-converter-processes): Move before use.
12772
12773 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12774 Move MODE-set-explicitly definition before use.
12775
12776 * international/mule-diag.el (mule-diag):
12777 Don't use obsolete window-system-version.
12778
12779 * mail/feedmail.el (smtpmail): No need to load when compiling.
12780 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12781
12782 * mail/mail-utils.el (rfc822): No need to load when compiling.
12783 (rfc822-addresses): Autoload it.
12784 (mail-strip-quoted-names): Trivial simplification.
12785
12786 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12787 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12788
12789 * net/snmp-mode.el (tempo): Don't duplicate requires.
12790
12791 * progmodes/prolog.el (info): No need to load when compiling.
12792 (comint): Require before shell requires it.
12793 (Info-goto-node): Autoload it.
12794 (Info-follow-nearest-node): Declare.
12795 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12796
12797 * textmodes/artist.el (picture-mode-exit): Declare.
12798
12799 * textmodes/reftex-parse.el (reftex-parse-from-file):
12800 Trivial rewrite so the compiler can parse it better.
12801
12802 2013-05-20 Leo Liu <sdl.web@gmail.com>
12803
12804 * progmodes/octave.el (octave-help-mode-map)
12805 (octave-help-mode-finish-hook): New variables.
12806 (octave-help-mode, octave-help-mode-finish): New functions.
12807 (octave-help): Use octave-help-mode.
12808
12809 2013-05-20 Glenn Morris <rgm@gnu.org>
12810
12811 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12812
12813 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12814
12815 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12816 start at point, so that expansion starting right after opening
12817 slash in a regexp is recognized.
12818 (ruby-syntax-before-regexp-re): New defvar, extracted from
12819 ruby-syntax-propertize-function. Since the value of this regexp
12820 is looked up at runtime now, we should be able to turn
12821 `ruby-syntax-methods-before-regexp' into a defcustom later.
12822 (ruby-syntax-propertize-function): Split regexp matching into two
12823 parts, for opening and closing slashes. That allows us to skip
12824 over string interpolations and support multiline regexps.
12825 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12826 for them, which calls `ruby-syntax-propertize-expansion'.
12827 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12828 call to `ruby-syntax-propertize-function'.
12829 (ruby-syntax-propertize-expansion): Extracted from
12830 `ruby-syntax-propertize-expansions'. Handles one expansion.
12831 (ruby-syntax-propertize-percent-literal): Leave point right after
12832 the percent symbol, so that the expression expansion rule can
12833 propertize the contents.
12834 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12835 heredoc openers.
12836 (ruby-syntax-propertize-expansions): Remove.
12837
12838 2013-05-18 Juri Linkov <juri@jurta.org>
12839
12840 * man.el (Man-default-man-entry): Remove `-' from the end
12841 of the default value. (Bug#14400)
12842
12843 2013-05-18 Glenn Morris <rgm@gnu.org>
12844
12845 * comint.el (comint-password-prompt-regexp):
12846 Allow "password for XXX" where XXX contains colons (eg https://...).
12847
12848 2013-05-18 Leo Liu <sdl.web@gmail.com>
12849
12850 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12851 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12852 (octave-source-directories): Don't check process.
12853 (octave-source-directories, octave-find-definition): Doc fix.
12854
12855 2013-05-18 Glenn Morris <rgm@gnu.org>
12856
12857 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12858 Remove backspace/delete bindings. (Bug#14392)
12859
12860 * cus-dep.el (custom-make-dependencies): Sort the output.
12861 (custom-versions-load-alist): Convert comment to doc.
12862
12863 2013-05-17 Leo Liu <sdl.web@gmail.com>
12864
12865 * newcomment.el (comment-search-backward): Stricter in finding
12866 comment start. (Bug#14303)
12867
12868 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12869 (octave-comment-start-skip): Properly anchored.
12870
12871 2013-05-17 Leo Liu <sdl.web@gmail.com>
12872
12873 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12874 Clean up when turned off. (Bug#14395)
12875 (smie--highlight-matching-block-overlay): No longer buffer-local.
12876 (smie-highlight-matching-block): Adjust.
12877
12878 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12879
12880 Doc string fix for "nanoseconds" (Bug#14406).
12881 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12882 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12883
12884 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12885
12886 * calc/calc-units.el (math-extract-units): Preserve powers
12887 of units.
12888
12889 2013-05-17 Leo Liu <sdl.web@gmail.com>
12890
12891 * subr.el (delete-consecutive-dups): New function.
12892 * ido.el (ido-set-matches-1): Use it.
12893 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12894 * ido.el (ido-remove-consecutive-dups): Remove.
12895
12896 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12897
12898 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12899 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12900 regexp-opt's `words'.
12901
12902 2013-05-16 Leo Liu <sdl.web@gmail.com>
12903
12904 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12905 (smie--highlight-matching-block-overlay)
12906 (smie--highlight-matching-block-lastpos)
12907 (smie--highlight-matching-block-timer): New variables.
12908 (smie-highlight-matching-block): New function.
12909 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12910 (smie-setup): Conditionally enable smie-blink-matching-open.
12911
12912 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12913
12914 Sync with upstream verilog-mode r840.
12915 * progmodes/verilog-mode.el (verilog-mode-version)
12916 (verilog-mode-release-date): Update.
12917 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12918 (verilog-sig-tieoff): Fix string error on
12919 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12920 (verilog-read-decls): Fix parameters confusing
12921 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12922
12923 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12924
12925 * subr.el (reveal-filename): New function.
12926
12927 * loadup.el: Compute Emacs executable versions on MS-Windows,
12928 where executables have the .exe extension. Add a hard link
12929 emacs-XX.YY.ZZ.exe on MS-Windows.
12930
12931 * Makefile.in (XARGS_LIMIT): New variable.
12932 (custom-deps, finder-data, autoloads)
12933 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12934 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12935 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12936 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12937
12938 2013-05-16 Leo Liu <sdl.web@gmail.com>
12939
12940 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12941 (octave-mode-menu, octave-mode-map): Remove its uses.
12942
12943 2013-05-16 Reto Zimmermann <reto@gnu.org>
12944
12945 Sync with upstream vhdl mode v3.34.2.
12946 * progmodes/vhdl-mode.el: Use `push' throughout.
12947 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12948 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12949 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12950 (vhdl-actual-generic-name): New option to derive actual generic name.
12951 (vhdl-port-paste-signals): Replace formal by actual generics.
12952 (vhdl-beautify): New name for old group vhdl-align. Update users.
12953 (vhdl-beautify-options): New option.
12954 (vhdl-last-input-event): New compat alias. Use throughout.
12955 (vhdl-goto-line): Replace user level function `goto-line'.
12956 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12957 vhdl-fix-statement-buffer.
12958 (vhdl-create-mode-menu): Add some entries.
12959 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12960 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12961 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12962 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12963 to force statements on one line.
12964 (vhdl-remove-trailing-spaces-region):
12965 New, split from vhdl-remove-trailing-spaces.
12966 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12967 Respect vhdl-beautify-options.
12968 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12969 (vhdl-update-sensitivity-list): Not add with index if exists without.
12970 Not include array index with signal. Ignore keywords in comments.
12971 (vhdl-get-visible-signals): Regexp tweaks.
12972 (vhdl-template-component-inst): Handle empty library.
12973 (vhdl-template-type): Add template for 'enum' type.
12974 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12975 Use vhdl-replace-string.
12976 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12977 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12978 (vhdl-speedbar-initialize): Update for above name change.
12979 (vhdl-compose-wire-components): Fix in handling of constants.
12980 (vhdl-error-regexp-emacs-alist): New variable.
12981 (vhdl-error-regexp-add-emacs): New function;
12982 adds support for new compile.el (Emacs 22+)
12983 (vhdl-generate-makefile-1): Change target order for single lib. units.
12984 Allow use of absolute file names.
12985
12986 2013-05-16 Leo Liu <sdl.web@gmail.com>
12987
12988 * simple.el (prog-indent-sexp): Indent enclosing defun.
12989
12990 2013-05-15 Glenn Morris <rgm@gnu.org>
12991
12992 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12993 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12994 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12995 (whitespace-highlight): Move to whitespace group.
12996
12997 * comint.el (comint-source):
12998 * pcmpl-linux.el (pcmpl-linux):
12999 * shell.el (shell-faces):
13000 * eshell/esh-opt.el (eshell-opt):
13001 * international/ccl.el (ccl): Remove empty custom groups.
13002
13003 * completion.el (dynamic-completion-mode):
13004 * jit-lock.el (jit-lock-debug-mode):
13005 * minibuffer.el (completion-in-region-mode):
13006 * type-break.el (type-break-mode-line-message-mode)
13007 (type-break-query-mode):
13008 * emulation/tpu-edt.el (tpu-edt-mode):
13009 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13010 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13011 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13012
13013 * term/xterm.el (xterm): Change parent group to terminals.
13014
13015 * master.el (master): Remove empty custom group.
13016 (master-mode): Remove unused :group argument.
13017 * textmodes/refill.el (refill): Remove empty custom group.
13018 (refill-mode): Remove unused :group argument.
13019
13020 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13021
13022 * cus-dep.el: Provide a feature.
13023 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13024 Don't mistakenly ignore files whose basenames match a basename
13025 from preloaded-file-list (eg cedet/ede/simple.el).
13026 Add a fallback method for getting :group.
13027
13028 2013-05-15 Juri Linkov <juri@jurta.org>
13029
13030 * isearch.el (isearch-char-by-name): Rename from
13031 `isearch-insert-char-by-name'. Doc fix.
13032 (isearch-forward): Mention `isearch-char-by-name' in
13033 the docstring. (Bug#13348)
13034
13035 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13036 `exit-minibuffer' instead of
13037 `isearch-nonincremental-exit-minibuffer'.
13038 (isearch-edit-string): Remove mention of
13039 `isearch-nonincremental-exit-minibuffer' from docstring.
13040 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13041 (isearch-forward-exit-minibuffer)
13042 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13043
13044 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13045
13046 * loadup.el: Just use unversioned DOC.
13047
13048 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13049 literals as extending to EOB.
13050 (nxml-last-fontify-end): Remove unused variable.
13051 (nxml-after-change1): Use with-silent-modifications.
13052 (nxml-extend-after-change-region): Simplify.
13053 (nxml-extend-after-change-region1): Remove function.
13054 (nxml-after-change1): Don't adjust for dependent regions.
13055 (nxml-fontify-matcher): Simplify.
13056 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13057 (xmltok-add-dependent): Remove function.
13058 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13059 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13060 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13061 unclosed <[[, <?, comment, and other literals as extending to EOB.
13062 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13063 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13064 Remove functions.
13065 (rng-do-some-validation-1): Don't mark dependent regions.
13066 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13067 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13068 (nxml-clear-dependent-regions): Remove functions.
13069 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13070 (nxml-ensure-scan-up-to-date):
13071 Don't clear&mark dependent regions.
13072
13073 2013-05-15 Leo Liu <sdl.web@gmail.com>
13074
13075 * progmodes/octave.el (octave-goto-function-definition):
13076 Improve and fix callers.
13077
13078 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13079
13080 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13081 the setter (bug#14387).
13082
13083 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13084 surrounding group (bug#14402).
13085
13086 2013-05-14 Juri Linkov <juri@jurta.org>
13087
13088 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13089 (Bug#14390)
13090
13091 2013-05-14 Glenn Morris <rgm@gnu.org>
13092
13093 * progmodes/f90.el (f90-imenu-generic-expression):
13094 Fix typo in 2013-05-08 change. (Bug#14402)
13095
13096 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13097
13098 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13099 Remove signals for which replies are never received.
13100
13101 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13102
13103 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13104 (gdb-handler-alist, gdb-handler-number): Remove variables.
13105 (gdb-handler-list): New variable.
13106 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13107 (gdb-pending-handler-p, gdb-handle-reply)
13108 (gdb-remove-all-pending-triggers): New functions.
13109 (gdb-discard-unordered-replies): New defcustom.
13110 (gdb-handler): New defstruct.
13111 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13112 instead of gdb-pending-triggers. Update docstring.
13113 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13114 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13115 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13116 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13117 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13118 (gdb-frame-handler): Pending triggers are now automatically managed.
13119 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13120 Remove argument.
13121 (gdb-input): Automatically handles pending triggers. Update docstring.
13122 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13123 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13124 Update comments.
13125 (gdb-done-or-error): Now use gdb-handle-reply.
13126
13127 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13128
13129 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13130 gdb-debug-log.
13131
13132 2013-05-14 Glenn Morris <rgm@gnu.org>
13133
13134 * subr.el (user-emacs-directory-warning): New option.
13135 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13136
13137 2013-05-14 Leo Liu <sdl.web@gmail.com>
13138
13139 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13140 during redisplay.
13141 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13142 (octave-font-lock-texinfo-comment): Fix invalid search bound
13143 error: wrong side of point.
13144
13145 2013-05-14 Glenn Morris <rgm@gnu.org>
13146
13147 * progmodes/flymake.el (flymake-xml-program): New option.
13148 (flymake-xml-init): Use it.
13149
13150 * term/xterm.el: Provide a feature.
13151
13152 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13153
13154 2013-05-13 Glenn Morris <rgm@gnu.org>
13155
13156 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13157 Add compat aliases as a hack workaround. (Bug#14384)
13158
13159 2013-05-13 Leo Liu <sdl.web@gmail.com>
13160
13161 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13162 ###, and %!.
13163 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13164 C-M-q.
13165 (octave-comment-start-skip): Include %!.
13166 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13167
13168 2013-05-12 Leo Liu <sdl.web@gmail.com>
13169
13170 * progmodes/octave.el (inferior-octave-startup): Store the value
13171 of __octave_srcdir__ for octave-source-directories.
13172 (inferior-octave-check-process): New function refactored out of
13173 inferior-octave-send-list-and-digest.
13174 (octave-source-directories)
13175 (octave-find-definition-filename-function): New variables.
13176 (octave-source-directories)
13177 (octave-find-definition-default-filename): New functions.
13178 (octave-find-definition): Improve to find functions implemented in C++.
13179
13180 2013-05-12 Glenn Morris <rgm@gnu.org>
13181
13182 * calendar/diary-lib.el (diary-outlook-format-1):
13183 Don't include dayname in the output. (Bug#14349)
13184
13185 2013-05-11 Glenn Morris <rgm@gnu.org>
13186
13187 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13188
13189 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13190 Treat cc-provide like provide.
13191
13192 2013-05-11 Kevin Ryde <user42@zip.com.au>
13193
13194 * cus-dep.el (custom-make-dependencies):
13195 Use generated-autoload-load-name for the sake of files such
13196 such cedet/semantic/bovine/c.el, where the base file name
13197 is not in load-path. (Bug#5277)
13198
13199 2013-05-11 Glenn Morris <rgm@gnu.org>
13200
13201 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13202 Provide features.
13203
13204 2013-05-11 Leo Liu <sdl.web@gmail.com>
13205
13206 * progmodes/octave.el (octave-indent-comment): Improve.
13207 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13208 (octave-eldoc-function-signatures, octave-eldoc-function):
13209 New functions.
13210 (octave-mode, inferior-octave-mode): Add eldoc support.
13211
13212 2013-05-11 Richard Stallman <rms@gnu.org>
13213
13214 * epa.el (epa-decrypt-file): Take output file name as argument
13215 and read it using `interactive'.
13216
13217 2013-05-11 Leo Liu <sdl.web@gmail.com>
13218
13219 * progmodes/octave.el (octave-beginning-of-line)
13220 (octave-end-of-line): Check before using up-list because it jumps
13221 out of more syntactic contructs since moving to smie.
13222 (octave-indent-comment): New function.
13223 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13224 (octave-begin-keywords, octave-end-keywords)
13225 (octave-reserved-words, octave-smie-bnf-table)
13226 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13227
13228 2013-05-11 Glenn Morris <rgm@gnu.org>
13229
13230 * faces.el (internal-face-x-get-resource):
13231 * frame.el (ns-display-monitor-attributes-list):
13232 * calc/calc-aent.el (math-to-radians-2):
13233 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13234 Fix declarations.
13235
13236 * calc/calc-menu.el: Make it loadable in isolation.
13237
13238 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13239 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13240 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13241 (eudc-bbdb-query-internal): Require 'bbdb.
13242
13243 * lpr.el (lpr-headers-switches):
13244 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13245
13246 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13247
13248 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13249
13250 * term.el (term-set-escape-char): Make it idempotent.
13251
13252 2013-05-10 Leo Liu <sdl.web@gmail.com>
13253
13254 * progmodes/octave.el (inferior-octave-completion-table):
13255 No longer a function and all uses changed. Use cache to speed up
13256 completion due to bug#11906.
13257 (octave-beginning-of-defun): Re-write to be more general.
13258
13259 2013-05-10 Glenn Morris <rgm@gnu.org>
13260
13261 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13262
13263 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13264
13265 * comint.el (comint-redirect-send-command-to-process): Use :around
13266 rather than :override for comint-redirect-filter.
13267 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13268 Call it instead of comint-redirect-original-filter-function (which
13269 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13270
13271 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13272
13273 * frame.el (display-monitor-attributes-list): Add NS case.
13274 (ns-display-monitor-attributes-list): Declare.
13275
13276 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13277
13278 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13279
13280 2013-05-09 Glenn Morris <rgm@gnu.org>
13281
13282 * international/fontset.el (vertical-centering-font-regexp):
13283 Set standard-value.
13284
13285 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13286
13287 * bookmark.el (bookmark-search-delay):
13288 * cus-start.el (vertical-centering-font-regexp):
13289 * ps-mule.el (ps-mule-font-info-database-default):
13290 * ps-print.el (ps-default-fg, ps-default-bg):
13291 * type-break.el (type-break-good-break-interval):
13292 * whitespace.el (whitespace-indentation-regexp)
13293 (whitespace-space-after-tab-regexp):
13294 * emacs-lisp/testcover.el (testcover-1value-functions)
13295 (testcover-noreturn-functions, testcover-progn-functions)
13296 (testcover-prog1-functions):
13297 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13298 * eshell/em-glob.el (eshell-glob-translate-alist):
13299 * play/tetris.el (tetris-tty-colors):
13300 * progmodes/cpp.el (cpp-face-default-list):
13301 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13302 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13303 (idlwave-help-browser-generic-args):
13304 * progmodes/make-mode.el (makefile-special-targets-list):
13305 * progmodes/python.el (python-shell-virtualenv-path):
13306 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13307 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13308 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13309 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13310 * textmodes/reftex-vars.el (reftex-format-label-function):
13311 * textmodes/remember.el (remember-diary-file): Fix custom types.
13312
13313 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13314 Add :version.
13315
13316 2013-05-09 Leo Liu <sdl.web@gmail.com>
13317
13318 * progmodes/octave.el (inferior-octave-completion-at-point):
13319 Restore file completion. (Bug#14300)
13320 (inferior-octave-startup): Fix incorrect highlighting for the
13321 first prompt.
13322
13323 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13324
13325 * progmodes/ruby-mode.el: First cut at SMIE support.
13326 (ruby-use-smie): New var.
13327 (ruby-smie-grammar): New constant.
13328 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13329 (ruby-smie--forward-token, ruby-smie--backward-token)
13330 (ruby-smie-rules): New functions.
13331 (ruby-mode-variables): Setup SMIE if applicable.
13332
13333 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13334
13335 * simple.el (line-move-visual): Signal beginning/end of buffer
13336 only if vertical-motion moved less than it was requested. Avoids
13337 silly incorrect error messages when there are display strings with
13338 multiple newlines at EOL.
13339
13340 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13341
13342 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13343 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13344 (prolog-char-quote-workaround):
13345 * progmodes/cperl-mode.el (cperl-under-as-char):
13346 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13347 Mark as obsolete.
13348 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13349 their declaration.
13350 (vhdl-mode-syntax-table-init): Remove.
13351
13352 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13353 last change.
13354
13355 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13356 syntax for "_".
13357 (ld-script-font-lock-keywords):
13358 Change regexps to use things like \_< and \_>.
13359
13360 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13361 Change all regexps to use things like \_< and \_>.
13362
13363 * progmodes/autoconf.el (autoconf-definition-regexp)
13364 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13365 Handle a _ with symbol syntax.
13366 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13367
13368 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13369 Consolidate declaration.
13370 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13371 the declaration.
13372 (ada-create-syntax-table): Remove.
13373 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13374 already has the right syntax nowadays.
13375 (ada-goto-next-word): Don't change the syntax of "_".
13376
13377 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13378 with-wrapper-hook.
13379
13380 2013-05-08 Sam Steingold <sds@gnu.org>
13381
13382 * thingatpt.el (thing-at-point): Accept optional second argument
13383 NO-PROPERTIES to strip the text properties from the return value.
13384 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13385 to `thing-at-point' instead of stripping the properties ourselves.
13386 Also, when `thing-at-point' fails to find a url, prepend "http://"
13387 to the filename at point on the assumption that the user is
13388 pointing at something like gnu.org/gnu.
13389
13390 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
13391
13392 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13393 * faces.el (crm-separator):
13394 Silence byte-compiler.
13395
13396 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13397 (tool-bar-map): Remove unneeded defvars.
13398
13399 2013-05-08 Leo Liu <sdl.web@gmail.com>
13400
13401 Re-work a fix for bug#10994 based on Le Wang's patch.
13402 * ido.el (ido-remove-consecutive-dups): New helper.
13403 (ido-completing-read): Use it.
13404 (ido-chop): Revert fix for bug#10994.
13405
13406 2013-05-08 Adam Spiers <emacs@adamspiers.org>
13407
13408 * cus-edit.el (custom-save-variables):
13409 Pretty-print long values. (Bug#14187)
13410
13411 2013-05-08 Glenn Morris <rgm@gnu.org>
13412
13413 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13414 (m4-mode-syntax-table): Init in the defvar.
13415 (m4-mode-abbrev-table): Let define-derived-mode define it.
13416
13417 2013-05-08 Tom Tromey <tromey@redhat.com>
13418
13419 * progmodes/m4-mode.el (m4-mode-syntax-table):
13420 Do not treat "_" as word constituent. (Bug#14167)
13421
13422 2013-05-07 Glenn Morris <rgm@gnu.org>
13423
13424 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13425 Remove explicit eshell-isearch-cancel-map.
13426
13427 * progmodes/f90.el (f90-smart-end-names): New option.
13428 (f90-smart-end): Doc fix.
13429 (f90-end-block-optional-name): New constant.
13430 (f90-block-match): Respect f90-smart-end-names.
13431
13432 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13433
13434 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13435 about implicit semi-colons (bug#14218).
13436
13437 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13438
13439 * frame.el (display-monitor-attributes-list)
13440 (frame-monitor-attributes): New functions.
13441
13442 2013-05-06 Leo Liu <sdl.web@gmail.com>
13443
13444 * progmodes/octave.el (octave-syntax-propertize-function): Change
13445 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13446 (octave-font-lock-keywords): Use octave-operator-regexp.
13447 (octave-completion-at-point): Rename from
13448 octave-completion-at-point-function.
13449 (inferior-octave-directory-tracker): Robustify.
13450 (octave-text-functions): Remove and fix its uses. No such things
13451 any more.
13452
13453 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13454
13455 * emacs-lisp/trace.el (trace--display-buffer): New function.
13456 (trace-make-advice): Use it.
13457
13458 2013-05-06 Juri Linkov <juri@jurta.org>
13459
13460 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13461 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13462 Doc fix.
13463 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13464 in the help string. (Bug#12985)
13465
13466 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13467
13468 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13469
13470 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13471
13472 * progmodes/perl-mode.el: Add support for here documents.
13473 (perl-syntax-propertize-function): Match here-doc markers.
13474 (perl-syntax-propertize-special-constructs): Find their end.
13475 (perl-imenu-generic-expression): Use [:alnum:].
13476
13477 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13478 (advice--add-function): Refresh the advice if already present
13479 (bug#14317).
13480
13481 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13482
13483 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13484
13485 2013-05-06 Glenn Morris <rgm@gnu.org>
13486
13487 * w32-fns.el (w32-charset-info-alist): Declare.
13488
13489 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13490 of its defcustom properties.
13491 (eshell-cmpl-initialize): No need to load pcomplete.
13492
13493 * generic-x.el: No need to require comint when compiling.
13494
13495 * net/eudc-export.el: Make it loadable without bbdb.
13496 (top-level): Use require rather than load-library.
13497 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13498 (eudc-batch-export-records-to-bbdb)
13499 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13500 Require bbdb.
13501
13502 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13503
13504 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13505 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13506 some tweaks, instead.
13507
13508 2013-05-05 Leo Liu <sdl.web@gmail.com>
13509
13510 * progmodes/octave.el (octave-font-lock-keywords)
13511 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13512 (inferior-octave-send-list-and-digest): Improve error message.
13513 (octave-mode, inferior-octave-mode): Use setq-local.
13514 (octave-help): Set info-lookup-mode.
13515
13516 2013-05-05 Richard Stallman <rms@gnu.org>
13517
13518 * vc/compare-w.el (compare-windows-whitespace):
13519 Treat no-break space as whitespace.
13520
13521 * mail/rmailsum.el (rmail-summary-rmail-update):
13522 Detect empty summary and don't change selected message.
13523 (rmail-summary-goto-msg): Likewise.
13524
13525 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13526 Doc fixes, rename args.
13527
13528 2013-05-05 Alan Mackenzie <acm@muc.de>
13529
13530 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13531
13532 2013-05-05 Juri Linkov <juri@jurta.org>
13533
13534 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13535 to not add the length of the summary segment to the return value.
13536 (Bug#14125)
13537
13538 2013-05-05 Leo Liu <sdl.web@gmail.com>
13539
13540 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13541 (inferior-octave-output-filter): Remove.
13542 (octave-send-region, inferior-octave-startup): Fix callers.
13543 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13544 (octave-binary-file-extensions): New user variable.
13545 (octave-find-definition): Confirm if opening binary files.
13546 (octave-help-file): Use octave-find-definition to get the binary
13547 confirmation.
13548 (octave-help): Adjust for octave-help-file change.
13549
13550 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13551
13552 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13553 Merge the two entries that handle function definitions.
13554 (pascal--syntax-propertize): New const.
13555 (pascal-mode): Use it. Use setq-local.
13556
13557 2013-05-04 Glenn Morris <rgm@gnu.org>
13558
13559 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13560 (diary-from-outlook): Respect diary-from-outlook-function.
13561
13562 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13563
13564 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13565 Move the declaration from C.
13566 (read-minibuffer, eval-minibuffer): Move from C.
13567 (completion-setup-function): Avoid minibuffer-completion-contents.
13568
13569 2013-05-03 Leo Liu <sdl.web@gmail.com>
13570
13571 * progmodes/octave.el (octave-font-lock-keywords): Do not
13572 dehighlight 'end' in comments or strings.
13573 (octave-completing-read, octave-goto-function-definition):
13574 New helpers.
13575 (octave-help-buffer): New user variable.
13576 (octave-help-file, octave-help-function): New button types.
13577 (octave-help): New command and bind it to C-h ;.
13578 (octave-find-definition): New command and bind it to M-.
13579 (user-error): Alias to error if not defined.
13580
13581 2013-05-02 Leo Liu <sdl.web@gmail.com>
13582
13583 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13584 for \. (bug#14332)
13585 (octave-font-lock-keywords): Include [ and {.
13586
13587 2013-05-02 Leo Liu <sdl.web@gmail.com>
13588
13589 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13590 (inferior-octave): Remove calling comint-mode and return the buffer.
13591 (inferior-octave-startup): Cosmetic changes.
13592
13593 2013-05-02 Leo Liu <sdl.web@gmail.com>
13594
13595 * progmodes/octave.el (octave-syntax-propertize-function):
13596 Include the case when ' is at line beginning. (Bug#14336)
13597
13598 2013-05-02 Glenn Morris <rgm@gnu.org>
13599
13600 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13601 * desktop.el (vc-dir-mode): Just autoload it here.
13602
13603 2013-05-02 Alan Mackenzie <acm@muc.de>
13604
13605 Eliminate variable c-standard-font-lock-fontify-region-function.
13606 * progmodes/cc-mode.el
13607 (c-standard-font-lock-fontify-region-function): Remove.
13608 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13609
13610 2013-05-01 Leo Liu <sdl.web@gmail.com>
13611
13612 * progmodes/octave.el: Compatible with older emacs-24 releases.
13613 (inferior-octave-has-built-in-variables): Remove. Built-in
13614 variables were removed from Octave in 2007.
13615 (inferior-octave-startup): Fix uses.
13616 (comint-line-beginning-position): Remove compatibility code for
13617 emacs 21.
13618
13619 2013-05-01 Juri Linkov <juri@jurta.org>
13620
13621 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13622
13623 2013-05-01 Juri Linkov <juri@jurta.org>
13624
13625 * comint.el (comint-previous-matching-input): Don't print message
13626 "History item: %d" when `isearch-mode' is active.
13627 (comint-history-isearch-message): Print message "History item: %d"
13628 when `comint-input-ring-index' is not empty and this function is
13629 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13630
13631 2013-05-01 Leo Liu <sdl.web@gmail.com>
13632
13633 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13634 definitions. Use completion-at-point to insert keywords.
13635 (octave-abbrev-start): Remove.
13636 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13637
13638 2013-04-30 Leo Liu <sdl.web@gmail.com>
13639
13640 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13641 change.
13642
13643 2013-04-30 Alan Mackenzie <acm@muc.de>
13644
13645 Handle arbitrarily long C++ member initialisation lists.
13646 * progmodes/cc-engine.el (c-back-over-member-initializers):
13647 new function.
13648 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13649 (most) member init lists.
13650
13651 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13652
13653 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13654 variable.
13655
13656 2013-04-30 Leo Liu <sdl.web@gmail.com>
13657
13658 * progmodes/octave.el (octave-variables): Remove. No builtin
13659 variables any more. All converted to functions.
13660 (octave-font-lock-keywords, octave-completion-at-point-function):
13661 Fix uses.
13662 (octave-font-lock-texinfo-comment): New user variable.
13663 (octave-texinfo-font-lock-keywords): New variable for texinfo
13664 comment block.
13665 (octave-function-comment-block): New face.
13666 (octave-font-lock-texinfo-comment): New function.
13667 (octave-mode): Font lock texinfo comment block.
13668
13669 2013-04-29 Leo Liu <sdl.web@gmail.com>
13670
13671 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13672 indexing expression.
13673 (octave-continuation-string): Do not use \.
13674 (inferior-octave-complete-impossible): Remove.
13675 (inferior-octave-completion-table)
13676 (inferior-octave-completion-at-point): Remove its uses.
13677 (inferior-octave-startup): completion_matches was introduced to
13678 Octave in 1996 so safe to assume it.
13679 (octave-function-file-comment): Improve to follow how Octave does it.
13680 (octave-update-function-file-comment): Tweak.
13681
13682 2013-04-29 Leo Liu <sdl.web@gmail.com>
13683
13684 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13685 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13686 (octave-function-file-comment): Fix typo.
13687 (octave-sync-function-file-names): Use read-char-choice.
13688
13689 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13690
13691 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13692 to t for the less important warnings.
13693
13694 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13695
13696 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13697
13698 2013-04-27 Glenn Morris <rgm@gnu.org>
13699
13700 * vc/log-view.el (log-view-current-entry):
13701 Treat "---" separator lines as part of the following rev. (Bug#14169)
13702
13703 2013-04-27 Juri Linkov <juri@jurta.org>
13704
13705 * subr.el (read-number): Doc fix about using it by interactive
13706 code letter `n'. (Bug#14254)
13707
13708 2013-04-27 Juri Linkov <juri@jurta.org>
13709
13710 * desktop.el (desktop-auto-save-timeout): New option.
13711 (desktop-file-checksum): New variable.
13712 (desktop-save): Add optional arg `auto-save' and don't auto-save
13713 if nothing changed.
13714 (desktop-auto-save-timer): New variable.
13715 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13716 (after-init-hook): Call `desktop-auto-save-set-timer'.
13717 Suggested by Reuben Thomas <rrt@sc3d.org> in
13718 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13719
13720 2013-04-27 Leo Liu <sdl.web@gmail.com>
13721
13722 * progmodes/octave.el (octave-function-file-p)
13723 (octave-skip-comment-forward, octave-function-file-comment)
13724 (octave-update-function-file-comment): New functions.
13725 (octave-mode-map): Bind C-c ; to
13726 octave-update-function-file-comment.
13727 (octave-mode-menu): Add octave-update-function-file-comment.
13728 (octave-mode, inferior-octave-mode): Fix doc-string.
13729 (octave-insert-defun): Conform to Octave's coding convention.
13730 (Bug#14285)
13731
13732 * files.el (basic-save-buffer): Don't let errors in
13733 before-save-hook prevent saving buffer.
13734
13735 2013-04-20 Roland Winkler <winkler@gnu.org>
13736
13737 * faces.el (read-face-name): Use completing-read if arg multiple
13738 is nil.
13739
13740 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13741
13742 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13743 displayed, move point to after the totals line.
13744 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13745 for the details.
13746
13747 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13748
13749 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13750 Add current dir to the load-path.
13751 (package-generate-autoloads): Don't rely on
13752 autoload-ensure-default-file.
13753
13754 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13755
13756 * textmodes/remember.el (remember-store-in-files): Document that
13757 the file name format is passed to `format-time-string'.
13758
13759 2013-04-26 Leo Liu <sdl.web@gmail.com>
13760
13761 * progmodes/octave.el (octave-sync-function-file-names): New function.
13762 (octave-mode): Use it in before-save-hook.
13763
13764 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13765
13766 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13767 (bug#14274).
13768
13769 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13770 \n and comment, even if it's not an implicit ; (bug#14218).
13771
13772 2013-04-26 Glenn Morris <rgm@gnu.org>
13773
13774 * subr.el (read-number): Once more use `read' rather than
13775 `string-to-number', to trap non-numeric input. (Bug#14254)
13776
13777 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13778
13779 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13780 Use `syntax-multiline' text property consistently instead of
13781 `font-lock-multiline'. (Bug#14237)
13782
13783 2013-04-26 Glenn Morris <rgm@gnu.org>
13784
13785 * emacs-lisp/shadow.el (list-load-path-shadows):
13786 No longer necessary to check for duplicate simple.el, since
13787 2012-07-07 change to init_lread to not include installation lisp
13788 directories in load-path when running uninstalled. (Bug#14270)
13789
13790 2013-04-26 Leo Liu <sdl.web@gmail.com>
13791
13792 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13793 (octave-mode, inferior-octave-mode): Use setq-local.
13794 (octave-not-in-string-or-comment-p): Rename to
13795 octave-in-string-or-comment-p.
13796 (octave-in-comment-p, octave-in-string-p)
13797 (octave-in-string-or-comment-p): Replace defsubst with defun.
13798
13799 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13800
13801 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13802
13803 2013-04-25 Bastien Guerry <bzg@gnu.org>
13804
13805 * textmodes/remember.el (remember-data-directory)
13806 (remember-directory-file-name-format): Fix custom types.
13807
13808 2013-04-25 Leo Liu <sdl.web@gmail.com>
13809
13810 * progmodes/octave.el (octave-completion-at-point-function):
13811 Make use of inferior octave process.
13812 (octave-initialize-completions): Remove.
13813 (inferior-octave-completion-table): New function.
13814 (inferior-octave-completion-at-point): Use it.
13815 (octave-completion-alist): Remove.
13816
13817 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13818
13819 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13820 (opascal-mode-syntax-table): New var.
13821 (opascal-literal-kind, opascal-is-literal-end)
13822 (opascal-literal-token-at): Rewrite.
13823 (opascal--literal-start-re, opascal-font-lock-keywords)
13824 (opascal--syntax-propertize): New constants.
13825 (opascal-font-lock-defaults): Adjust.
13826 (opascal-mode): Use them. Set comment-<foo> variables as well.
13827 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13828 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13829 (delphi-other-face, opascal-other-face): Remove face variables.
13830 (opascal-save-state): Remove macro.
13831 (opascal-fontifying-progress-step): Remove constant.
13832 (opascal--ignore-changes): Remove var.
13833 (opascal-set-token-property, opascal-parse-next-literal)
13834 (opascal-is-stable-literal, opascal-complete-literal)
13835 (opascal-is-literal-start, opascal-face-of)
13836 (opascal-parse-region, opascal-parse-region-until-stable)
13837 (opascal-fontify-region, opascal-after-change)
13838 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13839 (opascal-debug-parse-region, opascal-debug-parse-window)
13840 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13841 (opascal-debug-fontify-buffer): Remove.
13842 (opascal-debug-mode-map): Adjust accordingly.
13843
13844 2013-04-25 Leo Liu <sdl.web@gmail.com>
13845
13846 Merge octave-mod.el and octave-inf.el into octave.el with some
13847 cleanups.
13848 * progmodes/octave.el: New file renamed from octave-mod.el.
13849 * progmodes/octave-inf.el: Merged into octave.el.
13850 * progmodes/octave-mod.el: Renamed to octave.el.
13851
13852 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13853
13854 * textmodes/reftex-vars.el
13855 (reftex-label-ignored-macros-and-environments): New defcustom.
13856
13857 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13858
13859 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13860
13861 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13862 (smie-indent-keyword): Improve the check to ensure that the next
13863 comment is really on the same line.
13864 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13865
13866 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13867 semi-colons if the line is not otherwise empty (bug#14218).
13868
13869 2013-04-25 Glenn Morris <rgm@gnu.org>
13870
13871 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13872
13873 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13874
13875 * progmodes/opascal.el (opascal-set-token-property): Rename from
13876 opascal-set-text-properties and only set `token' (bug#14134).
13877 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13878 (opascal-literal-text-properties): Remove.
13879 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13880 Adjust callers.
13881
13882 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13883
13884 * textmodes/remember.el (remember-handler-functions): Add an
13885 option for a new handler `remember-store-in-files'.
13886 (remember-data-directory, remember-directory-file-name-format):
13887 New options.
13888 (remember-store-in-files): New function to store remember notes
13889 as separate files within a directory.
13890
13891 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13892
13893 * progmodes/compile.el (compilation-next-error-function):
13894 Pass "formats" to compilation-find-file (bug#11777).
13895
13896 2013-04-24 Glenn Morris <rgm@gnu.org>
13897
13898 * vc/vc-bzr.el (vc-bzr-print-log):
13899 * vc/vc-hg.el (vc-hg-print-log):
13900 * vc/vc-svn.el (vc-svn-print-log):
13901 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13902
13903 * vc/vc-bzr.el (vc-bzr-print-log):
13904 * vc/vc-cvs.el (vc-cvs-print-log):
13905 * vc/vc-git.el (vc-git-print-log):
13906 * vc/vc-hg.el (vc-hg-print-log):
13907 * vc/vc-mtn.el (vc-mtn-print-log):
13908 * vc/vc-rcs.el (vc-rcs-print-log):
13909 * vc/vc-sccs.el (vc-sccs-print-log):
13910 * vc/vc-svn.el (vc-svn-print-log):
13911 * vc/vc.el (vc-print-log-internal): Doc fixes.
13912
13913 2013-04-23 Glenn Morris <rgm@gnu.org>
13914
13915 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13916 Remove venerable code attempting to avoid substitute-command-keys.
13917
13918 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13919
13920 * textmodes/reftex-vars.el (reftex-label-regexps):
13921 Call `reftex-compile-variables' after changes to this variable.
13922
13923 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13924
13925 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13926 Use lexical-binding.
13927 (jit-lock-force-redisplay): Use markers, check buffer's continued
13928 existence and beware narrowed buffers.
13929 (jit-lock-fontify-now): Adjust call accordingly.
13930
13931 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13932
13933 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13934 to avoid misleading the user.
13935
13936 2013-04-22 Leo Liu <sdl.web@gmail.com>
13937
13938 * info-look.el: Prefer latex2e.info. (Bug#14240)
13939
13940 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13941
13942 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13943
13944 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13945 * net/tramp.el (tramp-call-process): ... here.
13946 (tramp-set-completion-function, tramp-parse-putty):
13947 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13948 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13949 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13950 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13951 (tramp-call-local-coding-command): Use `tramp-call-process'
13952 instead of `tramp-compat-call-process'.
13953
13954 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13955 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13956 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13957 (tramp-find-inline-compress): Improve traces.
13958 (tramp-maybe-send-script): Check for Perl binary.
13959 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13960
13961 2013-04-22 Daiki Ueno <ueno@gnu.org>
13962
13963 * epg.el (epg-context-pinentry-mode): New function.
13964 (epg-context-set-pinentry-mode): New function.
13965 (epg--start): Pass --pinentry-mode option to gpg command.
13966
13967 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13968
13969 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13970 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13971 `completion-at-point'. (Bug#13774)
13972
13973 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13974 default key binding for `describe-distribution' has been moved to
13975 `C-h C-o'. (Bug#13970)
13976
13977 2013-04-21 Glenn Morris <rgm@gnu.org>
13978
13979 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13980 Add doc strings.
13981 (vc-print-log): Clarify interactive prompt.
13982
13983 2013-04-20 Glenn Morris <rgm@gnu.org>
13984
13985 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13986 No longer include timestamp etc information.
13987
13988 2013-04-20 Roland Winkler <winkler@gnu.org>
13989
13990 * faces.el (read-face-name): Bug fix, return just one face if arg
13991 multiple is nil. (Bug#14209)
13992
13993 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13994
13995 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13996 (remove-function): Autoload.
13997
13998 * comint.el (comint-redirect-original-filter-function): Remove.
13999 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14000 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14001 (vc-cvs-annotate-command):
14002 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14003 * progmodes/prolog.el (prolog-consult-compile):
14004 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14005 Use add/remove-function instead.
14006 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14007 (gud-tooltip-process-output, gud-tooltip-tips):
14008 Use add/remove-function instead.
14009 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14010 (scheme-interaction-mode, exit-scheme-interaction-mode):
14011 Use add/remove-function instead.
14012
14013 * vc/vc-dispatcher.el: Use lexical-binding.
14014 (vc--process-sentinel): Rename from vc-process-sentinel.
14015 Change last arg to be the code to run. Don't use vc-previous-sentinel
14016 and vc-sentinel-commands any more.
14017 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14018 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14019
14020 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14021
14022 * progmodes/sh-script.el (sh-imenu-generic-expression):
14023 Handle function names with a single character. (Bug#14111)
14024
14025 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14026
14027 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14028 for subroutines defined in an eval (bug#14182).
14029
14030 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14031
14032 * bookmark.el (bookmark-completing-read): Improve handling of empty
14033 string (bug#14176).
14034
14035 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14036
14037 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14038
14039 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14040
14041 New faster Imenu implementation (bug#14058).
14042 * progmodes/python.el (python-imenu-prev-index-position)
14043 (python-imenu-format-item-label-function)
14044 (python-imenu-format-parent-item-label-function)
14045 (python-imenu-format-parent-item-jump-label-function):
14046 New vars.
14047 (python-imenu-format-item-label)
14048 (python-imenu-format-parent-item-label)
14049 (python-imenu-format-parent-item-jump-label)
14050 (python-imenu--put-parent, python-imenu--build-tree)
14051 (python-imenu-create-index, python-imenu-create-flat-index)
14052 (python-util-popn): New functions.
14053 (python-mode): Set imenu-create-index-function to
14054 python-imenu-create-index.
14055
14056 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14057
14058 * winner.el (winner-active-region): Use region-active-p, activate-mark
14059 and deactivate-mark (bug#14225).
14060
14061 * simple.el (deactivate-mark): Don't inline it.
14062
14063 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14064
14065 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14066
14067 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14068
14069 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14070 file extensions from the archive-mode entry in order to prefer
14071 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14072
14073 2013-04-18 Leo Liu <sdl.web@gmail.com>
14074
14075 * bindings.el (help-event-list): Add ?\?.
14076
14077 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14078
14079 * subr.el (with-wrapper-hook): Declare obsolete.
14080 * simple.el (filter-buffer-substring-function): New hook.
14081 (filter-buffer-substring): Use it.
14082 (filter-buffer-substring-functions): Mark obsolete.
14083 * minibuffer.el (completion-in-region-function): New hook.
14084 (completion-in-region): Use it.
14085 (completion-in-region-functions): Mark obsolete.
14086 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14087 * abbrev.el (abbrev-expand-function): New hook.
14088 (expand-abbrev): Use it.
14089 (abbrev-expand-functions): Mark obsolete.
14090 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14091 and :filter-return.
14092
14093 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14094
14095 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14096 and do not care about match data.
14097
14098 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14099
14100 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14101 completion tables when completing error conditions and
14102 `declare' arguments.
14103 (lisp-complete-symbol, field-complete): Mark as obsolete.
14104 (check-parens): Unmatched parens are user errors.
14105 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14106
14107 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14108
14109 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14110 command changed buffer (ie. `flyspell-pre-buffer' is not current
14111 buffer), which prevents making decisions based on invalid value of
14112 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14113 cause an error when `flyspell-pre-point' was nil after switching
14114 buffers.
14115 (flyspell-post-command-hook): No longer needs to change buffers when
14116 checking pre-word. While at it remove unnecessary progn.
14117
14118 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14119
14120 * textmodes/ispell.el (ispell-add-per-file-word-list):
14121 Fix `flyspell-correct-word-before-point' error when accepting
14122 words and `coment-padding' is an integer by using
14123 `comment-normalize-vars' (Bug #14214).
14124
14125 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14126
14127 New defun movement commands.
14128 * progmodes/python.el (python-nav--syntactically)
14129 (python-nav--forward-defun, python-nav-backward-defun)
14130 (python-nav-forward-defun): New functions.
14131
14132 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14133
14134 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14135 (python-syntax-context): Use named compiler-macro for backwards
14136 compatibility with Emacs 24.x.
14137
14138 2013-04-17 Leo Liu <sdl.web@gmail.com>
14139
14140 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14141 octave-hide-process-buffer.
14142
14143 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14144
14145 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14146 (bug#14216).
14147
14148 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14149
14150 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14151 Fix adjustment of offset when receiving incomplete responses from GDB
14152 (bug#14129).
14153
14154 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14155
14156 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14157 python-mode-abbrev-table.
14158 (python-skeleton-define): Adjust accordingly.
14159 (python-mode-abbrev-table): New table that inherits from it so that
14160 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14161
14162 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14163 (abbrev-symbol): Use it.
14164 (abbrev--before-point): Use it since we already handle inheritance.
14165
14166 2013-04-16 Leo Liu <sdl.web@gmail.com>
14167
14168 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14169 binding to info-lookup-symbol.
14170
14171 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14172
14173 * minibuffer.el (completion--twq-all):
14174 * term/ns-win.el (ns-initialize-window-system):
14175 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14176
14177 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14178
14179 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14180 global bindings.
14181
14182 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14183
14184 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14185
14186 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14187 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14188 to nil.
14189 (ruby-end-of-defun): Remove the unused arg, change the docstring
14190 to reflect that this function is only used as the value of
14191 `end-of-defun-function'.
14192 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14193 to reflect an earlier change that beginning/end-of-defun functions
14194 jump between methods in a class definition, as well as top-level
14195 functions.
14196
14197 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14198
14199 * minibuffer.el (minibuffer-complete): Don't just scroll
14200 a *Completions* that's been iconified.
14201 (minibuffer-force-complete): Make sure repetitions do cycle when going
14202 through completion-in-region -> minibuffer-complete.
14203
14204 2013-04-15 Alan Mackenzie <acm@muc.de>
14205
14206 Correct the placement of c-cpp-delimiters when there're #s not at
14207 col 0.
14208
14209 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14210 place a submatch around the #.
14211 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14212 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14213 on the #, not BOL.
14214
14215 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14216
14217 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14218 (advice--member-p): New arg `name'.
14219 (advice--add-function, advice-member-p): Use it (bug#14202).
14220
14221 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14222
14223 Reformulate java imenu-generic-expression.
14224 The old expression contained ill formed regexps.
14225
14226 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14227 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14228 (cc-imenu-java-method-arg-regexp): New defconsts.
14229 (cc-imenu-java-build-type-args-regex): New defun.
14230 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14231 handling of spaces in the regexp.
14232
14233 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14234
14235 * textmodes/ispell.el (ispell-command-loop): Remove
14236 flyspell highlight of a word when ispell accepts it (bug #14178).
14237
14238 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14239
14240 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14241 uses code from the previous `ange-ftp-run-real-handler'.
14242 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14243 only in case that function exist. This is needed for proper
14244 unloading of Tramp.
14245
14246 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14247
14248 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14249
14250 * textmodes/reftex.el (reftex-compile-variables): Use it.
14251
14252 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14253
14254 * files.el (normal-mode): Only use default major-mode if no other mode
14255 was specified.
14256
14257 * emacs-lisp/trace.el (trace-values): New function.
14258
14259 * files.el: Allow : in local variables (bug#14089).
14260 (hack-local-variable-regexp): New var.
14261 (hack-local-variables-prop-line, hack-local-variables): Use it.
14262
14263 2013-04-13 Roland Winkler <winkler@gnu.org>
14264
14265 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14266 data before it gets modified by bibtex-beginning-of-entry.
14267
14268 2013-04-13 Roland Winkler <winkler@gnu.org>
14269
14270 * textmodes/bibtex.el (bibtex-url): Doc fix.
14271
14272 2013-04-13 Roland Winkler <winkler@gnu.org>
14273
14274 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14275 does not visit a BibTeX file, exclude it from the list of buffers
14276 returned by bibtex-initialize.
14277
14278 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14279
14280 * window.el (split-window): Remove interactive form, since as a
14281 command this function is a special case of split-window-below.
14282 Correct doc string.
14283
14284 2013-04-12 Roland Winkler <winkler@gnu.org>
14285
14286 * faces.el (read-face-name): Do not override value of arg default.
14287 Allow single faces and strings as default values. Remove those
14288 elements from return value that are not faces.
14289 (describe-face): Simplify.
14290 (face-at-point): New optional args thing and multiple so that this
14291 function can provide the same functionality previously provided by
14292 read-face-name.
14293 (make-face-bold, make-face-unbold, make-face-italic)
14294 (make-face-unitalic, make-face-bold-italic, invert-face)
14295 (modify-face, read-face-and-attribute): Use face-at-point.
14296
14297 * cus-edit.el (customize-face, customize-face-other-window)
14298 * cus-theme.el (custom-theme-add-face)
14299 * face-remap.el (buffer-face-set)
14300 * facemenu.el (facemenu-set-face): Use face-at-point.
14301
14302 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14303
14304 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14305
14306 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14307
14308 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14309 off leading { and trailing } from field values.
14310
14311 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14312
14313 * emacs-lisp/timer.el (timer--check): New function.
14314 (timer--time, timer-set-function, timer-event-handler): Use it.
14315 (timer-set-idle-time): Simplify.
14316 (timer--activate): CSE.
14317 (timer-event-handler): Give more info in error message.
14318 (internal-timer-start-idle): New function, moved from C.
14319
14320 * mpc.el (mpc-proc): Add `restart' argument.
14321 (mpc-proc-cmd): Use it.
14322 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14323 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14324 less often.
14325
14326 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14327
14328 * progmodes/sh-script.el: Implement `sh-mode' own
14329 `add-log-current-defun-function' (bug#14112).
14330 (sh-current-defun-name): New function.
14331 (sh-mode): Use the function.
14332
14333 2013-04-09 Bastien Guerry <bzg@gnu.org>
14334
14335 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14336
14337 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14340
14341 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14342 timer (bug#14156).
14343
14344 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14345
14346 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14347 declaration.
14348
14349 2013-04-07 Leo Liu <sdl.web@gmail.com>
14350
14351 * pcmpl-x.el: New file.
14352
14353 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14354
14355 Do not set x-display-name until X connection is established.
14356 This is needed to prevent from weird situation described at
14357 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14358 * frame.el (make-frame): Set x-display-name after call to
14359 window system initialization function, not before.
14360 * term/x-win.el (x-initialize-window-system): Add optional
14361 display argument and use it.
14362 * term/w32-win.el (w32-initialize-window-system):
14363 * term/ns-win.el (ns-initialize-window-system):
14364 * term/pc-win.el (msdos-initialize-window-system):
14365 Add compatible optional display argument.
14366
14367 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14368
14369 * files.el (normal-backup-enable-predicate): On MS-Windows and
14370 MS-DOS compare truenames of temporary-file-directory and of the
14371 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14372 don't fail comparison by compare-strings. Also, compare file
14373 names case-insensitively on MS-Windows and MS-DOS.
14374
14375 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14376
14377 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14378 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14379
14380 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14381
14382 * whitespace.el (whitespace-color-on, whitespace-color-off):
14383 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14384
14385 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14386
14387 * ispell.el (ispell-set-spellchecker-params):
14388 Really set `ispell-args' for all equivs.
14389
14390 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14391
14392 * ido.el (ido-completions): Use extra elements of ido-decorations
14393 (bug#14143).
14394 (ido-decorations): Update docstring.
14395
14396 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
14397
14398 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14399 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14400 nil during initialization, in order not to miss changes since the
14401 file was opened. (Bug#14140)
14402
14403 2013-04-05 Leo Liu <sdl.web@gmail.com>
14404
14405 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14406
14407 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14408
14409 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14410
14411 2013-04-04 Glenn Morris <rgm@gnu.org>
14412
14413 * electric.el (electric-pair-inhibit-predicate): Add :version.
14414
14415 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14416
14417 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14418 when a package is required several times (bug#14082).
14419
14420 2013-04-04 Roland Winkler <winkler@gnu.org>
14421
14422 * faces.el (read-face-name): Behave as promised by the docstring.
14423 Assume that arg default is a list of faces.
14424 (describe-face): Call read-face-name with list of default faces.
14425
14426 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14427
14428 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14429 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14430 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14431 the header.
14432 (bookmark-exit-hook-internal): Save even if list is empty.
14433
14434 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14435
14436 * emacs-lisp/package.el (package-pinned-packages): New var.
14437 (package--add-to-archive-contents): Obey it (bug#14118).
14438
14439 2013-04-03 Alan Mackenzie <acm@muc.de>
14440
14441 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14442 Also adapt to the new values of element 7 of a parse state.
14443
14444 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14445 parameter `not-in-delimiter'. Handle being inside comment opener.
14446 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14447 character in case we're typing a '*' after a '/'.
14448 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14449 instead by passing the parameter to c-state-pp-to-literal.
14450
14451 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14452 for elt. 7 of a parse state.
14453
14454 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14455
14456 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14457 * international/latin1-disp.el, international/mule-util.el:
14458 * language/cyril-util.el, language/european.el, language/ind-util.el:
14459 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14460 * language/tibetan.el, language/viet-util.el:
14461 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14462
14463 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14464
14465 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14466 (electric-pair-post-self-insert-function): Use it.
14467 (electric-pair-default-inhibit): New function, extracted from
14468 electric-pair-post-self-insert-function.
14469
14470 2013-03-31 Roland Winkler <winkler@gnu.org>
14471
14472 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14473
14474 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14475
14476 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14477
14478 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14479
14480 Un-indent after "pass" and "return" statements (Bug#13888)
14481 * progmodes/python.el (python-indent-block-enders): New var.
14482 (python-indent-calculate-indentation): Use it.
14483
14484 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14485
14486 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14487 defun. Defining it as defalias could introduce too eager
14488 byte-compiler optimization. (Bug#14030)
14489
14490 2013-03-30 Chong Yidong <cyd@gnu.org>
14491
14492 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14493
14494 2013-03-30 Leo Liu <sdl.web@gmail.com>
14495
14496 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14497 (kmacro-execute-from-register): Pass the keyboard macro to
14498 kmacro-call-macro or repeating won't work correctly.
14499
14500 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14501
14502 * progmodes/subword.el: Back to using `forward-symbol'.
14503
14504 * subr.el (forward-whitespace, forward-symbol)
14505 (forward-same-syntax): Move from thingatpt.el.
14506
14507 2013-03-29 Leo Liu <sdl.web@gmail.com>
14508
14509 * kmacro.el (kmacro-to-register): New command.
14510 (kmacro-execute-from-register): New function.
14511 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14512
14513 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14514
14515 * mpc.el: Use defvar-local and setq-local.
14516 (mpc--proc-connect): Connection failures are not bugs.
14517 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14518 (mpc-volume-map): Bind to the up-events.
14519
14520 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14521
14522 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14523 instead of `forward-symbol'.
14524
14525 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14526
14527 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14528 (edebug--recursive-edit): Use it.
14529 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14530 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14531
14532 2013-03-28 Leo Liu <sdl.web@gmail.com>
14533
14534 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14535
14536 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14537
14538 * facemenu.el (list-colors-callback): New defvar.
14539 (list-colors-redisplay): New function.
14540 (list-colors-display): Install list-colors-redisplay as the
14541 revert-buffer-function. (Bug#14063)
14542
14543 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14544
14545 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14546 and suffixes don't overlap (bug#14061).
14547
14548 * case-table.el: Use lexical-binding.
14549 (case-table-get-table): New function.
14550 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14551
14552 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14553
14554 * progmodes/subword.el: Add `superword-mode' to do word motion
14555 over symbol_words (parallels and leverages `subword-mode' which
14556 does word motion inside MixedCaseWords).
14557
14558 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14559
14560 * eshell/em-unix.el: Move su and sudo to...
14561 * eshell/em-tramp.el: ...Eshell tramp module.
14562
14563 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14564
14565 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14566 Change return value to be a sexp. Delay `get-buffer' to after
14567 restoring the desktop (bug#13951).
14568
14569 2013-03-26 Leo Liu <sdl.web@gmail.com>
14570
14571 * register.el: Move semantic tag handling back to
14572 cedet/semantic/senator.el. (Bug#14052)
14573
14574 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14575
14576 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14577 into the prompt either (bug#13963).
14578
14579 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14580
14581 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14582 part of "(error-foo)".
14583
14584 2013-03-24 Juri Linkov <juri@jurta.org>
14585
14586 * replace.el (list-matching-lines-prefix-face): New defcustom.
14587 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14588 `occur-engine' if `face-differs-from-default-p' returns t.
14589 (occur-engine): Add `,' inside backquote construct to evaluate
14590 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14591 Pass `prefix-face' to the functions `occur-context-lines' and
14592 `occur-engine-add-prefix'.
14593 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14594 `prefix-face' and propertize the prefix with `prefix-face'.
14595 (Bug#14017)
14596
14597 2013-03-24 Leo Liu <sdl.web@gmail.com>
14598
14599 * nxml/rng-valid.el (rng-validate-while-idle)
14600 (rng-validate-quick-while-idle): Guard against deleted buffer.
14601 (Bug#13999)
14602
14603 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14604 is the last entry in kill-buffer-hook.
14605
14606 * files.el (kill-buffer-hook): Doc fix.
14607
14608 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14609
14610 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14611 Make it safe-local.
14612
14613 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14614
14615 2013-03-23 Leo Liu <sdl.web@gmail.com>
14616
14617 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14618 Remove.
14619
14620 * nxml/rng-valid.el (rng-validate-mode)
14621 (rng-after-change-function, rng-do-some-validation):
14622 * nxml/rng-maint.el (rng-validate-buffer):
14623 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14624 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14625 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14626 (nxml-extend-after-change-region): Use with-silent-modifications.
14627
14628 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14629 timer-idle-list.
14630
14631 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14632 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14633 timer-idle-list. (Bug#13999)
14634
14635 2013-03-23 Juri Linkov <juri@jurta.org>
14636
14637 * info.el (info-index-match): New face.
14638 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14639 main pattern and add text properties with the new face to matches
14640 in index entries relative to the beginning of the index entry.
14641 (Bug#14015)
14642
14643 2013-03-21 Eric Ludlam <zappo@gnu.org>
14644
14645 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14646 Inhibit read only while inserting objects.
14647
14648 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14649
14650 * progmodes/cfengine.el: Update docs to mention
14651 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14652 symbol motion. Remove "_" from the word syntax.
14653
14654 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14655
14656 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14657 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14658
14659 2013-03-20 Juri Linkov <juri@jurta.org>
14660
14661 * info.el (Info-next-reference-or-link)
14662 (Info-prev-reference-or-link): New functions.
14663 (Info-next-reference, Info-prev-reference): Use them.
14664 (Info-try-follow-nearest-node): Handle footnote navigation.
14665 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14666
14667 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14668
14669 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14670 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14671
14672 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14673
14674 Suppress unnecessary non-ASCII chatter during build process.
14675 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14676 (batch-skkdic-convert): Suppress most of the chatter.
14677 It's not needed so much now that machines are faster,
14678 and its non-ASCII component was confusing; see Dmitry Gutov in
14679 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14680
14681 2013-03-20 Leo Liu <sdl.web@gmail.com>
14682
14683 * ido.el (ido-chop): Fix bug#10994.
14684
14685 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14686
14687 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14688 Remove vars.
14689 (whitespace-color-on, whitespace-color-off):
14690 Use `font-lock-fontify-buffer' (Bug#13817).
14691
14692 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14693
14694 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14695 remapping in mode-line.
14696 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14697
14698 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14699
14700 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14701 value for `whitespace-line' face (Bug#13875).
14702 (whitespace-font-lock-keywords): Change description.
14703 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14704 the constructed keywords instead.
14705 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14706
14707 2013-03-19 Leo Liu <sdl.web@gmail.com>
14708
14709 * progmodes/compile.el (compilation-display-error): New command.
14710 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14711 C-o. (Bug#13992)
14712
14713 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14714
14715 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14716
14717 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14718
14719 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14720
14721 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14722
14723 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14724
14725 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14726 * net/tramp-gvfs.el (top):
14727 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14728 (tramp-handle-shell-command): Use it.
14729 (tramp-dissect-file-name): Raise an error when hostname is a
14730 method name, and neither method nor user is specified.
14731
14732 * net/trampver.el: Update release number.
14733
14734 2013-03-18 Leo Liu <sdl.web@gmail.com>
14735
14736 Make sure eldoc can be turned off properly.
14737 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14738 eldoc-mode.
14739 (eldoc-display-message-p): Revert last change.
14740 (eldoc-display-message-no-interference-p)
14741 (eldoc-print-current-symbol-info): Tweak.
14742
14743 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14744
14745 * doc-view.el (doc-view-new-window-function): Check the new window
14746 overlay's display property instead the char property of the
14747 buffer's first char. Use `with-selected-window' instead of
14748 `save-window-excursion' with `select-window'.
14749 (doc-view-document->bitmap): Check the current doc-view overlay's
14750 display property instead the char property of the buffer's first char.
14751
14752 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14753
14754 Automate the build of ja-dic.el (Bug#13984).
14755 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14756 from the input, rather than assume that it's been done for us by the
14757 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14758 the current date into a ja-dic.el comment, as that complicates
14759 regression testing.
14760
14761 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14762
14763 * whitespace.el: Fix double evaluation.
14764 (whitespace-space, whitespace-hspace, whitespace-tab)
14765 (whitespace-newline, whitespace-trailing, whitespace-line)
14766 (whitespace-space-before-tab, whitespace-indentation)
14767 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14768 obsolete defvars.
14769 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14770 (whitespace-color-on): Use a single font-lock-add-keywords call.
14771 Fix double-evaluation of face variables.
14772
14773 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14774
14775 * net/tramp-adb.el (tramp-adb-parse-device-names):
14776 Use `start-process' instead of `call-process'. Otherwise, the
14777 function might be blocked under MS Windows. (Bug#13299)
14778
14779 2013-03-17 Leo Liu <sdl.web@gmail.com>
14780
14781 Extend eldoc to display info in the mode-line. (Bug#13978)
14782 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14783 (eldoc-mode-line-string): New variable.
14784 (eldoc-minibuffer-message): New function.
14785 (eldoc-message-function): New variable.
14786 (eldoc-message): Use it.
14787 (eldoc-display-message-p)
14788 (eldoc-display-message-no-interference-p):
14789 Support eldoc-post-insert-mode.
14790
14791 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14792 (eval-expression): Run it.
14793
14794 2013-03-17 Roland Winkler <winkler@gnu.org>
14795
14796 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14797 strings in the list of return values.
14798
14799 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14800
14801 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14802 radix before checking for HMS forms.
14803
14804 2013-03-16 Leo Liu <sdl.web@gmail.com>
14805
14806 * progmodes/scheme.el: Add indentation and font-locking for λ.
14807 (Bug#13975)
14808
14809 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14810
14811 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14812 token before point (bug#13942).
14813
14814 2013-03-16 Leo Liu <sdl.web@gmail.com>
14815
14816 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14817
14818 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14819
14820 * startup.el (command-line-normalize-file-name): Fix handling of
14821 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14822 <xfq.free@gmail.com> in
14823 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14824
14825 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14826
14827 Sync with Tramp 2.2.7.
14828
14829 * net/trampver.el: Update release number.
14830
14831 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14832
14833 * doc-view.el: Fix bug#13887.
14834 (doc-view-insert-image): Don't modify overlay associated to
14835 non-live windows, and implement horizontal centering of image in
14836 case it's smaller than the window.
14837 (doc-view-new-window-function): Force redisplay of new windows on
14838 doc-view buffers.
14839
14840 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14841
14842 * saveplace.el (save-place-alist-to-file): Don't sort
14843 `save-place-alist', just pretty-print it (bug#13882).
14844
14845 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14846
14847 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14848 Check whether `default-file-name-coding-system' is bound.
14849 It isn't in XEmacs.
14850
14851 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14852
14853 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14854 backquotes for `obsolete' (bug#13929).
14855
14856 * international/mule.el (find-auto-coding): Include file name in
14857 obsolescence warning (bug#13922).
14858
14859 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14860
14861 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14862 for CFEngine 3-specific indentation.
14863 (cfengine3-indent-line): Use it. Fix up category regex.
14864 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14865
14866 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14867
14868 * type-break.el (type-break-file-name):
14869 * textmodes/remember.el (remember-data-file):
14870 * strokes.el (strokes-file):
14871 * shadowfile.el (shadow-initialize):
14872 * saveplace.el (save-place-file):
14873 * ps-bdf.el (bdf-cache-file):
14874 * progmodes/idlwave.el (idlwave-config-directory):
14875 * net/quickurl.el (quickurl-url-file):
14876 * international/kkc.el (kkc-init-file-name):
14877 * ido.el (ido-save-directory-list-file):
14878 * emulation/viper.el (viper-custom-file-name):
14879 * emulation/vip.el (vip-startup-file):
14880 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14881 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14882
14883 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14884
14885 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14886 * language/thai-word.el: Switch to UTF-8.
14887
14888 See ChangeLog.16 for earlier changes.
14889
14890 ;; Local Variables:
14891 ;; coding: utf-8
14892 ;; End:
14893
14894 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14895
14896 This file is part of GNU Emacs.
14897
14898 GNU Emacs is free software: you can redistribute it and/or modify
14899 it under the terms of the GNU General Public License as published by
14900 the Free Software Foundation, either version 3 of the License, or
14901 (at your option) any later version.
14902
14903 GNU Emacs is distributed in the hope that it will be useful,
14904 but WITHOUT ANY WARRANTY; without even the implied warranty of
14905 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14906 GNU General Public License for more details.
14907
14908 You should have received a copy of the GNU General Public License
14909 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.