Doc updates for buffer-stale-function now applying to file buffers too
[bpt/emacs.git] / lisp / ChangeLog
1 2014-04-04 Glenn Morris <rgm@gnu.org>
2
3 * files.el (buffer-stale--default-function)
4 (buffer-stale-function, revert-buffer--default):
5 * autorevert.el (auto-revert-buffers): Doc tweaks.
6
7 2014-04-03 Eli Zaretskii <eliz@gnu.org>
8
9 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
10
11 2014-04-03 Glenn Morris <rgm@gnu.org>
12
13 * files.el (make-backup-file-name-function)
14 (make-backup-file-name, make-backup-file-name--default-function)
15 (make-backup-file-name-1, find-backup-file-name)
16 (revert-buffer-function, revert-buffer-insert-file-contents-function)
17 (buffer-stale--default-function, buffer-stale-function)
18 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
19 (revert-buffer, revert-buffer--default)
20 (revert-buffer-insert-file-contents--default-function):
21 Doc fixes related to defaults no longer being nil.
22 (make-backup-file-name-function): Bump :version.
23 Restore nil as a valid but deprecated custom type.
24
25 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
28 used as a variable (bug#17174).
29
30 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * progmodes/perl-mode.el (perl-indent-new-calculate):
33 Handle forward-sexp failure (bug#16985).
34 (perl-syntax-propertize-function): Add "foreach" and "for" statement
35 modifiers introducing expressions (bug#17116).
36
37 2014-04-02 Glenn Morris <rgm@gnu.org>
38
39 * menu-bar.el (menu-bar-file-menu):
40 * vc/ediff.el (ediff-current-file):
41 Update for revert-buffer-function no longer being nil by default.
42
43 * simple.el (command-execute): Respect nil disabled-command-function.
44
45 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
46
47 * simple.el (command-execute): Do not execute the command when it
48 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
49
50 2014-03-29 Juri Linkov <juri@jurta.org>
51
52 * dired-aux.el (dired-compress-file): Don't use string-match-p
53 because its match data is used afterwards.
54
55 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
56
57 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
58 0 like nil.
59
60 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
61
62 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
63 Highlight special globals with font-lock-builtin-face. (Bug#17057)
64
65 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
66 Don't propertize `?' or `!' as symbol constituent when after
67 colon. (Bug#17097)
68
69 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
70
71 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
72 which is no longer needed and causes trouble in GTK builds (bug#17046).
73
74 * emacs-lisp/package-x.el (package--archive-contents-from-url):
75 Use url-insert-file-contents; package-handle-response no longer exists.
76
77 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
78
79 * emacs-lisp/package.el: Fix bug#16733 (again).
80 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
81 (url-http-target-url): Remove unused declarations.
82 (package-handle-response): Remove.
83 (package--with-work-buffer): Use url-insert-file-contents and simplify.
84 (package--download-one-archive): Use current-buffer instead of
85 dynamic binding of `buffer'.
86 (describe-package-1): Do not decode readme-string.
87
88 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
89
90 * simple.el (primitive-undo): Correction to 2014-03-24 change.
91
92 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
93
94 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
95
96 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
97 from 2014-03-07, it decreases performance unnecessarily. Let-bind
98 `remote-file-name-inhibit-cache' to nil in the second pass.
99 (tramp-find-executable): Do not call "which" on SunOS.
100 (tramp-send-command-and-check): Fix docstring.
101 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
102 check whether source directory has set the sticky bit.
103
104 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
105
106 * simple.el (primitive-undo): Only process marker adjustments
107 validated against their corresponding (TEXT . POS). Issue warning
108 for lone marker adjustments in undo history. (Bug#16818)
109 (undo-make-selective-list): Add marker adjustments to selective
110 undo list based on whether their corresponding (TEXT . POS) is in
111 the region. Remove variable adjusted-markers, which was unused
112 and only non nil during undo-make-selective-list.
113 (undo-elt-in-region): Return nil when passed a marker adjustment
114 and explain in function doc.
115
116 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
117
118 * emacs-lisp/package.el (package--add-to-archive-contents):
119 Include already installed and built-in packages in
120 `package-archive-contents'.
121 (package-install): Don't include already installed packages in the
122 options during interactive invocation. (Bug#16762)
123
124 2014-03-24 Daniel Colascione <dancol@dancol.org>
125
126 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
127 instead of cl-loop search function.
128
129 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
130
131 * frameset.el (frameset--initial-params): Fix typo in parameter name.
132
133 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
134
135 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
136
137 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
138
139 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
140 Match special global variables without curlies, too.
141 (ruby-font-lock-keywords): Simplify the matcher for special global
142 variables. Don't require a non-word character after the variable.
143 (Bug#17057)
144
145 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
146
147 * simple.el (redisplay-highlight-region-function): Increase priority of
148 overlay to make sure boundaries are visible (bug#15899).
149
150 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
151
152 * frameset.el (frameset-restore): Compare display strings with equal.
153
154 * frame.el (make-frame): Don't quote display name in error message,
155 it is already a string.
156
157 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
158
159 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
160 the password.
161
162 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
163
164 * emacs-lisp/package.el (package-show-package-list): If the buffer
165 is already displayed in another window, switch to that window.
166
167 2014-03-21 Daniel Colascione <dancol@dancol.org>
168
169 * mail/emacsbug.el (report-emacs-bug): Include memory usage
170 information in bug reports.
171
172 2014-03-23 Daniel Colascione <dancol@dancol.org>
173
174 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
175 list to look for keyword arguments instead of `memq', fixing
176 (Bug#3647) --- unfortunately, only for freshly-compiled code.
177 Please make bootstrap.
178
179 2014-03-23 Richard Stallman <rms@gnu.org>
180
181 * battery.el (battery-linux-sysfs): Search for each field
182 from the beginning of the buffer.
183
184 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
185
186 * emacs-lisp/package.el (package-desc): Use the contents of the
187 quoted form, not its cdr. (Bug#16873)
188
189 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
190
191 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
192 benefit of doc.c; change parameter profile to match the X function.
193
194 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
195
196 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
197 and `tramp-copy-env'.
198
199 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
200 (tramp-maybe-open-connection): Handle `tramp-login-env'.
201
202 2014-03-21 Glenn Morris <rgm@gnu.org>
203
204 * electric.el (electric-indent-post-self-insert-function): Add doc.
205
206 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
207
208 * emacs-lisp/package.el (package-compute-transaction):
209 Use `version-list-<=' to compare the requirement version against
210 the version of package already to be installed. Update the error
211 message. (Bug#16826)
212
213 * progmodes/ruby-mode.el (ruby-smie-rules):
214 Add indentation rule for ` @ '. (Bug#17050)
215
216 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
217
218 * align.el (align-regexp): Remove superfluous backslash.
219
220 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
221 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
222 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
223 Fix docstring typos.
224 (ffap-next): Use C-u in docstring.
225 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
226 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
227 Remove superfluous backslashes.
228 (ffap-string-at-point): Reflow docstring.
229
230 * server.el (server-host): Reflow docstring.
231 (server-unload-function): Fix docstring typo.
232 (server-eval-at): Remove superfluous backslash.
233
234 * skeleton.el (skeleton-insert): Remove superfluous backslash.
235 (skeleton-insert): Doc fix.
236 (skeleton-insert): Reflow docstring.
237
238 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
239 (tty-color-approximate, tty-color-by-index, tty-color-values)
240 (tty-color-desc): Remove superfluous backslashes.
241
242 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
243
244 * electric.el (electric-newline-and-maybe-indent): New command.
245 Bind it globally to C-j.
246 (electric-indent-mode): Don't mess with the global map any more.
247 Don't drop the post-self-insert-hook is some buffer is still using it
248 (bug#16770).
249
250 * bindings.el (global-map): Remove C-j binding.
251
252 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
253 the docstring of functions advised before dumping (bug#16993).
254
255 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
256
257 * ps-print.el (ps-generate-postscript-with-faces):
258 Explicitly deactivate the mark (bug#16866).
259 * simple.el (deactivate-mark): Update region highlight.
260
261 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
262
263 * emacs-lisp/package.el (describe-package-1):
264 Decode commentary (bug#16733).
265
266 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
267
268 * custom.el (defcustom): Doc fix: recommend avoiding destructive
269 modification of the value argument of :set (bug#16755).
270
271 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * simple.el (newline-and-indent): Do autofill (bug#17031).
274
275 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
276
277 * newcomment.el (comment-normalize-vars): Only add escaping check
278 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
279 (comment-beginning): Use `narrow-to-region' instead of moving back
280 one character.
281 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
282 (comment-start-skip): Update the docstring.
283
284 2014-03-18 Richard Stallman <rms@gnu.org>
285
286 * dired.el (dired-display-file): Force use of other window.
287
288 2014-03-18 Daniel Colascione <dancol@dancol.org>
289
290 * startup.el (tty-handle-args): Remove debug message from 2007.
291
292 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
295 (advice--make-interactive-form): Use it to avoid (auto)loading function.
296 (advice--make-1, advice-add, advice-remove):
297 Remove braindead :advice-pending hack.
298
299 2014-03-17 Glenn Morris <rgm@gnu.org>
300
301 * calendar/calendar.el (calendar-generate-month): Apply weekend
302 face to the right days; fixes 2013-08-06 change. (Bug#17028)
303
304 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
305
306 * net/tramp.el (tramp-action-out-of-band): Read pending output.
307 (tramp-call-process): Trace also DESTINATION.
308
309 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
310 Quote file names when they are local. Remove superfluous trace.
311
312 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
313
314 * newcomment.el (comment-beginning): If `comment-start-skip'
315 doesn't match, move back one char and try again. (Bug#16971)
316
317 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
318 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
319 Set `comment-start-skip' to a simpler value that doesn't try to
320 check if the semicolon is escaped (this is handled by
321 `syntax-ppss' now). (Bug#16971)
322
323 * progmodes/scheme.el (scheme-mode-variables): Same.
324
325 2014-03-16 Martin Rudalics <rudalics@gmx.at>
326
327 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
328 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
329 current (Bug#16816, Bug#17007).
330 (with-current-buffer-window): New macro doing the same as
331 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
332 * help.el (help-print-return-message): Warn in doc-string to not
333 use this in `with-help-window'.
334 (describe-bindings-internal): Call `describe-buffer-bindings'
335 from within help buffer. See Juanma's scenario in (Bug#16816).
336 (with-help-window): Update doc-string.
337 * dired.el (dired-mark-pop-up):
338 * files.el (save-buffers-kill-emacs):
339 * register.el (register-preview): Use `with-current-buffer-window'
340 instead of `with-temp-buffer-window'.
341
342 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
343
344 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
345 Implement inserting into current buffer, documented in their docstrings.
346 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
347 (rst-section-tree-point, rst-forward-section, rst-indent)
348 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
349 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
350 (rst-font-lock-handle-adornment-pre-match-form)
351 (rst-repeat-last-character): Reflow docstrings.
352 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
353 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
354 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
355 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
356 Fix docstring typos.
357 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
358 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
359 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
360
361 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
362
363 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
364 for compatibility with other ports.
365 (ns-initialize-window-system): Use it. It is set in term/common-win.el
366 from the -xrm command line argument, but in the Nextstep port its value
367 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
368
369 * progmodes/python.el (defconst, python-syntax-count-quotes)
370 (python-indent-region, python-indent-shift-right)
371 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
372 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
373 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
374 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
375 (inferior-python-mode, python-shell-make-comint, run-python-internal)
376 (python-shell-buffer-substring, python-shell-send-buffer)
377 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
378 (python-completion-complete-at-point, python-fill-docstring-style)
379 (python-eldoc-function, python-imenu-format-item-label)
380 (python-imenu-format-parent-item-label)
381 (python-imenu-format-parent-item-jump-label)
382 (python-imenu--build-tree, python-imenu-create-index)
383 (python-imenu-create-flat-index): Fix docstring typos.
384 (python-indent-context, python-shell-prompt-regexp, run-python):
385 Remove superfluous backslashes.
386 (python-indent-line, python-nav-beginning-of-defun)
387 (python-shell-get-buffer, python-shell-get-process)
388 (python-info-current-defun, python-info-current-line-comment-p)
389 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
390 (python-indent-post-self-insert-function, python-shell-send-file)
391 (python-shell-completion-get-completions)
392 (python-shell-completion-complete-or-indent)
393 (python-eldoc--get-doc-at-point): Reflow docstrings.
394
395 2014-03-14 Glenn Morris <rgm@gnu.org>
396
397 * emacs-lisp/package.el (package-menu-mode-map):
398 Replace use of obsolete function alias. Tweak menu item text.
399
400 * info.el (Info-finder-find-node):
401 Ignore the `emacs' metapackage. (Bug#10813)
402
403 * finder.el (finder-list-matches): Include unversioned packages
404 in the result of a keyword search.
405
406 * finder.el (finder--builtins-descriptions): New constant.
407 (finder-compile-keywords): Use finder--builtins-descriptions.
408
409 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
410
411 * simple.el (blink-matching-paren): Describe the new value,
412 `jump', enabling the old behavior.
413 (blink-matching-open): Use that value. (Bug#17008)
414
415 2014-03-14 Glenn Morris <rgm@gnu.org>
416
417 * finder.el (finder-no-scan-regexp): Add leim-list.
418 (finder-compile-keywords):
419 Don't skip files with same basename. (Bug#14010)
420 * Makefile.in (setwins_finder): New, excluding leim.
421 (finder-data): Use setwins_finder.
422
423 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
424 (help-function-arglist, help-make-usage): Move from here...
425 * help.el (help-split-fundoc, help-add-fundoc-usage)
426 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
427 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
428
429 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
430
431 * net/socks.el (socks, socks-override-functions)
432 (socks-find-services-entry):
433 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
434 (hif-find-ifdef-block):
435 * progmodes/modula2.el (m2-indent): Fix docstring typos.
436
437 * net/tls.el (tls-program): Reflow docstring.
438
439 * progmodes/pascal.el (pascal-mode-abbrev-table)
440 (pascal-imenu-generic-expression, pascal-auto-endcomments)
441 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
442 (pascal-outline-mode): Fix docstring typos.
443 (pascal-mode): Let define-derived-mode document mode hook.
444 (pascal-uncomment-area): Reflow.
445 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
446
447 * progmodes/opascal.el (opascal-compound-block-indent)
448 (opascal-case-label-indent): Fix docstring typos.
449 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
450
451 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
452
453 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
454 Fontify multiple adjacent negation chars. (Bug#17004)
455
456 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
457
458 * emacs-lisp/package.el (package--prepare-dependencies):
459 Accept requirements without explicit version (bug#14941).
460
461 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
462
463 * register.el (register-separator, copy-to-register): Doc fixes.
464 (register-preview-default): Remove unnecessary call to concat.
465
466 * frameset.el (frameset-restore): When checking for a visible frame,
467 use the action map instead of calling visible-frame-list.
468
469 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
470
471 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
472
473 2014-03-12 Martin Rudalics <rudalics@gmx.at>
474
475 * window.el (fit-frame-to-buffer): Get maximum width from
476 display's width instead of height.
477
478 2014-03-12 Glenn Morris <rgm@gnu.org>
479
480 * desktop.el (desktop-restore-frames)
481 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
482 (desktop-restore-reuses-frames): Doc tweaks.
483
484 * electric.el (electric-indent-mode): Doc fix.
485
486 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
487
488 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
489 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
490 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
491 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
492 (cvs-dired-use-hook): Fix docstring typos.
493 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
494 Doc fixes.
495
496 * vc/pcvs-defs.el (cvs-auto-remove-handled)
497 (cvs-auto-remove-directories, cvs-default-ignore-marks)
498 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
499 (cvs-execute-single-dir): Fix docstring typos.
500
501 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
502 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
503
504 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
505
506 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
507 Fix docstring typos.
508
509 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
510
511 * frameset.el (frameset--jump-to-register): Add autoload; it could be
512 called from jump-to-register after unloading the frameset package.
513
514 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
517 (bug#16975). Deactivate the mark before setting it to nil.
518 (activate-mark): Do nothing if region is already active.
519
520 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
521
522 * frameset.el (frameset--target-display): Remove definition; declare.
523 (frameset-save, frameset-restore): Let-bind frameset--target-display.
524
525 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
528 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
529 when the advice is pending.
530 (advice-remove): Remove this marker when not needed any more.
531
532 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
533
534 * frameset.el: Separate options for reusing frames and cleaning up.
535 (frameset--reuse-list): Remove definition; declare.
536 (frameset--action-map): Declare.
537 (frameset--find-frame-if): Doc fix.
538 (frameset--restore-frame): Cache frame action.
539 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
540 how to clean up the frame list after restoring. Remove cleaning
541 options from REUSE-FRAMES. Change all keyword values to symbols.
542 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
543
544 * desktop.el (desktop-restore-forces-onscreen)
545 (desktop-restore-reuses-frames): Use non-keyword values.
546 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
547
548 2014-03-10 Glenn Morris <rgm@gnu.org>
549
550 * files.el (find-file): Doc fix: update info node name.
551
552 * emacs-lisp/advice.el (ad-add-advice, defadvice):
553 Doc fix: remove references to deleted info nodes.
554
555 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
556
557 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
558 Do not add `nil' to the environment, when there's no remote `locale'.
559 (tramp-find-inline-encoding): Check, that the remote host has
560 installed perl, before sending scripts.
561
562 2014-03-10 Leo Liu <sdl.web@gmail.com>
563
564 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
565 Clear eldoc-last-message. (Bug#16920)
566
567 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
570 (bug#14430).
571
572 2014-03-09 Juri Linkov <juri@jurta.org>
573
574 * ansi-color.el (ansi-color-names-vector): Copy default colors
575 from `xterm-standard-colors' that look well on the default white
576 background (and also on the black background) to avoid illegible
577 color combinations like yellow-on-white and white-on-white.
578 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
579
580 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
581
582 * frameset.el (frameset-restore): When no frame is visible, do not
583 generate a list of frames, just make visible the selected one.
584
585 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
586
587 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
588 it only contains the repository root. (Bug#16897)
589
590 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
591
592 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
593 only when `remote-file-name-inhibit-cache' is nil.
594 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
595
596 2014-03-06 Martin Rudalics <rudalics@gmx.at>
597
598 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
599 Fix doc-strings.
600 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
601 fit-frame-to-buffer variable. Fix doc-string.
602 (fit-window-to-buffer): Set ONLY argument in call of
603 fit-frame-to-buffer. Fix doc-string.
604
605 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
606
607 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
608 (tramp-action-password): Clear password cache if needed.
609 (tramp-read-passwd): Do not clear password cache.
610
611 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
612 cache unless it is the first password request.
613
614 2014-03-06 Glenn Morris <rgm@gnu.org>
615
616 * simple.el (newline): Doc tweak.
617
618 * emacs-lisp/shadow.el (load-path-shadows-find):
619 Ignore dir-locals. (Bug#12357)
620
621 2014-03-05 Glenn Morris <rgm@gnu.org>
622
623 * files.el (interpreter-mode-alist):
624 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
625
626 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
627
628 * frameset.el (frameset--initial-params): Filter out null entries.
629
630 2014-03-05 Martin Rudalics <rudalics@gmx.at>
631
632 * window.el (window-min-height, window-min-width):
633 Rewrite doc-strings.
634 (window-body-size): Add PIXELWISE argument to make it consistent
635 with its callees.
636
637 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
638
639 * finder.el (finder-mode-map, finder-mode-syntax-table):
640 Revert part of 2014-02-28 change.
641
642 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
643
644 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
645 (eww-setup-buffer): Clear next/prev/etc more reliably.
646 (eww-textarea-map): [tab] doesn't work on tty.
647 Reported by Mario Lang.
648
649 * net/shr.el (shr-map): Ditto.
650
651 2014-03-04 Glenn Morris <rgm@gnu.org>
652
653 * minibuffer.el (completion-hilit-commonality):
654 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
655
656 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
657
658 * hilit-chg.el (hilit-chg-unload-function): New function.
659 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
660 (hilit-chg-map-changes): Prefer cardinal number to digit.
661 (hilit-chg-display-changes): Reflow docstring.
662 (highlight-changes-rotate-faces): Remove superfluous backslash.
663
664 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
665
666 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
667 `tramp-send-command-and-check'.
668
669 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
670
671 * hexl.el (hexl-address-region, hexl-ascii-region)
672 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
673 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
674 (hexl-forward-word, hexl-previous-line, hexl-next-line):
675 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
676 (hexl-mode): Doc fix.
677 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
678 (hexl-mode-ruler): Fix typos in docstrings.
679
680 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
681 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
682 Remove superfluous backslashes.
683 (strokes-last-stroke, strokes-global-map, strokes-mode):
684 Reflow docstrings.
685 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
686 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
687 (strokes-distance-squared, strokes-global-set-stroke)
688 (strokes-global-set-stroke-string): Doc fixes.
689 (strokes-help): Fix typos; reflow docstring.
690
691 2014-03-04 Martin Rudalics <rudalics@gmx.at>
692
693 * window.el (window-in-direction): Fix doc-string.
694
695 2014-03-04 Glenn Morris <rgm@gnu.org>
696
697 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
698 Explicit error if no grammar.
699 (smie-config-save): Doc fix. Fix quote typo.
700
701 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
704 electric-indent-mode-hook if we obey electric-indent-mode.
705 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
706 decide whether we obey electric-indent-mode.
707 (c-change-set-fl-decl-start, c-extend-after-change-region):
708 Silence warnings.
709 (c-electric-indent-mode-hook): Assume we do want to obey
710 electric-indent-mode.
711
712 * electric.el (electric-indent-mode-has-been-called): Remove.
713 (electric-indent-mode): Fix accordingly.
714
715 * files.el (hack-local-variables): Mention file name in warning.
716
717 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
718
719 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
720
721 * binding.el: Add comment describing why C-d binds to `delete-char'.
722 * simple.el (delete-forward-char): Mark as interactive-only.
723
724 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
725
726 * icomplete.el (icomplete-completions):
727 Follow-up to 2014-03-01 change.
728
729 * icomplete.el: Miscellaneous doc fixes.
730 Use Icomplete everywhere instead of icomplete for consistency.
731 (icomplete-max-delay-chars): Fix typo.
732 (icomplete-mode): Use \[].
733 (icomplete-tidy, icomplete-exhibit): Reflow.
734 (icomplete-minibuffer-setup-hook, icomplete-completions):
735 Remove superfluous backlashes.
736
737 * ido.el: Miscellaneous doc fixes.
738 Use Ido everywhere instead of ido or `ido' for consistency.
739 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
740 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
741 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
742 (ido-separator): Extract obsolescence info from docstring and declare
743 with make-obsolete-variable.
744 (ido-minibuffer-setup-hook): Simplify example.
745 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
746 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
747 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
748 (ido-everywhere): Reflow docstring.
749 (ido-toggle-vc): Doc fix.
750 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
751 of long list of keybindings.
752
753 2014-03-03 Glenn Morris <rgm@gnu.org>
754
755 * frame.el (display-pixel-height, display-pixel-width)
756 (display-mm-dimensions-alist, display-mm-height)
757 (display-mm-width): Doc tweaks.
758
759 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
760
761 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
762 case of undo in region.
763
764 2014-03-02 Martin Rudalics <rudalics@gmx.at>
765
766 * window.el (fit-window-to-buffer): Fix argument in window-size
767 call when window is horizontally combined.
768
769 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
770
771 * icomplete.el (icomplete-completions): Use string-width.
772 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
773
774 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
775
776 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
777 Highlight regexp options. (Bug#16914)
778
779 2014-03-01 Martin Rudalics <rudalics@gmx.at>
780
781 * window.el (window--max-delta-1): Round down when calculating
782 how many lines/columns we can get from a window.
783
784 2014-03-01 Glenn Morris <rgm@gnu.org>
785
786 * isearch.el (search-invisible): Doc fix.
787
788 * minibuffer.el (completion-hilit-commonality):
789 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
790 * comint.el (comint-dynamic-list-completions): Doc fix.
791 * comint.el (comint-dynamic-list-completions):
792 * filecache.el (file-cache-minibuffer-complete):
793 * tempo.el (tempo-display-completions):
794 * eshell/em-hist.el (eshell-list-history):
795 Replace use of obsolete argument of display-completion-list.
796
797 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
798
799 * icomplete.el (icomplete-completions):
800 Revert back to using "..." when ?… cannot be displayed.
801
802 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
803
804 * finder.el (finder-unload-function): New function.
805
806 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
807
808 * dframe.el (dframe-detach):
809 * find-dired.el (find-dired, find-name-dired):
810 * finder.el (finder-mode-map, finder-mode-syntax-table)
811 (finder-headmark, finder-select, finder-mouse-select):
812 Fix docstring typos.
813
814 2014-02-28 Martin Rudalics <rudalics@gmx.at>
815
816 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
817 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
818 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
819 Fix doc-string based on a suggestion by Nicolas Richard
820 <theonewiththeevillook@yahoo.fr>.
821 * help.el (with-help-window): Fix doc-string.
822
823 2014-02-28 Ivan Kanis <ivan@kanis.fr>
824
825 * net/shr.el (shr-image-animate): New option.
826 (shr-put-image): Respect shr-image-animate.
827
828 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
829
830 * net/tramp-adb.el (tramp-adb-parse-device-names):
831 Use `accept-process-output'.
832 (tramp-adb-handle-file-truename): Cache the localname only.
833 (tramp-adb-handle-make-directory)
834 (tramp-adb-handle-delete-directory): Flush file properties correctly.
835 (tramp-adb-handle-set-file-modes): Do not raise an error when file
836 modes cannot be changed.
837
838 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
839 file properties of symlinks.
840
841 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
842
843 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
844 required/optional fields to match development biblatex. (Bug#16781)
845
846 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
847
848 * saveplace.el (toggle-save-place):
849 Fix argument handling. (Bug#16673)
850
851 2014-02-28 Glenn Morris <rgm@gnu.org>
852
853 * minibuffer.el (completions-first-difference)
854 (completions-common-part, completion-hilit-commonality): Doc fixes.
855
856 2014-02-28 Karl Berry <karl@gnu.org>
857
858 * info.el (Info-mode-map): Add H for describe-mode,
859 to synchronize with standalone Info.
860
861 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
862
863 * progmodes/sql.el (sql-interactive-mode):
864 Avoid setting global comint-input-ring-separator. (Bug#16814)
865
866 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
867
868 * net/dbus.el (dbus--init-bus): Declare function.
869 (dbus-path-local, dbus-interface-local): New defconst.
870 (dbus-init-bus): Use them.
871 (dbus-return-values-table): Extend doc.
872 (dbus-handle-bus-disconnect): Extend error message.
873
874 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
875
876 * subr.el (y-or-n-p): Fix double space issue in message.
877
878 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
879
880 * net/tramp.el (tramp-call-process): Improve trace message.
881 (tramp-handle-insert-file-contents): Trace error case.
882
883 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
884 <insert-directory>: Use `tramp-handle-insert-directory'.
885 (tramp-adb-handle-insert-directory): Remove function.
886 (tramp-adb-send-command-and-check): New defun, replacing
887 `tramp-adb-command-exit-status'. Change all callees.
888 (tramp-adb-handle-file-attributes)
889 (tramp-adb-handle-directory-files-and-attributes): Use it.
890 (tramp-adb-ls-output-name-less-p):
891 Use `directory-listing-before-filename-regexp'.
892 (tramp-adb-handle-delete-directory): Flush also file properties of
893 the truename of directory.
894 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
895 (tramp-adb-handle-file-local-copy): Make the local copy readable.
896 (tramp-adb-handle-write-region): Implement APPEND.
897 (tramp-adb-handle-rename-file): Make it more robust. Flush file
898 properties correctly.
899 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
900 variables. Check for connected devices only when needed.
901
902 2014-02-27 Glenn Morris <rgm@gnu.org>
903
904 * minibuffer.el (completion-table-dynamic)
905 (completion-table-with-cache): Doc fixes.
906
907 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
908 (completing-read-multiple): Doc fixes.
909
910 2014-02-27 Daniel Colascione <dancol@dancol.org>
911
912 * minibuffer.el (completion--nth-completion): Fix indentation.
913
914 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
915 explicit tramp path is empty.
916
917 2014-02-27 Glenn Morris <rgm@gnu.org>
918
919 * emacs-lisp/crm.el (completing-read-multiple):
920 Empower help-enable-auto-load.
921
922 2014-02-26 Glenn Morris <rgm@gnu.org>
923
924 * startup.el (command-line): Don't init the tty in daemon mode.
925
926 Avoid calling tty-setup-hook twice, eg if a term file
927 explicitly calls tty-run-terminal-initialization. (Bug#16859)
928 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
929 (tty-create-frame-with-faces): Use it.
930 * startup.el (command-line): Pass run-hook argument
931 to tty-run-terminal-initialization.
932
933 * dired.el (dired-restore-desktop-buffer): Demote errors;
934 eg in case a glob match fails. (Bug#16884)
935
936 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
937
938 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
939 error from `read-from-string'. (Bug#16850)
940
941 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
942 result of `completing-read' in the interactive form. (Bug#16854)
943
944 2014-02-25 Glenn Morris <rgm@gnu.org>
945
946 * image.el (image-animate, image-animate-timeout):
947 Stop animating images in dead buffers. (Bug#16878)
948
949 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
950
951 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
952 Doc fixes.
953 * startup.el (term-setup-hook): Doc fix. Make obsolete.
954 * term/sun.el (sun-raw-prefix-hooks):
955 Use tty-setup-hook instead of term-setup-hook.
956 (terminal-init-sun): Construct message from bytecomp plist.
957 * term/wyse50.el (enable-arrow-keys): Doc fix.
958
959 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
960
961 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
962 Fix docstring typos.
963
964 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
965
966 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
967
968 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
969
970 * minibuffer.el (completion--try-word-completion):
971 Fix error when completing M-x commands (bug#16808).
972
973 2014-02-24 Leo Liu <sdl.web@gmail.com>
974
975 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
976
977 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
978
979 * apropos.el (apropos-print): Avoid formatting error when
980 apropos-do-all and apropos-compact-layout are both t.
981
982 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
983
984 * apropos.el (apropos-property, apropos-all-words-regexp)
985 (apropos-true-hit, apropos-variable, apropos-print):
986 Fix docstring typos, and remove obsolete comment.
987
988 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
989
990 * net/tramp-sh.el (tramp-sh-handle-file-truename):
991 Preserve trailing "/". (Bug#16851)
992
993 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
994
995 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
996 after `=>' (bug#16811).
997 (ruby-smie-rules): Handle the inconsistent second element of the
998 list returned by `smie-indent--parent'.
999 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1000 method call.
1001
1002 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1003
1004 * elec-pair.el (electric-pair-text-syntax-table)
1005 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1006 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1007 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1008 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1009
1010 2014-02-22 Glenn Morris <rgm@gnu.org>
1011
1012 * imenu.el (imenu--generic-function): Doc fix.
1013
1014 * register.el (frame-configuration-to-register): Make obsolete.
1015
1016 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1017
1018 * desktop.el (desktop-save-buffer-p): Do not fail when
1019 desktop-files-not-to-save is nil. Return t for true result
1020 as the doc says.
1021
1022 2014-02-22 Daniel Colascione <dancol@dancol.org>
1023
1024 * net/secrets.el (secrets-create-item, secrets-search-items):
1025 Check that attribute values are strings, avoiding the construction
1026 of invalid dbus messages.
1027
1028 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1029
1030 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1031 defun-declarations-alist.
1032
1033 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1034
1035 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1036 (bug#16829).
1037
1038 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1039
1040 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1041 (whitespace-newline, whitespace-trailing, whitespace-line)
1042 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1043 (whitespace-space-after-tab): Fix typo in docstrings.
1044
1045 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1046
1047 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1048
1049 * electric.el (electric-indent-functions-without-reindent):
1050 Add `yaml-indent-line'.
1051
1052 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1053
1054 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1055 It has done nothing for years; should be removed after the release.
1056
1057 * simple.el (choose-completion): Fix docstring typo.
1058 (read-quoted-char-radix): Remove unneeded * in docstring.
1059 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1060 Don't escape parentheses unnecessarily in docstrings.
1061
1062 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1063
1064 Fix handling of window-min-height/-width (Bug#16738).
1065 * window.el (window--dump-window, window--dump-frame):
1066 New functions.
1067 (window--min-size-1): Account for window dividers.
1068 When window-resize-pixelwise is nil, delay rounding till after the
1069 sum of the window components has been calculated.
1070 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1071 nil make sure at least one text line and two text columns remain
1072 fully visible.
1073 (window-resize): Signal an error when window-resize-apply fails.
1074 (window--resize-child-windows): Fix calculation of by how many
1075 pixels a window can still be shrunk via window-new-normal.
1076 (adjust-window-trailing-edge): Call window--resizable with
1077 correct TRAIL argument.
1078
1079 (with-temp-buffer-window): Don't evaluate BODY within
1080 with-current-buffer (Bug#16816).
1081
1082 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1083
1084 * net/tramp.el (tramp-check-cached-permissions):
1085 Call `file-attributes' with `suffix' being a symbol but a string.
1086
1087 2014-02-21 Daniel Colascione <dancol@dancol.org>
1088
1089 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1090 (dbus-init-bus): New function: call into dbus-init-bus-1
1091 and installs a handler for the disconnect signal.
1092 (dbus-call-method): Rewrite to look for result in cons.
1093 (dbus-call-method-handler): Store result in cons.
1094 (dbus-check-event): Recognize events with nil sender as valid.
1095 (dbus-handle-bus-disconnect): New function. React to bus
1096 disconnection signal by synthesizing dbus error for each
1097 pending synchronous or asynchronous call.
1098 (dbus-notice-synchronous-call-errors): New function.
1099 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1100 is true, not all the time.
1101
1102 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1103
1104 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1105 Remove obsolescence declarations, these variables do not exist anymore.
1106
1107 * savehist.el (savehist-save-minibuffer-history)
1108 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1109 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1110 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1111 mostly, refer to "Savehist mode" when talking about the mode,
1112 and not the function.
1113
1114 * saveplace.el (save-place): Remove redundant info in docstring.
1115 (save-place-forget-unreadable-files, toggle-save-place)
1116 (save-place-forget-unreadable-files, save-place-dired-hook):
1117 Fix typos and remove unneeded backslashes.
1118
1119 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1120
1121 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1122 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1123
1124 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1125 <insert-directory>: Use `tramp-handle-insert-directory'.
1126 (tramp-gvfs-handle-insert-directory): Remove function.
1127
1128 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1129 Call `tramp-handle-insert-directory'.
1130
1131 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1132
1133 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1134 before the start of buffer/region (bug#16799).
1135
1136 2014-02-20 Glenn Morris <rgm@gnu.org>
1137
1138 * isearch.el (search-invisible): Doc fix.
1139
1140 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1141
1142 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1143 (bug#16657).
1144
1145 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1146
1147 * frameset.el (frameset-restore): Delay removing an old frame's
1148 duplicate id until the new frame has been correctly created.
1149
1150 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1151
1152 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1153 (tramp-check-cached-permissions): Call `file-attributes' if the
1154 cache is empty.
1155
1156 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1157 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1158
1159 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1160 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1161 (tramp-gvfs-maybe-open-connection): Set always connection
1162 properties, even if target is mounted already.
1163
1164 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1165 Set tramp-autoload cookie.
1166 (tramp-get-remote-touch): New defun.
1167 (tramp-sh-handle-set-file-times): Use it.
1168 (tramp-sh-handle-directory-files-and-attributes):
1169 Use `tramp-handle-directory-files-and-attributes' if neither stat
1170 nor perl are available on the remote host.
1171
1172 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1173 "/". Write long listing only when "l" belongs to the switches.
1174
1175 * net/trampver.el: Update release number.
1176
1177 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1178
1179 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1180
1181 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1182
1183 * window.el (window-state-put): Allow WINDOW to refer to an
1184 internal window (Bug#16793).
1185
1186 2014-02-19 Glenn Morris <rgm@gnu.org>
1187
1188 * textmodes/remember.el: Move provide statement to end.
1189 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1190 (remember-notes): Doc fixes.
1191
1192 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * delsel.el (delete-char): Restore incorrectly erased property
1195 (bug#16795).
1196
1197 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1198
1199 * frameset.el (frameset--restore-frame): When a frame is being reused
1200 and its root window is not alive, delete all the frame's windows before
1201 restoring the window state. This works around the issue in bug#16793.
1202
1203 2014-02-18 Glenn Morris <rgm@gnu.org>
1204
1205 * textmodes/remember.el (remember-data-directory)
1206 (remember-directory-file-name-format, remember-store-in-files)
1207 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1208 (remember-notes-save-and-bury-buffer)
1209 (remember-notes--kill-buffer-query): Doc fixes.
1210
1211 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1212
1213 2014-02-17 Alan Mackenzie <acm@muc.de>
1214
1215 Connect electric-indent-mode up with CC Mode. Bug #15478.
1216 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1217 to electric-indent-{,local-}-mode.
1218 (c-basic-common-init): Set electric-indent-inhibit.
1219 Initialise c-electric-flag from electric-indent-mode.
1220 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1221 New hook functions which propagate electric-indent-mode to CC mode.
1222
1223 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1224 hit, toggle electric-indent-local-mode.
1225
1226 * electric.el (electric-indent-mode-has-been-called):
1227 New variable.
1228
1229 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1230
1231 * frameset.el (frameset-cfg-id): New function.
1232 (frameset--reuse-frame, frameset-restore): Use it.
1233 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1234
1235 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * ido.el (ido-file-internal): Remove unused var `d'.
1238 Use \` for to match BoS. Fit within 80n columns.
1239
1240 2014-02-17 Daniel Colascione <dancol@dancol.org>
1241
1242 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1243 dbus-call-method check for completion using a busy-wait loop with
1244 gradual backoff.
1245
1246 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1247
1248 Sync with Tramp 2.2.9.
1249
1250 * net/trampver.el: Update release number.
1251
1252 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1253
1254 * ido.el (ido-file-internal): Don't add the name of an existing
1255 directory twice. (Bug#16747)
1256
1257 2014-02-16 Glenn Morris <rgm@gnu.org>
1258
1259 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1260 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1261
1262 2014-02-15 Michael R. Mauger <michael@mauger.com>
1263
1264 * progmodes/sql.el: Version 3.4
1265 (sql-oracle-options): New default value ("-L").
1266 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1267 (sql-placeholders-filter): Correct placeholder pattern.
1268 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1269 (sql-login-delay): New variable.
1270 (sql-product-interactive): Use it.
1271
1272 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1273
1274 * frameset.el (frameset--jump-to-register): Check that buffer is live
1275 (bug#16749).
1276
1277 2014-02-15 Glenn Morris <rgm@gnu.org>
1278
1279 * info.el (info-initialize): Revert 2014-01-10 change.
1280
1281 2014-02-14 Glenn Morris <rgm@gnu.org>
1282
1283 * replace.el (map-query-replace-regexp)
1284 (read-regexp-defaults-function, read-regexp): Doc fixes.
1285
1286 * dired.el (dired-read-regexp):
1287 * faces.el (list-faces-display):
1288 * misearch.el (multi-isearch-read-matching-buffers)
1289 (multi-isearch-read-matching-files):
1290 * play/cookie1.el (cookie-apropos):
1291 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1292
1293 * textmodes/remember.el (remember): Use frameset-to-register
1294 rather than frame-configuration-to-register.
1295
1296 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1297
1298 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1299 incorrect keybinding.
1300
1301 2014-02-13 Daniel Colascione <dancol@dancol.org>
1302
1303 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1304 when adding overlays so that line numbers from compiler match line
1305 numbers we use.
1306
1307 2014-02-13 Glenn Morris <rgm@gnu.org>
1308
1309 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1310
1311 * jit-lock.el (jit-lock-mode): Doc fix.
1312
1313 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1314
1315 * apropos.el (apropos-read-pattern): When the user passes an empty
1316 string, give a more helpful error message than "Wrong type
1317 argument: stringp, nil".
1318
1319 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1322
1323 2014-02-13 Glenn Morris <rgm@gnu.org>
1324
1325 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1326
1327 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1330 shift-select commands.
1331
1332 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1333
1334 * progmodes/js.el (js-indent-line): Don't widen.
1335 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1336
1337 2014-02-12 Glenn Morris <rgm@gnu.org>
1338
1339 * icomplete.el (icomplete): Add info-link to defgroup.
1340 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1341 (icomplete-minibuffer-map, icomplete-mode)
1342 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1343
1344 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1345 (package-menu-filter): Rename from package-menu-filter-interactive.
1346 Doc fix.
1347
1348 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1349
1350 * frameset.el (frameset--jump-to-register): Select the required
1351 window and buffer before restoring position (bug#16696).
1352
1353 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1354
1355 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1356
1357 2014-02-10 Glenn Morris <rgm@gnu.org>
1358
1359 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1360
1361 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1362
1363 * w32-common-fns.el (x-get-selection): Doc fix.
1364 * select.el (x-get-selection): Doc fix. (Bug#15109)
1365
1366 * face-remap.el (face-remap-add-relative)
1367 (face-remap-remove-relative, face-remap-reset-base)
1368 (face-remap-set-base): Call force-mode-line-update to redisplay
1369 the current buffer due to potential change in faces. (Bug#16709)
1370
1371 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1372
1373 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1374 script more robustly.
1375
1376 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1377
1378 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1379
1380 * simple.el (choose-completion): Doc fix (bug#14160).
1381
1382 * subr.el (event-start): Say what a nil EVENT value means.
1383
1384 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1385 (bug#14197).
1386
1387 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1388
1389 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1390
1391 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1392
1393 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1394 predicate function (bug#15455).
1395
1396 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1397
1398 * ielm.el (inferior-emacs-lisp-mode): Instead of
1399 `comment-use-global-state', set `comment-use-syntax'.
1400
1401 2014-02-10 Glenn Morris <rgm@gnu.org>
1402
1403 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1404
1405 2014-02-09 Alan Mackenzie <acm@muc.de>
1406
1407 Fix c-invalidate-state-cache on narrowed buffers.
1408 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1409 Widen when setting and clearing the CPP delimiter properties.
1410
1411 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1412
1413 * help.el (describe-bindings): Doc fix (bug#9888).
1414
1415 * files.el (save-buffer): Use ARG as the parameter name for
1416 consistency (bug#10346).
1417 (save-buffer): Clarify the 0 argument (bug#10346).
1418
1419 * cus-edit.el (customize-apropos): Fix error string.
1420 (custom-buffer-create): Doc fix (bug#11122).
1421 (custom-sort-items): Doc fix (bug#11121).
1422
1423 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1424
1425 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1426 (icomplete-simple-completing-p): Mention the previous variable.
1427
1428 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1429 meaning of the parameter (bug#12282).
1430
1431 * files.el (find-file-noselect): Clarify prompt when changing
1432 readedness (bug#13261).
1433 (locate-file): Suffixes aren't returned, so don't say that they
1434 are (bug#12674).
1435 (backup-inhibited): Doc clarification (bug#12525).
1436
1437 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1438 before we actually start to delete things (bug#16331).
1439
1440 * subr.el (event-start): Doc fix (bug#14228).
1441 (event-end): Ditto.
1442
1443 2014-02-09 Glenn Morris <rgm@gnu.org>
1444
1445 * emacs-lisp/warnings.el (lwarn):
1446 Empower help-enable-auto-load. (Bug#15940)
1447
1448 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1449
1450 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1451 (Bug#16690)
1452
1453 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1454
1455 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1456 Insert output at end of buffer. (Bug#16120)
1457
1458 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1459
1460 * simple.el (choose-completion-string-functions): Document new
1461 calling convention (bug#14153).
1462 (execute-extended-command): Clarify doc string (bug#13373).
1463
1464 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1465
1466 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1467 (find-grep-dired): Doc fix (bug#14288).
1468
1469 2014-02-08 Juri Linkov <juri@jurta.org>
1470
1471 * isearch.el (isearch-quote-char): Check character validity
1472 like in `quoted-insert' (bug#16677).
1473
1474 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1475
1476 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1477
1478 * isearch.el (isearch-hide-immediately): Doc clarification
1479 (bug#14723).
1480
1481 * simple.el (line-move): Document utility function used many
1482 places in the Emacs sources (bug#14843).
1483
1484 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1485 (dired-prev-marked-file): Doc fix (bug#14855).
1486 (dired-up-directory): Doc fix (bug#14848).
1487
1488 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1489
1490 * files.el (file-relative-name): Doc fix (bug#15159).
1491
1492 * fringe.el (fringe-styles): Doc fix (bug#15239).
1493
1494 * isearch.el (isearch-filter-predicate): Documentation typo fix
1495 (bug#15474).
1496
1497 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1498
1499 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1500
1501 * replace.el (replace-match-maybe-edit): Doc clarification
1502 (bug#15632).
1503
1504 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1505
1506 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1507
1508 2014-02-08 Glenn Morris <rgm@gnu.org>
1509
1510 * help-fns.el (describe-variable):
1511 Check {file,dir}-local-variables-alist, and buffer-file-name,
1512 in the correct buffer.
1513
1514 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1515
1516 * help-fns.el (describe-variable): Fix the case where
1517 a value is directory-local with no dir-locals file. (Bug#16635)
1518
1519 2014-02-08 Glenn Morris <rgm@gnu.org>
1520
1521 * abbrev.el (edit-abbrevs-mode):
1522 Derive from fundamental-mode. (Bug#16682)
1523
1524 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1525
1526 * simple.el (quoted-insert): Check character validity (bug#16677).
1527
1528 2014-02-07 Juri Linkov <juri@jurta.org>
1529
1530 * desktop.el (desktop-read): Claim the lock when the owner is not
1531 the current process. (Bug#16157)
1532
1533 2014-02-07 Juri Linkov <juri@jurta.org>
1534
1535 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1536 to "\\` ". (Bug#16651)
1537
1538 2014-02-07 Juri Linkov <juri@jurta.org>
1539
1540 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1541 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1542 (desktop-auto-save-cancel-timer): New function with some code from
1543 `desktop-auto-save-set-timer'.
1544 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1545 Instead of setting `desktop-save-mode' to nil, call
1546 `desktop-save-mode' with arg 0. (Bug#16630)
1547
1548 2014-02-07 Glenn Morris <rgm@gnu.org>
1549
1550 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1551 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1552 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1553
1554 * obsolete/iswitchb.el: Move to obsolete/.
1555 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1556 since obsolete/ is not scanned for autoloads.
1557 * emacs-lisp/authors.el (authors-valid-file-names):
1558 Add iswitchb.el.
1559
1560 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1561 Disable now non-functional find-file-hook.
1562
1563 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1564
1565 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1566 instead of ";" in order to avoid additional prompts. Let heredoc
1567 scripts read from tty. (Bug#16582)
1568 (tramp-send-command): No special handling of heredocs, it isn't
1569 necessary anymore.
1570
1571 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1574 with a space (bug#16664). Limit the symbols considered to the ones
1575 that are bound or fbound (bug#16646).
1576
1577 2014-02-06 Glenn Morris <rgm@gnu.org>
1578
1579 * epa.el (epa-mail-aliases): Doc fix.
1580
1581 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1582
1583 * emacs-lisp/lisp.el (lisp-completion-at-point):
1584 Use `completion-table-merge' instead of `completion-table-in-turn'
1585 (bug#16604).
1586
1587 * minibuffer.el (completion-table-merge): New function.
1588
1589 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1590
1591 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1592 (tramp-sh-handle-set-file-acl)
1593 (tramp-sh-handle-start-file-process)
1594 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1595 (tramp-find-executable, tramp-send-command): Use it.
1596
1597 2014-02-05 Glenn Morris <rgm@gnu.org>
1598
1599 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1600
1601 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1602
1603 * progmodes/python.el (python-shell-send-string)
1604 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1605
1606 2014-02-04 Anders Lindgren <andlind@gmail.com>
1607
1608 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1609 the names (bug#16620).
1610
1611 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1612
1613 * faces.el (window-divider): New default value. Rewrite doc-string.
1614 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1615
1616 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1617
1618 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1619 `protected' and `public' can also be called without arguments.
1620
1621 2014-02-03 Glenn Morris <rgm@gnu.org>
1622
1623 * register.el (window-configuration-to-register)
1624 (frame-configuration-to-register): Unadvertise unused argument.
1625 * frameset.el (frameset-to-register): Remove unused argument.
1626
1627 * frameset.el (frameset-to-register):
1628 * kmacro.el (kmacro-to-register):
1629 * register.el (increment-register):
1630 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1631 (calc-append-to-register, calc-prepend-to-register):
1632 * play/gametree.el (gametree-layout-to-register)
1633 (gametree-apply-register-layout):
1634 * textmodes/picture.el (picture-clear-rectangle-to-register)
1635 (picture-yank-rectangle-from-register):
1636 * vc/emerge.el (emerge-combine-versions-register):
1637 Use register-read-with-preview to read registers.
1638
1639 2014-02-03 João Távora <joaotavora@gmail.com>
1640
1641 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1642 when at beginning of (possibly narrowed) buffer.
1643
1644 2014-02-02 Daniel Colascione <dancol@dancol.org>
1645
1646 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1647 Also try to display local help from just before point.
1648
1649 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1650
1651 c-parse-state. Don't "append-lower-brace-pair" in certain
1652 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1653 recognised as a comment.
1654
1655 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1656 as well as normal comment starter.
1657 (c-parse-state-get-strategy): Extra return possibility
1658 'back-and-forward.
1659 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1660 return value list to indicate replacement of a brace-pair cons
1661 with its car.
1662 (c-parse-state-1): With 'back-and-forward, only call
1663 c-append-lower-brace-pair-to state-cache when cons-separated.
1664
1665 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1666
1667 * term/ns-win.el (ns-suspend-error): New function.
1668 (ns-initialize-window-system): Add ns-suspend-error to
1669 suspend-hook (Bug#16612).
1670
1671 2014-02-02 Daniel Colascione <dancol@dancol.org>
1672
1673 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1674 Make loading cc-mode silent.
1675
1676 2014-02-02 Daniel Colascione <dancol@dancol.org>
1677
1678 * comint.el (comint-prompt-read-only): Change doc to suggest
1679 remap keybinding.
1680
1681 2014-02-02 Glenn Morris <rgm@gnu.org>
1682
1683 * register.el (register-read-with-preview, point-to-register)
1684 (window-configuration-to-register, frame-configuration-to-register)
1685 (jump-to-register, number-to-register, view-register, insert-register)
1686 (copy-to-register, append-to-register, prepend-to-register)
1687 (copy-rectangle-to-register): Doc fixes.
1688
1689 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1692 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1693 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1694 * help-fns.el (describe-function-1): Use it.
1695
1696 2014-02-02 Glenn Morris <rgm@gnu.org>
1697
1698 * register.el (register-preview-default): New function,
1699 split from register-preview.
1700 (register-preview-function): Rename from register-preview-functions,
1701 make it not a hook.
1702 (register-preview): Use register-preview-function.
1703 (register-read-with-preview): Error on non-character event. (Bug#16595)
1704
1705 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1706
1707 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1708 `:' before binary operators (bug#16609). Don't check for `:'
1709 before `[' and `(', or their syntax status. A percent literal
1710 can't end with either.
1711 (ruby-font-lock-keywords): For built-ins that require arguments,
1712 check that they're followed by something that looks like argument
1713 (bug#16610).
1714
1715 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1716
1717 * subr.el (butlast): Document what an omitted N means (bug#13437).
1718 (nbutlast): Ditto.
1719
1720 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1721
1722 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1723 depth shallower (bug#16587).
1724 (shr-tag-svg): Respect `shr-inhibit-images'.
1725 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1726
1727 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1728
1729 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1730 (ruby-smie-grammar): Make "." right-associative. Make its priority
1731 lower than the ternary and all binary operators.
1732 (ruby-smie-rules): Indent "(" relative to the first non-"."
1733 parent, or the first "." parent at indentation.
1734 Use `ruby-align-chained-calls' for indentation of "." tokens.
1735 (Bug#16593)
1736
1737 2014-01-31 Juri Linkov <juri@jurta.org>
1738
1739 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1740 from `make-hash-table'.
1741
1742 * textmodes/ispell.el (ispell-init-process): Change message format
1743 to be consistent with other messages.
1744
1745 2014-01-31 Glenn Morris <rgm@gnu.org>
1746
1747 * delsel.el (delete-selection-mode): Doc fix.
1748
1749 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1750 (trace-function-background): Doc fixes.
1751
1752 * ido.el (ido-use-virtual-buffers): Doc fix.
1753 Reset :version, since the default value has not changed.
1754
1755 * register.el (register-preview-delay, register-read-with-preview):
1756 Doc fixes.
1757
1758 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1759 do not mess with mail-buffer position (fixes 2009-11-03 change).
1760 * progmodes/cc-mode.el (c-submit-bug-report):
1761 Check auto-fill-mode is bound. (Bug#16592)
1762
1763 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1764
1765 * startup.el (fancy-splash-image-file): New function,
1766 split from fancy-splash-head.
1767 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1768 so that we are both using the same image. (Bug#16574)
1769
1770 2014-01-30 Glenn Morris <rgm@gnu.org>
1771
1772 * simple.el (eval-expression): Doc fix.
1773
1774 * hexl.el (hexl-mode-hook):
1775 * ielm.el (ielm-mode-hook):
1776 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1777 (lisp-interaction-mode-hook):
1778 * progmodes/cfengine.e (cfengine3-documentation-function):
1779 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1780
1781 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1784 is a symbol (bug#16584).
1785
1786 2014-01-30 Glenn Morris <rgm@gnu.org>
1787
1788 * help.el (help-for-help-internal): Add "P" to text.
1789
1790 2014-01-29 Glenn Morris <rgm@gnu.org>
1791
1792 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1793
1794 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1795
1796 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1797 height constraints.
1798
1799 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1800
1801 * progmodes/hideif.el: Extend to full CPP expression syntax.
1802 (hif-token-alist): Add missing tokens.
1803 (hif-token-regexp): Add support for float/octal/hex immediates.
1804 (hif-string-literal-regexp): New const.
1805 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1806 (hif-exprlist): New function.
1807 (hif-parse-if-exp): Use it.
1808 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1809 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1810 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1811 (hif-logxor, hif-comma): New functions.
1812
1813 2014-01-28 Glenn Morris <rgm@gnu.org>
1814
1815 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1816
1817 * indent.el (tab-stop-list): Doc fix. Add :version.
1818
1819 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1820 (cvs-append-to-ignore): Add compatibility alias.
1821
1822 2014-01-27 Glenn Morris <rgm@gnu.org>
1823
1824 * dired.el (dired-hide-details-mode): Don't autoload it,
1825 since it cannot be used outside Dired buffers anyway.
1826
1827 * emulation/cua-base.el (cua-mode): Doc fix.
1828
1829 * dired.el (dired-hide-details-hide-symlink-targets)
1830 (dired-hide-details-hide-information-lines)
1831 (dired-hide-details-mode): Doc fixes.
1832
1833 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1834 * strokes.el (strokes-file): Doc fix. Bump :version.
1835 (strokes-help): Doc fix.
1836 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1837 * emulation/viper.el (viper): Doc fix for custom group.
1838 (top-level): Remove oh-so-no-longer-relevant text about vip.
1839 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1840
1841 * ido.el (ido-save-directory-list-file):
1842 * saveplace.el (save-place-file):
1843 * calendar/timeclock.el (timeclock-file):
1844 * net/quickurl.el (quickurl-url-file):
1845 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1846 * progmodes/idlwave.el (idlwave-config-directory):
1847 * textmodes/remember.el (remember-data-file):
1848 Bump :version.
1849
1850 2014-01-26 Glenn Morris <rgm@gnu.org>
1851
1852 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1853 Doc fix. Make obsolete.
1854 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1855
1856 * sort.el (delete-duplicate-lines): Doc fix.
1857
1858 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1859
1860 * progmodes/ada-mode.el (ada):
1861 * woman.el (woman): Link to info manual and Commentary section.
1862
1863 * progmodes/flymake.el (flymake):
1864 * nxml/nxml-mode.el (nxml):
1865 * net/eww.el (eww):
1866 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1867 * htmlfontify.el (htmlfontify):
1868 * ses.el (ses):
1869 * epa.el (epa):
1870 * ido.el (ido): Link to info manual.
1871
1872 2014-01-25 Leo Liu <sdl.web@gmail.com>
1873
1874 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1875
1876 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1877
1878 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1879 (bug#16537).
1880
1881 >>>>>>> MERGE-SOURCE
1882 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1883
1884 * net/eww.el (eww-download-callback):
1885 Fix reference to eww-download-directory.
1886
1887 * emacs-lisp/bytecomp.el (byte-compile-file):
1888 Remove unused local variable `file-name'.
1889
1890 2014-01-24 Glenn Morris <rgm@gnu.org>
1891
1892 * woman.el (woman-default-faces, woman-monochrome-faces):
1893 Fix obsolescence specification.
1894
1895 * subr.el (with-demoted-errors): Doc fix.
1896
1897 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1900 (cl--macroexp-fboundp): New function.
1901 (cl--make-type-test): Use it.
1902
1903 2014-01-23 Glenn Morris <rgm@gnu.org>
1904
1905 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1906 * simple.el (eval-expression): Doc fixes.
1907
1908 2014-01-22 Glenn Morris <rgm@gnu.org>
1909
1910 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1911
1912 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * emacs-lisp/package.el: Write files silently.
1915 (package-autoload-ensure-default-file, package--write-file-no-coding)
1916 (package-generate-description-file, package--download-one-archive)
1917 (package-install-from-archive): Tell `write-region' to stay quiet.
1918 (package-menu-mode, package-menu--print-info): Omit the Archive column
1919 if there's only one archive.
1920 (package-all-keywords, package--has-keyword-p): Remove dead code.
1921
1922 2014-01-22 Glenn Morris <rgm@gnu.org>
1923
1924 * version.el (emacs-bzr-version-bzr): Fix typo.
1925
1926 * version.el (emacs-repository-get-version):
1927 Check either .bzr or .git, but not both.
1928 Make the git case actually use the DIR argument, and return nil
1929 rather than the empty string.
1930 Avoid error if .git exists but the git executable is not found.
1931
1932 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1933
1934 Fixes in window size functions around Bug#16430 and Bug#16470.
1935 * window.el (window-total-size, window-size): New argument ROUND.
1936 (window--min-delta-1, window-min-delta, window--max-delta-1):
1937 Be more conservative when calculating the numbers of lines or
1938 columns a window can shrink (Bug#16430).
1939 (fit-window-to-buffer): Simplify code.
1940 * term.el (term-window-width): Call window-body-width again.
1941
1942 2014-01-22 Glenn Morris <rgm@gnu.org>
1943
1944 * image.el (image-format-suffixes): Doc fix.
1945
1946 * international/quail.el (quail-define-package): Doc fix.
1947
1948 * emacs-lisp/authors.el (authors-valid-file-names)
1949 (authors-renamed-files-alist): Additions.
1950
1951 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1952 reverts 2014-01-09 change. (Bug#16422)
1953
1954 * calc/calc-embed.el (thing-at-point-looking-at):
1955 * emacs-lisp/map-ynp.el (x-popup-dialog):
1956 * obsolete/lmenu.el (x-popup-dialog):
1957 * emacs-lisp/package.el (url-recreate-url):
1958 * mail/mailclient.el (clipboard-kill-ring-save):
1959 * subr.el (x-popup-dialog): Update declaration.
1960 * mail/rmail.el (rmail-mime-message-p):
1961 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1962
1963 2014-01-21 Daniel Colascione <dancol@dancol.org>
1964
1965 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1966 Correctly detect when we're inside an arithmetic expansion form
1967 containing nested parenthesis.
1968 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1969 to detect cases where we shouldn't expand "<<" to a heredoc
1970 skeleton.
1971
1972 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1975 (eldoc--message-command-p): New function.
1976 (eldoc-display-message-p): Use it.
1977 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1978 message is not automatically erased for us.
1979 (eldoc-print-current-symbol-info): Erase previous message, if any.
1980
1981 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1982
1983 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1984 specify it's an interactive function.
1985
1986 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1987 Fix regex used for scanning for citation keys which failed for
1988 citations with optional arguments.
1989
1990 2014-01-21 Leo Liu <sdl.web@gmail.com>
1991
1992 * simple.el (read--expression): Don't enable eldoc-mode.
1993
1994 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * simple.el (move-beginning-of-line): Make sure we don't move forward
1997 (bug#16497).
1998
1999 2014-01-20 Juri Linkov <juri@jurta.org>
2000
2001 * saveplace.el (toggle-save-place, save-place-to-alist)
2002 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2003 'dired-mode) before checking for dired-directory. (Bug#16477)
2004
2005 2014-01-20 Juri Linkov <juri@jurta.org>
2006
2007 * indent.el (indent-line-to): Use backward-to-indentation
2008 instead of back-to-indentation. (Bug#16461)
2009
2010 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2011
2012 Revert some of the CANNOT_DUMP fix (Bug#16494).
2013 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2014 but fixing this can wait until after the next release.
2015 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2016
2017 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2018
2019 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2020 Use `password-word-equivalents'.
2021 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2022 to t. (Bug#5664, Bug#13124)
2023
2024 2014-01-19 Alan Mackenzie <acm@muc.de>
2025
2026 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2027 points.
2028 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2029 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2030 * progmodes/cc-mode.el (c-before-change, c-after-change)
2031 (c-font-lock-fontify-region): Bind it here.
2032
2033 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2034
2035 * term.el (term-window-width): Call window-text-width instead of
2036 window-width (Bug#16470).
2037
2038 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2039
2040 * simple.el (password-word-equivalents): Remove duplicates.
2041 Sort, to make this easier next time.
2042 Downcase. Omit ": " after "jelszó".
2043
2044 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2045
2046 * term/common-win.el (saved-region-selection): Defvar it.
2047 (x-select-text): Set saved-region-selection (Bug#16382).
2048
2049 2014-01-18 Glenn Morris <rgm@gnu.org>
2050
2051 * emacs-lisp/authors.el (authors-aliases)
2052 (authors-renamed-files-alist): Add some entries.
2053
2054 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2055
2056 * net/tramp.el (tramp-password-prompt-regexp):
2057 Use `password-word-equivalents' if available.
2058 (tramp-action-password, tramp-process-one-action)
2059 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2060
2061 2014-01-17 Chong Yidong <cyd@gnu.org>
2062
2063 * simple.el (password-word-equivalents): New defcustom.
2064 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2065 to 24.4.
2066 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2067 to t. (Bug#13124)
2068
2069 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2070
2071 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2072 (ruby-align-to-stmt-keywords): Change the default value.
2073 Use `ruby-alignable-keywords' to generate the possible customization
2074 choices.
2075 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2076 keywords, check against the value of `ruby-alignable-keywords'
2077 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2078
2079 2014-01-17 Glenn Morris <rgm@gnu.org>
2080
2081 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2082
2083 Make M-x authors return zero *Authors Errors* from current logs.
2084 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2085 (authors-ignored-files): Add some entries, remove others.
2086 (authors-ambiguous-files, authors-valid-file-names):
2087 Add some entries.
2088 (authors-renamed-files-alist): Add, remove, and adjust entries.
2089 (authors-renamed-files-regexps): Add some entries.
2090 Remove some very broad ones. Make some entries `lax'.
2091 (authors-lax-changelogs): New constant.
2092 (authors-disambiguate-file-name): Treat top-level specially.
2093 (authors-lax-changelog-p): New function.
2094 (authors-canonical-file-name): Check file as written against
2095 authors-valid-file-names. Do not special-case etc/.
2096 Handle `lax' logs and authors-renamed-files-regexps elements.
2097
2098 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2099
2100 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2101 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2102 callers.
2103
2104 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2105
2106 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2107 Assume we're already in the proper buffer.
2108 Inspired by Anders Lindgren <andlind@gmail.com>.
2109 (follow-post-command-hook): Call it from the right buffer.
2110 (follow-comint-scroll-to-bottom): Adjust call.
2111 (follow-all-followers): Use get-buffer-window-list.
2112
2113 2014-01-15 Daniel Colascione <dancol@dancol.org>
2114
2115 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2116 `buffer-file-name' in interactive-form so that we don't leave
2117 pathless file names in `file-name-history'.
2118
2119 2014-01-15 Juri Linkov <juri@jurta.org>
2120
2121 * indent.el (indent-rigidly): Set deactivate-mark to nil
2122 in transient indentation mode. (Bug#16438)
2123
2124 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2125
2126 * emacs-lisp/package.el (package-desc-keywords): New function
2127 (Bug#16222).
2128 (describe-package-1, package-all-keywords)
2129 (package--has-keyword-p): Use it.
2130
2131 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2132
2133 * simple.el (define-alternatives): When creating the
2134 COMMAND-alternatives variable, assign COMMAND as its definition
2135 name so that `describe-variable' can relocate it.
2136
2137 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2138
2139 * font-lock.el (font-lock-keywords): Fix typo in docstring
2140 (bug#16307).
2141
2142 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2143
2144 * ispell.el (ispell-region): Reset `in-comment' for new line
2145 instead of wrongly reset `add-coment' (bug#13577).
2146
2147 2014-01-14 Daiki Ueno <ueno@gnu.org>
2148
2149 * epa-file.el (epa-file-write-region): Encode the region according
2150 to `buffer-file-format'. Problem reported at:
2151 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2152
2153 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2156 so it applies in the right buffer (bug#16410).
2157
2158 2014-01-13 Daniel Colascione <dancol@dancol.org>
2159
2160 * textmodes/rst.el (rst-define-key): Provide deprecated
2161 keybindings through named functions instead of anonymous ones so
2162 that "??" doesn't appear in describe-mode output.
2163
2164 2014-01-13 Bastien Guerry <bzg@gnu.org>
2165
2166 * simple.el (define-alternatives): Call the selected command
2167 interactively. When setting `COMMAND--implementation' for the
2168 first time, tell the user how to chose another implementation.
2169 Enhance the docstring.
2170
2171 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2172
2173 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2174 (log-edit--match-first-line): New function.
2175 (log-edit-font-lock-keywords): Use it.
2176 (log-edit-mode): Make jit-lock-defer-multiline work.
2177
2178 2014-01-13 Bastien Guerry <bzg@gnu.org>
2179
2180 * rect.el (rectangle-mark-mode): When the region is not active,
2181 display a message saying that the mark as been set and that
2182 rectangle mode is in use.
2183 (rectangle--highlight-for-redisplay): Only put an overlay with a
2184 visible vertical bar when (display-graphic-p) is non-nil.
2185 This partially fixes Bug#16403.
2186
2187 2014-01-13 Juri Linkov <juri@jurta.org>
2188
2189 * info.el (Info-find-file): Go to DIR before displaying the error
2190 about a nonexistent file if no previous Info file is visited.
2191 Use `user-error' instead of `error' for "Info file %s does not exist".
2192 (Info-find-node-2): In case of a nonexistent node in unwind forms
2193 go to the Top node if there is no previous node to revert to.
2194 (Bug#16405)
2195
2196 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2197
2198 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2199 * window.el (fit-frame-to-buffer): Fix doc-string.
2200 Respect window-min-height/-width. Fit pixelwise when
2201 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2202 when avoiding that frame goes partially off-screen.
2203 (fit-window-to-buffer): Respect window-min-height/-width
2204 (Bug#14096).
2205
2206 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2209 after an empty line.
2210
2211 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2212
2213 * net/shr.el (shr-render-region): Autoload.
2214
2215 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2216
2217 * net/eww.el (eww-download-directory): Rename from
2218 `eww-download-path' (Bug#16419).
2219
2220 2014-01-12 Leo Liu <sdl.web@gmail.com>
2221
2222 * dired-x.el (dired-mode-map): Fix last change.
2223
2224 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2225
2226 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2227
2228 Spelling fixes.
2229 * emacs-lisp/generic.el (generic--normalize-comments):
2230 Rename from generic--normalise-comments. All uses changed.
2231 * play/bubbles.el (bubbles--neighborhood-score)
2232 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2233 (bubbles--neighborhood-available)
2234 (bubbles--update-neighborhood-score):
2235 Rename from names with 'neighbourhood'. All uses changed.
2236
2237 2014-01-12 Leo Liu <sdl.web@gmail.com>
2238
2239 Re-implement the feature of showing eldoc info after editing.
2240 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2241 (eldoc-edit-message-commands): New function.
2242 (eldoc-print-after-edit): New variable.
2243 (eldoc-pre-command-refresh-echo-area): Emit message only by
2244 eldoc-message-commands.
2245 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2246 if eldoc-print-after-edit is set. (Bug#16346)
2247 * simple.el (read--expression): Enable eldoc-mode.
2248 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2249
2250 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2251 Eric S. Raymond <esr@thyrsus.com>
2252
2253 * version.el (emacs-repository-get-version): Enhance so the
2254 function works correctly in either a Bazaar or Git repo.
2255
2256 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2257
2258 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2259 Goes with removal of the joke manpages from /etc.
2260
2261 2014-01-10 Kenichi Handa <handa@gnu.org>
2262
2263 * mail/rmail.el (rmail-get-coding-system):
2264 Check rmail-get-coding-function before "funcall"ing it.
2265
2266 2014-01-10 Glenn Morris <rgm@gnu.org>
2267
2268 * emacs-lisp/authors.el (authors-fixed-entries):
2269 Update for files that no longer exist.
2270
2271 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2272
2273 * version.el (emacs-bzr-get-version): Restore compatibilty with
2274 24.3 (Tested).
2275
2276 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2277
2278 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2279 and Podfile.
2280
2281 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2282
2283 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2284
2285 2014-01-10 Chong Yidong <cyd@gnu.org>
2286
2287 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2288
2289 2014-01-10 Anders Lindgren <andlind@gmail.com>
2290
2291 * follow.el (follow-cache-command-list): Include right-char and
2292 left-char.
2293
2294 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2295
2296 Spelling fixes.
2297 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2298 * woman.el (woman-mark-horizontal-position):
2299 Rename from woman-mark-horizonal-position. Use changed.
2300
2301 2014-01-10 Glenn Morris <rgm@gnu.org>
2302
2303 * info.el (info-initialize): If running uninstalled, ensure our
2304 own info files are always found first, even if INFOPATH is set.
2305
2306 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2307
2308 2014-01-09 David Engster <deng@randomsample.de>
2309
2310 * emacs-lisp/eieio-custom.el:
2311 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2312 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2313 * emacs-lisp/eieio.el: Regenerate autoloads.
2314
2315 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2316
2317 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2318 following renames. (Bug#8756)
2319
2320 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2323 (bug#16382).
2324 (activate-mark): Add `no-tmm' argument.
2325 (set-mark, push-mark-command): Use it instead of running
2326 activate-mark-hook by hand.
2327
2328 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2329
2330 In preparation for the move to git, sanitize out some
2331 Bazaar-specific names.
2332
2333 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2334
2335 * version.el (emacs-bzr-version): Name changed to
2336 emacs-repository-version. Obsolete-variable alias made.
2337 * loadup.el: Follow through on this name change.
2338 * mail/emacsbug.el (report-emacs-bug): Factor out any
2339 assumption about the version control system in use.
2340
2341 2014-01-08 David Engster <deng@randomsample.de>
2342
2343 * help-fns.el (help-fns-describe-function-functions):
2344 New variable to call functions for augmenting help buffers.
2345 (describe-function-1): Remove explicit calls to
2346 `help-fns--compiler-macro', `help-fns--parent-mode' and
2347 `help-fns--obsolete'. Put them in above new variable instead, and
2348 call them through `run-hook-with-args'.
2349 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2350 `eieio-describe-class'. Not meant for interactive use anymore,
2351 but to augment existing help buffers. Remove optional second
2352 argument. Create proper button for file location.
2353 Rewrite function to use `insert' instead of `princ' and `prin1' where
2354 possible.
2355 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2356 (eieio-method-def, eieio-class-def): Move further up.
2357 (describe-method, describe-generic, eieio-describe-method):
2358 Remove aliases.
2359 (eieio-help-constructor, eieio-help-generic): Rename from
2360 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2361 Rewrite to use `insert' in the current buffer and use proper help
2362 buttons.
2363 (eieio-help-find-method-definition)
2364 (eieio-help-find-class-definition): Also accept symbols as
2365 arguments.
2366 (eieio-help-mode-augmentation-maybee): Remove.
2367 (eieio-describe-class-sb): Use `describe-function'.
2368 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2369 Add `eieio-help-generic' and `eieio-help-constructor'.
2370
2371 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2372
2373 Spelling fixes.
2374 * language/china-util.el (hz-ascii-designation):
2375 Rename from hz-ascii-designnation.
2376 (hz-ascii-designation): Rename from hz-ascii-designnation.
2377 All uses changed.
2378
2379 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2380
2381 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2382 package-alist.
2383
2384 2014-01-08 Bastien Guerry <bzg@gnu.org>
2385
2386 * emacs-lisp/package.el (package-delete):
2387 Correctly delete the package from package-alist.
2388
2389 2014-01-08 Daiki Ueno <ueno@gnu.org>
2390
2391 * emacs-lisp/package.el (url-recreate-url): Declare.
2392 (url-http-target-url): Declare.
2393 (package-handle-response): Include requested URL in the error message.
2394 (package--check-signature): Don't re-signal errors from
2395 package--with-work-buffer. Suggested by Stefan Monnier.
2396
2397 2014-01-07 Bastien Guerry <bzg@gnu.org>
2398
2399 * minibuffer.el (completion--try-word-completion): When both a
2400 hyphen and a space are possible candidates for the character
2401 following a word, display both candidates. (Bug#15980)
2402
2403 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2404
2405 * window.el (balance-windows-2): While rounding don't give a
2406 window more than the remainder. Bug#16351, bug#16383.
2407
2408 2014-01-07 Glenn Morris <rgm@gnu.org>
2409
2410 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2411 (menu-bar-help-menu): Use view-external-packages instead.
2412
2413 2014-01-07 Bastien Guerry <bzg@gnu.org>
2414
2415 * emacs-lisp/package.el (package-delete): Also delete the package
2416 name from `package-alist', not its description only.
2417
2418 2014-01-07 Glenn Morris <rgm@gnu.org>
2419
2420 * help.el (view-external-packages):
2421 * menu-bar.el (menu-bar-help-extra-packages):
2422 Visit efaq.info rather than etc/MORE.STUFF.
2423
2424 2014-01-07 Juri Linkov <juri@jurta.org>
2425
2426 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2427 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2428
2429 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2430 that shadows RET. (Bug#16342)
2431
2432 2014-01-07 Chong Yidong <cyd@gnu.org>
2433
2434 * isearch.el (isearch-yank-char, isearch-yank-word)
2435 (isearch-yank-line): Doc fix.
2436
2437 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2438
2439 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2440 * emacs-lisp/elint.el (elint-find-builtins):
2441 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2442 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2443 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2444 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2445 * apropos.el (apropos-safe-documentation):
2446 * subr.el (symbol-file): Remove redundant fboundp.
2447 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2448
2449 2014-01-06 Bastien Guerry <bzg@gnu.org>
2450
2451 * hl-line.el (global-hl-line-overlay): Make a local variable.
2452 (global-hl-line-overlays): New variable to store all overlays.
2453 (global-hl-line-mode): Don't delete overlays from the current
2454 buffer when `global-hl-line-sticky-flag' is non-nil.
2455 (global-hl-line-highlight): Add new overlays to
2456 `global-hl-line-overlays'.
2457 (global-hl-line-unhighlight-all): New function to delete all
2458 overlays when turning off `global-hl-line-mode'.
2459 This fixes Bug#16183.
2460
2461 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * subr.el (set-transient-map): Fix nested case and docstring.
2464
2465 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2466
2467 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2468 `Texinfo' entry.
2469
2470 2014-01-06 Daniel Colascione <dancol@dancol.org>
2471
2472 Fix defun navigation in vc log view.
2473
2474 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2475 like `beginning-of-defun'.
2476 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2477 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2478 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2479 (log-view-extract-comment): Call `log-view-current-entry' directly
2480 instead of relying on broken `log-view-beginning-of-defun' behavior.
2481
2482 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2483
2484 Spelling fixes.
2485 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2486 * emacs-lisp/debug.el (cancel-debug-on-entry):
2487 * epg.el (epg-error-to-string):
2488 * files.el (recover-file):
2489 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2490 * mail/emacsbug.el (report-emacs-bug-hook):
2491 * mail/sendmail.el (mail-recover):
2492 * ses.el (ses-yank-resize):
2493 * term/ns-win.el (ns-print-buffer):
2494 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2495 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2496 All uses changed.
2497 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2498
2499 2014-01-06 Leo Liu <sdl.web@gmail.com>
2500
2501 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2502 to avoid shadowing global key. (Bug#16354)
2503
2504 2014-01-06 Daniel Colascione <dancol@dancol.org>
2505
2506 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2507 rst-mode.
2508
2509 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2510
2511 * window.el (balance-windows): Add mising t to fix Bug#16351.
2512
2513 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2514
2515 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2516 (bug#16285).
2517 (shr-insert): If we have a word that's longer than `shr-width',
2518 break after it anyway. Otherwise we'll do no breaking once we get
2519 such a long word.
2520
2521 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2522
2523 * net/eww.el (eww): Support single/double quote for search.
2524 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2525 (eww-history-quit): Delete and use quit-window.
2526 (eww-history-kill): Delete, because it doesn't work well and
2527 not necessary.
2528 (eww-history-mode-map): Delete some keys and add easy-menu.
2529
2530 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2531
2532 Fix misspelling of 'chinese' in rx (Bug#16237).
2533 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2534 chinese-two-byte.
2535
2536 Change subword regexps back to vars (Bug#16296).
2537 * progmodes/subword.el (subword-forward-regexp)
2538 (subword-backward-regexp): Change these back to variables.
2539
2540 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2543 syntax-begin-function (bug#16247).
2544
2545 2014-01-03 Chong Yidong <cyd@gnu.org>
2546
2547 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2548 (advice--docstring): Delete variable.
2549 (advice--make-1): Leave the docstring empty.
2550 (advice-add): Use function-documentation for advised docstring.
2551
2552 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2553 Ignore function-documentation property when getting documentation.
2554 (ad-activate-advised-definition): Use function-documentation
2555 generate the docstring.
2556 (ad-make-advised-definition): Don't call
2557 ad-make-advised-definition-docstring.
2558 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2559 Delete functions.
2560
2561 * progmodes/sql.el (sql-help): Use function-documentation instead
2562 of dynamic-docstring-function property. No need to autoload now.
2563 (sql--help-docstring): New variable.
2564 (sql--make-help-docstring): Use it.
2565
2566 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2567
2568 * ielm.el (ielm-tab): Retarget.
2569 (ielm-map): Use ielm-tab for tab.
2570 (ielm-complete-filename): Use comint-filename-completion.
2571 (ielm-complete-symbol): Remove.
2572 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2573 remove ielm-tab from completion-at-point-functions (bug#16224).
2574
2575 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2576 Beware signals raised by predicates (bug#16201).
2577
2578 2014-01-02 Richard Stallman <rms@gnu.org>
2579
2580 * dired-aux.el (dired-do-print): Handle printer-name.
2581
2582 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2583 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2584 (rmail-epa-decrypt): Turn off mime processing.
2585
2586 * mail/rmail.el (rmail-make-in-reply-to-field):
2587 Add parens in message-id.
2588
2589 * mail/rmail.el (rmail-get-coding-function): Variable.
2590 (rmail-get-coding-system): Use it.
2591
2592 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2593
2594 * international/mule-conf.el: Unify the charset indian-is13194.
2595 (indian-is13194): Specify unify-map.
2596
2597 2013-12-31 Leo Liu <sdl.web@gmail.com>
2598
2599 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2600
2601 2013-12-30 Daniel Colascione <dancol@dancol.org>
2602
2603 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2604 of printing a useless when we resume from sleep.
2605
2606 * progmodes/sh-script.el
2607 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2608 in indentation code. (Bug#16233)
2609
2610 2013-12-28 João Távora <joaotavora@gmail.com>
2611
2612 * elec-pair.el (electric-pair-post-self-insert-function):
2613 Don't open extra newlines at beginning of buffer. (Bug#16272)
2614
2615 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2616
2617 * frame.el (window-system-for-display): Don't allow to create a
2618 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2619
2620 2013-12-28 Glenn Morris <rgm@gnu.org>
2621
2622 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2623 Update callers.
2624
2625 * apropos.el (apropos-match-face):
2626 * calculator.el (calculator-displayer):
2627 * dabbrev.el (dabbrev-search-these-buffers-only):
2628 * face-remap.el (buffer-face-mode-face):
2629 * simple.el (yank-handled-properties):
2630 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2631 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2632 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2633 (hashcash-double-spend-database):
2634 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2635 (ruby-deep-indent-paren-style):
2636 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2637 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2638 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2639 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2640 Specify custom types.
2641
2642 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2643 * bookmark.el (bookmark-bmenu-use-header-line):
2644 * doc-view.el (doc-view-scale-internally):
2645 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2646 * register.el (register-preview-delay):
2647 * net/shr.el (shr-bullet):
2648 * progmodes/cfengine.el (cfengine-cf-promises)
2649 (cfengine-parameters-indent):
2650 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2651 * textmodes/reftex-vars.el (reftex-label-regexps):
2652 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2653
2654 * net/tls.el (tls-certtool-program): Fix default value.
2655
2656 * desktop.el (desktop-restore-in-current-display):
2657 * newcomment.el (comment-empty-lines):
2658 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2659 (idlwave-pad-keyword):
2660 * progmodes/tcl.el (tcl-tab-always-indent):
2661 * textmodes/reftex-vars.el (reftex-index-default-tag):
2662 * elec-pair.el (electric-pair-skip-whitespace):
2663 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2664
2665 * emacs-lisp/authors.el (authors-ignored-files)
2666 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2667
2668 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2669
2670 * shell.el (shell-dynamic-complete-command): Doc fix.
2671 (shell--command-completion-data): Shell completion now matches
2672 executable filenames from the current buffer's directory, on
2673 systems in which this behavior is the default (windows-nt, ms-dos).
2674
2675 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2676
2677 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2678
2679 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2680
2681 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2682 (bug#16251).
2683
2684 * electric.el: Move all electric-pair-* to elec-pair.el.
2685 * elec-pair.el: New file, split from electric.el.
2686
2687 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2688
2689 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2690 indentation level is larger than the width, because that will
2691 infloop.
2692 (shr-insert): Fill repeatedly long texts, so that Japanese is
2693 formatted correctly (bug#16263).
2694 (shr-find-fill-point): Off by one error in comparison with the
2695 indentation.
2696
2697 2013-12-26 João Távora <joaotavora@gmail.com>
2698
2699 * electric.el (electric-pair-mode): More flexible engine for skip-
2700 and inhibit predicates, new options for pairing-related functionality.
2701 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2702 if that keeps or improves their balance in buffers.
2703 (electric-pair-delete-adjacent-pairs): Delete the pair when
2704 backspacing over adjacent matched delimiters.
2705 (electric-pair-open-extra-newline): Open extra newline when
2706 inserting newlines between adjacent matched delimiters.
2707 (electric--sort-post-self-insertion-hook):
2708 Sort post-self-insert-hook according to priority values when
2709 minor-modes are activated.
2710 * simple.el (newline-and-indent): Call newline with interactive
2711 set to t.
2712 (blink-paren-post-self-insert-function): Set priority to 100.
2713 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2714 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2715 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2716 electric-pair-open-newline-between-pairs to nil.
2717
2718 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2719
2720 * progmodes/python.el: Use lexical-binding.
2721 (python-nav-beginning-of-defun): Stop searching ASAP.
2722
2723 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2724
2725 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2726 Fix interactive spec. Doc fix. (Bug#15754)
2727
2728 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2729
2730 * emacs-lisp/byte-run.el (eval-when-compile):
2731 * progmodes/cc-defs.el (cc-eval-when-compile):
2732 Fix edebug spec (bug#16184).
2733
2734 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2735
2736 * net/shr.el (shr-visit-file): Remove debugging function.
2737 (shr-insert): Don't infloop if we can't find a good place to break
2738 the line (bug#16256).
2739
2740 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2741
2742 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2743 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2744 python-nav-lisp-forward-sexp-safe.
2745 (python-nav--forward-sexp): New argument SAFE allows switching
2746 forward sexp movement behavior for parens.
2747 (python-nav-forward-sexp): Throw errors on unterminated parens
2748 (Bug#16191).
2749 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2750 (python-nav-backward-sexp-safe): New functions.
2751 (python-shell-buffer-substring):
2752 Use `python-nav-forward-sexp-safe'.
2753
2754 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2755
2756 * net/shr.el (shr-find-fill-point): Don't break lines before a
2757 quotation mark.
2758 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2759 (shr-find-fill-point): Remove the special checks for the quotation
2760 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2761
2762 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2763
2764 * net/eww.el (eww-form-textarea): Use a different face for
2765 textareas than text input since they have different keymaps
2766 (bug#16142).
2767
2768 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2769
2770 * progmodes/python.el (python-nav-beginning-of-statement):
2771 Speed up (Bug#15295).
2772
2773 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2774
2775 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2776 the window configuration.
2777
2778 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2779
2780 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2781 we run on MS-Windows or MS-DOS.
2782
2783 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2784
2785 * window.el (balance-windows-area): Call window-size instead of
2786 window-height and window-width. Bug#16241.
2787
2788 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2789
2790 * net/eww.el (eww-bookmark-quit): Remove.
2791 (eww-bookmark-browse): Restore the window configuration when you
2792 choose a bookmark (bug#16144).
2793
2794 2013-12-24 Daniel Colascione <dancol@dancol.org>
2795
2796 * icomplete.el: Remove redundant :group arguments to `defcustom'
2797 throughout.
2798 (icomplete-show-matches-on-no-input): New customizable variable.
2799 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2800 we have something to show.
2801 (icomplete-exhibit): Compute completions even if we have no user input.
2802
2803 2013-12-23 Daniel Colascione <dancol@dancol.org>
2804
2805 * icomplete.el: Move `provide' to end of file.
2806
2807 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2808
2809 * net/gnutls.el (gnutls-verify-error): Add version tag.
2810
2811 2013-12-23 Chong Yidong <cyd@gnu.org>
2812
2813 * subr.el (set-transient-map): Rename from
2814 set-temporary-overlay-map. Doc fix.
2815
2816 * face-remap.el (text-scale-adjust):
2817 * indent.el (indent-rigidly):
2818 * kmacro.el (kmacro-call-macro):
2819 * minibuffer.el (minibuffer-force-complete):
2820 * repeat.el (repeat):
2821 * simple.el (universal-argument--mode):
2822 * calendar/todo-mode.el (todo-insert-item--next-param):
2823 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2824
2825 * indent.el (indent-rigidly): Use substitute-command-keys.
2826
2827 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2828
2829 * net/eww.el (eww-tag-select): Add text-property to jump to next
2830 select field.
2831 (eww): Add non-supported ftp error.
2832
2833 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2834
2835 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2836 comments. Handle electric indent after typing `?' and `!'.
2837
2838 2013-12-22 Chong Yidong <cyd@gnu.org>
2839
2840 * faces.el (face-spec-recalc): If the theme specs are not
2841 applicable to a frame, fall back on the defface spec.
2842 This prevents themes from obliterating faces on low-color terminals.
2843
2844 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2845
2846 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2847 after `{'. We need it after block openers, and it doesn't seem
2848 to hurt after hash openers.
2849
2850 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2851
2852 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2853 extracted from `ruby-smie-rules'.
2854 (ruby--electric-indent-chars): New variable.
2855 (ruby--electric-indent-p): New function.
2856 (ruby-mode): Use `electric-indent-functions' instead of
2857 `electric-indent-chars'.
2858
2859 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2860
2861 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2862 docstring.
2863 (ruby-smie-rules): Indent plus one level after `=>'.
2864
2865 2013-12-21 Richard Stallman <rms@gnu.org>
2866
2867 * simple.el (newline): Doc fix.
2868
2869 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2870
2871 * net/eww.el (eww-list-histories, eww-list-histories)
2872 (eww-history-browse, eww-history-quit, eww-history-kill)
2873 (eww-history-mode-map, eww-history-mode): New command and
2874 functions to list browser histories.
2875 (eww-form-text): Support text form with disabled
2876 and readonly attributes.
2877 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2878
2879 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2880
2881 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2882 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2883 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2884 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2885 Use `user-error'.
2886 (eww-bookmark-mode-map): Add menu.
2887 (eww-render, eww-mode): Use `setq-local'.
2888 (eww-tool-bar-map): New variable.
2889 (eww-mode): Set `tool-bar-map'.
2890 (eww-view-source): Check for `html-mode' with `fboundp'.
2891
2892 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2893
2894 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2895 elements with text inside. Also remove debugging.
2896
2897 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2898
2899 * cus-start.el (all): Add ns-use-srgb-colorspace.
2900
2901 2013-12-21 Chong Yidong <cyd@gnu.org>
2902
2903 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2904 undefined. Thus, theme settings for undefined faces do not take
2905 effect until the faces are defined with defface, the same as with
2906 theme variables.
2907
2908 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2909 (face-spec-reset-face): Don't assign extra properties in temacs.
2910 (face-spec-recalc): Apply X resources too.
2911
2912 2013-12-21 Chong Yidong <cyd@gnu.org>
2913
2914 * faces.el (face-spec-set):
2915 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2916 * custom.el (defface): Doc fixes (Bug#16203).
2917
2918 * indent.el (indent-rigidly-map): Add docstring, and move commands
2919 into named functions.
2920 (indent-rigidly-left, indent-rigidly-right)
2921 (indent-rigidly-left-to-tab-stop)
2922 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2923 indentation direction based on bidi direction, and accumulate
2924 sequential commands in a single undo boundary.
2925 (indent-rigidly--pop-undo): New utility function.
2926
2927 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2928
2929 * faces.el (read-face-name): Require crm.el when using crm-separator.
2930
2931 2013-12-20 Daniel Colascione <dancol@dancol.org>
2932
2933 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2934 so that we don't reflow comments into the shebang line.
2935
2936 2013-12-20 Juri Linkov <juri@jurta.org>
2937
2938 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2939 a position when `dired-directory' is non-nil. Check integer
2940 positions with `integerp'.
2941 (toggle-save-place, save-places-to-alist): Add check for
2942 `dired-directory'.
2943 (save-place-find-file-hook): Check integer positions with
2944 `integerp'.
2945 (save-place-dired-hook): Use `dired-goto-file' when
2946 `dired-filename' is found in the assoc list. Check integer
2947 positions with `integerp'.
2948 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2949
2950 * dired.el (dired-initial-position-hook): Rename back from
2951 `dired-initial-point-hook'.
2952 (dired-initial-position): Rename `dired-initial-point-hook' to
2953 `dired-initial-position-hook'.
2954 (dired-file-name-at-point): Doc fix. (Bug#15329)
2955
2956 2013-12-20 Juri Linkov <juri@jurta.org>
2957
2958 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2959 (read-regexp-suggestions): New function.
2960 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2961 Use `read-regexp-suggestions'. Add non-empty default to history
2962 for empty input.
2963 (occur-read-regexp-defaults-function): Remove function.
2964 (occur-read-primary-args): Use `regexp-history-last' instead of
2965 `occur-read-regexp-defaults-function'.
2966
2967 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2968 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2969 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2970 `hi-lock-read-regexp-defaults-function'. Doc fix.
2971 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2972 with `find-tag-default-as-symbol-regexp'. Doc fix.
2973 (hi-lock-read-regexp-defaults): Remove function.
2974 (hi-lock-regexp-okay): Add check for null.
2975
2976 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2977 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2978
2979 * subr.el (find-tag-default-as-symbol-regexp): New function.
2980 (find-tag-default-as-regexp): Move symbol regexp formatting to
2981 `find-tag-default-as-symbol-regexp'.
2982
2983 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2984
2985 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2986 (Bug#14179)
2987
2988 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2989
2990 * calendar/todo-mode.el: New implementation of item insertion
2991 commands and key bindings.
2992 (todo-key-prompt): New face.
2993 (todo-insert-item): New command.
2994 (todo-insert-item--parameters): New defconst, replacing defvar
2995 todo-insertion-commands-args-genlist.
2996 (todo-insert-item--param-key-alist): New defconst, replacing
2997 defvar todo-insertion-commands-arg-key-list.
2998 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2999 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3000 (todo-insert-item--next-param): New functions.
3001 (todo-insert-item--args, todo-insert-item--argleft)
3002 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3003 New variables.
3004 (todo-key-bindings-t): Change binding of "i" from
3005 todo-insertion-map to todo-insert-item.
3006 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3007 (todo-insertion-command-name, todo-insertion-commands-names)
3008 (todo-define-insertion-command, todo-insertion-commands)
3009 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3010
3011 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3012
3013 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3014 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3015 eval-when-compile.
3016 (todo-move-category): Allow choosing a non-existing todo file to
3017 move the category to, and create that file.
3018 (todo-default-priority): New user option.
3019 (todo-set-item-priority): Use it.
3020 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3021 (desktop-restore-file-buffer): Declare.
3022 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3023 (todo-modes-set-2): Locally set desktop-save-buffer to
3024 todo-desktop-save-buffer.
3025 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3026 (auto-mode-alist): Add autoload cookie.
3027
3028 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3029
3030 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3031 helpers.el was a poor choice of name.
3032 (string-remove-prefix): New function.
3033 (string-remove-suffix): New function.
3034
3035 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3036
3037 Fix assignment for new window total sizes.
3038 * window.el (window--pixel-to-size): Remove function.
3039 (window--pixel-to-total-1, window--pixel-to-total):
3040 Fix calculation of new total sizes.
3041
3042 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3043
3044 * comint.el (comint-output-filter): Fix rear-nonsticky property
3045 placement (Bug#16010).
3046
3047 2013-12-20 Chong Yidong <cyd@gnu.org>
3048
3049 * faces.el (read-color): Minor fix for completion function.
3050
3051 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3052
3053 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3054 New option. (Bug#16182)
3055 (ruby-smie--indent-to-stmt-p): Use it.
3056 (ruby-smie-rules): Revert the logic in the handling of `when'.
3057 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3058 (ruby-deep-arglist, ruby-deep-indent-paren)
3059 (ruby-deep-indent-paren-style): Update docstrings to note that the
3060 vars don't have any effect with SMIE.
3061
3062 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3063
3064 * calc/calc.el (calc-enter, calc-pop): Use the variable
3065 `calc-context-sensitive-enter'.
3066
3067 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3068
3069 * net/shr.el (shr-insert): Protect against infloops in degenerate
3070 tables.
3071
3072 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3073
3074 * progmodes/octave.el (octave): Add link to manual and octave
3075 homepage.
3076 (octave-mode-menu): Link to octave-mode manual.
3077
3078 2013-12-20 Leo Liu <sdl.web@gmail.com>
3079
3080 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3081 insertion using skeleton-end-newline. (Bug#16138)
3082
3083 2013-12-20 Juri Linkov <juri@jurta.org>
3084
3085 * replace.el (occur-engine): Use `add-face-text-property'
3086 to add the face property to matches and titles. (Bug#14645)
3087
3088 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3089 the palette of other hi-lock colors.
3090 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3091
3092 2013-12-19 Juri Linkov <juri@jurta.org>
3093
3094 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3095 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3096 (minibuffer-history-symbol): Move variable declaration closer to
3097 its usage.
3098
3099 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3100 (Bug#14785)
3101
3102 2013-12-19 Juri Linkov <juri@jurta.org>
3103
3104 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3105 New function.
3106 (log-edit-hook): Add it to :options. (Bug#16170)
3107
3108 2013-12-19 Juri Linkov <juri@jurta.org>
3109
3110 * simple.el (eval-expression-print-format): Don't check for
3111 command names and the last command. Always display additional
3112 formats of the integer result in the echo area, and insert them
3113 to the current buffer only with a zero prefix arg.
3114 Display character when char-displayable-p is non-nil.
3115 (eval-expression): With a zero prefix arg, set `print-length' and
3116 `print-level' to nil, and insert the integer values from
3117 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3118
3119 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3120 `eval-last-sexp-arg-internal'. Doc fix.
3121 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3122 `eval-last-sexp-print-value'. Doc fix.
3123 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3124 Set `print-length' and `print-level' to nil when arg is zero.
3125 (eval-last-sexp): Doc fix.
3126 (eval-defun-2): Print the integer values from
3127 `eval-expression-print-format' at the end.
3128
3129 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3130 values from `eval-expression-print-format' at the end.
3131
3132 * ielm.el (ielm-eval-input): Print the integer
3133 values from `eval-expression-print-format' at the end.
3134
3135 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3136
3137 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3138 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3139
3140 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3143 (hl-line-highlight, global-hl-line-highlight): Use it.
3144 (hl-line-overlay): Use defvar-local.
3145
3146 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3147
3148 * term/ns-win.el: Require dnd.
3149 (global-map): Remove drag items.
3150 (ns-insert-text, ns-set-foreground-at-mouse)
3151 (ns-set-background-at-mouse):
3152 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3153 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3154 New functions.
3155
3156 2013-12-19 Glenn Morris <rgm@gnu.org>
3157
3158 * emacs-lisp/ert.el (ert-select-tests):
3159 Fix string/symbol mixup. (Bug#16121)
3160
3161 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3162
3163 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3164 keywords to their parent.
3165
3166 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3167
3168 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3169 first arg to be a string (fixed dead code), or an operator symbol.
3170 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3171 operator symbols.
3172 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3173 did nothing. Don't respond to `(:after ".")', it will be called
3174 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3175 change anything. Only return indentation for binary operators
3176 when they are hanging. De-dent opening paren when its parent is
3177 `.', otherwise it looks bad when the dot is not at bol or eol
3178 (bug#16182).
3179
3180 2013-12-19 Juri Linkov <juri@jurta.org>
3181
3182 * replace.el (query-replace-read-args): Split a non-negative arg
3183 and a negative arg into separate elements.
3184 (query-replace, query-replace-regexp, replace-string)
3185 (replace-regexp): Add arg `backward'. Doc fix.
3186 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3187 move point to the beginning of the match.
3188 (replace-search, replace-highlight): Use new arg `backward'
3189 to set the value of `isearch-forward'.
3190 (perform-replace): Add arg `backward' and use it to perform
3191 replacement backward. (Bug#14979)
3192
3193 * isearch.el (isearch-query-replace): Use a negative prefix arg
3194 to call `perform-replace' with a non-nil arg `backward'.
3195
3196 2013-12-18 Juri Linkov <juri@jurta.org>
3197
3198 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3199 to the default list. Move `log-edit-show-files' to the end.
3200 Add more available functions to options.
3201 (log-edit): Move default specific settings to
3202 `log-edit-insert-message-template'. Don't move point.
3203 (log-edit-insert-message-template): New function.
3204 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3205 (Bug#16170)
3206
3207 2013-12-18 Juri Linkov <juri@jurta.org>
3208
3209 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3210 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3211
3212 2013-12-18 Leo Liu <sdl.web@gmail.com>
3213
3214 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3215 (Bug#16186)
3216
3217 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3218
3219 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3220 formats for displaying file sizes when the -s switch is given.
3221 Instead, compute a separate format for displaying the size in
3222 blocks, which is displayed in addition to the "regular" size.
3223 When -h is given in addition to -s, produce size in blocks in
3224 human-readable form as well. (Bug#16179)
3225
3226 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3227
3228 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3229 Reference tables with ~\ref{...} instead of only \ref{...}.
3230
3231 2013-12-18 Chong Yidong <cyd@gnu.org>
3232
3233 * cus-edit.el (custom-magic-alist): Fix "themed" description
3234 (Bug#14348).
3235
3236 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3237 is non-nil, do not create a new entry in the symbol's theme-value
3238 or theme-face property; update theme-settings only (Bug#14664).
3239 (custom-available-themes): Doc fix.
3240
3241 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3242 (Bug#15674).
3243
3244 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3245
3246 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3247
3248 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3249 (Bug#13914).
3250
3251 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3252
3253 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3254
3255 2013-12-18 Glenn Morris <rgm@gnu.org>
3256
3257 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3258 * cus-start.el (load-prefer-newer): New option.
3259
3260 2013-12-18 Le Wang <l26wang@gmail.com>
3261
3262 * comint.el (comint-previous-matching-input-from-input):
3263 Retain point (Bug#13404).
3264
3265 2013-12-18 Chong Yidong <cyd@gnu.org>
3266
3267 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3268
3269 2013-12-18 Glenn Morris <rgm@gnu.org>
3270
3271 * mail/emacsbug.el (report-emacs-bug):
3272 Only mention enable-multibyte-characters if non-standard.
3273
3274 2013-12-17 Juri Linkov <juri@jurta.org>
3275
3276 * arc-mode.el (archive-extract-by-file): Check if directory exists
3277 before deletion to not show irrelevant errors if it doesn't exist.
3278
3279 2013-12-17 Juri Linkov <juri@jurta.org>
3280
3281 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3282 (Bug#14751)
3283
3284 * net/eww.el (browse-web): Add alias to `eww'.
3285 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3286 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3287
3288 * net/browse-url.el (browse-url-browser-function): Move `eww'
3289 closer to similar functions.
3290
3291 * startup.el (fancy-startup-screen, fancy-about-screen):
3292 Set browse-url-browser-function to eww-browse-url locally.
3293 (Bug#14751)
3294
3295 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * window.el (window--pixel-to-total): Remove unused `mini' var.
3298 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3299 (split-window): Remove unused `new' var.
3300 (window--display-buffer): Remove unused `frame' and `delta' vars.
3301 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3302 and display-width'.
3303
3304 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3305
3306 * dired.el (dired-mark-pop-up):
3307 * register.el (register-preview): Don't bind
3308 split-height-threshold here since it's now done in
3309 display-buffer-below-selected.
3310
3311 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3312
3313 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3314 xterm-rgb-convert-to-16bit.
3315 (rxvt-register-default-colors): Standardize with
3316 xterm-register-default-colors (Bug#14078).
3317
3318 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3319
3320 * simple.el (kill-region): Pass mark first, then point, so that
3321 kill-append works right (Bug#12819).
3322 (copy-region-as-kill, kill-ring-save): Likewise.
3323
3324 2013-12-17 Leo Liu <sdl.web@gmail.com>
3325
3326 * net/rcirc.el (rcirc-add-face):
3327 * eshell/em-prompt.el (eshell-emit-prompt):
3328 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3329 (Bug#16167)
3330
3331 2013-12-17 Chong Yidong <cyd@gnu.org>
3332
3333 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3334 Suggested by Xue Fuqiao.
3335
3336 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3337
3338 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3339
3340 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * net/shr.el (shr-insert-document): Remove unused var
3343 `shr-preliminary-table-render'.
3344 (shr-rescale-image): Remove unused arg `force'.
3345 (shr-put-image): Update calls accordingly.
3346 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3347
3348 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3349
3350 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3351 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3352 :close-all, to see which indentation method to use (Bug#16116).
3353 (smie-rules-function): Document the method :close-all.
3354
3355 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3356
3357 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3358
3359 * net/eww.el (eww-display-html): If we can't find the anchor we're
3360 looking for, then go to point-min.
3361
3362 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3363
3364 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3365 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3366 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3367 Expand dir too, in case it's relative.
3368
3369 2013-12-16 Juri Linkov <juri@jurta.org>
3370
3371 * desktop.el (desktop-auto-save-timeout): Change default to
3372 `auto-save-timeout'. Doc fix.
3373 (desktop-save): Skip the timestamp in desktop-saved-frameset
3374 when checking for auto-save changes.
3375 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3376 `desktop-auto-save' is called repeatedly by the idle timer.
3377 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3378 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3379 (Bug#15331)
3380
3381 2013-12-16 Juri Linkov <juri@jurta.org>
3382
3383 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3384 (Bug#16035)
3385 (isearch-pre-command-hook): Check `this-command' for symbolp.
3386
3387 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3388
3389 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3390
3391 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3392
3393 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3394 (cfengine3--current-function): Bring in the current-function
3395 functionality from `cfengine3--current-word'.
3396 (cfengine3-completion-function): Bring in the
3397 bounds-of-current-word functionality from
3398 `cfengine3--current-word'.
3399
3400 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3401
3402 * window.el (display-buffer-below-selected):
3403 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3404
3405 2013-12-16 Leo Liu <sdl.web@gmail.com>
3406
3407 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3408 Remove NOMSG arg and all uses changed.
3409
3410 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3411
3412 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3413 (cua--deactivate-rectangle): Don't deactivate the mark.
3414 (cua-set-rectangle-mark): Don't set mark-active since
3415 cua--activate-rectangle already does it for us.
3416 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3417 non-rectangular region.
3418
3419 * emulation/cua-base.el (cua-repeat-replace-region):
3420 Use with-current-buffer.
3421
3422 * net/gnutls.el: Use cl-lib.
3423 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3424
3425 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3426
3427 * emacs-lisp/package.el (package-built-in-p): Support both
3428 built-in and the package.el converted package descriptions.
3429 (package-show-package-list): Allow keywords.
3430 (package-keyword-button-action): Use it instead of
3431 `finder-list-matches'.
3432 (package-menu-filter-interactive): Interactive filtering (by
3433 keyword) function.
3434 (package-menu--generate): Support keywords and change keymappings
3435 and headers when they are given.
3436 (package--has-keyword-p): Helper function.
3437 (package-menu--refresh): Use it.
3438 (package--mapc): Helper function.
3439 (package-all-keywords): Use it.
3440 (package-menu-mode-map): Set up menu items and keybindings to
3441 provide a filtering UI.
3442
3443 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3444
3445 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3446 the behavior when a certificate fails validation. Defaults to
3447 old behavior: never abort, just warn.
3448 (gnutls-negotiate): Use it.
3449
3450 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3451
3452 * window.el (display-buffer-below-selected): Never split window
3453 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3454
3455 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3456
3457 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3458 (package-buffer-info): Use it (bug#15108).
3459
3460 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * icomplete.el (icomplete-completions): Make sure the prefix is already
3463 displayed elsewhere before hiding it (bug#16219).
3464
3465 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3466
3467 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3468 open-paren tokens when preceded by a open-paren, too.
3469 (ruby-smie-rules): Handle virtual indentation after open-paren
3470 tokens specially. If there is code between it and eol, return the
3471 column where is starts (Bug#16118).
3472
3473 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3474
3475 * progmodes/cfengine.el: Fix `add-hook' doc.
3476 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3477 (cfengine3--current-word): Fix parameters.
3478 (cfengine3-make-syntax-cache): Simplify further.
3479 (cfengine3-completion-function, cfengine3--current-function):
3480 Use `assq' for symbols.
3481 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3482
3483 2013-12-13 Glenn Morris <rgm@gnu.org>
3484
3485 * loadup.el (load-path): Warn if site-load or site-init changes it.
3486 No more need to reset it when bootstrapping.
3487
3488 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3489
3490 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3491 locations for cf-promises.
3492 (cfengine-mode-syntax-functions-regex): New caching variable.
3493 (cfengine3-fallback-syntax): Fallback syntax for cases where
3494 cf-promises doesn't run.
3495 (cfengine3--current-word): Reimplement using
3496 `cfengine-mode-syntax-functions-regex'.
3497 (cfengine3-completion-function, cfengine3--current-function):
3498 Use `cfengine3-make-syntax-cache' directly.
3499 (cfengine3-clear-syntax-cache): New function.
3500 (cfengine3-make-syntax-cache): Simplify and create
3501 `cfengine-mode-syntax-functions-regex' on demand.
3502 (cfengine3-format-function-docstring): Don't call
3503 `cfengine3-make-syntax-cache' explicitly.
3504
3505 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3506
3507 Fix windmove-find-other-window broken after pixelwise resizing
3508 (Bug#16017).
3509 * windmove.el (windmove-other-window-loc): Revert change from
3510 2013-12-04.
3511 (windmove-find-other-window): Call window-in-direction.
3512 * window.el (window-in-direction): New arguments SIGN, WRAP and
3513 MINI to emulate original windmove-find-other-window behavior.
3514
3515 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3516
3517 * simple.el (blink-matching--overlay): New variable.
3518 (blink-matching-open): Instead of moving point, highlight the
3519 matching paren with an overlay
3520 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3521
3522 * faces.el (paren-showing-faces, show-paren-match)
3523 (show-paren-mismatch): Move from paren.el.
3524
3525 2013-12-13 Leo Liu <sdl.web@gmail.com>
3526
3527 * indent.el (indent-region): Disable progress reporter in
3528 minibuffer. (Bug#16108)
3529
3530 * bindings.el (visual-order-cursor-movement): Fix version.
3531
3532 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3533
3534 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3535 Also match after beginning of line.
3536 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3537 files. Thanks to Russell Sim. (Bug#15378)
3538
3539 2013-12-13 Juri Linkov <juri@jurta.org>
3540
3541 * simple.el <Keypad support>: Remove key bindings duplicated
3542 with bindings.el. (Bug#14397)
3543
3544 2013-12-13 Juri Linkov <juri@jurta.org>
3545
3546 * comint.el (comint-mode-map): Replace `delete-char' with
3547 `delete-forward-char'. (Bug#16109)
3548
3549 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3550
3551 * progmodes/python.el (python-indent-calculate-indentation):
3552 Fix de-denters cornercase. (Bug#15731)
3553
3554 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3555
3556 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3557 (advice--make): Pay attention to `depth'.
3558 (advice--make-1): Don't autoload commands eagerly.
3559 * emacs-lisp/elp.el (elp-instrument-function):
3560 * emacs-lisp/trace.el (trace-function-internal):
3561 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3562
3563 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3564
3565 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3566
3567 * term/w32-win.el (w32-handle-dropped-file):
3568 * startup.el (normal-top-level):
3569 * net/browse-url.el (browse-url-file-url):
3570 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3571 decode file names using 'utf-8' rather than
3572 file-name-coding-system.
3573
3574 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3575
3576 * progmodes/python.el (python-indent-context)
3577 (python-indent-calculate-indentation): Fix auto-identation
3578 behavior for comment blocks. (Bug#15916)
3579
3580 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3581
3582 * progmodes/python.el (python-indent-calculate-indentation):
3583 When determining indentation, don't treat "return", "pass", etc., as
3584 operators when they are just string constituents. (Bug#15812)
3585
3586 2013-12-12 Juri Linkov <juri@jurta.org>
3587
3588 * uniquify.el (uniquify-buffer-name-style): Change default to
3589 `post-forward-angle-brackets'.
3590
3591 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3592 `uniquify'. Change default to `post-forward-angle-brackets'.
3593
3594 2013-12-11 Glenn Morris <rgm@gnu.org>
3595
3596 * emacs-lisp/package.el (finder-list-matches):
3597 Autoload rather than falsely declaring.
3598
3599 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3600
3601 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3602 (eww-mode-map): Use them.
3603
3604 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3605
3606 * window.el (display-buffer-in-side-window): Fix doc-string
3607 (Bug#16115).
3608
3609 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3610
3611 * vc/vc-git.el: Silence byte-compiler warnings.
3612 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3613 (log-edit-set-header): Declare.
3614
3615 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3616
3617 * Makefile.in (custom-deps, finder-data): Run output file names
3618 through unmsys--file-name. (Bug#16099)
3619
3620 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3623 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3624
3625 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3626 instead of deleting the selection "by hand" (bug#16098).
3627 Rely on insert-for-yank to yank rectangles.
3628 (cua-highlight-region-shift-only): Mark obsolete.
3629 (cua-mode): Don't enable/disable transient-mark-mode,
3630 shift-select-mode (cua-mode works both with and without them), and
3631 pc-selection-mode (obsolete).
3632 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3633 (cua--deactivate-rectangle): Deactivate it.
3634
3635 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3636 (delete-selection-helper): Make sure yank starts at the top of the
3637 deleted region.
3638 (minibuffer-keyboard-quit): Use region-active-p.
3639
3640 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3641
3642 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3643 to `delete' (bug#16109).
3644
3645 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3646
3647 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3648 info manual and show keybindings and set `:group' keyword.
3649
3650 2013-12-11 Juri Linkov <juri@jurta.org>
3651
3652 * delsel.el (delete-active-region): Let-bind `this-command'
3653 to prevent `kill-region' from changing its original value.
3654 (delete-selection-helper): Handle `overwrite-mode' for the type
3655 `kill' exactly the same way as for the type `t'.
3656 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3657 Support more commands. (Bug#13312)
3658
3659 2013-12-11 Juri Linkov <juri@jurta.org>
3660
3661 * bindings.el: Map kp keys to non-kp keys systematically
3662 with basic modifiers control, meta and shift. (Bug#14397)
3663
3664 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3665
3666 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3667 "Close browser" menu items. Fix wrong function of "List
3668 bookmarks".
3669
3670 2013-12-11 Juri Linkov <juri@jurta.org>
3671
3672 * misearch.el (multi-isearch-buffers): Set the value of
3673 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3674 arg of isearch-forward to t.
3675 (multi-isearch-buffers-regexp): Set the value of
3676 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3677 arg of isearch-forward-regexp to t.
3678 (multi-isearch-files): Set the value of
3679 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3680 arg of isearch-forward to t.
3681 (multi-isearch-files-regexp): Set the value of
3682 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3683 arg of isearch-forward-regexp to t. (Bug#16035)
3684
3685 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3686 arg of isearch-forward to t.
3687 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3688 arg of isearch-forward-regexp to t.
3689 (dired-isearch-filter-filenames): Remove unnecessary check for
3690 `dired-isearch-filenames'.
3691
3692 * comint.el (comint-history-isearch-backward):
3693 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3694 (comint-history-isearch-backward-regexp):
3695 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3696
3697 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3698
3699 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3700 unmsys--file-name. (Bug#16099)
3701
3702 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3703
3704 * emacs-lisp/package.el (package-keyword-button-action):
3705 Remove finder.el require dependency.
3706
3707 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3708
3709 * emacs-lisp/package.el: Require finder.el.
3710 (describe-package-1): Add keyword buttons.
3711 (package-make-button): New convenience function.
3712 (package-keyword-button-action): Keyword button action using
3713 `finder-list-matches'.
3714
3715 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3716
3717 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3718 last commit.
3719
3720 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3721
3722 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3723 symlinked files.
3724
3725 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3726
3727 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3728 after the end of a percent literal.
3729
3730 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3731
3732 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3733 Handle caret-delimited strings (Bug#16079).
3734
3735 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3736
3737 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3738 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3739 `ruby-parse-partial' (Bug#16078).
3740
3741 2013-12-09 Leo Liu <sdl.web@gmail.com>
3742
3743 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3744
3745 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3746
3747 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3748 (js-switch-indent-offset): New option.
3749 (js--proper-indentation): Use it. And handle the case when
3750 "default" is actually a key in an object literal.
3751 (js--same-line): New function.
3752 (js--multi-line-declaration-indentation): Use it.
3753 (js--indent-in-array-comp, js--array-comp-indentation):
3754 New functions.
3755 (js--proper-indentation): Use them, to handle array comprehension
3756 continuations.
3757
3758 2013-12-08 Leo Liu <sdl.web@gmail.com>
3759
3760 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3761 (flymake-make-overlay): Remove arg MOUSE-FACE.
3762 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3763
3764 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3765
3766 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3767 New function.
3768 (redisplay-highlight-region-function): Use it.
3769
3770 * emulation/cua-base.el (cua--explicit-region-start)
3771 (cua--last-region-shifted): Remove.
3772 (cua--deactivate): Use deactivate-mark.
3773 (cua--pre-command-handler-1): Don't handle shift-selection.
3774 (cua--post-command-handler-1): Don't change transient-mark-mode.
3775 (cua--select-keymaps): Use region-active-p rather than
3776 cua--explicit-region-start or cua--last-region-shifted.
3777 (cua-mode): Enable shift-select-mode.
3778
3779 2013-12-08 Leo Liu <sdl.web@gmail.com>
3780
3781 * progmodes/flymake.el (flymake-popup-current-error-menu):
3782 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3783 (flymake-posn-at-point-as-event, flymake-popup-menu)
3784 (flymake-make-emacs-menu): Remove. (Bug#16077)
3785
3786 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * rect.el (rectangle-mark-mode): Activate mark even if
3789 transient-mark-mode is off (bug#16066).
3790 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3791 is > mark and at bolp.
3792
3793 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3794 (region-extract-function): Use it.
3795 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3796 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3797 Delete functions.
3798 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3799 kill-ring-save, kill-region, delete-char, delete-forward-char.
3800 Ignore self-insert-iso.
3801
3802 * emulation/cua-gmrk.el (cua--init-global-mark):
3803 Ignore `self-insert-iso'.
3804
3805 * emulation/cua-base.el (cua--prefix-copy-handler)
3806 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3807 checking cua--rectangle.
3808 (cua-delete-region): Use region-extract-function.
3809 (cua-replace-region): Delete function.
3810 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3811 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3812 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3813 (cua--init-keymaps): Don't remap delete-selection commands.
3814 (cua-mode): Use delete-selection-mode instead of rolling our own
3815 (bug#16085).
3816
3817 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3818 Obey region-extract-function.
3819
3820 Make registers and delete-selection-mode work on rectangles.
3821 * register.el (describe-register-1): Don't modify the register's value.
3822 (copy-to-register): Obey region-extract-function.
3823 * delsel.el (delete-active-region): Obey region-extract-function.
3824
3825 2013-12-08 Leo Liu <sdl.web@gmail.com>
3826
3827 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3828 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3829 (flymake-compilation-prevents-syntax-check)
3830 (flymake-start-syntax-check-on-newline)
3831 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3832 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3833 (flymake-xml-program, flymake-master-file-dirs)
3834 (flymake-master-file-count-limit)
3835 (flymake-allowed-file-name-masks): Relocate.
3836 (flymake-makehash, flymake-float-time)
3837 (flymake-replace-regexp-in-string, flymake-split-string)
3838 (flymake-get-temp-dir): Remove.
3839 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3840 (flymake-current-row, flymake-selected-frame)
3841 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3842 related functions. (Bug#16077)
3843
3844 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3845
3846 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3847
3848 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3849
3850 * help-fns.el (describe-function-1): Use new advice-* functions
3851 rather than old ad-* functions. Fix function type description and
3852 source links for advised functions and subrs.
3853
3854 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3855
3856 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3857
3858 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3859
3860 * progmodes/compile.el (compilation-start):
3861 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3862
3863 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3864 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3865
3866 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3867
3868 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3869 Touch up the last change.
3870
3871 2013-12-06 Leo Liu <sdl.web@gmail.com>
3872
3873 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3874 (inferior-octave-startup): Always use "octave> " for prompt.
3875 (octave-goto-function-definition)
3876 (octave-sync-function-file-names)
3877 (octave-find-definition-default-filename): Remove redundant backquotes.
3878
3879 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3880
3881 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3882 syntax for `?'.
3883 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3884 where appropriate already.
3885 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3886 end of method names (Bug#15874).
3887
3888 2013-12-06 Juri Linkov <juri@jurta.org>
3889
3890 * isearch.el (isearch--saved-overriding-local-map):
3891 New internal variable.
3892 (isearch-mode): Set it to the initial value of
3893 `overriding-terminal-local-map'.
3894 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3895 with `isearch--saved-overriding-local-map'. (Bug#16035)
3896
3897 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3898
3899 * progmodes/octave.el (inferior-octave-completion-table):
3900 Turn back into function, use `completion-table-with-cache'
3901 (Bug#11906). Update all references.
3902
3903 * minibuffer.el (completion-table-with-cache): New function.
3904
3905 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3906
3907 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3908
3909 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3910
3911 * net/eww.el (eww-current-source): New variable to store page
3912 source.
3913 (eww-display-html, eww-mode, eww-save-history)
3914 (eww-restore-history): Use it.
3915 (eww-view-source): New command to view page source.
3916 Opportunistically uses `html-mode' to highlight the buffer.
3917 (eww-mode-map): Install it.
3918
3919 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3920
3921 * net/dbus.el (dbus-unregister-service)
3922 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3923 Fix docstring.
3924 (dbus-unregister-service): Skip :serial entries in
3925 `dbus-registered-objects-table'.
3926 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3927
3928 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3929
3930 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3931 around keywords with extra `split-string' argument.
3932
3933 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3934
3935 * windmove.el (windmove-other-window-loc): Handle navigation
3936 between windows (excluding the minibuffer window - Bug#16017).
3937
3938 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3939
3940 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3941 in D-Bus type syntax.
3942 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3943 preserve unibyte strings. (Bug#16048)
3944
3945 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3948 Call force-mode-line-update is the proper buffer (bug#16042).
3949
3950 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3951
3952 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3953 `log-edit-remember-comment', make argument optional. Adjust all
3954 callers.
3955 (log-edit-mode): Add `log-edit-remember-comment' to
3956 `kill-buffer-hook' locally.
3957 (log-edit-kill-buffer): Don't remember comment explicitly since
3958 the buffer is killed anyway.
3959
3960 2013-12-04 Juri Linkov <juri@jurta.org>
3961
3962 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3963 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3964
3965 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3966
3967 * notifications.el (notifications-close-notification): Call the
3968 D-Bus method with ID being a `:uint32'. (Bug#16030)
3969
3970 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3971
3972 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3973
3974 2013-12-03 Juri Linkov <juri@jurta.org>
3975
3976 * progmodes/compile.el (compilation-start): Rename window alist
3977 entry `no-display-ok' to `allow-no-window'.
3978
3979 * simple.el (shell-command): Add window alist entry
3980 `allow-no-window' to `display-buffer'.
3981 (async-shell-command): Doc fix.
3982
3983 * window.el (display-buffer-no-window): New action function.
3984 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3985
3986 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3987
3988 * vc/log-edit.el (log-edit-set-header): Extract from
3989 `log-edit-toggle-header'.
3990 (log-edit-extract-headers): Separate the summary, when extracted
3991 from header, from the rest of the message with an empty line.
3992
3993 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3994 line, if present, to the Summary header.
3995
3996 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3999 in current-buffer (bug#16029).
4000
4001 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4002
4003 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4004 (debugger-mode-map): Bind it.
4005 (debugger--backtrace-base): New function.
4006 (debugger-eval-expression): Use it.
4007 (debugger-frame-number): Skip local vars when present.
4008 (debugger--locals-visible-p, debugger--insert-locals)
4009 (debugger--show-locals, debugger--hide-locals): New functions.
4010
4011 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4012
4013 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4014 "LC_ALL".
4015 (tramp-get-remote-locale): New defun.
4016 (tramp-open-connection-setup-interactive-shell): Use it.
4017
4018 2013-12-02 Leo Liu <sdl.web@gmail.com>
4019
4020 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4021
4022 * progmodes/sh-script.el (sh-shell-process):
4023 * progmodes/octave.el (inferior-octave-process-live-p):
4024 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4025 (gdb-inferior-io-sentinel):
4026 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4027
4028 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4029
4030 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4031 `save-selected-window' to `log-edit-hide-buf'. This makes
4032 `log-edit-show-files' idempotent.
4033 (log-edit-show-files): Mark the new window as dedicated.
4034
4035 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4036
4037 * vc/log-edit.el (log-edit-mode-map): Add binding for
4038 `log-edit-kill-biffer'.
4039 (log-edit-hide-buf): Add a FIXME comment.
4040 (log-edit-add-new-comment): New function, extracted from
4041 `log-edit-done'.
4042 (log-edit-done, log-edit-add-to-changelog): Use it.
4043 (log-edit-kill-buffer): New command.
4044
4045 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4046
4047 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4048 instead of killing the buffer.
4049
4050 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4051
4052 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4053
4054 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4055
4056 * net/eww.el (eww-form-checkbox-selected-symbol)
4057 (eww-form-checkbox-symbol): New customizable variable.
4058 (eww-form-checkbox, eww-toggle-checkbox):
4059 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4060
4061 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4062 (shr--get-media-pref, shr--extract-best-source): New function.
4063 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4064 no :src tag was specified.
4065
4066 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4067 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4068 Use \\` to match beginning of string instead of ^.
4069 (eww-browse-with-external-browser): Provide optional URL parameter.
4070 (eww-render): Set `eww-current-title' back to "".
4071
4072 * net/shr.el (shr-tag-video): Display content for video if no
4073 poster is available.
4074 (shr-tag-audio): Add support for <audio> tag.
4075
4076 * net/eww.el (eww-text-input-types): New const.
4077 (eww-process-text-input): Treat input types in
4078 `eww-text-input-types' as text.
4079
4080 * net/shr.el (shr-tag-table): Fix comment typo.
4081
4082 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4083
4084 * net/eww.el (eww-follow-link): New command to avoid reloading
4085 pages when we follow #target links (bug#15243).
4086 (eww-quit): Special mode buffers shouldn't query before exiting.
4087
4088 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4089
4090 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4091 forms.
4092
4093 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4094
4095 * net/eww.el (eww-restore-history): Update the window title after
4096 moving in the history.
4097 (eww-current-dom): New variable used to save the current DOM.
4098
4099 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4100
4101 * vc/log-edit.el (log-edit-mode-map): Add binding for
4102 `log-edit-beginning-of-line'.
4103 (log-edit-setup-add-author): New user option.
4104 (log-edit-beginning-of-line): New command.
4105 (log-edit): Move major mode call above the contents setup so that
4106 the local variable values are already applied.
4107 (log-edit): Only insert "Author: " when
4108 `log-edit-setup-add-author' is non-nil.
4109 (log-edit): When SETUP is non-nil, position point after ": "
4110 instead of point-min.
4111
4112 2013-12-01 Glenn Morris <rgm@gnu.org>
4113
4114 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4115
4116 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4117
4118 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4119 redisplay to make sure the initial frame gets a chance to become
4120 visible. (Bug#16014)
4121
4122 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4123
4124 Support resizing frames and windows pixelwise.
4125 * cus-start.el (frame-resize-pixelwise)
4126 (window-resize-pixelwise): New entries.
4127 * emacs-lisp/debug.el (debug): Use window-total-height instead
4128 of window-total-size.
4129 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4130 * help.el (describe-bindings-internal): Use help-buffer as
4131 argument for with-help-window.
4132 (temp-buffer-max-width): New option.
4133 (resize-temp-buffer-window, help-window-setup)
4134 (with-help-window): Rewrite.
4135 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4136 dragging dividers.
4137 * window.el (frame-char-size, window-min-pixel-height)
4138 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4139 (window-min-pixel-width, window-safe-min-pixel-size)
4140 (window-combination-p, window-safe-min-size)
4141 (window-resizable-p, window--size-to-pixel)
4142 (window--pixel-to-size, window--resize-apply-p): New functions.
4143 (window-safe-min-height): Fix doc-string.
4144 (window-size, window-min-size, window--min-size-1)
4145 (window-sizable, window-sizable-p, window--min-delta-1)
4146 (window-min-delta, window--max-delta-1, window-max-delta)
4147 (window--resizable, window--resizable-p, window-resizable)
4148 (window-full-height-p, window-full-width-p, window-at-side-p)
4149 (window--in-direction-2, window-in-direction)
4150 (window--resize-reset-1, window--resize-mini-window)
4151 (window-resize, window-resize-no-error)
4152 (window--resize-child-windows-normal)
4153 (window--resize-child-windows, window--resize-siblings)
4154 (window--resize-this-window, window--resize-root-window)
4155 (window--resize-root-window-vertically)
4156 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4157 (maximize-window, minimize-window, delete-window)
4158 (quit-restore-window, window-split-min-size, split-window)
4159 (balance-windows-2, balance-windows)
4160 (balance-windows-area-adjust, balance-windows-area)
4161 (window--state-get-1, window-state-get, window--state-put-1)
4162 (window--state-put-2, window-state-put)
4163 (display-buffer-record-window, window--display-buffer):
4164 Make functions handle pixelwise sizing of windows.
4165 (display-buffer--action-function-custom-type)
4166 (display-buffer-fallback-action):
4167 Add display-buffer-in-previous-window.
4168 (display-buffer-use-some-window): Resize window to height it had
4169 before.
4170 (fit-window-to-buffer-horizontally): New option.
4171 (fit-frame-to-buffer): Describe new values.
4172 (fit-frame-to-buffer-bottom-margin): Replace with
4173 fit-frame-to-buffer-margins.
4174 (window--sanitize-margin): New function.
4175 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4176 using window-text-pixel-size.
4177
4178 2013-11-30 Glenn Morris <rgm@gnu.org>
4179
4180 * emacs-lisp/bytecomp.el (byte-compile-form):
4181 Make the `interactive-only' warning like the `obsolete' one.
4182 * comint.el (comint-run):
4183 * files.el (insert-file-literally, insert-file):
4184 * replace.el (replace-string, replace-regexp):
4185 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4186 (goto-line, insert-buffer, next-line, previous-line):
4187 Tweak `interactive-only' spec.
4188
4189 Stop keeping (most) generated cedet grammar files in the repository.
4190 * Makefile.in (semantic): New.
4191 (compile-main): Depend on semantic.
4192
4193 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4194
4195 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4196 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4197
4198 * uniquify.el (uniquify-buffer-name-style): Change default.
4199
4200 * loadup.el: Preload "uniquify".
4201
4202 * time.el (display-time-update): Update all mode lines (bug#15999).
4203
4204 * electric.el (electric-indent-mode): Enable by default.
4205 * loadup.el: Preload "electric".
4206
4207 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4208
4209 * emacs-lisp/helpers.el (string-empty-p): New function.
4210 (string-blank-p): New function.
4211
4212 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4213
4214 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4215 (Bug#14029).
4216
4217 2013-11-29 Andreas Politz <politza@fh-trier.de>
4218 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4219 allow non-lambda lists as functions.
4220 (imenu--in-alist): Don't recurse into non-subalists.
4221 (imenu): Don't pass function itself as an argument (Bug#14029).
4222
4223 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4224
4225 * progmodes/python.el (python-mode-map): Remove binding for ":".
4226 (python-indent-electric-colon): Remove command.
4227 (python-indent-post-self-insert-function): Integrate the previous code
4228 of python-indent-electric-colon. Make it conditional on
4229 electric-indent-mode.
4230 (python-mode): Add ?: to electric-indent-chars.
4231 Move python-indent-post-self-insert-function to the end of
4232 post-self-insert-hook.
4233
4234 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * doc-view.el (doc-view-goto-page): Update mode-line.
4237
4238 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4239
4240 2013-11-27 Glenn Morris <rgm@gnu.org>
4241
4242 * international/charprop.el, international/uni-bidi.el:
4243 * international/uni-category.el, international/uni-combining.el:
4244 * international/uni-comment.el, international/uni-decimal.el:
4245 * international/uni-decomposition.el, international/uni-digit.el:
4246 * international/uni-lowercase.el, international/uni-mirrored.el:
4247 * international/uni-name.el, international/uni-numeric.el:
4248 * international/uni-old-name.el, international/uni-titlecase.el:
4249 * international/uni-uppercase.el:
4250 Remove generated files from VCS repository.
4251
4252 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4253
4254 * filenotify.el (file-notify-add-watch): Don't special-case
4255 w32notify when computing the directory to watch.
4256
4257 2013-11-27 Glenn Morris <rgm@gnu.org>
4258
4259 Make bootstrap without generated uni-*.el files possible again.
4260 * loadup.el: Update command-line-args checking for unidata-gen.
4261 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4262 * composite.el, international/characters.el:
4263 Handle unicode tables being undefined.
4264
4265 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4266 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4267 (compile-main): Depend on leim rule.
4268 (leim): New rule.
4269 * loadup.el: Move leim-list.el to leim/ subdirectory.
4270 * startup.el (normal-top-level): No more leim directory.
4271 * international/ja-dic-cnv.el (skkdic-convert):
4272 Disable version-control and autoloads in output files.
4273 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4274 Disable version-control and autoloads in output files.
4275 * leim/quail: Move here from ../leim.
4276 * leim/quail/hangul.el (hangul-input-method-activate):
4277 Add autoload cookie.
4278 (generated-autoload-load-name): Set file-local value.
4279 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4280 (generated-autoload-load-name): Set file-local value.
4281
4282 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4283
4284 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4285 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4286 (eww-quit): Ask confirmation before quitting eww.
4287
4288 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4289
4290 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4291 reading output from Diff on MS-Windows and MS-DOS.
4292
4293 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4294
4295 * emacs-lisp/helpers.el (string-reverse): New function.
4296
4297 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4298
4299 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4300 names on MS Windows, like "/[::1]:".
4301
4302 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4303 SWITCHES.
4304
4305 2013-11-26 Glenn Morris <rgm@gnu.org>
4306
4307 * progmodes/python.el (python-indent-guess-indent-offset):
4308 Avoid corner-case error. (Bug#15975)
4309
4310 Preload leim-list.el. (Bug#4789)
4311 * loadup.el: Load leim-list.el when found.
4312 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4313
4314 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4315
4316 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4317
4318 * emacs-lisp/helpers.el (string-join): New function.
4319
4320 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4321
4322 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4323 Mark as obsolete and replace it with a symbol property.
4324 (byte-compile-form): Use new 'interactive-only property.
4325 * comint.el, files.el, replace.el, simple.el:
4326 Apply new 'interactive-only properly.
4327
4328 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4329
4330 * window.el (display-buffer-at-bottom): Make sure that
4331 split-window-sensibly creates the new window on bottom
4332 (Bug#15961).
4333
4334 2013-11-23 David Kastrup <dak@gnu.org>
4335
4336 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4337 on the conflict markers when available.
4338 (smerge--get-marker): New function.
4339 (smerge-end-re, smerge-base-re): Add subgroup.
4340
4341 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4342
4343 * frame.el (handle-focus-in, handle-focus-out): Add missing
4344 interactive spec.
4345
4346 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4347
4348 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4349 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4350
4351 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4352
4353 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4354 (gomoku--last-pos): New var.
4355 (gomoku--intangible-chars): New const.
4356 (gomoku--intangible): New function.
4357 (gomoku-mode): Use it. Derive from special-mode.
4358 (gomoku-move-up): Adjust line count.
4359 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4360 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4361 Simplify accordingly.
4362
4363 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4364 Remove blink-cursor code.
4365 (blink-cursor-timer-function, blink-cursor-suspend):
4366 Don't special-case GUIs.
4367 (blink-cursor-mode): Use focus-in/out-hook.
4368
4369 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4370
4371 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4372 work when annotation is invisible (Bug#13886).
4373
4374 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4375
4376 * json.el (json-alist-p): Only return non-nil if the alist has
4377 simple keys (Bug#13518).
4378
4379 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4380
4381 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4382 when control-statement is the first statement in a buffer (Bug#15956).
4383
4384 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4385
4386 * imenu.el (imenu-generic-skip-comments-and-strings):
4387 New option (Bug#15560).
4388 (imenu--generic-function): Use it.
4389
4390 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4391
4392 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4393 (Bug#13898)
4394
4395 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4396
4397 * emacs-lisp/helpers.el: Add some string helpers.
4398 (string-trim-left): Removes leading whitespace.
4399 (string-trim-right): Removes trailing whitespace.
4400 (string-trim): Removes leading and trailing whitespace.
4401
4402 * subr.el (string-suffix-p): New function.
4403
4404 2013-11-23 Glenn Morris <rgm@gnu.org>
4405
4406 * progmodes/python.el (python-shell-send-file):
4407 Add option to delete file when done. (Bug#15647)
4408 (python-shell-send-string, python-shell-send-region): Use it.
4409
4410 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4411
4412 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4413 to set buffer-read-only to t, never to nil. (Bug#15938)
4414
4415 * textmodes/tex-mode.el (latex-noindent-environments):
4416 Add safe-local-variable property. (Bug#15936)
4417
4418 2013-11-23 Glenn Morris <rgm@gnu.org>
4419
4420 * textmodes/enriched.el (enriched-mode): Doc fix.
4421 * emacs-lisp/authors.el (authors-renamed-files-alist):
4422 Add enriched.doc -> enriched.txt.
4423
4424 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4425
4426 2013-11-22 Leo Liu <sdl.web@gmail.com>
4427
4428 * progmodes/octave.el (inferior-octave-startup): Spit out error
4429 message.
4430
4431 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4432
4433 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4434 Improve docstring.
4435 Add :version.
4436 (ruby-encoding-magic-comment-style): Add :version.
4437
4438 2013-11-22 Leo Liu <sdl.web@gmail.com>
4439
4440 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4441 (Bug#15076)
4442 (octave-help-mode): Adapt to change to help-mode-finish to use
4443 derived-mode-p on 2013-09-17.
4444 (inferior-octave-prompt): Also match octave-gui.
4445 (octave-kill-process): Don't ask twice. (Bug#10564)
4446
4447 2013-11-22 Leo Liu <sdl.web@gmail.com>
4448
4449 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4450 (inferior-octave-startup, inferior-octave-check-process)
4451 (inferior-octave-track-window-width-change)
4452 (octave-completion-at-point, octave-eldoc-function): Use it.
4453 (octave-kill-process): Provide confirmation. (Bug#10564)
4454
4455 2013-11-21 Leo Liu <sdl.web@gmail.com>
4456
4457 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4458 Fix obsolete variable comment-use-global-state.
4459
4460 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4461
4462 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4463 Add `octave-source-file'.
4464 (octave-source-file): New function. (Bug#15935)
4465
4466 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4467
4468 * net/eww.el (eww-local-regex): New variable.
4469 (eww): Use it to detect localhost and similar.
4470
4471 2013-11-21 Leo Liu <sdl.web@gmail.com>
4472
4473 Add completion for command `ag'.
4474 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4475 (pcomplete/ag): New function.
4476 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4477
4478 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4479
4480 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4481 (bug#14646).
4482 (make-obsolete): Remove interactive spec.
4483
4484 2013-11-21 Glenn Morris <rgm@gnu.org>
4485
4486 * startup.el (command-line-1): Use path-separator with -L.
4487
4488 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4489
4490 * emacs-lisp/package.el (describe-package-1): Add package archive
4491 to shown fields.
4492
4493 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4494
4495 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4496 Change default to "# encoding: %s" to differentiate it from the
4497 default Ruby encoding comment template.
4498
4499 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4500
4501 * ses.el (ses-mode): Doc fix. (Bug#14748)
4502
4503 2013-11-20 Leo Liu <sdl.web@gmail.com>
4504
4505 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4506
4507 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4508
4509 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4510 when rebase or bisect are in progress.
4511
4512 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4513
4514 * filenotify.el (file-notify-add-watch): Doc fix.
4515
4516 2013-11-19 Leo Liu <sdl.web@gmail.com>
4517
4518 * obsolete/rcompile.el: Mark obsolete.
4519
4520 * progmodes/compile.el (compilation-start)
4521 (compilation-goto-locus, compilation-find-file):
4522 Pass no-display-ok and handle nil value from display-buffer.
4523 (Bug#13594)
4524
4525 * window.el (display-buffer-alist, display-buffer): Document the
4526 new parameter no-display-ok. Return either a window or nil
4527 but never a non-window value.
4528
4529 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * electric.el (electric-indent-mode-map): Remove.
4532 (electric-indent-mode): Change the global-map instead (bug#15915).
4533
4534 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4535 Use add-function.
4536
4537 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4538
4539 * emacs-lisp/nadvice.el (remove-function): Align with
4540 add-function's behavior.
4541
4542 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4543 (gdb--string-regexp): New constant.
4544 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4545 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4546 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4547 submatch 1.
4548 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4549 Adjust use accordingly.
4550 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4551
4552 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4553
4554 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4555 interpolation curlies (Bug#15914).
4556
4557 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4558
4559 * calc/calc.el (calc-context-sensitive-enter): New variable.
4560 (calc-enter): Use `calc-context-sensitive-enter'.
4561
4562 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4563
4564 * progmodes/cfengine.el: Version bump.
4565 (cfengine-cf-promises): New defcustom to locate cf-promises.
4566 (cfengine3-vartypes): Add new "data" type.
4567 (cfengine3--current-word): New function to get current name-like
4568 word or its bounds.
4569 (cfengine3--current-function): New function to look up a CFEngine
4570 function's definition.
4571 (cfengine3-format-function-docstring): New function.
4572 (cfengine3-make-syntax-cache): New function.
4573 (cfengine3-documentation-function): New function: ElDoc glue.
4574 (cfengine3-completion-function): New function: completion glue.
4575 (cfengine3-mode): Set `compile-command',
4576 `eldoc-documentation-function', and add to
4577 `completion-at-point-functions'.
4578
4579 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4580
4581 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4582 `tramp-current-connection'.
4583
4584 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4585
4586 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4587 nil/self/true/false with "end of symbol".
4588
4589 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4590
4591 * subr.el (version-regexp-alist): Fix a typo.
4592
4593 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4594
4595 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4596 "en_US.utf8" and "LC_CTYPE" to "".
4597 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4598 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4599
4600 2013-11-15 Leo Liu <sdl.web@gmail.com>
4601
4602 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4603
4604 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4605
4606 * progmodes/gud.el (ctl-x-map):
4607 Remove C-x SPC binding. (Bug#12342)
4608 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4609
4610 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4611
4612 * subr.el (version-regexp-alist):
4613 Recognize hg, svn and darcs versions as snapshot versions.
4614
4615 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4616 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4617 (ruby--encoding-comment-required-p): Extract from
4618 `ruby-mode-set-encoding'.
4619 (ruby-mode-set-encoding): Add the ability to always insert an
4620 utf-8 encoding comment. Fix and simplify coding comment update
4621 logic.
4622
4623 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4624
4625 * net/tramp-gvfs.el (top): Run init code only when
4626 `tramp-gvfs-enabled' is not nil.
4627 (tramp-gvfs-enabled): Check also :system bus.
4628
4629 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 Sync with upstream verilog-mode revision 78e66ba.
4632 * progmodes/verilog-mode.el (verilog-end-of-defun)
4633 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4634 (verilog-get-end-of-defun): Remove unused argument.
4635 (verilog-comment-depth): Remove unused local `e'.
4636 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4637 Don't pass arg to verilog-get-end-of-defun.
4638
4639 2013-11-14 Glenn Morris <rgm@gnu.org>
4640
4641 * obsolete/assoc.el (aget): Prefix dynamic variable.
4642
4643 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4644
4645 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4646
4647 * widget.el, hfy-cmap.el: Remove bogus package version number.
4648
4649 2013-11-13 Glenn Morris <rgm@gnu.org>
4650
4651 * replace.el (replace-eval-replacement):
4652 Try to give more helpful error message. (Bug#15836)
4653
4654 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4655 (archive-7z-update): Avoid custom type mismatches.
4656
4657 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4658
4659 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4660
4661 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4662 address can be empty.
4663
4664 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4665 Accept nil SWITCHES.
4666 (tramp-gvfs-handle-write-region): Implement APPEND.
4667
4668 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4669
4670 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4671 binary "|" operator and closing block args delimiter.
4672 Remove FIXME comment referring to Ruby 1.8-only syntax.
4673 (ruby-smie--implicit-semi-p): Not after "|" operator.
4674 (ruby-smie--closing-pipe-p): New function.
4675 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4676 (ruby-smie-rules): Indent after "|".
4677
4678 2013-11-12 Glenn Morris <rgm@gnu.org>
4679
4680 * ps-print.el (ps-face-attribute-list):
4681 Handle anonymous faces. (Bug#15827)
4682
4683 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4684
4685 * window.el (display-buffer-other-frame): Fix doc-string.
4686 (Bug#15868)
4687
4688 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4691
4692 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4693
4694 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4695 (tramp-sh-handle-file-local-copy): Don't write a message when
4696 saving temporary files.
4697
4698 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4699 both directories are remote.
4700 (tramp-smb-handle-directory-files): Do not return double entries.
4701 Do not expand full file names.
4702 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4703 (tramp-smb-handle-write-region): Implement APPEND.
4704 (tramp-smb-get-stat-capability): Fix a stupid bug.
4705
4706 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4709
4710 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4711
4712 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4713 throwing error over malformed let/let* (bug#15814).
4714
4715 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * iswitchb.el (iswitchb-mode): Mark obsolete.
4718
4719 2013-11-11 Glenn Morris <rgm@gnu.org>
4720
4721 * international/uni-bidi.el, international/uni-category.el:
4722 * international/uni-name.el, international/uni-numeric.el:
4723 Regenerate for Unicode 6.3.0.
4724
4725 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4726
4727 * net/tramp.el (tramp-methods):
4728 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4729 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4730
4731 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4732
4733 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4734 Force highlighting text after Summary keyword in doc face for rpm.
4735
4736 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4737
4738 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4739 available and the word has no wildcards, append one to the grep pattern.
4740 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4741 (ispell-complete-word): Call `ispell-lookup-words' with the value
4742 independent of `ispell-look-p'.
4743
4744 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4745
4746 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4747 Not after "||".
4748 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4749 their parent.
4750
4751 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4752
4753 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4754 (ruby-font-lock-keywords): Use backquote.
4755
4756 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4757
4758 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4759 (ruby-smie--backward-token): Only consider full-string matches.
4760
4761 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4762
4763 * faces.el (describe-face): Add distant-foreground.
4764
4765 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4766
4767 * progmodes/ruby-mode.el: Improve encoding comment handling.
4768 (ruby-encoding-magic-comment-style): New option.
4769 (ruby-custom-encoding-magic-comment-template): New option.
4770 (ruby--insert-coding-comment, ruby--detect-encoding):
4771 New functions extracted from `ruby-mode-set-encoding'.
4772 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4773 to control the style of the auto-inserted encoding comment.
4774
4775 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4776
4777 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4778 Use `smie-backward-sexp' with token argument.
4779
4780 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4781
4782 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4783 Remove instrumentation code.
4784
4785 2013-11-08 Glenn Morris <rgm@gnu.org>
4786
4787 * progmodes/autoconf.el (autoconf-mode):
4788 Tweak comment-start-skip. (Bug#15822)
4789
4790 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4791
4792 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4793 at bobp (bug#15826).
4794 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4795
4796 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4797
4798 * man.el (Man-start-calling): New macro, extracted from
4799 Man-getpage-in-background.
4800 (Man-getpage-in-background): Use it.
4801 (Man-update-manpage): New command.
4802 (Man-mode-map): Bind it.
4803
4804 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4805
4806 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4807 of "and", "or", "&&" and "||".
4808 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4809 argument. Prohibit opening curly brace because it could only be a
4810 block opener in that position.
4811 (ruby-smie--forward-token, ruby-smie--backward-token):
4812 Separate "|" from "&" or "*" going after it. That can happen in block
4813 arguments.
4814 (ruby-smie--indent-to-stmt): New function, seeks the end of
4815 previous statement or beginning of buffer.
4816 (ruby-smie-rules): Use it.
4817 (ruby-smie-rules): Check if there's a ":" before a curly block
4818 opener candidate; if there is, it's a hash.
4819
4820 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4821
4822 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4823 (cl--block-wrapper): Fix last accidental change.
4824
4825 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4826
4827 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4828 Instrument, in order to hunt failure on hydra.
4829
4830 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4831
4832 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4833 malformed bindings form (bug#15814).
4834
4835 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4836
4837 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4838 "." compared to " @ ". This incidentally fixes some indentation
4839 examples with "do".
4840 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4841 (ruby-smie-grammar): New tokens: "and" and "or".
4842 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4843 Exclude "and" and "or". Remove "do" in order to work around token
4844 priorities.
4845 (ruby-smie-rules): Add all infix tokens. Handle the case of
4846 beginning-of-buffer.
4847
4848 2013-11-06 Glenn Morris <rgm@gnu.org>
4849
4850 * Makefile.in (setwins_almost, setwins_for_subdirs):
4851 Avoid accidental matches.
4852
4853 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * menu-bar.el (popup-menu): Use key-binding.
4856
4857 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4858
4859 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4860 menus, support also the menus produced by minor modes.
4861 (Bug#15817)
4862
4863 2013-11-06 Leo Liu <sdl.web@gmail.com>
4864
4865 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4866 DISTANCE to bound the search. All uses changed. (Bug#15808)
4867
4868 2013-11-06 Glenn Morris <rgm@gnu.org>
4869
4870 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4871 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4872 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4873
4874 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4875
4876 * electric.el (electric-indent-just-newline): New command.
4877 (electric-indent-mode-map): New keymap.
4878 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4879 Re-add :group which weren't redundant.
4880
4881 * electric.el (electric-indent-local-mode): New minor mode.
4882 (electric-indent-functions-without-reindent): New var.
4883 (electric-indent-post-self-insert-function): Use it.
4884 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4885
4886 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4887
4888 * international/quail.el (quail-help): Be more explicit about the
4889 meaning of the labels shown on the keys. (Bug#15800)
4890
4891 * startup.el (normal-top-level): Load the subdirs.el files before
4892 setting the locale environment. (Bug#15805)
4893
4894 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4897 via arguments so as to get the right ones (bug#15418).
4898
4899 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4900
4901 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4902
4903 Fix problems found while writing a test suite.
4904
4905 * net/tramp-compat.el (tramp-compat-load): New defun.
4906 * net/tramp.el (tramp-handle-load): Use it.
4907
4908 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4909 "(numberp ok-if-already-exists)" correctly.
4910
4911 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4912
4913 * international/characters.el (glyphless-char-display-control):
4914 Add usage note.
4915
4916 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4917
4918 * progmodes/python.el (python-mode):
4919 * progmodes/scheme.el (scheme-mode):
4920 * progmodes/prolog.el (prolog-mode):
4921 * progmodes/ruby-mode.el (ruby-mode):
4922 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4923 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4924
4925 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * rect.el (rectangle--highlight-for-redisplay):
4928 * emacs-lisp/smie.el (smie--next-indent-change):
4929 Use buffer-chars-modified-tick.
4930
4931 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4932
4933 * electric.el (electric-indent-post-self-insert-function):
4934 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4935
4936 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4937
4938 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4939
4940 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4941
4942 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4943 (bug#15786).
4944
4945 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4946
4947 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4948
4949 * progmodes/python.el: Fix up last change.
4950 (python-shell--save-temp-file): New function.
4951 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4952 `string' comes from the current buffer.
4953 (python-shell-send-string-no-output): Remove `msg' arg.
4954 (python--use-fake-loc): New var.
4955 (python-shell-buffer-substring): Obey it. Try to compensate for the
4956 extra coding line added by python-shell--save-temp-file.
4957 (python-shell-send-region): Use python-shell--save-temp-file and
4958 python-shell-send-file directly. Add `nomain' argument.
4959 (python-shell-send-buffer): Use python-shell-send-region.
4960 (python-electric-pair-string-delimiter): New function.
4961 (python-mode): Use it.
4962
4963 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4964
4965 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4966 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4967 environment and decoding all of the default-directory's to here
4968 from command-line.
4969 (command-line): Decode also argv[0].
4970
4971 * loadup.el: Error out if default-directory is a multibyte string
4972 when we are dumping.
4973
4974 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4975
4976 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4977
4978 * emacs-lisp/package.el (package-menu-mode)
4979 (package-menu--print-info, package-menu--archive-predicate):
4980 Add Archive column to package list.
4981
4982 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4983
4984 Fix problems found while writing a test suite.
4985
4986 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4987 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4988 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4989 to nil when running original file name handler. Otherwise,
4990 there are problems with constructs like "$$FOO".
4991
4992 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4993 for `localname'.
4994
4995 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4996
4997 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4998
4999 * subr.el (version<, version<=, version=):
5000 Update docstrings with information for snapshot versions.
5001
5002 * helpers.el: New library for misc helper functions.
5003 (hash-table-keys): New function returning a list of hash keys.
5004 (hash-table-values): New function returning a list of hash values.
5005
5006 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5007
5008 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5009 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5010
5011 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5012
5013 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5014 checking whether point is after a 1-letter word.
5015
5016 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5017
5018 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5019 Don't infloop when expanding region over `multiline' syntax-type that
5020 begins a line (bug#15778).
5021
5022 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5023
5024 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5025 Make it into a proper minor mode.
5026 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5027 (rectangle-mark-mode-map): New keymap.
5028 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5029
5030 2013-11-04 Glenn Morris <rgm@gnu.org>
5031
5032 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5033
5034 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5037 (ruby-smie-rules): Use smie-rule-parent instead.
5038
5039 * emacs-lisp/smie.el (smie-rule-parent): Always call
5040 smie-indent-virtual rather than only for hanging tokens.
5041 (smie--next-indent-change): New helper command.
5042
5043 2013-11-03 Glenn Morris <rgm@gnu.org>
5044
5045 * Makefile.in (abs_srcdir): Remove.
5046 (emacs): Unset EMACSLOADPATH.
5047
5048 2013-11-02 Glenn Morris <rgm@gnu.org>
5049
5050 * Makefile.in (EMACS): Use a relative filename.
5051 (abs_top_builddir): Remove.
5052 (custom-deps, finder-data, autoloads): Use --chdir.
5053
5054 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5055
5056 Use relative filenames in TAGS files.
5057 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5058 (lisptagsfiles4, TAGS): Use relative file names.
5059 (TAGS-LISP): Remove.
5060 (maintainer-clean): No more TAGS-LISP file.
5061
5062 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5063 (lisptagsfiles4): Use absolute filenames again.
5064 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5065 Remove all *loaddefs files, not just the first. Remove esh-groups.
5066 (maintainer-clean): Delete TAGS, TAGS-LISP.
5067
5068 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5069
5070 * emacs-lisp/package.el (package-version-join):
5071 Recognize snapshot versions.
5072
5073 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5074
5075 * subr.el (version-regexp-alist): Add support for snapshot versions.
5076
5077 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5078
5079 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5080 New function, replacement for `smie-rule-parent' for when we want to
5081 skip over our direct parent if it's an assignment token..
5082 (ruby-smie-rules): Use it.
5083
5084 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5085
5086 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5087 unconditionally. Remove now unnecessary forward declarations.
5088 Remove XEmacs-specific setup.
5089 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5090 (ruby-font-lock-syntactic-keywords)
5091 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5092 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5093 (ruby-here-doc-end-syntax): Remove.
5094 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5095 defined as function.
5096
5097 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5098
5099 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5100
5101 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5102
5103 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5104 table and abbrev table, `define-derived-mode' does that for us
5105 anyway.
5106
5107 2013-11-01 Glenn Morris <rgm@gnu.org>
5108
5109 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5110 files is atomic for some time, so no parallel compilation issues).
5111
5112 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5113
5114 * faces.el (face-x-resources): Add :distant-foreground.
5115 (region): Use :distant-foreground for gtk and ns.
5116
5117 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5118
5119 Allow multiple bibliographies when BibLaTeX is used rather than
5120 BibTeX.
5121 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5122 (reftex-locate-bibliography-files): Us it.
5123
5124 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5125
5126 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5127 allow comments in pbm files.
5128
5129 * term/w32-win.el (dynamic-library-alist): Support newer versions
5130 of libjpeg starting with v7: look only for the DLL from the
5131 version against which Emacs was built.
5132 Support versions of libpng beyond 1.4.x.
5133 Support libtiff v4.x.
5134
5135 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5136
5137 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5138 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5139 Add property :safe.
5140 (ruby-deep-arglist): Add property :type.
5141
5142 2013-10-31 Glenn Morris <rgm@gnu.org>
5143
5144 * Makefile.in (custom-deps, finder-data): No need to setq the target
5145 variables, we are in the right directory and the defaults work fine.
5146
5147 2013-10-30 Glenn Morris <rgm@gnu.org>
5148
5149 * Makefile.in (autoloads): Do not use abs_lisp.
5150
5151 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5152 `newline' does not respect `standard-output', so use `princ'.
5153
5154 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5155
5156 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5157 * buff-menu.el (Buffer-menu--unmark): New function.
5158 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5159
5160 2013-10-30 Glenn Morris <rgm@gnu.org>
5161
5162 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5163
5164 * emacs-lisp/package.el (lm-homepage): Declare.
5165
5166 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5167 Fix doc typos.
5168
5169 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5170
5171 * Makefile.in (finder-data, autoloads, update-subdirs)
5172 (compile-main, compile-clean, compile-always, bootstrap-clean):
5173 Check return value of cd.
5174 (compile-calc): Remove.
5175
5176 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5179
5180 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5181 (byte-compile-and-folded): New function.
5182 (=, <, >, <=, >=): Use it.
5183
5184 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5185 (path-separator, null-device, buffer-file-coding-system)
5186 (lpr-headers-switches): Check system-type before modifying them.
5187 (find-buffer-file-type-coding-system): Mark obsolete.
5188 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5189 find-file-not-found-set-buffer-file-coding-system.
5190 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5191 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5192 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5193 (w32-direct-print-region-helper, w32-direct-print-region-function)
5194 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5195 * startup.el (normal-top-level-add-subdirs-to-load-path):
5196 * ps-print.el (ps-print-region-function):
5197 * lpr.el (print-region-function): Use new name.
5198
5199 * subr.el (custom-declare-variable-early): Remove function.
5200 (custom-declare-variable-list): Remove var.
5201 (error, user-error): Remove `while' loop.
5202 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5203 (user-emacs-directory-warning, locate-user-emacs-file):
5204 Move to files.el.
5205 * simple.el (read-quoted-char-radix, read-quoted-char):
5206 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5207 Move from subr.el.
5208 * custom.el (custom-declare-variable-list): Don't process
5209 custom-declare-variable-list.
5210
5211 * progmodes/python.el (python-shell-get-buffer): New function.
5212 (python-shell-get-process): Use it.
5213 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5214 Python which encoding was used. Don't split-string since we only care
5215 about the first line. Return the temp-file, if applicable.
5216 (python-shell-send-region): Tell compile.el how to turn locations in
5217 the temp-file into locations in the source buffer.
5218
5219 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5220
5221 * subr.el (undefined): Add missing behavior from the C code for
5222 unbound keys.
5223
5224 * rect.el: Use lexical-binding. Add new rectangular region support.
5225 (rectangle-mark): New command.
5226 (rectangle--region): New var.
5227 (deactivate-mark-hook): Reset rectangle--region.
5228 (rectangle--extract-region, rectangle--insert-for-yank)
5229 (rectangle--highlight-for-redisplay)
5230 (rectangle--unhighlight-for-redisplay): New functions.
5231 (region-extract-function, redisplay-unhighlight-region-function)
5232 (redisplay-highlight-region-function): Use them to handle
5233 rectangular region.
5234 * simple.el (region-extract-function): New var.
5235 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5236 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5237 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5238 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5239 (redisplay-unhighlight-region-function)
5240 (redisplay-highlight-region-function): New vars.
5241 (redisplay--update-region-highlight): New function.
5242 (pre-redisplay-function): Use it.
5243 (exchange-point-and-mark): Don't deactivate the mark before
5244 reactivate-it anyway.
5245 * comint.el (comint-kill-region): Remove yank-handler argument.
5246 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5247 (delete-char): Remove property, since it's now part of their
5248 default behavior.
5249 (self-insert-iso): Remove property since this command doesn't exist.
5250
5251 * emacs-lisp/package.el (package--download-one-archive)
5252 (describe-package-1): Don't query the user about final newline.
5253
5254 2013-10-29 Daniel Colascione <dancol@dancol.org>
5255
5256 * net/tramp.el (tramp-methods): Document new functionality.
5257 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5258 tramp-hostname-checker if method provides one instead of scanning
5259 argument list for "%h" to decide hostname acceptability.
5260
5261 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5262
5263 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5264 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5265 Handle COPY-CONTENTS. (Bug#15737)
5266
5267 2013-10-28 Daiki Ueno <ueno@gnu.org>
5268
5269 * epa-file.el
5270 (epa-file-cache-passphrase-for-symmetric-encryption):
5271 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5272
5273 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5274
5275 * image.el (defimage, image-load-path): Doc fixes.
5276
5277 2013-10-27 Alan Mackenzie <acm@muc.de>
5278
5279 Indent statements in macros following "##" correctly.
5280 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5281 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5282
5283 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5284
5285 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5286
5287 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5288
5289 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5290 after `=' is probably a new expression.
5291
5292 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5293
5294 * man.el (man-imenu-title): New option.
5295 (Man-mode-map): Add menu. (Bug#15722)
5296 (Man-mode): Add imenu to menu.
5297
5298 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5299
5300 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5301 specific in what the first arg can be: a non-keyword word,
5302 string/regexp/percent literal opener, opening paren, or unary
5303 operator followed directly by word.
5304
5305 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5306
5307 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5308 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5309 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5310 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5311 Remove vars, they do not apply any more.
5312 (prolog-mode-abbrev-table): Remove redundant declaration.
5313 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5314 (prolog-use-smie): Remove.
5315 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5316 supported by prolog-electric-if-then-else-flag.
5317 (prolog-mode-variables, prolog-menu): Use setq-local.
5318 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5319 Remove binding to `Backspace' since this key doesn't exist anyway.
5320 Remove bindings for electric self-inserting keys.
5321 (prog-mode): Assume it's defined.
5322 (prolog-post-self-insert): New function.
5323 (prolog-mode): Use it.
5324 (prolog-indent-line, prolog-indent-level)
5325 (prolog-find-indent-of-matching-paren)
5326 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5327 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5328 (prolog-goto-next-paren, prolog-in-string-or-comment)
5329 (prolog-tokenize, prolog-inside-mline-comment)
5330 (prolog-find-start-of-mline-comment): Remove functions.
5331 (prolog-find-unmatched-paren, prolog-clause-end)
5332 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5333 (prolog-electric--if-then-else): Rename from
5334 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5335 (prolog-tokenize-searchkey): Remove const.
5336 (prolog-clause-info): Use forward-sexp.
5337 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5338 (prolog-electric-if-then-else): Remove commands.
5339 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5340 for use in post-self-insert-hook.
5341 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5342 for use in post-self-insert-hook.
5343 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5344 for use in post-self-insert-hook.
5345 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5346 adapt it for use in post-self-insert-hook.
5347
5348 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5349
5350 * emacs-lisp/ert.el (ert-run-tests-interactively):
5351 Use `completing-read'. (Bug#9756)
5352
5353 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5354
5355 * simple.el (line-move): Call line-move-1 instead of
5356 line-move-visual when the current window hscroll is zero, but
5357 temporary-goal-column indicates we will need to hscroll as result
5358 of the movement. (Bug#15712)
5359
5360 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5361
5362 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5363 capitalization. Use :visible instead of :active.
5364 Fix `ruby-indent-exp' reference. Add menu items for the generic
5365 commands that are used with SMIE.
5366 (ruby-do-end-to-brace): Insert space after `{'.
5367
5368 2013-10-25 John Anthony <john@jo.hnanthony.com>
5369
5370 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5371
5372 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5373
5374 2013-10-25 Glenn Morris <rgm@gnu.org>
5375
5376 * vc/vc.el (vc-print-log): Don't use a working revision unless
5377 one was explicitly specified. (Bug#15322)
5378
5379 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * subr.el (add-to-list): Preserve return value in compiler-macro
5382 (bug#15692).
5383
5384 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5385
5386 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5387 result. Ask user to retry using '-all' flag. (Bug#15701)
5388
5389 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * emacs-lisp/smie.el: New smie-config system.
5392 (smie-config): New defcustom.
5393 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5394 (smie-config-guess, smie-config-save): New commands.
5395 (smie-config--mode-local, smie-config--buffer-local)
5396 (smie-config--trace, smie-config--modefuns): New vars.
5397 (smie-config--advice, smie-config--mode-hook)
5398 (smie-config--setter, smie-config-local, smie-config--get-trace)
5399 (smie-config--guess-value, smie-config--guess): New functions.
5400 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5401 text properties. Treat "string fence" syntax like string syntax.
5402
5403 * progmodes/sh-script.el (sh-use-smie): Change default.
5404 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5405 (sh-var-value): Simplify by CSE.
5406 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5407 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5408 is used.
5409 (sh-guess-basic-offset): Use cl-incf.
5410 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5411
5412 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5413
5414 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5415 (bug#15699).
5416
5417 2013-10-24 Glenn Morris <rgm@gnu.org>
5418
5419 * Makefile.in (abs_top_srcdir): Remove.
5420 (update-subdirs): Use relative path to update-subdirs.
5421
5422 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5423
5424 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5425 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5426 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5427 Call unmsys--file-name before expand-file-name, not after it.
5428
5429 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5430
5431 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5432 (ert-test-skipped): New error.
5433 (ert-skip, ert-stats-skipped): New defuns.
5434 (ert--skip-unless): New macro.
5435 (ert-test-skipped): New struct.
5436 (ert--run-test-debugger, ert-test-result-type-p)
5437 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5438 (ert--stats-set-test-and-result, ert-char-for-test-result)
5439 (ert-string-for-test-result, ert-run-tests-batch)
5440 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5441 Handle skipped tests. (Bug#9803)
5442
5443 2013-10-24 Glenn Morris <rgm@gnu.org>
5444
5445 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5446
5447 * Makefile.in (abs_top_srcdir): New, set by configure.
5448 (update-subdirs): Correct build-aux location.
5449
5450 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5451
5452 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5453 value, whether we could auto-deduce `backend', or not.
5454
5455 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5456 with parameters" example. Simplify the "is it block or is it
5457 hash" check, but also make it more thorough.
5458
5459 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5460
5461 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5462
5463 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5466 { if it is hanging.
5467
5468 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5469 :before ";".
5470
5471 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5472
5473 * progmodes/compile.el (compilation-directory-matcher)
5474 (compilation-page-delimiter):
5475 Support GNU Make-4.0 directory quoting. (Bug#15678)
5476
5477 2013-10-23 Leo Liu <sdl.web@gmail.com>
5478
5479 * ido.el (ido-tidy): Handle read-only text.
5480
5481 2013-10-23 Glenn Morris <rgm@gnu.org>
5482
5483 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5484 (emacs, compile, compile-always):
5485 Quote entities that might contain whitespace.
5486 (custom-deps, finder-data, autoloads): Use abs_lisp.
5487 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5488 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5489 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5490
5491 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5492
5493 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5494 Use `following-char'.
5495
5496 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5499 * progmodes/ruby-mode.el (ruby-smie-rules):
5500 Remove corresponding workaround. Fix indentation rule of ";" so it
5501 also applies when ";" is the parent.
5502
5503 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5504
5505 * frame.el (display-screens, display-pixel-height)
5506 (display-pixel-width, display-mm-width, display-backing-store)
5507 (display-save-under, display-planes, display-color-cells)
5508 (display-visual-class, display-monitor-attributes-list):
5509 Mention the optional ‘display’ argument in doc strings.
5510
5511 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5512
5513 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5514 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5515
5516 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5517
5518 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5519 TODO. Add "." after " @ ".
5520 (ruby-smie--at-dot-call): New function. Checks if point at method
5521 call with explicit target.
5522 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5523 to the method name tokens when it precedes them.
5524 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5525 (ruby-smie-rules): Add rule for indentation before and after "."
5526 token.
5527
5528 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * textmodes/remember.el (remember-diary-extract-entries):
5531 Avoid add-to-list.
5532
5533 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5534 an instruction.
5535
5536 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5537
5538 * progmodes/ruby-mode.el (ruby-smie-grammar):
5539 Add (almost) all infix operators.
5540 (ruby-smie--implicit-semi-p): Add new operator chars.
5541
5542 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5543 `smie-down-list'.
5544 (ruby-smie--args-separator-p): Check that there's no newline
5545 between method call and its arguments.
5546
5547 2013-10-20 Alan Mackenzie <acm@muc.de>
5548
5549 Allow comma separated lists after Java "implements".
5550
5551 * progmodes/cc-engine.el (c-backward-over-enum-header):
5552 Parse commas.
5553 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5554 from a "disallowed" list in enum fontification.
5555
5556 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5557
5558 * startup.el (default-frame-background-mode): Remove unused defvar.
5559
5560 * progmodes/verilog-mode.el (verilog-mode): Don't set
5561 comment-indent-function globally.
5562
5563 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5564
5565 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5566 Move Info menu item creation to ns-win.el.
5567
5568 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5569 in menu bar.
5570
5571 * menu-bar.el: Move GNUstep specific menus...
5572
5573 * term/ns-win.el (ns-initialize-window-system): ... to here.
5574
5575 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * simple.el (newline): Only run post-self-insert-hook when
5578 called interactively.
5579
5580 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5581
5582 * icomplete.el (icomplete-with-completion-tables): Add :version.
5583
5584 2013-10-19 Alan Mackenzie <acm@muc.de>
5585
5586 Fix fontification bugs with constructors and const.
5587
5588 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5589 CASE 2) Remove the check for the absence of a suffix construct
5590 after a function declaration with only types (no identifiers) in
5591 the parentheses. Also, accept a function declaration with just a
5592 type inside the parentheses, if this type can be positively
5593 recognised as such, or if a prefix keyword like "explicit" nails
5594 down the construct as a declaration.
5595
5596 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5597
5598 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5599 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5600 the problem whereby selecting a menu item that leads to a
5601 minibuffer prompt moves the cursor out of the minibuffer window,
5602 making it hard to type at the prompt. Suggested by Stefan Monnier
5603 <monnier@iro.umontreal.ca>.
5604
5605 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5606
5607 * menu-bar.el: Don't make Services menu.
5608
5609 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5610
5611 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5612 (ffap-alist): Use ffap-c++-mode for c++-mode.
5613 (ffap-c++-path): New variable.
5614 (ffap-c++-mode): New function.
5615
5616 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5617
5618 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5619
5620 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5621
5622 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5623 introduced on 2013-09-08, which results in an infinite loop
5624 requesting a password.
5625
5626 2013-10-18 Glenn Morris <rgm@gnu.org>
5627
5628 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5629
5630 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5631
5632 Sync with upstream verilog-mode revision 1a6ecec7.
5633 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5634 (verilog-mode-release-date): Remove.
5635 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5636 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5637 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5638 (verilog-auto-tieoff-ignore-regexp)
5639 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5640 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5641 (verilog-signals-with, verilog-dir-cache-preserving)
5642 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5643 Doc fixes.
5644 (verilog-case-fold): New option, to control case folding in
5645 regexp searches, bug597.
5646 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5647 (verilog-string-match-fold, verilog-in-paren-count)
5648 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5649 (verilog-at-close-struct-p): New functions.
5650 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5651 (verilog-forward-sexp, verilog-set-auto-endcomments)
5652 (verilog-leap-to-case-head): Handle "unique0" case.
5653 (verilog-in-constraint-re): New constant.
5654 (verilog-keywords, verilog-type-font-keywords):
5655 Add some SystemVerilog 1800-2012 keywords.
5656 (verilog-label-be): Remove unimplemented argument, bug669.
5657 (verilog-batch-execute-func): When batch expanding clear
5658 create-lockfiles to prevent spurious user locks when a file ends
5659 up not changing.
5660 (verilog-calculate-indent, verilog-calc-1)
5661 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5662 (verilog-do-indent): Fix indentation of nested constraints
5663 and structures.
5664 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5665 (verilog-auto-inst-param): Use verilog-string-match-fold.
5666 (verilog-read-inst-module-matcher):
5667 Fix AUTOINST on gate primitives with #1.
5668 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5669 Reads all user-defined typed variables.
5670 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5671 (verilog-signals-matching-regexp)
5672 (verilog-signals-not-matching-regexp, verilog-auto):
5673 Respect verilog-case-fold.
5674 (verilog-diff-report): Fix line count.
5675 (verilog-auto-assign-modport): Remove unused local `modi'.
5676 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5677 better handle multidimensional arrays.
5678 Fix packed array ports misadding bit index in AUTOINST, bug637.
5679 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5680 to not double-declare existing outputs and inputs, respectively.
5681 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5682 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5683 (verilog-sk-uvm-component): New skeleton.
5684 (verilog-submit-bug-report): Add verilog-case-fold,
5685 remove verilog-mode-release-date.
5686
5687 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5688
5689 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5690 as before.
5691
5692 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5693
5694 * textmodes/remember.el (remember): Set buffer-offer-save in
5695 remember buffers (bug#13566).
5696
5697 2013-10-18 Daniel Colascione <dancol@dancol.org>
5698
5699 When evaluating forms in ielm, direct standard output to ielm
5700 buffer. Add new ielm-return-for-effect command. Remove trailing
5701 whitespace throughout.
5702
5703 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5704 (ielm-return-for-effect): New command.
5705 (ielm-send-input): Accept optional `for-effect' parameter.
5706 (ielm-eval-input): Accept optional `for-effect' parameter.
5707 Bind `standard-output' to stream we create using
5708 `ielm-standard-output-impl'. Suppress printing result when
5709 `for-effect'.
5710 (ielm-standard-output-impl): New function.
5711 (inferior-emacs-lisp-mode): Explain new features in documentation.
5712
5713 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5714
5715 Code cleanup.
5716
5717 * net/tramp.el (tramp-debug-message): Do not check for connection
5718 buffer.
5719 (tramp-message): Use "vector" connection property.
5720
5721 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5722 (tramp-equal-remote, tramp-eshell-directory-change)
5723 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5724 (tramp-adb-handle-rename-file)
5725 * net/tramp-cmds.el (tramp-list-remote-buffers)
5726 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5727 * net/tramp-compat.el (tramp-compat-process-running-p)
5728 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5729 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5730 (tramp-gvfs-handle-rename-file)
5731 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5732 (tramp-set-file-uid-gid)
5733 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5734 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5735 of `file-remote-p'.
5736
5737 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5738 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5739 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5740 (tramp-gw-open-network-stream): Suppress unrelated traces.
5741
5742 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5743 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5744 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5745 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5746 connection property.
5747
5748 * net/tramp-cache.el (top): Suppress traces when reading
5749 persistency file.
5750
5751 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5752 Refactor common code. Improve debug message.
5753 (tramp-maybe-open-connection)
5754 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5755 connection buffer too early.
5756
5757 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5758 from `tramp-smb-actions-with-acl'.
5759 (tramp-smb-actions-set-acl): New defconst.
5760 (tramp-smb-handle-copy-directory)
5761 (tramp-smb-action-get-acl): New defun, renamed from
5762 `tramp-smb-action-with-acl'.
5763 (tramp-smb-action-set-acl): New defun.
5764 (tramp-smb-handle-set-file-acl): Rewrite.
5765
5766 2013-10-17 Glenn Morris <rgm@gnu.org>
5767
5768 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5769
5770 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5771
5772 * skeleton.el (skeleton-newline): Remove.
5773 (skeleton-internal-1): Use (insert "\n") instead.
5774
5775 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5776 let-bindings.
5777
5778 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5779 forward-sexp-function while we redo its job (bug#15613).
5780
5781 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5782
5783 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5784 represented by lists.
5785
5786 2013-10-16 Glenn Morris <rgm@gnu.org>
5787
5788 * tmm.el (tmm--history): New dynamic variable.
5789 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5790
5791 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5792
5793 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5794 (tramp-smb-errors): Add error messages.
5795 (tramp-smb-actions-with-acl): New defconst.
5796 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5797 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5798 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5799 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5800 (tramp-smb-get-stat-capability): Fix tests.
5801
5802 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5803
5804 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5805 (bug#15580).
5806
5807 2013-10-16 Glenn Morris <rgm@gnu.org>
5808
5809 * ansi-color.el (ansi-color-drop-regexp):
5810 Add 1J, 1K, 2K. (Bug#15617)
5811
5812 * files.el (hack-local-variables--warned-lexical): New.
5813 (hack-local-variables):
5814 Warn about misplaced lexical-binding. (Bug#15616)
5815
5816 * net/eww.el (eww-render): Always set eww-current-url,
5817 and update header line. (Bug#15622)
5818 (eww-display-html): ... Rather than just doing it here.
5819
5820 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5821
5822 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5823 menu navigations commands.
5824
5825 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5826
5827 * progmodes/subword.el (subword-capitalize): Be careful when
5828 the search for [[:alpha:]] fails (bug#15580).
5829
5830 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5831
5832 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5833 to commands that scroll the menu.
5834
5835 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5836
5837 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5838 Handle methods ending with `?' and `!'.
5839
5840 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5841
5842 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5843 `japanese-cp932' to `cp932' to fix the problem where saving a
5844 source file written in Shift_JIS twice would end up having
5845 `coding: japanese-cp932' which Ruby could not recognize.
5846 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5847 in `ruby-encoding-map'.
5848 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5849 doesn't need to be explicitly declared in magic comment.
5850 (ruby-encoding-map): Add type declaration for better customize UI.
5851
5852 2013-10-13 Glenn Morris <rgm@gnu.org>
5853
5854 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5855 Occur buffers are read-only. http://bugs.debian.org/720775
5856
5857 * emacs-lisp/authors.el (authors-fixed-entries):
5858 Comment out old alpha stuff.
5859
5860 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5861
5862 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5863 to `after-save-hook' instead of `before-save-hook'.
5864 (ruby-mode-set-encoding): Use the value of coding system used to
5865 write the file. Call `basic-save-buffer-1' after modifying the
5866 buffer.
5867
5868 2013-10-13 Alan Mackenzie <acm@muc.de>
5869
5870 Fix indentation/fontification of Java enum with
5871 "implements"/generic.
5872
5873 * progmodes/cc-engine.el (c-backward-over-enum-header):
5874 Extracted from the three other places and enhanced to handle generics.
5875 (c-inside-bracelist-p): Uses new function above.
5876 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5877 function above.
5878 (c-font-lock-enum-tail): Uses new function above.
5879
5880 2013-10-13 Kenichi Handa <handa@gnu.org>
5881
5882 * international/mule-cmds.el (select-safe-coding-system): Remove a
5883 superfluous condition in chekcing whether a coding system is safe
5884 or not.
5885
5886 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5887
5888 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5889
5890 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5891
5892 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5893
5894 2013-10-13 Glenn Morris <rgm@gnu.org>
5895
5896 * menu-bar.el (menu-bar-update-buffers):
5897 Unify Buffers menu prompt string. (Bug#15576)
5898
5899 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5900
5901 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5902 Add some entries.
5903 (authors-fixed-entries): Use accented form of name.
5904
5905 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5908 method calls (bug#15594).
5909 (ruby-smie--args-separator-p): New function.
5910 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5911 recognize paren-free method calls.
5912
5913 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5914 internals of universal-argument.
5915
5916 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5917
5918 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5919 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5920 dropped menu on second mouse click on the menu bar.
5921
5922 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5925 (explicit-shell-file-name): Declare.
5926 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5927 (sh-completion-at-point-function): New function.
5928 (sh-mode): Use it.
5929 (sh-smie--keyword-p): Remove unused argument.
5930 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5931 vars.
5932 (sh-set-shell): Always setup SMIE, even if we use the
5933 old indentation code.
5934
5935 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5936
5937 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5938 cases of ? and =.
5939 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5940 predicate would return nil are almost non-existent.
5941 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5942
5943 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5944 cache also after commands that modify the buffer but don't move
5945 point.
5946
5947 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * env.el (substitute-env-in-file-name): New function.
5950 (substitute-env-vars): Extend the meaning of the optional arg.
5951
5952 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5953
5954 * term/w32-win.el (dynamic-library-alist): Define separate lists
5955 of GIF DLLs for versions before and after 5.0.0 of giflib.
5956 (Bug#15531)
5957
5958 2013-10-10 João Távora <joaotavora@gmail.com>
5959
5960 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5961 not locked, use last revision and current source as
5962 defaults. (Bug#15569)
5963
5964 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5965
5966 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5967 menu-bar is hidden.
5968
5969 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5970
5971 * window.el (pop-to-buffer-same-window): Fix doc-string.
5972 (Bug#15492)
5973
5974 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5977
5978 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5979
5980 * calendar/icalendar.el (icalendar-import-file):
5981 Fix interactive spec. (Bug#15482)
5982
5983 2013-10-10 Glenn Morris <rgm@gnu.org>
5984
5985 * desktop.el (desktop-save): Default to saving in .emacs.d,
5986 since PWD is no longer in desktop-path by default. (Bug#15319)
5987
5988 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5989 now that text mode has a menu with the same entry.
5990 (menu-bar-text-mode-auto-fill): Remove now unused func.
5991 * textmodes/text-mode.el (text-mode-map):
5992 Use auto-fill help text from menu-bar.el.
5993
5994 2013-10-10 John Anthony <john@jo.hnanthony.com>
5995
5996 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5997
5998 2013-10-09 Juri Linkov <juri@jurta.org>
5999
6000 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6001 instead of this-command-keys. Add universal-argument-more and
6002 universal-argument-minus to the list of prefix commands. (Bug#15568)
6003
6004 2013-10-09 Glenn Morris <rgm@gnu.org>
6005
6006 * vc/vc-svn.el (vc-svn-create-repo):
6007 Expand paths in file://... url. (Bug#15446)
6008
6009 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6010 Add some entries.
6011 (authors): Remove unused local variables.
6012
6013 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 * profiler.el: Create a more coherent calltree from partial backtraces.
6016 (profiler-format): Hide the tail with `invisible' so that C-s can still
6017 find the hidden elements.
6018 (profiler-calltree-depth): Don't recurse so enthusiastically.
6019 (profiler-function-equal): New hash-table-test.
6020 (profiler-calltree-build-unified): New function.
6021 (profiler-calltree-build): Use it.
6022 (profiler-report-make-name-part): Indent the calltree less.
6023 (profiler-report-mode): Add visibility specs for profiler-format.
6024 (profiler-report-expand-entry, profiler-report-toggle-entry):
6025 Expand the whole subtree when provided with a prefix arg.
6026
6027 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6028
6029 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6030 iuwu-mod token.
6031 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6032 hanging iuwu-mod token.
6033 (ruby-smie--forward-token): Do not include a dot after a token in
6034 that token.
6035 (ruby-smie--backward-token): Likewise.
6036
6037 2013-10-08 Juri Linkov <juri@jurta.org>
6038
6039 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6040 to isearch-other-control-char.
6041 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6042 and isearch-post-command-hook to post-command-hook.
6043 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6044 and isearch-post-command-hook from post-command-hook.
6045 (isearch-unread-key-sequence)
6046 (isearch-reread-key-sequence-naturally)
6047 (isearch-lookup-scroll-key, isearch-other-control-char)
6048 (isearch-other-meta-char): Remove functions.
6049 (isearch-pre-command-hook, isearch-post-command-hook):
6050 New functions based on isearch-other-meta-char rewritten
6051 relying on the new behavior of overriding-terminal-local-map
6052 that does not replace the local keymaps any more. (Bug#15200)
6053
6054 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6055
6056 Support menus on text-mode terminals.
6057 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6058 functionality.
6059
6060 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6061
6062 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6063 Move here from mouse.el.
6064 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6065 and arrow keys.
6066 (tty-menu-navigation-map): New map for TTY menu navigation.
6067
6068 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6069
6070 * frame.el (display-mouse-p): Report text-mode mouse as available
6071 on w32.
6072 (display-popup-menus-p): Report availability if mouse is
6073 available; don't condition on window-system.
6074
6075 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6076 (tty-menu-selected-face): New faces.
6077
6078 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6079
6080 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6081 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6082 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6083 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6084 New constants.
6085 (lisp-mode-variables): New `elisp' argument.
6086 (emacs-lisp-mode): Use it.
6087 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6088 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6089
6090 * indent.el: Use lexical-binding.
6091 (indent-region): Add progress reporter.
6092 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6093 last step.
6094 (indent--next-tab-stop): New function to implement this behavior.
6095 (tab-to-tab-stop, move-to-tab-stop): Use it.
6096
6097 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6098
6099 * indent.el (indent-rigidly--current-indentation): New function.
6100 (indent-rigidly-map): New var.
6101 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6102
6103 2013-10-08 Bastien Guerry <bzg@gnu.org>
6104
6105 * register.el (insert-register): Fix 2013-10-07 change.
6106
6107 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 * progmodes/perl-mode.el: Use lexical-binding.
6110 Remove redundant :group args.
6111 (perl-nochange): Change default to be closer to other major modes's
6112 standard behavior.
6113 (perl-indent-line): Don't consider text on current line as a
6114 valid beginning of function from which to indent.
6115
6116 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6117 with more than one argument (bug#15538).
6118
6119 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6120
6121 * vc/pcvs.el: Use lexical-binding.
6122 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6123 environment of `eval'.
6124 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6125 than a list of expressions. Adjust callers.
6126 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6127
6128 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6129
6130 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6131 case of the dot in a chained method call being on the following line.
6132
6133 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6134
6135 * electric.el (electric-indent-inhibit): New var.
6136 (electric-indent-post-self-insert-function): Use it.
6137 * progmodes/python.el (python-mode): Set it.
6138
6139 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6140 open braces.
6141
6142 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6143
6144 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6145 (css-mode): Use electric-indent-chars.
6146
6147 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6148 (font-lock-beg, font-lock-end): Move before first use.
6149 (nxml-mode): Use syntax-propertize-function.
6150 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6151 (nxml-extend-after-change-region): Remove.
6152 * nxml/xmltok.el: Use lexical-binding.
6153 (xmltok-save): Use `declare'.
6154 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6155 * nxml/nxml-util.el: Use lexical-binding.
6156 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6157 Use `declare'.
6158 * nxml/nxml-ns.el: Use lexical-binding.
6159 (nxml-ns-save): Use `declare'.
6160 (nxml-ns-prefixes-for): Avoid add-to-list.
6161 * nxml/rng-match.el: Use lexical-binding.
6162 (rng--ipattern): Use cl-defstruct.
6163 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6164 (rng-cons-group-after, rng-subst-group-after)
6165 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6166 Use closures instead of `(lambda...).
6167
6168 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6169
6170 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6171 of BEG and END.
6172
6173 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6174 Use `tramp-handle-insert-file-contents'.
6175 (tramp-gvfs-handle-insert-file-contents): Remove function.
6176
6177 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6178 Use `save-restriction' in order to keep markers.
6179
6180 * net/trampver.el: Update release number.
6181
6182 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6183
6184 * progmodes/compile.el (compilation-parse-errors):
6185 Use compilation--put-prop.
6186 (compilation--ensure-parse): Check compilation-multiline.
6187
6188 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6189
6190 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6191 lexical-binding.
6192
6193 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6194
6195 * progmodes/ruby-mode.el: Fix recently added tests.
6196 (ruby-smie-grammar): Add - and +.
6197 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6198 (ruby-smie--backward-id): New functions.
6199 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6200 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6201 any more.
6202
6203 2013-10-07 Leo Liu <sdl.web@gmail.com>
6204
6205 * register.el (register-preview-delay)
6206 (register-preview-functions): New variables.
6207 (register-read-with-preview, register-preview)
6208 (register-describe-oneline): New functions.
6209 (point-to-register, window-configuration-to-register)
6210 (frame-configuration-to-register, jump-to-register)
6211 (number-to-register, view-register, insert-register)
6212 (copy-to-register, append-to-register, prepend-to-register)
6213 (copy-rectangle-to-register): Use register-read-with-preview to
6214 read register. (Bug#15525)
6215
6216 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6217
6218 * net/network-stream.el (network-stream-open-starttls): Don't add
6219 --insecure if it's already present, because that gnutls-cli
6220 rejects getting that parameter twice.
6221
6222 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6223
6224 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6225 keyword, too.
6226
6227 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6228
6229 * newcomment.el (comment-use-global-state): Change default value
6230 to t, mark obsolete (Bug#15251).
6231 (comment-beginning): In addition to `comment-to-syntax', check the
6232 value of `comment-use-global-state'.
6233
6234 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6237 (ruby-comment-column): Follow the global default, by default.
6238 (ruby-smie-grammar): Add assignment syntax.
6239 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6240 open-paren, a comma, or a \.
6241 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6242 and line continuations.
6243 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6244 followed by implicit semi-colons. Add rule for string concatenation
6245 and for indentation at BOB.
6246 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6247
6248 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6249 calling next-sexp, since next-token may have skipped chars which
6250 next-sexp doesn't know should be skipped!
6251
6252 2013-10-05 Leo Liu <sdl.web@gmail.com>
6253
6254 * progmodes/octave.el (octave-send-region):
6255 Call compilation-forget-errors.
6256
6257 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6258
6259 * vc/vc-svn.el (vc-svn-find-admin-dir):
6260 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6261 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6262 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6263 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6264
6265 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6268
6269 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6270
6271 * subr.el (read-passwd): Hide chars even when called within a context
6272 where after-change-functions is disabled (bug#15501).
6273 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6274 until we removed ourself from overriding-terminal-local-map.
6275
6276 2013-10-04 Leo Liu <sdl.web@gmail.com>
6277
6278 * progmodes/octave.el (inferior-octave-mode):
6279 Call compilation-forget-errors.
6280
6281 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6282
6283 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6284
6285 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6286
6287 * net/secrets.el (secrets-create-collection): Add optional
6288 argument ALIAS. Use proper Label keyword. Append ALIAS as
6289 dbus-call-method argument. (Bug#15516)
6290
6291 2013-10-04 Leo Liu <sdl.web@gmail.com>
6292
6293 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6294 (inferior-octave-compilation-font-lock-keywords): New variables.
6295 (compilation-error-regexp-alist)
6296 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6297 (inferior-octave-mode): Use compilation-shell-minor-mode.
6298
6299 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6300
6301 * minibuffer.el (completion--replace): Be careful that `end' might be
6302 a marker.
6303
6304 2013-10-03 Daiki Ueno <ueno@gnu.org>
6305
6306 Add support for package signature checking.
6307 * emacs-lisp/package.el (url-http-file-exists-p)
6308 (epg-make-context, epg-context-set-home-directory)
6309 (epg-verify-string, epg-context-result-for)
6310 (epg-signature-status, epg-signature-to-string)
6311 (epg-check-configuration, epg-configuration)
6312 (epg-import-keys-from-file): Declare.
6313 (package-check-signature): New user option.
6314 (package-unsigned-archives): New user option.
6315 (package-desc): Add `signed' field.
6316 (package-load-descriptor): Set `signed' field if .signed file exists.
6317 (package--archive-file-exists-p): New function.
6318 (package--check-signature): New function.
6319 (package-install-from-archive): Check package signature.
6320 (package--download-one-archive): Check archive signature.
6321 (package-delete): Remove .signed file.
6322 (package-import-keyring): New command.
6323 (package-refresh-contents): Import default keyring.
6324 (package-desc-status): Add "unsigned" status.
6325 (describe-package-1, package-menu--print-info)
6326 (package-menu-mark-delete, package-menu--find-upgrades)
6327 (package-menu--status-predicate): Support "unsigned" status.
6328
6329 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6330
6331 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6332 the new compilation scheme using the new byte-codes.
6333
6334 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6335 (byte-pophandler): New byte codes.
6336 (byte-goto-ops): Adjust accordingly.
6337 (byte-compile--use-old-handlers): New var.
6338 (byte-compile-catch): Use new byte codes depending on
6339 byte-compile--use-old-handlers.
6340 (byte-compile-condition-case--old): Rename from
6341 byte-compile-condition-case.
6342 (byte-compile-condition-case--new): New function.
6343 (byte-compile-condition-case): New function that dispatches depending
6344 on byte-compile--use-old-handlers.
6345 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6346 when we can.
6347
6348 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6349 Optimize under `condition-case' and `catch' if
6350 byte-compile--use-old-handlers is nil.
6351 (disassemble-offset): Handle new bytecodes.
6352
6353 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6354
6355 * subr.el (error): Use `declare'.
6356 (decode-char, encode-char): Use advertised-calling-convention instead
6357 of the docstring to discourage use of the `restriction' arg.
6358
6359 2013-10-03 Daiki Ueno <ueno@gnu.org>
6360
6361 * epg.el (epg-verify-file): Add a comment saying that it does not
6362 notify verification error as a return value nor a signal.
6363 (epg-verify-string): Ditto.
6364
6365 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6366
6367 * progmodes/compile.el (compilation-start): Try globbing the arg to
6368 `cd' (bug#15417).
6369
6370 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6371
6372 Sync with Tramp 2.2.8.
6373
6374 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6375 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6376 * net/trampver.el: Update release number.
6377
6378 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6379
6380 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6381 and default-process-coding-system for darwin only.
6382
6383 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6386
6387 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6388
6389 * vc/vc-git.el (vc-git-grep): Disable pager.
6390
6391 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6392
6393 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6394 Use :url instead of :homepage, as per
6395 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6396
6397 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6398 non-nil, use `syntax-ppss' (Bug#15251).
6399
6400 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6401
6402 * progmodes/octave.el (inferior-octave-startup-file):
6403 Prefer ~/.emacs.d/init_octave.m.
6404
6405 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6406
6407 * emacs-lisp/package.el (package-desc-from-define):
6408 Accept additional arguments as plist, convert them to an alist and store
6409 them in the `extras' slot.
6410 (package-generate-description-file): Convert extras alist back to
6411 plist and append to the `define-package' form arguments.
6412 (package--alist-to-plist): New function.
6413 (package--ac-desc): Add `extras' slot.
6414 (package--add-to-archive-contents): Check if the archive-contents
6415 vector is long enough, and if it is, pass its `extras' slot value
6416 to `package-desc-create'.
6417 (package-buffer-info): Call `lm-homepage', pass the returned value
6418 to `package-desc-from-define'.
6419 (describe-package-1): Render the homepage button (Bug#13291).
6420
6421 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6422 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6423
6424 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6425
6426 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6427 and default-process-coding-system to utf-8-unix (Bug#15402).
6428
6429 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6430
6431 * subr.el (looking-back): Do not recommend using looking-back.
6432
6433 2013-09-28 Alan Mackenzie <acm@muc.de>
6434
6435 Fix indentation/fontification of Java enum with "implements".
6436
6437 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6438 regexp which matches "implements", etc., in Java.
6439 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6440 specifier clauses coming after "enum".
6441 * progmodes/cc-fonts.el (c-font-lock-declarations)
6442 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6443 after "enum".
6444
6445 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6446
6447 * faces.el (region): Change ns_selection_color to
6448 ns_selection_fg_color, add ns_selection_bg_color.
6449
6450 2013-09-28 Leo Liu <sdl.web@gmail.com>
6451
6452 * progmodes/octave.el (inferior-octave-completion-table)
6453 (inferior-octave-completion-at-point): Minor tweaks.
6454
6455 * textmodes/ispell.el (ispell-lookup-words): Rename from
6456 lookup-words. (Bug#15460)
6457 (lookup-words): Obsolete.
6458 (ispell-complete-word, ispell-command-loop): All uses changed.
6459
6460 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6461
6462 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6463 (octave-mode-menu): Add octave-send-buffer.
6464 (octave-send-buffer): New function.
6465
6466 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6467
6468 * progmodes/octave.el (octave-mode-map): Add key binding for
6469 octave-lookfor.
6470 (octave-mode-menu): Add octave-lookfor.
6471 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6472 octave-lookfor.
6473 (octave-lookfor): New function.
6474
6475 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6476
6477 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6478 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6479 its convention.
6480 (cl--loop-set-iterator-function): New function.
6481 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6482 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6483 Bind `it' with `let' instead of substituting it with `cl-subst'.
6484 (cl--unused-var-p): New function.
6485 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6486 Eliminate some unused variable warnings (bug#15326).
6487
6488 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6489
6490 * doc-view.el (doc-view-scale-reset): Rename from
6491 `doc-view-reset-zoom-level'.
6492 (doc-view-scale-adjust): New command.
6493 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6494 `doc-view-scale-adjust'.
6495
6496 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6497
6498 * doc-view.el (doc-view-reset-zoom-level): New command.
6499 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6500 zoom commands (bug#15466).
6501
6502 2013-09-26 Kenichi Handa <handa@gnu.org>
6503
6504 * international/quail.el (quail-help): Make it not a command.
6505
6506 2013-09-26 Leo Liu <sdl.web@gmail.com>
6507
6508 * minibuffer.el (completion-all-sorted-completions): Make args
6509 optional as they are.
6510
6511 2013-09-25 Daniel Colascione <dancol@dancol.org>
6512
6513 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6514 specs are and that they're not evaluated.
6515
6516 2013-09-24 Sam Steingold <sds@gnu.org>
6517
6518 * midnight.el (clean-buffer-list-kill-regexps)
6519 (clean-buffer-list-kill-buffer-names): Update for the new Man
6520 buffer naming which includes the object name.
6521
6522 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6525 (eshell-parse-command, eshell-parse-pipeline): Use it since
6526 eshell-separate-commands requires a dynamic scoped var.
6527 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6528
6529 2013-09-23 Leo Liu <sdl.web@gmail.com>
6530
6531 * autoinsert.el (auto-insert-alist): Make the value of
6532 lexical-binding match its file setting.
6533
6534 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6535
6536 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6537
6538 * autoarg.el (autoarg-kp-digit-argument):
6539 * electric.el (Electric-command-loop):
6540 * kmacro.el (kmacro-step-edit-insert):
6541 Do not set universal-argument-num-events.
6542
6543 2013-09-22 Leo Liu <sdl.web@gmail.com>
6544
6545 * files.el (interpreter-mode-alist): Add octave.
6546
6547 2013-09-21 Alan Mackenzie <acm@muc.de>
6548
6549 C++: fontify identifier in declaration following "public:" correctly.
6550 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6551 to match "public", etc.
6552 (c-decl-prefix-re): Add ":" into the C++ value.
6553 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6554 bit. Add a check for a ":" preceded by "public", etc.
6555
6556 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6557
6558 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6559 recognized by GDB 7.5 and later.
6560
6561 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6562
6563 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6564
6565 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * subr.el (internal--call-interactively): New const.
6568 (called-interactively-p): Use it (bug#3984).
6569
6570 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6571
6572 * vc/pcvs.el (cvs-mode-ignore):
6573 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6574 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6575
6576 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6577
6578 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6579 (eshell-ls-orig-insert-directory): Remove.
6580 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6581 (eshell-ls-use-in-dired): Use advice-add/remove.
6582 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6583 Add `orig-fun' arg for use in :around advice.
6584 Make it check (redundantly) eshell-ls-use-in-dired.
6585
6586 2013-09-19 Glenn Morris <rgm@gnu.org>
6587
6588 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6589
6590 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6591
6592 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6593
6594 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6595
6596 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6597 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6598 (tramp-get-remote-python): New defuns.
6599 (tramp-get-remote-uid-with-perl)
6600 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6601 contributed by yary <not.com@gmail.com> (tiny change).
6602 (tramp-get-remote-uid-with-python)
6603 (tramp-get-remote-gid-with-python): New defuns. Python code
6604 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6605 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6606
6607 2013-09-19 Glenn Morris <rgm@gnu.org>
6608
6609 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6610
6611 * eshell/em-unix.el (eshell-remove-entries):
6612 Rename argument to avoid name-clash with global `top-level'.
6613
6614 * eshell/esh-proc.el (eshell-kill-process-function):
6615 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6616 (eshell-reset-after-proc): Remove unused arg `proc'.
6617
6618 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6619 (directory-files-and-attributes): Mark unused arg.
6620
6621 * eshell/em-unix.el (eshell-remove-entries):
6622 Remove unused arg `path'. Update callers.
6623
6624 * eshell/em-hist.el (eshell-hist-parse-arguments):
6625 Remove unused arg `silent'. Update callers.
6626
6627 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6628 Fix (f)boundp mix-up.
6629
6630 * eshell/em-smart.el (eshell-smart-scroll-window)
6631 (eshell-disable-after-change):
6632 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6633
6634 2013-09-18 Alan Mackenzie <acm@muc.de>
6635
6636 Fix fontification of type when followed by "const".
6637 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6638 "known" types from fontification.
6639
6640 2013-09-18 Glenn Morris <rgm@gnu.org>
6641
6642 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6643 (chart-face-list): Drop Emacsen without display-color-p.
6644
6645 * net/eww.el (libxml-parse-html-region): Declare.
6646 (eww-display-html): Explicit error if no libxml2 support.
6647
6648 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6649
6650 * image.el (image-type-from-buffer, image-multi-frame-p):
6651 Remove --without-x warning/error.
6652
6653 * mouse.el (mouse-yank-primary):
6654 * term.el (term-mouse-paste):
6655 Reorder to silence --without-x compilation.
6656
6657 * mpc.el (doc-view-mode): Silence --without-x compilation.
6658
6659 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6660 Silence --without-x compilation.
6661
6662 * progmodes/gud.el (gud-find-file, gud-mode):
6663 Silence --without-x compilation.
6664 (tooltip-mode): Declare.
6665
6666 * wdired.el (dired-backup-overwrite): Remove declaration.
6667 (wdired-mode-map): Add doc string.
6668
6669 * custom.el (x-get-resource): Declare.
6670
6671 * eshell/em-glob.el (ange-cache):
6672 * eshell/em-unix.el (ange-cache): Declare.
6673
6674 * faces.el (x-display-list, x-open-connection, x-get-resource):
6675 Declare.
6676
6677 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6678 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6679 Declare.
6680
6681 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6682
6683 * net/gnutls.el (gnutls-log-level): Declare.
6684
6685 * net/shr.el (image-size, image-animate): Declare.
6686
6687 * simple.el (font-info): Declare.
6688
6689 * subr.el (x-popup-dialog): Declare.
6690
6691 * term/common-win.el (x-select-enable-primary)
6692 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6693 Declare.
6694
6695 * term/ns-win.el (x-handle-args): Declare.
6696
6697 * term/x-win.el (x-select-enable-clipboard): Declare.
6698
6699 * term/w32-win.el (create-default-fontset): Declare.
6700
6701 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6702 Declare.
6703
6704 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6705 (fit-frame-to-buffer): Explicit error if --without-x.
6706 (mouse-autoselect-window-select): Silence compiler.
6707
6708 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6709
6710 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6711 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6712 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6713 * eshell/esh-util.el (eshell-sublist):
6714 Remove unused local variables.
6715
6716 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6717
6718 * textmodes/two-column.el: Make 2C-split work for --without-x.
6719 (scroll-bar-columns): Autoload.
6720 (top-level): Require fringe when compiling.
6721
6722 2013-09-18 Leo Liu <sdl.web@gmail.com>
6723
6724 * subr.el (add-hook): Robustify to handle closure as well.
6725
6726 2013-09-17 Glenn Morris <rgm@gnu.org>
6727
6728 * simple.el (messages-buffer-mode-map): Unbind "g".
6729
6730 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * help-mode.el (help-mode-finish): Use derived-mode-p.
6733 Remove obsolete highlighting.
6734
6735 * play/life.el (life-mode): Use define-derived-mode. Derive from
6736 special-mode.
6737 (life): Let-bind inhibit-read-only.
6738 (life-setup): Avoid `setq'. Use `life-mode'.
6739
6740 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6741 which should not be needed any more.
6742 (package-menu-refresh, package-menu-describe-package): Use user-error.
6743
6744 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6745 (eshell-post-rewrite-command-hook): Make obsolete.
6746 (eshell-parse-command): Simplify.
6747 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6748 (eshell--cmd): Declare.
6749 (eshell-parse-pipeline): Remove unused var `final-p'.
6750 Pass a dynvar to eshell-post-rewrite-command-hook.
6751 Implement the new eshell-post-rewrite-command-function.
6752 (eshell-invoke-directly): Remove unused arg `input'.
6753 * eshell/esh-io.el (eshell-io-initialize):
6754 Use eshell-post-rewrite-command-function (bug#15399).
6755 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6756 adjust to new calling convention.
6757 (eshell-create-handles): Rename args to avoid clashing with dynvar
6758 `standard-output'.
6759
6760 2013-09-17 Glenn Morris <rgm@gnu.org>
6761
6762 * simple.el (messages-buffer-mode): New major mode.
6763 (messages-buffer): New function.
6764 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6765 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6766 (ert-run-test): Use `messages-buffer' function.
6767 (ert--force-message-log-buffer-truncation): Ignore read-only.
6768 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6769 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6770
6771 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6772
6773 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6774
6775 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6776
6777 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6778
6779 * icomplete.el (icomplete-in-buffer): New var.
6780 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6781 vars and replace them with functions.
6782 (icomplete-minibuffer-setup): Adjust accordingly.
6783 (icomplete--completion-table, icomplete--completion-predicate)
6784 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6785 New functions.
6786 (icomplete-forward-completions, icomplete-backward-completions)
6787 (icomplete-simple-completing-p, icomplete-exhibit)
6788 (icomplete-completions): Use them.
6789 (icomplete--in-region-buffer): New var.
6790 (icomplete--in-region-setup): New function.
6791 (icomplete-mode): Use it.
6792
6793 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6794 (bug#15379).
6795 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6796 return args and options.
6797 (eshell-eval-using-options): Use the new return value of
6798 eshell--do-opts to set the options's vars in their scope.
6799 (eshell--set-option): Rename from eshell-set-option.
6800 Add arg `opt-vals'.
6801 (eshell--process-option): Rename from eshell-process-option.
6802 Add arg `opt-vals'.
6803 (eshell--process-args): Use an `opt-vals' alist to store the options's
6804 values during their processing and return them additionally to the
6805 remaining args.
6806
6807 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6808
6809 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6810 continuation character an operator, as far as indentation is
6811 concerned (Bug#15369).
6812
6813 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6814
6815 * window.el (window--state-put-2): Don't process buffer state
6816 when buffer doesn't exist any more (Bug#15382).
6817
6818 2013-09-15 Glenn Morris <rgm@gnu.org>
6819
6820 * eshell/em-unix.el (eshell/rm):
6821 Make -f ignore missing files. (Bug#15373)
6822
6823 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6824 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6825 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6826
6827 2013-09-14 Glenn Morris <rgm@gnu.org>
6828
6829 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6830
6831 2013-09-13 Glenn Morris <rgm@gnu.org>
6832
6833 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6834 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6835
6836 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6837
6838 * frame.el (x-focus-frame): Mark as declared in frame.c.
6839
6840 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * ls-lisp.el: Use advice-add.
6843 (original-insert-directory): Remove.
6844 (ls-lisp--insert-directory): Rename from insert-directory; add
6845 `orig-fun' argument.
6846 (insert-directory): Advise.
6847
6848 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6849
6850 * term.el (term-emulate-terminal): Decode the command string
6851 before passing it to term-command-hook. (Bug#15337)
6852
6853 2013-09-13 Glenn Morris <rgm@gnu.org>
6854
6855 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6856
6857 * eshell/esh-ext.el (eshell-search-path): Declare.
6858
6859 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6860 Otherwise an error occurs if eshell-dirs module not loaded.
6861
6862 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6863
6864 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6865
6866 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6867 `tramp-check-proper-host'. Check for a valid method name.
6868
6869 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6870 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6871 * net/tramp-sh.el (tramp-maybe-open-connection):
6872 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6873
6874 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6875 also for hash values.
6876
6877 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6878
6879 * term/ns-win.el (parameters): Don't declare as dynamic.
6880 (before-make-frame-hook): Don't add ineffective function.
6881
6882 * eshell/*.el: Use lexical-binding (bug#15231).
6883
6884 2013-09-12 Kenichi Handa <handa@gnu.org>
6885
6886 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6887
6888 2013-09-12 Glenn Morris <rgm@gnu.org>
6889
6890 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6891 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6892
6893 * subr.el (do-after-load-evaluation): Also give compiler warnings
6894 when obsolete files are used (except by obsolete files).
6895
6896 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6897 in the status output, assume `filename' is the first. (Bug#15322)
6898
6899 * vc/vc.el (vc-deduce-fileset): Doc fix.
6900
6901 * calc/calc-help.el (Info-goto-node):
6902 * progmodes/cperl-mode.el (Info-find-node):
6903 * vc/ediff.el (Info-goto-node): Update declarations.
6904
6905 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6906
6907 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6908 (vc-bzr-pull): Require vc-dispatcher.
6909 * vc/vc-git.el (vc-compilation-mode): Declare.
6910 (vc-git-pull): Require vc-dispatcher.
6911
6912 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6913
6914 * progmodes/octave.el (help-button-action): Declare.
6915
6916 * shell.el (shell-directory-tracker): Output error as a message
6917 rather than just returning it as a string.
6918 (shell-process-pushd): Remove useless use of message.
6919
6920 * dframe.el (dframe-timer-fn):
6921 * files.el (dir-locals-read-from-file):
6922 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6923 (mpc-format):
6924 * reveal.el (reveal-post-command):
6925 * saveplace.el (load-save-place-alist-from-file):
6926 * shell.el (shell-resync-dirs):
6927 * w32-common-fns.el (x-get-selection-value):
6928 * emacs-lisp/copyright.el (copyright-find-copyright):
6929 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6930 * emulation/tpu-edt.el (tpu-copy-keyfile):
6931 * play/bubbles.el (bubbles--mark-neighbourhood):
6932 * progmodes/executable.el
6933 (executable-make-buffer-file-executable-if-script-p):
6934 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6935
6936 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 Cleanup Eshell to rely less on dynamic scoping.
6939 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6940 last-value, and ext-command here. Bind `args' closer to `body'.
6941 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6942 (eshell--args): Declare new dynamic var.
6943 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6944 last-value, and ext-command. Pass `args' to `body'.
6945 (eshell-process-args): Bind eshell--args.
6946 (eshell-set-option): Use eshell--args.
6947 * eshell/eshell.el (eshell): Use derived-mode-p.
6948 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6949 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6950 (eshell-glob-function): Declare.
6951 * eshell/esh-util.el: Require cl-lib.
6952 (eshell-read-hosts-file): Avoid add-to-list.
6953 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6954 `err'.
6955 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6956 Declare.
6957 (eshell/diff): Remove unused var `err'.
6958 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6959 `killflag'.
6960 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6961 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6962 first use.
6963 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6964 Move declaration before first use.
6965 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6966 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6967 rely on cl-return.
6968
6969 2013-09-12 Glenn Morris <rgm@gnu.org>
6970
6971 * term/ns-win.el (global-map): Remove binding for ispell-next,
6972 deleted 1999-05-29. (Bug#15357)
6973
6974 2013-09-11 Glenn Morris <rgm@gnu.org>
6975
6976 * echistory.el (electric-command-history): Remove call to deleted func.
6977
6978 * play/landmark.el (landmark-mode): Fix typos.
6979
6980 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6981 Check cvs-sort-ignore-file is bound.
6982
6983 * savehist.el: No need for cl when compiling on Emacs.
6984
6985 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6986
6987 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6988 (bug#15338).
6989 (eshell-self-insert-command, eshell-send-invisible):
6990 Remove unused argument.
6991 (eshell-handle-control-codes): Remove unused var `orig'.
6992 Avoid delete-backward-char.
6993
6994 * files.el (set-auto-mode): Simplify a bit further.
6995
6996 2013-09-11 Glenn Morris <rgm@gnu.org>
6997
6998 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6999 (set-auto-mode): Don't regexp-quote elements.
7000 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7001 * progmodes/cc-mode.el (interpreter-mode-alist):
7002 * progmodes/ruby-mode.el (interpreter-mode-alist):
7003 Revert previous change.
7004
7005 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7006
7007 * play/snake.el (snake-mode):
7008 * play/mpuz.el (mpuz-mode):
7009 * play/landmark.el (lm-mode):
7010 * play/blackbox.el (blackbox-mode):
7011 * play/5x5.el (5x5-mode):
7012 * obsolete/options.el (Edit-options-mode):
7013 * net/quickurl.el (quickurl-list-mode):
7014 * net/newst-treeview.el (newsticker-treeview-mode):
7015 * mail/rmailsum.el (rmail-summary-mode):
7016 * mail/mspools.el (mspools-mode):
7017 * locate.el (locate-mode):
7018 * ibuffer.el (ibuffer-mode):
7019 * emulation/ws-mode.el (wordstar-mode):
7020 * emacs-lisp/debug.el (debugger-mode):
7021 * array.el (array-mode):
7022 * net/eudc.el (eudc-mode): Use define-derived-mode.
7023 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7024 Move initialization into declaration.
7025 (mairix-searches-mode): Use define-derived-mode.
7026 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7027 (eudc-edit-hotlist): Use dolist.
7028 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7029 (Man-mode): Use define-derived-mode.
7030 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7031 (Info-edit-mode): Use define-derived-mode.
7032 (Info-cease-edit): Use Info-mode.
7033 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7034 into declaration.
7035 (eshell-mode): Use define-derived-mode.
7036 * chistory.el (command-history-mode-map): Rename from
7037 command-history-map.
7038 (command-history-mode): Use define-derived-mode.
7039 (Command-history-setup): Remove function.
7040 * calc/calc.el (calc-trail-mode-map): New var.
7041 (calc-trail-mode): Use define-derived-mode.
7042 (calc-trail-buffer): Set calc-main-buffer manually.
7043 * bookmark.el (bookmark-insert-annotation): New function.
7044 (bookmark-edit-annotation): Use it.
7045 (bookmark-edit-annotation-mode): Make it a proper major mode.
7046 (bookmark-send-edited-annotation): Use derived-mode-p.
7047 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7048 closer to its ideal place. Use \' to match EOS.
7049
7050 * profiler.el (profiler-calltree-find): Use function-equal.
7051
7052 2013-09-10 Glenn Morris <rgm@gnu.org>
7053
7054 * files.el (interpreter-mode-alist): Convert to regexps.
7055 (set-auto-mode): Adapt for this. (Bug#15306)
7056 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7057 Comment out unused variable.
7058 * progmodes/cc-mode.el (interpreter-mode-alist):
7059 * progmodes/python.el (interpreter-mode-alist):
7060 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7061 * progmodes/sh-script.el (sh-set-shell):
7062 No longer use interpreter-mode-alist to get list of shells.
7063
7064 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7065
7066 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * simple.el: Use set-temporary-overlay-map for universal-argument.
7069 (universal-argument-map): Don't use default-bindings (bug#15317).
7070 Bind switch-frame explicitly. Replace universal-argument-minus with
7071 a conditional binding.
7072 (universal-argument-num-events, saved-overriding-map): Remove.
7073 (restore-overriding-map): Remove.
7074 (universal-argument--mode): Rename from save&set-overriding-map,
7075 and rewrite.
7076 (universal-argument, universal-argument-more, negative-argument)
7077 (digit-argument): Adjust accordingly.
7078 (universal-argument-minus): Remove.
7079 (universal-argument-other-key): Remove.
7080
7081 * subr.el (with-demoted-errors): Add `format' argument.
7082
7083 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7084
7085 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7086 `tramp-cleanup-connection'.
7087
7088 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7089 parameters KEEP-DEBUG and KEEP-PASSWORD.
7090
7091 * net/tramp.el (tramp-file-name-handler):
7092 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7093 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7094 (tramp-maybe-open-connection):
7095 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7096 Use `tramp-cleanup-connection'.
7097
7098 * net/tramp-sh.el (tramp-maybe-open-connection):
7099 Catch 'uname-changed inside the progress reporter.
7100
7101 2013-09-10 Glenn Morris <rgm@gnu.org>
7102
7103 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7104
7105 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7106 returns "alternate access method" in mode (eg "-rw-r--r--.").
7107
7108 2013-09-08 Glenn Morris <rgm@gnu.org>
7109
7110 * saveplace.el (load-save-place-alist-from-file):
7111 Demote errors. (Bug#15305)
7112
7113 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7114
7115 Improve compatibility with older Emacsen, and XEmacs.
7116
7117 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7118 only if it is bound. It isn't for XEmacs.
7119 (with-tramp-progress-reporter): Do not let-bind `result'.
7120 This yields to scoping errors in XEmacs.
7121 (tramp-handle-make-auto-save-file-name): New function, moved from
7122 tramp-sh.el.
7123
7124 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7125 for `make-auto-save-file-name'.
7126 (tramp-adb--gnu-switches-to-ash):
7127 Use `tramp-compat-replace-regexp-in-string'.
7128
7129 * net/tramp-cache.el (tramp-cache-print): Call
7130 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7131
7132 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7133 bound. It isn't for XEmacs.
7134
7135 * net/tramp-compat.el (tramp-compat-copy-file):
7136 Catch `wrong-number-of-arguments' error.
7137 (tramp-compat-replace-regexp-in-string): New defun.
7138
7139 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7140 for `make-auto-save-file-name'.
7141 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7142 `copy-file'.
7143 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7144 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7145 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7146
7147 * net/tramp-gw.el (tramp-gw-open-network-stream):
7148 Use `tramp-compat-replace-regexp-in-string'.
7149
7150 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7151 Call `tramp-handle-make-auto-save-file-name'.
7152 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7153 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7154 (tramp-sh-file-inotifywait-process-filter):
7155 Use `tramp-compat-replace-regexp-in-string'.
7156 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7157
7158 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7159 for `make-auto-save-file-name'.
7160 (tramp-smb-handle-copy-directory):
7161 Call `tramp-compat-replace-regexp-in-string'.
7162 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7163 (tramp-smb-handle-copy-file): Improve error message.
7164 (tramp-smb-handle-rename-file): Rename directly only in case
7165 `newname' does not exist yet. This is a restriction of smbclient.
7166 (tramp-smb-maybe-open-connection): Rerun the function only when
7167 `auth-sources' is non-nil.
7168
7169 2013-09-08 Kenichi Handa <handa@gnu.org>
7170
7171 * international/characters.el: Set category "^" (Combining) for
7172 more characters.
7173
7174 2013-09-07 Alan Mackenzie <acm@muc.de>
7175
7176 Correctly fontify Java class constructors.
7177 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7178 in Java Mode.
7179 (c-recognize-typeless-decls): Set the Java value to t.
7180 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7181 While handling a "(", add a check for, effectively, Java, and handle a
7182 "typeless" declaration there.
7183
7184 2013-09-07 Roland Winkler <winkler@gnu.org>
7185
7186 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7187 field subtitle for entry type book.
7188
7189 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7190
7191 * minibuffer.el: Make minibuffer-complete call completion-in-region
7192 rather than other way around.
7193 (completion--some, completion-pcm--find-all-completions):
7194 Don't delay signals when debugging.
7195 (minibuffer-completion-contents): Beware fields within the
7196 minibuffer contents.
7197 (completion-all-sorted-completions): Use defvar-local.
7198 (completion--do-completion, completion--cache-all-sorted-completions)
7199 (completion-all-sorted-completions, minibuffer-force-complete):
7200 Add args `beg' and `end'.
7201 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7202 (minibuffer-complete): Use completion-in-region.
7203 (completion-complete-and-exit): New fun, extracted from
7204 minibuffer-complete-and-exit.
7205 (minibuffer-complete-and-exit): Use it.
7206 (completion--complete-and-exit): Rename from
7207 minibuffer--complete-and-exit.
7208 (completion-in-region--single-word): New function, extracted from
7209 minibuffer-complete-word.
7210 (minibuffer-complete-word): Use it.
7211 (display-completion-list): Make `common-substring' argument obsolete.
7212 (completion--in-region): Call completion--in-region-1 instead of
7213 minibuffer-complete.
7214 (completion-help-at-point): Pass boundaries to
7215 minibuffer-completion-help as args rather than via an overlay.
7216 (completion-pcm--string->pattern): Use `any-delim'.
7217 (completion-pcm--optimize-pattern): New function.
7218 (completion-pcm--pattern->regex): Handle `any-delim'.
7219 * icomplete.el (icomplete-forward-completions)
7220 (icomplete-backward-completions, icomplete-completions):
7221 Adjust calls to completion-all-sorted-completions and
7222 completion--cache-all-sorted-completions.
7223 (icomplete-with-completion-tables): Default to t.
7224 * emacs-lisp/crm.el (crm--current-element): Rename from
7225 crm--select-current-element. Don't put an overlay but return the
7226 boundaries instead.
7227 (crm--completion-command): Take two new args to bind to the boundaries.
7228 (crm-completion-help): Adjust accordingly.
7229 (crm-complete): Use completion-in-region.
7230 (crm-complete-word): Use completion-in-region--single-word.
7231 (crm-complete-and-exit): Use completion-complete-and-exit.
7232
7233 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7234
7235 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7236 than dynamically.
7237
7238 2013-09-06 Juri Linkov <juri@jurta.org>
7239
7240 * info.el (Info-display-images-node): When image file doesn't exist
7241 display text version of the image if it's provided in the Info file.
7242 Otherwise, display the location of missing image from SRC attribute.
7243 Add help-echo text property from ALT attribute. (Bug#15279)
7244
7245 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7248 (edit-abbrevs-mode): Use define-derived-mode.
7249
7250 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7251 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7252 that it's defined.
7253 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7254 Use define-derived-mode.
7255
7256 * epg.el (epg-start-encrypt): Minor CSE simplification.
7257
7258 2013-09-06 William Xu <william.xwl@gmail.com>
7259
7260 * arc-mode.el: Add support for 7za (bug#15264).
7261 (archive-7z-program): New var.
7262 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7263 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7264 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7265
7266 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7267
7268 Remove URL syntax.
7269
7270 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7271 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7272 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7273 (tramp-postfix-host-format, tramp-file-name-regexp)
7274 (tramp-completion-file-name-regexp)
7275 (tramp-completion-dissect-file-name)
7276 (tramp-handle-substitute-in-file-name): Remove 'url case.
7277 (tramp-file-name-regexp-url)
7278 (tramp-completion-file-name-regexp-url): Remove constants.
7279
7280 2013-09-06 Glenn Morris <rgm@gnu.org>
7281
7282 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7283
7284 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7285
7286 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7287 keywords" below "here-doc beginnings" (Bug#15270).
7288
7289 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * subr.el (pop): Use `car-safe'.
7292 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7293 to detect unused `pop' return value.
7294
7295 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7296 var `block-regexp'.
7297 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7298 (python-fill-string): Remove unused var `marker'.
7299 (python-skeleton-add-menu-items): Remove unused var `items'.
7300
7301 * international/mule-cmds.el: Require CL.
7302 (find-coding-systems-for-charsets): Avoid add-to-list.
7303 (sanitize-coding-system-list): New function, extracted from
7304 select-safe-coding-system-interactively.
7305 (select-safe-coding-system-interactively): Use it.
7306 (read-input-method-name): Accept symbols for `default'.
7307
7308 * emacs-lisp/advice.el (defadvice): Add indent rule.
7309
7310 2013-09-05 Daniel Hackney <dan@haxney.org>
7311
7312 * dired-x.el:
7313 * net/ange-ftp.el:
7314 * net/browse-url.el:
7315 * net/dbus.el:
7316 * net/eudc.el:
7317 * net/eudcb-ldap.el:
7318 * net/eww.el:
7319 * net/imap.el:
7320 * printing.el:
7321 * vc/ediff-diff.el:
7322 * vc/ediff-init.el:
7323 * vc/ediff-merg.el:
7324 * vc/ediff-mult.el:
7325 * vc/ediff-util.el:
7326 * vc/ediff-wind.el:
7327 * vc/ediff.el:
7328 * vc/emerge.el:
7329 * vc/pcvs.el:
7330 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7331 byte compiler. Remove some unused let-bound variables.
7332
7333 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7334
7335 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7336 a "ref-cell", since it gets better optimized (bug#14883).
7337
7338 2013-09-05 Glenn Morris <rgm@gnu.org>
7339
7340 * progmodes/cc-awk.el (c-forward-sws): Declare.
7341
7342 2013-09-04 Glenn Morris <rgm@gnu.org>
7343
7344 * generic-x.el [rul-generic-mode]: Require cc-mode.
7345 (c++-mode-syntax-table): Declare.
7346 (rul-generic-mode-syntax-table): Init in the defvar.
7347
7348 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7351 (vc-do-command, vc-set-async-update):
7352 * vc/vc-mtn.el (vc-mtn-dir-status):
7353 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7354 (vc-hg-pull, vc-hg-merge-branch):
7355 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7356 (vc-git-merge-branch):
7357 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7358 (vc-cvs-dir-status-files):
7359 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7360 (vc-bzr-dir-status-files):
7361 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7362 * vc/vc-annotate.el: Use lexical-binding.
7363 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7364 (vc-sentinel-movepoint): Declare.
7365 (vc-annotate): Don't use `goto-line'.
7366 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7367 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7368 (vc-sentinel-movepoint): Declare.
7369 * vc/vc-svn.el: Use lexical-binding.
7370 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7371 * vc/vc-sccs.el:
7372 * vc/vc-rcs.el: Use lexical-binding.
7373
7374 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7375 `deleted'. Don't drop errors silently.
7376
7377 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7378
7379 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7380
7381 * vc/vc.el (vc-ignore): Rewrite.
7382 (vc-default-ignore): New function.
7383 (vc-default-ignore-completion-table): Use find-ignore-file.
7384
7385 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7386 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7387 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7388 Remove. Most code moved to vc.el.
7389
7390 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7393 * net/tramp-smb.el (tramp-smb-get-file-entries):
7394 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7395 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7396
7397 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7398 Update call to it.
7399 (eww-change-select): Remove unused var `properties'.
7400 (eww-make-unique-file-name): Remove unused var `base'.
7401
7402 * finder.el (finder-compile-keywords): Don't mess with windows.
7403
7404 * calculator.el (calculator-funcall): Fix typo in last change.
7405
7406 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7407
7408 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7409 <pkg>-autoloads.el file stop us.
7410
7411 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7412 warnings, and factor out common code.
7413
7414 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7415
7416 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7417 two-character operators and whether the character preceding them
7418 changes their meaning (Bug#15208).
7419
7420 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7421
7422 Format code sent to Python shell for robustness.
7423 * progmodes/python.el (python-shell-buffer-substring):
7424 New function.
7425 (python-shell-send-region, python-shell-send-buffer): Use it.
7426
7427 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7428
7429 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7430 * net/tramp.el (tramp-user-error): ... here.
7431 (tramp-find-method, tramp-check-proper-host)
7432 (tramp-dissect-file-name, tramp-debug-message)
7433 (tramp-handle-shell-command):
7434 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7435 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7436
7437 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7438
7439 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7440
7441 * avoid.el (mouse-avoidance-point-position)
7442 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7443 returns nil.
7444
7445 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7446
7447 * progmodes/python.el (python-shell-completion-get-completions):
7448 Drop use of deleted `comint-last-prompt-overlay'.
7449 (python-nav-if-name-main): New command.
7450
7451 2013-09-01 Glenn Morris <rgm@gnu.org>
7452
7453 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7454 Avoid leading space in $wins. Otherwise the sed command used by
7455 eg compile-main ends up containing "/*.el". (Bug#15170)
7456
7457 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7458
7459 2013-08-30 Glenn Morris <rgm@gnu.org>
7460
7461 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7462 Fix is-this-a-directory logic. (Bug#15220)
7463
7464 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7465
7466 * textmodes/css-mode.el: Use SMIE.
7467 (css-smie-grammar): New var.
7468 (css-smie--forward-token, css-smie--backward-token)
7469 (css-smie-rules): New functions.
7470 (css-mode): Use them.
7471 (css-navigation-syntax-table): Remove var.
7472 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7473 (css-indent-calculate, css-indent-line): Remove functions.
7474
7475 Misc changes to reduce use of `(lambda...); and other cleanups.
7476 * cus-edit.el: Use lexical-binding.
7477 (customize-push-and-save, customize-apropos)
7478 (custom-buffer-create-internal): Use closures.
7479 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7480 * progmodes/ada-xref.el: Use setq.
7481 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7482 * dframe.el: Use lexical-binding.
7483 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7484 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7485 * descr-text.el: Use lexical-binding.
7486 (describe-text-widget, describe-text-sexp, describe-property-list):
7487 Use closures.
7488 * comint.el (comint-history-isearch-push-state): Use a closure.
7489 * calculator.el: Use lexical-binding.
7490 (calculator-number-to-string): Make it work with lexical-binding.
7491 (calculator-funcall): Same and use cl-letf.
7492
7493 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7494 (lisp--company-doc-string, lisp--company-location): New functions.
7495 (lisp-completion-at-point): Use them to improve Company support.
7496
7497 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7498 params of lambda expressions.
7499 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7500 (ruby-smie--opening-pipe-p): New function.
7501 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7502 symbols and matched |...| for formal params.
7503 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7504 from being treated as hanging. Handle "rescue".
7505
7506 2013-08-29 Glenn Morris <rgm@gnu.org>
7507
7508 * progmodes/cc-engine.el (c-pull-open-brace):
7509 Move definition before use.
7510
7511 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7512
7513 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7514 are immutable. Don't use `unsafe' any more.
7515 (cl--defsubst-expand): Don't substitute at the same time as keeping
7516 a residual unused let-binding. Don't use `unsafe' any more.
7517
7518 2013-08-29 Glenn Morris <rgm@gnu.org>
7519
7520 * calendar/cal-china.el (calendar-chinese-year-cache):
7521 Recenter on 2015.
7522
7523 * nxml/nxml-util.el (nxml-debug-clear-inside):
7524 Use cl-loop rather than loop.
7525
7526 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7527
7528 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7529
7530 2013-08-28 Glenn Morris <rgm@gnu.org>
7531
7532 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7533
7534 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7535
7536 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7537
7538 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * simple.el (repeat-complex-command--called-interactively-skip):
7541 New function.
7542 (repeat-complex-command): Use it (bug#14136).
7543
7544 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7545 (c-define-abbrev-table): Add `doc' argument.
7546 (c-mode-abbrev-table, c++-mode-abbrev-table)
7547 (objc-mode-abbrev-table, java-mode-abbrev-table)
7548 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7549 (awk-mode-abbrev-table): Use it.
7550 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7551 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7552 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7553 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7554 Move initialization into the declaration; and remove any
7555 autoload cookie.
7556
7557 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7558 and dynamic let binding.
7559
7560 * vc/smerge-mode.el: Remove redundant :group args.
7561
7562 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7563 to load-path.
7564
7565 2013-08-28 Juri Linkov <juri@jurta.org>
7566
7567 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7568 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7569 (isearch-other-meta-char): Handle an undefined shifted printing
7570 character by downshifting it. (Bug#15200)
7571
7572 2013-08-28 Juri Linkov <juri@jurta.org>
7573
7574 * isearch.el (isearch-search): Change regexp error message for
7575 non-regexp searches. (Bug#15166)
7576
7577 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7578
7579 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7580 for portability to hosts where /bin/sh has problems.
7581
7582 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7585
7586 2013-08-27 Juri Linkov <juri@jurta.org>
7587
7588 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7589 in the keyboard macro. (Bug#15126)
7590
7591 2013-08-27 Juri Linkov <juri@jurta.org>
7592
7593 * isearch.el (isearch-quote-char): Comment out converting unibyte
7594 to multibyte, thus syncing with its `quoted-insert' counterpart.
7595 (Bug#15166)
7596
7597 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7598
7599 * window.el (display-buffer-use-some-window): Add missing
7600 argument in call of get-largest-window (Bug#15185).
7601 Reported by Stephen Leake.
7602
7603 2013-08-27 Glenn Morris <rgm@gnu.org>
7604
7605 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7606
7607 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7608
7609 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7610 from a matcher-function unless there's no more matches (bug#15161).
7611
7612 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7613
7614 * minibuffer.el: Revert change from 2013-08-20.
7615
7616 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7617 with text property `tramp-default', if appropriate.
7618 (tramp-check-proper-host): New defun.
7619 (tramp-dissect-file-name): Do not check hostname. Revert change
7620 of 2013-03-18.
7621 (tramp-backtrace): Make VEC-OR-PROC optional.
7622
7623 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7624 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7625 * net/tramp-sh.el (tramp-maybe-open-connection):
7626 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7627 Apply `tramp-check-proper-host'.
7628
7629 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7630
7631 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7632 lambda expression in order to have `describe-variable' display it.
7633
7634 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7635
7636 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7637 BUF can be optional. (Bug#15186)
7638
7639 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7640
7641 * progmodes/flymake.el (flymake-get-real-file-name-function):
7642 Fix broken customization. (Bug#15184)
7643
7644 2013-08-25 Alan Mackenzie <acm@muc.de>
7645
7646 Improve indentation of bracelists defined by macros (without "=").
7647
7648 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7649 expansion begins with "{", regard it as bracelist when it doesn't
7650 contain a ";".
7651
7652 Parse C++ inher-intro when there's a template split over 2 lines.
7653
7654 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7655 rigorously the search for "class" etc. followed by ":".
7656
7657 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7658 random languages a regexp which never matches rather than nil.
7659
7660 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7661
7662 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7663 (c-awk-regexp-one-line-possibly-open-char-list-re)
7664 (c-awk-one-line-possibly-open-regexp-re)
7665 (c-awk-one-line-non-syn-ws*-re): Remove.
7666 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7667 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7668 (c-awk-space*-unclosed-regexp-/-re): New constants.
7669 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7670 aren't regexp delimiters.
7671
7672 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7673 handling for a rare situation in AWK Mode involving unterminated
7674 strings/regexps.
7675
7676 2013-08-23 Glenn Morris <rgm@gnu.org>
7677
7678 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7679
7680 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7681
7682 * files.el (create-file-buffer): If the result would begin with
7683 spaces, prepend a "|" instead of removing them. (Bug#15162)
7684
7685 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7686
7687 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7688 text-properties (bug#15155).
7689
7690 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7691 exist any more.
7692 (calc-keypad-redraw): Remove unused var `pad'.
7693 (calc-keypad-press): Remove unused var `menu'.
7694
7695 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7696
7697 * window.el (display-buffer-pop-up-frame):
7698 Call pop-up-frame-function with BUFFER current so `make-frame' will
7699 use it as the new frame's buffer (Bug#15133).
7700
7701 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7702
7703 * calendar/timeclock.el: Minor cleanups.
7704 (timeclock-ask-before-exiting, timeclock-use-display-time):
7705 Use `symbol'.
7706 (timeclock-modeline-display): Define as alias before the
7707 actual definition.
7708 (timeclock-mode-line-display): Use define-minor-mode.
7709 (timeclock-day-list-template): Make it a function, add an argument.
7710 (timeclock-day-list-required, timeclock-day-list-length)
7711 (timeclock-day-list-debt, timeclock-day-list-span)
7712 (timeclock-day-list-break): Adjust calls accordingly.
7713
7714 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7717 Use read--expression so that completion works again.
7718
7719 2013-08-21 Sam Steingold <sds@gnu.org>
7720
7721 Add rudimentary inferior shell interaction
7722 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7723 (sh-set-shell): Reset it.
7724 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7725 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7726
7727 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7729 * align.el: Use lexical-binding.
7730 (align-region): Simplify accordingly.
7731
7732 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7733
7734 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7735
7736 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7737 `non-essential' up.
7738
7739 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7740
7741 * net/tramp.el:
7742 * net/tramp-adb.el:
7743 * net/tramp-cmds.el:
7744 * net/tramp-ftp.el:
7745 * net/tramp-gvfs.el:
7746 * net/tramp-gw.el:
7747 * net/tramp-sh.el: Don't wrap external variable declarations by
7748 `eval-when-compile'.
7749
7750 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7751
7752 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7753 now that Emacs supports ImageMagick animations.
7754
7755 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7756
7757 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7758 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7759
7760 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7761
7762 * window.el (mouse-autoselect-window-select): Do autoselect when
7763 mouse pointer is on margin.
7764
7765 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7766
7767 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7768
7769 2013-08-16 Glenn Morris <rgm@gnu.org>
7770
7771 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7772 Handle "Remote Directory" response of some clients. (Bug#15058)
7773
7774 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7775 Tweak warning. (Bug#14926)
7776
7777 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7778 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7779
7780 * image-mode.el (image-mode-map): Add menu items to reverse,
7781 increase, decrease, reset animation speed.
7782 (image--set-speed, image-increase-speed, image-decrease-speed)
7783 (image-reverse-speed, image-reset-speed): New functions.
7784 (image-mode-map): Add bindings for speed commands.
7785
7786 * image.el (image-animate-get-speed, image-animate-set-speed):
7787 New functions.
7788 (image-animate-timeout): Respect image :speed property.
7789
7790 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7793 previous line (bug#15101).
7794 (debugger-eval-expression, debugger-record-expression):
7795 Use read--expression (bug#15102).
7796
7797 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7798
7799 Remove byte compiler warnings, visible when compiling with
7800 `byte-compile-force-lexical-warnings' set to t.
7801
7802 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7803 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7804 (tramp-handle-unhandled-file-name-directory)
7805 (tramp-handle-file-notify-add-watch, tramp-action-login)
7806 (tramp-action-succeed, tramp-action-permission-denied)
7807 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7808 arguments with "_".
7809
7810 * net/tramp-adb.el (tramp-adb-parse-device-names)
7811 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7812 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7813 (tramp-adb-handle-file-truename): Remove unused arguments.
7814
7815 * net/tramp-cache.el (tramp-flush-directory-property)
7816 (tramp-flush-connection-property, tramp-list-connections)
7817 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7818
7819 * net/tramp-compat.el (tramp-compat-make-temp-file):
7820 Rename FILENAME to F.
7821
7822 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7823 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7824 (tramp-zeroconf-parse-workstation-device-names)
7825 (tramp-zeroconf-parse-webdav-device-names)
7826 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7827
7828 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7829 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7830
7831 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7832 arguments.
7833 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7834 (tramp-sh-handle-insert-file-contents-literally)
7835 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7836 with "_".
7837 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7838 Remove unused variables.
7839
7840 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7841 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7842 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7843
7844 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7845 Make them a defconst.
7846 (tramp-uuencode-region): Remove unused variable.
7847
7848 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7849
7850 * frameset.el (frameset--prop-setter): New function.
7851 (frameset-prop): Add gv-setter declaration.
7852 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7853 parameter was already set in FILTERED. Doc fix.
7854 (frameset--record-minibuffer-relationships): Allow saving a
7855 minibufferless frame without its corresponding minibuffer frame.
7856 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7857 frame, if the frame id matches.
7858 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7859 frames before orphaned ones.
7860 (frameset-restore): Warn about orphaned windows, instead of error out.
7861
7862 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7863
7864 * window.el (window-make-atom): Don't overwrite parameter
7865 already present.
7866 (display-buffer-in-atom-window): Handle special case where we
7867 split an already atomic window.
7868 (window--major-non-side-window, display-buffer-in-side-window)
7869 (window--side-check): Ignore minibuffer window when walking
7870 window tree.
7871 (window-deletable-p): Return 'frame only if no other frame uses
7872 our minibuffer window.
7873 (record-window-buffer): Run buffer-list-update-hook.
7874 (split-window): Make sure window--check-frame won't destroy an
7875 existing atomic window in case the new window gets nested
7876 inside.
7877 (display-buffer-at-bottom): Ignore minibuffer window when
7878 walking window tree. Don't split a side window.
7879 (pop-to-buffer): Don't set-buffer here, the select-window call
7880 should do that.
7881 (mouse-autoselect-window-select): Autoselect only if we are in the
7882 text portion of the window.
7883
7884 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7885
7886 * net/shr.el (shr-parse-image-data): New function to grab both the
7887 data itself and the Content-Type.
7888 (shr-put-image): Use it.
7889
7890 * net/eww.el (eww-display-image): Ditto.
7891
7892 * image.el (image-content-type-suffixes): New variable.
7893
7894 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7895
7896 * progmodes/python.el (python-imenu--build-tree)
7897 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7898
7899 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7900
7901 * simple.el (backward-word): Mention the optional argument.
7902
7903 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * frameset.el (frameset--make): Rename constructor from make-frameset.
7906 (frameset-p, frameset-valid-p): Don't autoload.
7907 (frameset-valid-p): Use normal accessors.
7908
7909 2013-08-13 Glenn Morris <rgm@gnu.org>
7910
7911 * progmodes/compile.el (compile-command): Tweak example in doc.
7912 * obsolete/scribe.el (scribe-mode):
7913 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7914
7915 * mail/feedmail.el (feedmail-confirm-outgoing)
7916 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7917
7918 * cus-start.el (truncate-partial-width-windows): Fix type.
7919
7920 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7921
7922 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7923
7924 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7925
7926 * emacs-lisp/timer.el (timer--time-setter): New function.
7927 (timer--time): Use it as gv-setter.
7928
7929 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7930 setter is not a symbol.
7931
7932 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7933
7934 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7935 if sending fails. This makes debugging easier.
7936
7937 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7938
7939 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7940 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7941 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7942
7943 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7944
7945 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7946
7947 2013-08-12 Glenn Morris <rgm@gnu.org>
7948
7949 * format.el (format-annotate-function):
7950 Handle read-only text properties in the source. (Bug#14887)
7951
7952 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7953
7954 * net/eww.el (eww-display-html): Ignore coding system errors.
7955 One web site uses "utf-8lias" as the coding system.
7956
7957 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7958
7959 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7960
7961 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7962
7963 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7964 (tutorial--detailed-help): Remove unused local variables.
7965 (tutorial--save-tutorial-to): Use ignore-errors.
7966 (help-with-tutorial): Use looking-at-p.
7967
7968 * view.el (view-buffer-other-window, view-buffer-other-frame):
7969 Mark unused arguments.
7970
7971 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7972 (woman-select-symbol-fonts, woman, woman-find-file)
7973 (woman-insert-file-contents, woman-non-underline-faces):
7974 Use string-match-p.
7975 (woman1-unquote): Move declaration.
7976
7977 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7978 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7979 argument. Remove unused local variable.
7980 (xml-parse-elem-type): Use string-match-p.
7981 (xml-substitute-numeric-entities): Use ignore-errors.
7982
7983 * calculator.el (calculator): Mark unused argument.
7984 (calculator-paste, calculator-quit, calculator-integer-p):
7985 Use ignore-errors.
7986 (calculator-string-to-number, calculator-decimal, calculator-exp)
7987 (calculator-op-or-exp): Use string-match-p.
7988
7989 * dired.el (dired-buffer-more-recently-used-p): Declare.
7990 (dired-insert-set-properties, dired-insert-old-subdirs):
7991 Use ignore-errors.
7992
7993 * dired-aux.el (dired-compress): Use ignore-errors.
7994 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7995 (dired-do-async-shell-command, dired-do-shell-command)
7996 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7997 (dired-insert-subdir-validate): Use string-match-p.
7998 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7999 (dired-add-entry): Use string-match-p, looking-at-p.
8000 (dired-insert-subdir-newpos): Remove unused local variable.
8001
8002 * filenotify.el (file-notify-callback): Remove unused local variable.
8003
8004 * filesets.el (filesets-error): Mark unused argument.
8005 (filesets-which-command-p, filesets-filter-dir-names)
8006 (filesets-directory-files, filesets-get-external-viewer)
8007 (filesets-ingroup-get-data): Use string-match-p.
8008
8009 * find-file.el (ff-other-file-name, ff-other-file-name)
8010 (ff-find-the-other-file, ff-cc-hh-converter):
8011 Remove unused local variables.
8012 (ff-get-file-name): Use string-match-p.
8013 (ff-all-dirs-under): Use ignore-errors.
8014
8015 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8016 (follow-select-if-visible): Remove unused local variable.
8017
8018 * forms.el (read-file-filter): Move declaration.
8019 (forms--make-format, forms--make-parser, forms-insert-record):
8020 Quote function with #'.
8021 (forms--update): Use string-match-p. Quote function with #'.
8022
8023 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8024 (help-make-xrefs): Use looking-at-p.
8025 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8026
8027 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8028 (ibuffer-confirm-operation-on): Use string-match-p.
8029
8030 * msb.el (msb-item-handler, msb-dired-item-handler):
8031 Mark unused arguments.
8032
8033 * ses.el (ses-decode-cell-symbol)
8034 (ses-kill-override): Remove unused local variable.
8035 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8036 (ses-load): Use ignore-errors, looking-at-p.
8037 (ses-jump-safe): Use ignore-errors.
8038 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8039
8040 * tabify.el (untabify, tabify): Mark unused arguments.
8041
8042 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8043 Mark unused argument.
8044 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8045 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8046
8047 * emacs-lisp/timer.el (timer--time): Define setter with
8048 gv-define-setter to avoid deprecation warning.
8049
8050 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8051 (*record-cmpl-statistics-p*): Remove (was commented out).
8052 (cmpl-statistics-block): Remove (body was commented out).
8053 All callers changed.
8054 (add-completions-from-buffer, load-completions-from-file):
8055 Remove unused variables.
8056
8057 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8058
8059 * filecache.el (file-cache-delete-file-list):
8060 Print message only when told so.
8061 (file-cache-files-matching): Use #' in mapconcat argument.
8062
8063 * ffap.el (ffap-url-at-point): Fix reference to variable
8064 thing-at-point-default-mail-uri-scheme.
8065
8066 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8067
8068 * subr.el (define-error): New function.
8069 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8070 error-file-not-found and define with define-error.
8071 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8072 and define with define-error.
8073 * userlock.el (file-locked, file-supersession):
8074 * simple.el (mark-inactive):
8075 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8076 * progmodes/ada-mode.el (ada-mode-errors):
8077 * play/life.el (life-extinct):
8078 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8079 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8080 * nxml/rng-util.el (rng-error):
8081 * nxml/rng-uri.el (rng-uri-error):
8082 * nxml/rng-match.el (rng-compile-error):
8083 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8084 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8085 * nxml/nxml-rap.el (nxml-scan-error):
8086 * nxml/nxml-outln.el (nxml-outline-error):
8087 * net/soap-client.el (soap-error):
8088 * net/gnutls.el (gnutls-error):
8089 * net/ange-ftp.el (ftp-error):
8090 * mpc.el (mpc-proc-error):
8091 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8092 (json-number-format, json-string-escape, json-string-format)
8093 (json-key-format, json-object-format):
8094 * jka-compr.el (compression-error):
8095 * international/quail.el (quail-error):
8096 * international/kkc.el (kkc-error):
8097 * emacs-lisp/ert.el (ert-test-failed):
8098 * calc/calc.el (calc-error, inexact-result, math-overflow)
8099 (math-underflow):
8100 * bookmark.el (bookmark-error-no-filename):
8101 * epg.el (epg-error): Define with define-error.
8102
8103 * time.el (display-time-event-handler)
8104 (display-time-next-load-average): Don't call sit-for since it seems
8105 unnecessary (bug#15045).
8106
8107 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8108 Use #' instead of ' to quote functions.
8109 (checkdoc-output-mode): Use setq-local.
8110 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8111 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8112 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8113 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8114 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8115 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8116 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8117 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8118
8119 * ido.el (ido-completion-help): Fix up compiler warning.
8120
8121 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8122
8123 * frameset.el (frameset-p): Add autoload cookie.
8124 (frameset--jump-to-register): New function, based on code moved from
8125 register.el.
8126 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8127
8128 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8129 (frameset-restore, frameset-save, frameset-session-filter-alist):
8130 Remove declarations.
8131 (register-alist): Doc fix.
8132 (frameset-to-register): Move to frameset.el.
8133 (jump-to-register, describe-register-1): Remove frameset-specific code.
8134
8135 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8136
8137 * allout-widgets.el (allout-widgets-pre-command-business)
8138 (allout-widgets-post-command-business)
8139 (allout-widgets-after-change-handler)
8140 (allout-decorate-item-and-context, allout-set-boundary-marker)
8141 (allout-body-modification-handler)
8142 (allout-graphics-modification-handler): Mark ignored arguments.
8143 (allout-widgets-post-command-business)
8144 (allout-widgets-exposure-change-processor)
8145 (allout-widgets-exposure-undo-processor)
8146 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8147 (allout-parse-item-at-point, allout-decorate-item-guides)
8148 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8149 * allout.el (epa-passphrase-callback-function): Declare.
8150 (allout-overlay-insert-in-front-handler)
8151 (allout-overlay-interior-modification-handler)
8152 (allout-isearch-end-handler, allout-chart-siblings)
8153 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8154 (allout-yank-processing, allout-process-exposed)
8155 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8156 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8157 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8158 (lisp-indent-defform): Mark ignored arguments.
8159 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8160 (calculate-lisp-indent): Remove unused variables.
8161 * international/characters.el (indian-2-column, arabic-2-column)
8162 (tibetan): Mark ignored arguments.
8163 (use-cjk-char-width-table): Mark ignored arguments.
8164 Remove unused variables.
8165 * international/fontset.el (build-default-fontset-data)
8166 (x-compose-font-name, create-fontset-from-fontset-spec):
8167 Mark ignored arguments.
8168 (fontset-plain-name): Remove unused variables.
8169 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8170 (keyboard-coding-system): Mark ignored arguments.
8171 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8172 * help.el (resize-temp-buffer-window):
8173 * window.el (display-buffer-in-major-side-window)
8174 (display-buffer-in-side-window, display-buffer-in-previous-window):
8175 Remove unused variables.
8176 * isearch.el (isearch-forward-symbol):
8177 * version.el (emacs-bzr-version-bzr):
8178 * international/mule-cmds.el (current-language-environment):
8179 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8180 (x-handle-display):
8181 * term/pc-win.el (x-list-fonts, x-display-planes)
8182 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8183 (x-server-version, x-display-screens, x-display-mm-height)
8184 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8185 (x-selection-owner-p, x-own-selection-internal)
8186 (x-disown-selection-internal, x-get-selection-internal)
8187 (msdos-initialize-window-system):
8188 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8189 * term/x-win.el (x-handle-no-bitmap-icon):
8190 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8191 (vc-default-find-file-hook, vc-default-extra-menu):
8192 Mark ignored arguments.
8193
8194 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8195
8196 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8197 break-condition in the context of the debugged code (bug#12685).
8198
8199 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8200
8201 * comint.el:
8202 Do not use an overlay to highlight the last prompt. (Bug#14744)
8203 (comint-mode): Make comint-last-prompt buffer local.
8204 (comint-last-prompt): New variable.
8205 (comint-last-prompt-overlay): Remove. Superseded by
8206 comint-last-prompt.
8207 (comint-snapshot-last-prompt, comint-output-filter):
8208 Use comint-last-prompt.
8209
8210 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8211
8212 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8213 (frameset-save): Check validity of the resulting frameset.
8214
8215 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8216
8217 * ido.el (ido-record-command): Add doc string.
8218
8219 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8220
8221 * frameset.el (frameset): Do not disable creation of the default
8222 frameset-p predicate. Doc fix.
8223 (frameset-valid-p): New function, copied from the old predicate-p.
8224 Add additional checks.
8225 (frameset-restore): Check with frameset-valid-p.
8226 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8227 (frameset-name, frameset-description, frameset-properties)
8228 (frameset-states): Add docstring.
8229 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8230 (frameset-filter-alist): Doc fixes.
8231
8232 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8233
8234 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8235
8236 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8237
8238 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8239 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8240 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8241 (byte-compile-normal-call): Remove obsolescence check.
8242
8243 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8244
8245 * frameset.el (frameset-restore): Doc fix.
8246
8247 * register.el (frameset-frame-id, frameset-frame-with-id)
8248 (frameset-p, frameset-restore, frameset-save): Declare.
8249 (register-alist): Document framesets.
8250 (frameset-session-filter-alist): Declare.
8251 (frameset-to-register): New function.
8252 (jump-to-register): Implement jumping to framesets. Doc fix.
8253 (describe-register-1): Describe framesets.
8254
8255 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8256
8257 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8258
8259 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8260 Use lexical-binding.
8261
8262 * frameset.el (frameset): Use type vector, not list (incompatible
8263 change). Do not declare a new constructor, use the default one.
8264 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8265 `name' and `description', respectively, and add read-only slot
8266 `timestamp'. Doc fixes.
8267 (frameset-copy, frameset-persistent-filter-alist)
8268 (frameset-filter-alist, frameset-switch-to-gui-p)
8269 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8270 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8271 (frameset-filter-iconified, frameset-keep-original-display-p):
8272 Doc fixes.
8273 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8274 Rename from frameset-filter-(save|restore)-param. All callers changed.
8275 Doc fix.
8276 (frameset-p): Adapt to change to vector and be more thorough.
8277 Change arg name to OBJECT. Doc fix.
8278 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8279 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8280 All callers changed.
8281 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8282 All callers changed.
8283 (frameset--record-minibuffer-relationships): Rename from
8284 frameset--process-minibuffer-frames. All callers changed.
8285 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8286 Use new default constructor (again). Doc fix.
8287 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8288 All callers changed.
8289 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8290 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8291 Doc fix.
8292 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8293 PARAMETERS and WINDOW-STATE, respectively.
8294 (frameset-restore): Add new keyword argument PREDICATE.
8295 Reset frameset--target-display to nil. Doc fix.
8296
8297 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8298
8299 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8300 (bat-mode): Use it.
8301 (bat-mode-syntax-table): Mark \n as end-of-comment.
8302 (bat-font-lock-keywords): Remove comment rule.
8303
8304 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8305 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8306
8307 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8308 (byte-compile-callargs-warn): Use `push'.
8309 (byte-compile-arglist-warn): Ignore higher-order "calls".
8310 (byte-compile-file-form-autoload): Use `pcase'.
8311 (byte-compile-function-form): If quoting a symbol, check that it exists.
8312
8313 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8314
8315 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8316 and add a few popular commands found in batch files.
8317 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8318 (dos-mode): Doc fixes.
8319
8320 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8323 (dos-mode): Use setq-local. Add space after "rem".
8324 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8325 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8326
8327 2013-08-07 Arni Magnusson <arnima@hafro.is>
8328
8329 * progmodes/dos.el: New file.
8330 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8331 dos-mode.
8332
8333 2013-08-06 Glenn Morris <rgm@gnu.org>
8334
8335 * calendar/calendar.el: Add new faces, and day-header-array.
8336 (calendar-weekday-header, calendar-weekend-header)
8337 (calendar-month-header): New faces.
8338 (calendar-day-header-construct): New function.
8339 (calendar-day-header-width): Also :set calendar-day-header-array.
8340 (calendar-american-month-header, calendar-european-month-header)
8341 (calendar-iso-month-header): Use calendar- faces.
8342 (calendar-generate-month):
8343 Use calendar-day-header-array for day headers; apply faces to them.
8344 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8345 (calendar-abbrev-construct): Add optional maxlen argument.
8346 (calendar-day-name-array): Doc fix.
8347 (calendar-day-name-array, calendar-abbrev-length)
8348 (calendar-day-abbrev-array):
8349 Also :set calendar-day-header-array, and maybe redraw.
8350 (calendar-day-header-array): New option. (Bug#15007)
8351 (calendar-font-lock-keywords): Set to nil and make obsolete.
8352 (calendar-day-name): Add option to use header array.
8353
8354 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8355
8356 * net/shr.el (shr-render-td): Remove debugging.
8357 (shr-render-td): Make width computation consistent by defaulting
8358 all zero-width columns to 10 characters. This may not be optimal,
8359 but it's at least consistent.
8360 (shr-make-table-1): Redo last change to fix the real problem in
8361 colspan handling.
8362
8363 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8364
8365 * files.el (cache-long-line-scans):
8366 Make obsolete alias to `cache-long-scans'.
8367
8368 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8369
8370 * frameset.el (frameset, frameset-filter-alist)
8371 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8372 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8373 (frameset-compute-pos): Rename from frameset--compute-pos,
8374 and add docstring.
8375 (frameset-move-onscreen): Use frameset-compute-pos.
8376 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8377
8378 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8379 Fix typos in docstrings.
8380
8381 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8382
8383 * frame.el (get-other-frame): Tiny cleanup.
8384
8385 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8386
8387 * vc/vc.el (vc-default-ignore-completion-table):
8388 Silence byte-compiler warning.
8389
8390 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8391 slot, which can indeed be nil.
8392 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8393 Move entry for `left' from persistent to live filter alist.
8394 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8395 Doc fixes.
8396 (frameset-filter-params): When restoring a frame, copy items added to
8397 `filtered', to avoid unwittingly modifying the original parameters.
8398 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8399 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8400
8401 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8402 to use looking-at-p instead of looking-at. (Bug#15028)
8403
8404 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 Revert introduction of isearch-filter-predicates (bug#14714).
8407 Rely on add-function instead.
8408 * isearch.el (isearch-filter-predicates): Rename it back to
8409 isearch-filter-predicate.
8410 (isearch-message-prefix): Use advice-function-mapc and advice
8411 properties to get the isearch-message-prefix.
8412 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8413 instead of run-hook-with-args-until-failure.
8414 (isearch-filter-visible): Not obsolete any more.
8415 * loadup.el: Preload nadvice.
8416 * replace.el (perform-replace): Revert to funcall
8417 instead of run-hook-with-args-until-failure.
8418 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8419 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8420 dired-isearch-filenames-toggle; make it into a proper minor mode.
8421 Use add/remove-function.
8422 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8423 Call the minor-mode rather than add/remove-hook.
8424 (dired-isearch-filter-filenames):
8425 Remove isearch-message-prefix property.
8426 * info.el (Info--search-loop): New function, extracted from Info-search.
8427 Funcall isearch-filter-predicate instead of
8428 run-hook-with-args-until-failure isearch-filter-predicates.
8429 (Info-search): Use it.
8430 (Info-mode): Use isearch-filter-predicate instead of
8431 isearch-filter-predicates.
8432
8433 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8434
8435 Do not call to `selected-window' where it is assumed by default.
8436 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8437 `window-hscroll', `window-width', `window-height', `window-buffer',
8438 `window-frame', `window-start', `window-point', `next-window'
8439 and `window-display-table'.
8440 * abbrev.el (abbrev--default-expand):
8441 * bs.el (bs--show-with-configuration):
8442 * buff-menu.el (Buffer-menu-mouse-select):
8443 * calc/calc.el (calc):
8444 * calendar/calendar.el (calendar-generate-window):
8445 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8446 (diary-make-entry):
8447 * comint.el (send-invisible, comint-dynamic-complete-filename)
8448 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8449 * completion.el (complete):
8450 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8451 * disp-table.el (describe-current-display-table):
8452 * doc-view.el (doc-view-insert-image):
8453 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8454 * ehelp.el (with-electric-help):
8455 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8456 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8457 * emacs-lisp/helper.el (Helper-help-scroller):
8458 * emulation/cua-base.el (cua--post-command-handler-1):
8459 * eshell/esh-mode.el (eshell-output-filter):
8460 * ffap.el (ffap-gnus-wrapper):
8461 * help-macro.el (make-help-screen):
8462 * hilit-chg.el (highlight-compare-buffers):
8463 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8464 * hl-line.el (global-hl-line-highlight):
8465 * icomplete.el (icomplete-simple-completing-p):
8466 * isearch.el (isearch-done):
8467 * jit-lock.el (jit-lock-stealth-fontify):
8468 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8469 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8470 * mpc.el (mpc-tagbrowser, mpc):
8471 * net/rcirc.el (rcirc-any-buffer):
8472 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8473 * play/landmark.el (landmark-max-width, landmark-max-height):
8474 * play/zone.el (zone):
8475 * progmodes/compile.el (compilation-goto-locus):
8476 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8477 * progmodes/etags.el (find-tag-other-window):
8478 * progmodes/fortran.el (fortran-column-ruler):
8479 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8480 * progmodes/verilog-mode.el (verilog-point-text):
8481 * reposition.el (reposition-window):
8482 * rot13.el (toggle-rot13-mode):
8483 * server.el (server-switch-buffer):
8484 * shell.el (shell-dynamic-complete-command)
8485 (shell-dynamic-complete-environment-variable):
8486 * simple.el (insert-buffer, set-selective-display)
8487 (delete-completion-window):
8488 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8489 (speedbar-recenter):
8490 * startup.el (fancy-splash-head):
8491 * textmodes/ispell.el (ispell-command-loop):
8492 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8493 * tutorial.el (help-with-tutorial):
8494 * vc/add-log.el (add-change-log-entry):
8495 * vc/compare-w.el (compare-windows):
8496 * vc/ediff-help.el (ediff-indent-help-message):
8497 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8498 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8499 (ediff-setup-control-frame):
8500 * vc/emerge.el (emerge-position-region):
8501 * vc/pcvs-util.el (cvs-bury-buffer):
8502 * window.el (walk-windows, mouse-autoselect-window-select):
8503 * winner.el (winner-set-conf, winner-undo): Related users changed.
8504
8505 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8506
8507 * frameset.el (frameset--set-id): Doc fix.
8508 (frameset-frame-id, frameset-frame-id-equal-p)
8509 (frameset-locate-frame-id): New functions.
8510 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8511 (frameset-restore): Use them.
8512
8513 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8514
8515 Do not call to `selected-frame' where it is assumed by default.
8516 Affected functions are `raise-frame', `redraw-frame',
8517 `frame-first-window', `frame-terminal' and `delete-frame'.
8518 * calendar/appt.el (appt-disp-window):
8519 * epg.el (epg-wait-for-completion):
8520 * follow.el (follow-delete-other-windows-and-split)
8521 (follow-avoid-tail-recenter):
8522 * international/mule.el (set-terminal-coding-system):
8523 * mail/rmail.el (rmail-mail-return):
8524 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8525 * progmodes/f90.el (f90-add-imenu-menu):
8526 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8527 * server.el (server-switch-buffer):
8528 * simple.el (delete-completion-window):
8529 * talk.el (talk):
8530 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8531 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8532 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8533 * vc/ediff.el (ediff-documentation): Related users changed.
8534 * frame.el (selected-terminal): Remove the leftover.
8535
8536 2013-08-05 Glenn Morris <rgm@gnu.org>
8537
8538 * calendar/calendar.el (calendar-generate-month):
8539 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8540 (calendar-generate-month, calendar-font-lock-keywords):
8541 Fix for calendar-day-header-width > length of any day name.
8542
8543 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8544
8545 * desktop.el (desktop-clear): Use new name of sort predicate.
8546
8547 * frameset.el (frameset): Add docstring. Move :version property to its
8548 own `version' slot.
8549 (frameset-copy): Rename from copy-frameset.
8550 (frameset-p): Check more thoroughly.
8551 (frameset-prop): Do not check for :version, which is no longer a prop.
8552 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8553 Use new :never value instead of t.
8554 (frameset-filter-alist): Expand and clarify docstring.
8555 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8556 (frameset-filter-minibuffer, frameset-filter-save-param)
8557 (frameset-filter-restore-param, frameset-filter-iconified):
8558 Add pointer to docstring of frameset-filter-alist.
8559 (frameset-filter-params): Rename filter values to be more meaningful:
8560 :never instead of t, and reverse the meanings of :save and :restore.
8561 (frameset--process-minibuffer-frames): Clarify error message.
8562 (frameset-save): Avoid unnecessary and confusing call to framep.
8563 Use new BOA constructor for framesets.
8564 (frameset--reuse-list): Doc fix.
8565 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8566 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8567 (frameset-minibufferless-first-p): Doc fix.
8568 Rename from frameset-sort-frames-for-deletion.
8569 (frameset-restore): Doc fixes. Use new function names.
8570 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8571
8572 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8573
8574 * desktop.el (desktop-restore-forces-onscreen)
8575 (desktop-restore-reuses-frames): Document :keyword constant values.
8576 (desktop-filter-parameters-alist): Remove, now identical to
8577 frameset-filter-alist.
8578 (desktop--filter-tty*): Remove, moved to frameset.el.
8579 (desktop-save-frameset, desktop-restore-frameset):
8580 Do not pass :filters argument.
8581
8582 * frameset.el (frameset-live-filter-alist)
8583 (frameset-persistent-filter-alist): New variables.
8584 (frameset-filter-alist): Use them. Add autoload cookie.
8585 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8586 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8587 `frameset--id' (it's supposed to be internal to frameset.el).
8588 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8589 (frameset--initial-params): New function.
8590 (frameset--get-frame): Use it. Doc fix.
8591 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8592 Accept :all, not 'all.
8593 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8594 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8595 with fbound symbols. Fix frame id matching, and remove matching ids if
8596 the frame being restored is deleted. Obey :delete.
8597
8598 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * subr.el (macrop): New function.
8601 (text-clone--maintaining): New var.
8602 (text-clone--maintain): Rename from text-clone-maintain. Use it
8603 instead of inhibit-modification-hooks.
8604
8605 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8606 a proxy, so as handle autoloads and redefinitions of the target.
8607 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8608
8609 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8610 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8611 (pcase--mutually-exclusive-p): New function.
8612 (pcase--split-consp): Use it.
8613 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8614 mutually exclusive with the current predicate.
8615
8616 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8617 (edebug-macrop): Remove. Use `macrop' instead.
8618 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8619 (ad-macro-p):
8620 * eshell/esh-cmd.el (eshell-macrop):
8621 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8622
8623 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8624
8625 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8626 (advice-mapc): New function, using it.
8627 (advice-function-member-p): New function.
8628 (advice--normalize): Store the cdr in advice--saved-rewrite since
8629 that's the part that will be changed.
8630 (advice--symbol-function): New function.
8631 (advice-remove): Handle removal before the function is defined.
8632 Adjust to new advice--saved-rewrite.
8633 (advice-member-p): Use advice-function-member-p and
8634 advice--symbol-function.
8635
8636 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8637
8638 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8639 (frameset-filter-minibuffer): Doc fix.
8640 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8641 (frameset--set-id, frameset--process-minibuffer-frames)
8642 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8643 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8644
8645 * desktop.el (desktop-clear): Only delete frames when called
8646 interactively and desktop-restore-frames is non-nil. Doc fix.
8647 (desktop-read): Set desktop-saved-frameset to nil.
8648
8649 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8650
8651 * vc/vc.el (vc-ignore): Rewrite.
8652 (vc-default-ignore-completion-table, vc--read-lines)
8653 (vc--add-line, vc--remove-regexp): New functions.
8654
8655 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8656 (vc-svn-ignore-completion-table): New function.
8657
8658 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8659 (vc-hg-ignore-completion-table)
8660 (vc-hg-find-ignore-file): New functions.
8661
8662 * vc/vc-git.el (vc-git-ignore): Rewrite.
8663 (vc-git-ignore-completion-table)
8664 (vc-git-find-ignore-file): New functions.
8665
8666 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8667
8668 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8669 (vc-bzr-ignore-completion-table)
8670 (vc-bzr-find-ignore-file): New functions.
8671
8672 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8673
8674 * frameset.el (frameset-prop): New function and setter.
8675 (frameset-save): Do not modify frame list passed by the caller.
8676
8677 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8680
8681 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8682
8683 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8684 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8685
8686 * custom.el (custom-initialize-default, custom-initialize-set)
8687 (custom-initialize-reset, custom-initialize-changed): Affect the
8688 toplevel-default-value (bug#6275, bug#14586).
8689 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8690 for bug#6275.
8691
8692 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8693
8694 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8695 Add cl-def* expressions.
8696
8697 * frameset.el (frameset-filter-params): Fix order of arguments.
8698
8699 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8700
8701 Move code related to saving frames to frameset.el.
8702 * desktop.el: Require frameset.
8703 (desktop-restore-frames): Doc fix.
8704 (desktop-restore-reuses-frames): Rename from
8705 desktop-restoring-reuses-frames.
8706 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8707 (desktop-clear): Clear frames too.
8708 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8709 (desktop--filter-tty*, desktop-save, desktop-read):
8710 Use frameset functions.
8711 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8712 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8713 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8714 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8715 (desktop--process-minibuffer-frames, desktop-save-frames)
8716 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8717 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8718 (desktop--sort-states, desktop-restoring-frames-p)
8719 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8720 (desktop-restoring-frameset-p, desktop-restore-frameset)
8721 (desktop--check-dont-save, desktop-save-frameset): New functions.
8722 (desktop--app-id): New constant.
8723 (desktop-first-buffer, desktop-buffer-ok-count)
8724 (desktop-buffer-fail-count): Move before first use.
8725 * frameset.el: New file.
8726
8727 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8728
8729 * files.el: Use lexical-binding.
8730 (dir-locals-read-from-file): Remove unused `err' variable.
8731 (hack-dir-local-variables--warned-coding): New var.
8732 (hack-dir-local-variables): Use it to avoid repeated warnings.
8733 (make-backup-file-name--default-function): New function.
8734 (make-backup-file-name-function): Use it as default.
8735 (buffer-stale--default-function): New function.
8736 (buffer-stale-function): Use it as default.
8737 (revert-buffer-insert-file-contents--default-function): New function.
8738 (revert-buffer-insert-file-contents-function): Use it as default.
8739 (insert-directory): Avoid add-to-list.
8740
8741 * autorevert.el (auto-revert-handler): Simplify.
8742 Use buffer-stale--default-function.
8743
8744 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8745
8746 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8747
8748 * whitespace.el (whitespace-ensure-local-variables): New function.
8749 (whitespace-cleanup-region): Call it.
8750 (whitespace-turn-on): Call it.
8751
8752 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8753
8754 Complete file name handlers.
8755
8756 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8757 (tramp-handle-verify-visited-file-modtime)
8758 (tramp-handle-file-notify-rm-watch): New functions.
8759 (tramp-call-process): Do not bind `default-directory'.
8760
8761 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8762 Order alphabetically.
8763 <access-file, add-name-to-file, dired-call-process>:
8764 <dired-compress-file, file-acl, file-notify-rm-watch>:
8765 <file-ownership-preserved-p, file-selinux-context>:
8766 <make-directory-internal, make-symbolic-link, set-file-acl>:
8767 <set-file-selinux-context, set-visited-file-modtime>:
8768 <verify-visited-file-modtime>: Add handler.
8769 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8770
8771 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8772 <file-notify-add-watch, file-notify-rm-watch>:
8773 <set-file-times, set-visited-file-modtime>:
8774 <verify-visited-file-modtime>: Add handler.
8775 (with-tramp-gvfs-error-message)
8776 (tramp-gvfs-handle-set-visited-file-modtime)
8777 (tramp-gvfs-fuse-file-name): Remove.
8778 (tramp-gvfs-handle-file-notify-add-watch)
8779 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8780 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8781
8782 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8783 Order alphabetically.
8784 <file-notify-rm-watch>: Use default Tramp handler.
8785 <executable-find>: Remove private handler.
8786 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8787 `default-directory'.
8788 (tramp-sh-handle-executable-find)
8789 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8790 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8791 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8792 Do not use `format' in `tramp-message'.
8793
8794 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8795 <file-notify-rm-watch, set-visited-file-modtime>:
8796 <verify-visited-file-modtime>: Add handler.
8797 (tramp-smb-call-winexe): Do not bind `default-directory'.
8798
8799 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8800
8801 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8802
8803 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8804
8805 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8806 use it.
8807 (log-view-diff-changeset): Same.
8808 (log-view-diff-common): Call backend command `previous-revision'
8809 to find out the previous revision, in both cases. Swap the
8810 variables `to' and `fr', so that `fr' usually refers to the
8811 earlier revision (Bug#14989).
8812
8813 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8814
8815 * ibuf-ext.el (ibuffer-filter-by-filename):
8816 Make it work with dired buffers too.
8817
8818 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8819
8820 * emacs-lisp/re-builder.el (reb-color-display-p):
8821 * files.el (save-buffers-kill-terminal):
8822 * net/browse-url.el (browse-url):
8823 * server.el (server-save-buffers-kill-terminal):
8824 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8825 Prefer nil to selected-frame for the first arg of frame-parameter.
8826
8827 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8828
8829 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8830
8831 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8832
8833 * minibuffer.el (completion--twq-all): Try and preserve each
8834 completion's case choice (bug#14907).
8835
8836 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8837
8838 * net/network-stream.el (open-network-stream): Mention the new
8839 :nogreeting parameter.
8840 (network-stream-open-starttls): Use the :nogreeting parameter
8841 (bug#14938).
8842
8843 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8844
8845 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8846 more natural than popping.
8847
8848 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8849 (shr-urlify): Highlight under mouse.
8850
8851 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8852
8853 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8854
8855 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8856
8857 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8858 buffer for output.
8859
8860 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8861 point-min==1. Fix search string. Fix parentheses missing.
8862
8863 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8864 assume point-min==1. Fix search string. Fix parentheses missing.
8865
8866 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8867
8868 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8869 buffer for output.
8870
8871 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8872
8873 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8874 initial frame is minibuffer-less. (Bug#14841)
8875
8876 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8877
8878 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8879 option.
8880
8881 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8882 (tramp-maybe-open-connection): Use it.
8883
8884 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8885
8886 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8887 minimal set of parameters passed when creating a frame, because
8888 the minibuffer status of a frame cannot be changed later.
8889
8890 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8891
8892 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8893 replace-regexp-in-string and inadvertent omissions in previous change.
8894 (todo-filter-items): Ensure only file names are comma-separated in
8895 name of filtered items buffer.
8896
8897 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8898
8899 * desktop.el: Optionally force offscreen frames back onscreen.
8900 (desktop-restoring-reuses-frames): New option.
8901 (desktop--compute-pos, desktop--move-onscreen): New functions.
8902 (desktop--make-frame): Use desktop--move-onscreen.
8903
8904 2013-07-27 Alan Mackenzie <acm@muc.de>
8905
8906 Fontify a Java generic method as a function.
8907 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8908 value to t.
8909
8910 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8911
8912 * calendar/todo-mode.el: Add command to rename todo files.
8913 (todo-rename-file): New command.
8914 (todo-key-bindings-t): Add key binding for it. Change the
8915 bindings of todo-filter-regexp-items(-multifile) to use `x'
8916 instead of `r', since the latter is better suited to the new
8917 renaming command.
8918
8919 2013-07-27 Alan Mackenzie <acm@muc.de>
8920
8921 Make Java try-with-resources statement parse properly.
8922 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8923 (c-block-stmt-1-2-key): New language constants/variables.
8924 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8925 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8926 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8927 with c-block-stmt-1-2-key.
8928
8929 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8930
8931 * desktop.el (desktop--make-frame): Apply most frame parameters after
8932 creating the frame to force (partially or totally) offscreen frames to
8933 be restored as such.
8934
8935 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8936
8937 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8938 (Bug#14948)
8939
8940 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8943 `base' arg of backtrace-frame.
8944
8945 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8946
8947 * simple.el (list-processes): Doc fix.
8948
8949 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8950
8951 * desktop.el (desktop--select-frame):
8952 Try harder to reuse existing frames.
8953
8954 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8955
8956 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8957 (edebug-eval): Use backtrace-eval.
8958 (edebug--display, edebug--recursive-edit): Don't let-bind the
8959 edebug-outer-* vars that keep track of variables we locally let-bind.
8960 (edebug-outside-excursion): Don't restore outside values of locally
8961 let-bound vars.
8962 (edebug--display): Use user-error.
8963 (cl-lexical-debug, cl-debug-env): Remove.
8964
8965 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8966
8967 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8968 are restored to be sure that they are visible before deleting any
8969 remaining ones.
8970
8971 2013-07-26 Matthias Meulien <orontee@gmail.com>
8972
8973 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8974 vc-print-root-log. (Bug#14948)
8975
8976 2013-07-26 Richard Stallman <rms@gnu.org>
8977
8978 Add aliases for encrypting mail.
8979 * epa.el (epa-mail-aliases): New option.
8980 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8981 Bind inhibit-read-only so read-only text doesn't ruin everything.
8982 (epa-mail-default-recipients): New subroutine broken out.
8983 Handle epa-mail-aliases.
8984
8985 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8986
8987 Add support for lexical variables to the debugger's `e' command.
8988 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8989 vars, except for debugger-outer-match-data.
8990 (debugger-frame-number): Move check for "on a function call" from
8991 callers into it. Add `skip-base' argument.
8992 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8993 (debugger-env-macro): Only reset the state stored in non-variables,
8994 i.e. current-buffer and match-data.
8995 (debugger-eval-expression): Rewrite using backtrace-eval.
8996 * subr.el (internal--called-interactively-p--get-frame): Remove.
8997 (called-interactively-p):
8998 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8999 `base' arg of backtrace-frame instead.
9000
9001 2013-07-26 Glenn Morris <rgm@gnu.org>
9002
9003 * align.el (align-regexp): Doc fix. (Bug#14857)
9004 (align-region): Explicit error if subexpression missing/does not match.
9005
9006 * simple.el (global-visual-line-mode):
9007 Do not duplicate the mode lighter. (Bug#14858)
9008
9009 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9010
9011 * window.el (display-buffer): In display-buffer bind
9012 split-window-keep-point to t, bug#14829.
9013
9014 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9015
9016 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9017 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9018 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9019 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9020 Change accordingly.
9021 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9022 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9023
9024 2013-07-25 Glenn Morris <rgm@gnu.org>
9025
9026 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9027
9028 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9029
9030 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9031 parameter to modify-frame-parameters if the value has not changed;
9032 this is a workaround for bug#14949.
9033 (desktop--make-frame): On cl-delete-if call, check parameter name,
9034 not full parameter.
9035
9036 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9037
9038 * vc/vc.el (vc-ignore): New function.
9039
9040 * vc/vc-svn.el (vc-svn-ignore): New function.
9041
9042 * vc/vc-hg.el (vc-hg-ignore): New function.
9043
9044 * vc/vc-git.el (vc-git-ignore): New function.
9045
9046 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9047 (vc-dir-ignore): New function.
9048
9049 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9050 (cvs-append-to-ignore): Move here from pcvs.el.
9051
9052 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9053
9054 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9055
9056 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9057
9058 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9059 (desktop-restore-frames): Warn when deleting an existing frame failed.
9060
9061 2013-07-24 Glenn Morris <rgm@gnu.org>
9062
9063 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9064
9065 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9066
9067 * filenotify.el (file-notify-supported-p):
9068 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9069 Remove functions.
9070
9071 * autorevert.el (auto-revert-use-notify)
9072 (auto-revert-notify-add-watch):
9073 * net/tramp.el (tramp-file-name-for-operation):
9074 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9075 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9076 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9077 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9078 Remove `file-notify-supported-p' entry.
9079
9080 2013-07-24 Glenn Morris <rgm@gnu.org>
9081
9082 * printing.el: Replace all uses of deleted ps-windows-system,
9083 ps-lp-system, ps-flatten-list with lpr- versions.
9084
9085 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9086
9087 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9088 checked with memq (bug#14935).
9089
9090 * files.el (revert-buffer-function): Use a non-nil default.
9091 (revert-buffer-preserve-modes): Declare var to
9092 provide access to the `preserve-modes' argument.
9093 (revert-buffer): Let-bind it.
9094 (revert-buffer--default): New function, extracted from revert-buffer.
9095
9096 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9097
9098 * lpr.el: Signal print errors more prominently.
9099 (print-region-function): Don't default to nil.
9100 (lpr-print-region): New function, extracted from print-region-1.
9101 Check lpr's return value and signal an error in case of problem.
9102 (print-region-1): Use it.
9103 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9104 versions instead.
9105 (ps-printer-name): Default to nil.
9106 (ps-printer-name-option): Default to lpr-printer-switch.
9107 (ps-print-region-function): Don't default to nil.
9108 (ps-postscript-code-directory): Simplify default.
9109 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9110 (ps-string-list, ps-eval-switch, ps-flatten-list)
9111 (ps-flatten-list-1): Remove.
9112 (ps-multibyte-buffer): Avoid setq.
9113 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9114 (print-region-function, ps-print-region-function): Don't set them here.
9115
9116 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9117
9118 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9119 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9120 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9121 (ido-decorations): Doc fix.
9122
9123 * ansi-color.el: Fix old URL.
9124
9125 2013-07-23 Michael R. Mauger <michael@mauger.com>
9126
9127 * progmodes/sql.el: Version 3.3
9128 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9129 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9130 (sql-interactive-remove-continuation-prompt): Rewrite, use
9131 functions above. Fix continuation prompt and complete output line
9132 handling.
9133 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9134 redirected output buffer.
9135 (sql-mode): Restore deleted code (Bug#13591).
9136
9137 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9138
9139 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9140
9141 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9142
9143 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9144
9145 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9146 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9147 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9148
9149 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9150
9151 * desktop.el (desktop-clear): Simplify; remove useless checks
9152 against invalid buffer names.
9153 (desktop-list*): Use cl-list*.
9154 (desktop-buffer-info, desktop-create-buffer): Simplify.
9155
9156 2013-07-23 Leo Liu <sdl.web@gmail.com>
9157
9158 * bookmark.el (bookmark-make-record): Restore NAME as a default
9159 value. (Bug#14933)
9160
9161 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9162
9163 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9164 extracted from autoload--insert-text.
9165 (autoload--insert-text): Remove.
9166 (autoload--print-cookie-text): New function, extracted from
9167 autoload--insert-cookie-text.
9168 (autoload--insert-cookie-text): Remove.
9169 (autoload-generate-file-autoloads): Adjust calls accordingly.
9170
9171 * winner.el (winner-hook-installed-p): Remove.
9172 (winner-mode): Simplify accordingly.
9173
9174 * subr.el (add-to-list): Fix compiler-macro when `append' is
9175 not constant. Don't use `cl-member' for the base case.
9176
9177 * progmodes/subword.el: Fix boundary case (bug#13758).
9178 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9179 own group.
9180 (subword-backward-regexp): Make it a constant.
9181 (subword-forward-internal): Don't treat a trailing capital as the
9182 beginning of a word.
9183
9184 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9185
9186 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9187 global value of tabulated-list-revert-hook (bug#14930).
9188
9189 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9190
9191 * desktop.el: Require 'cl-lib.
9192 (desktop-before-saving-frames-functions): New hook.
9193 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9194 for frames being saved. Rename from desktop--save-minibuffer-frames.
9195 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9196 Do not save frames with non-nil `desktop-dont-save' parameter.
9197 Filter out deleted frames.
9198 (desktop--find-frame): Use cl-find-if.
9199 (desktop--select-frame): Use cl-(first|second|third) to access values
9200 of desktop-mini.
9201 (desktop--make-frame): Use cl-delete-if.
9202 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9203 (desktop-restore-frames): Use cl-(first|second|third) to access values
9204 of desktop-mini. Look for visible frame at the end, not while
9205 restoring frames.
9206
9207 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9208 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9209 Use string-match-p, looking-at-p (bug#14927).
9210
9211 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9212
9213 * desktop.el (desktop-saved-frame-states):
9214 Rename from desktop--saved-states; all users changed.
9215 (desktop-save-frames): Rename from desktop--save-frames.
9216 Do not save state to desktop file.
9217 (desktop-save): Save desktop-saved-frame-states to desktop file
9218 and reset to nil.
9219 (desktop-restoring-frames-p): New function.
9220 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9221 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9222 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9223
9224 * desktop.el: Correctly restore iconified frames.
9225 (desktop--filter-iconified-position): New function.
9226 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9227
9228 2013-07-20 Glenn Morris <rgm@gnu.org>
9229
9230 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9231 Let `message' do the formatting.
9232 (def-gdb-preempt-display-buffer): Add explicit format.
9233
9234 * image-dired.el (image-dired-track-original-file):
9235 Use with-current-buffer.
9236 (image-dired-track-thumbnail): Use with-current-buffer.
9237 Avoid changing point of wrong window.
9238
9239 * image-dired.el (image-dired-track-original-file):
9240 Avoid changing point of wrong window. (Bug#14909)
9241
9242 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9243
9244 * progmodes/gdb-mi.el (gdb-done-or-error):
9245 Guard against "%" in gdb output. (Bug#14127)
9246
9247 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9248
9249 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9250 (Bug#14826)
9251
9252 * international/mule.el (coding-system-iso-2022-flags): Fix last
9253 change.
9254
9255 2013-07-20 Kenichi Handa <handa@gnu.org>
9256
9257 * international/mule.el (coding-system-iso-2022-flags):
9258 Add `8-bit-level-4'. (Bug#8522)
9259
9260 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9261
9262 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9263 (bug#14815).
9264
9265 * net/eww.el (eww-process-text-input): Allow inputting when the
9266 point is at the start of the line, as the properties aren't
9267 front-sticky.
9268
9269 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9270 degenerate widths.
9271
9272 2013-07-19 Richard Stallman <rms@gnu.org>
9273
9274 * epa.el (epa-popup-info-window): Doc fix.
9275
9276 * subr.el (split-string): New arg TRIM.
9277
9278 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9279
9280 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9281 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9282
9283 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9284
9285 * filenotify.el (file-notify--library): Rename from
9286 `file-notify-support'. Do not autoload. Adapt all uses.
9287 (file-notify-supported-p): New defun.
9288
9289 * autorevert.el (auto-revert-use-notify):
9290 Use `file-notify-supported-p' instead of `file-notify-support'.
9291 Adapt docstring.
9292 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9293
9294 * net/tramp.el (tramp-file-name-for-operation):
9295 Add `file-notify-supported-p'.
9296
9297 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9298 New defun.
9299 (tramp-sh-file-name-handler-alist): Add it as handler for
9300 `file-notify-supported-p '.
9301
9302 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9303 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9304 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9305 Add `ignore' as handler for `file-notify-*' functions.
9306
9307 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9308
9309 * simple.el (line-move-partial, line-move): Don't start vscroll or
9310 scroll-up if the current line is not taller than the window.
9311 (Bug#14881)
9312
9313 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9314
9315 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9316 highlight question marks in the method names as strings.
9317 (ruby-block-beg-keywords): Inline.
9318 (ruby-font-lock-keyword-beg-re): Extract from
9319 `ruby-font-lock-keywords'.
9320
9321 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9322
9323 * frame.el (blink-cursor-blinks): New defcustom.
9324 (blink-cursor-blinks-done): New defvar.
9325 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9326 (blink-cursor-timer-function): Check if number of blinks has been
9327 done on X and NS.
9328 (blink-cursor-suspend, blink-cursor-check): New defuns.
9329
9330 2013-07-15 Glenn Morris <rgm@gnu.org>
9331
9332 * edmacro.el (edmacro-format-keys): Fix previous change.
9333
9334 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9335
9336 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9337 The hack didn't work outside English locales anyway.
9338
9339 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9340
9341 * simple.el (define-alternatives): Rename from alternatives-define,
9342 per RMS' suggestion.
9343
9344 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9345
9346 * desktop.el (desktop-restore-frames): Change default to t.
9347 (desktop-restore-in-current-display): Now offer more options.
9348 (desktop-restoring-reuses-frames): New customization option.
9349 (desktop--saved-states): Doc fix.
9350 (desktop-filter-parameters-alist): New variable, renamed and expanded
9351 from desktop--excluded-frame-parameters.
9352 (desktop--target-display): New variable.
9353 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9354 (desktop--filter-tty*, desktop--filter-*-color)
9355 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9356 (desktop--filter-save-desktop-parm)
9357 (desktop-restore-in-original-display-p): New functions.
9358 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9359 (desktop--save-minibuffer-frames): New function, inspired by a similar
9360 function from Martin Rudalics.
9361 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9362 (desktop--restore-in-this-display-p): Remove.
9363 (desktop--find-frame): Rename from desktop--find-frame-in-display
9364 and add predicate argument.
9365 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9366 (desktop--reuse-list): New variable.
9367 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9368 New functions.
9369 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9370
9371 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9372
9373 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9374
9375 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9376
9377 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9378 Highlight conversion methods on Kernel.
9379
9380 2013-07-13 Alan Mackenzie <acm@muc.de>
9381
9382 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9383 and comment it out. This out-commenting enables certain C++
9384 declarations to be parsed correctly.
9385
9386 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9387
9388 * international/mule.el (define-coding-system): Doc fix.
9389
9390 * simple.el (default-font-height): Don't call font-info if the
9391 frame's default font didn't change since the frame was created.
9392 (Bug#14838)
9393
9394 2013-07-13 Leo Liu <sdl.web@gmail.com>
9395
9396 * ido.el (ido-read-file-name): Guard against non-symbol value.
9397
9398 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9399
9400 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9401 in nested defuns.
9402
9403 2013-07-13 Leo Liu <sdl.web@gmail.com>
9404
9405 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9406 ido-set-matches call. (Bug#6852)
9407
9408 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9409
9410 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9411 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9412 Ruby 2.0.
9413 (ruby-font-lock-keywords): Distinguish calls to functions with
9414 module-like names from module references. Highlight character
9415 literals.
9416
9417 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9418
9419 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9420 (gdb-send): Handle continued commands. (Bug#14847)
9421
9422 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9423
9424 * desktop.el (desktop--v2s): Remove unused local variable.
9425 (desktop-save-buffer): Make defvar-local; adjust docstring.
9426 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9427 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9428
9429 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9430
9431 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9432
9433 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9434
9435 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9436 (Bug#14842)
9437
9438 2013-07-12 Glenn Morris <rgm@gnu.org>
9439
9440 * doc-view.el: Require cl-lib at runtime too.
9441 (doc-view-remove-if): Remove.
9442 (doc-view-search-next-match, doc-view-search-previous-match):
9443 Use cl-remove-if.
9444
9445 * edmacro.el: Require cl-lib at runtime too.
9446 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9447 (edmacro-mismatch, edmacro-subseq): Remove.
9448
9449 * shadowfile.el: Require cl-lib.
9450 (shadow-remove-if): Remove.
9451 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9452 Use cl-remove-if.
9453
9454 * wid-edit.el: Require cl-lib.
9455 (widget-choose): Use cl-remove-if.
9456 (widget-remove-if): Remove.
9457
9458 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9459 (ebrowse-delete-if-not): Remove.
9460 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9461 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9462 Use cl-delete-if-not.
9463
9464 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9465
9466 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9467 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9468
9469 2013-07-12 Leo Liu <sdl.web@gmail.com>
9470
9471 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9472
9473 2013-07-11 Glenn Morris <rgm@gnu.org>
9474
9475 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9476 (edebug-gensym-index, edebug-gensym):
9477 Remove reimplementation of cl-gensym.
9478 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9479
9480 * thumbs.el: Require cl-lib at run-time too.
9481 (thumbs-gensym-counter, thumbs-gensym):
9482 Remove reimplementation of cl-gensym.
9483 (thumbs-temp-file): Use cl-gensym.
9484
9485 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9486 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9487 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9488 (ert--union, ert--gensym-counter, ert--gensym-counter)
9489 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9490 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9491 (ert-make-test-unbound, ert--expand-should-1)
9492 (ert--expand-should, ert--should-error-handle-error)
9493 (should-error, ert--explain-equal-rec)
9494 (ert--plist-difference-explanation, ert-select-tests)
9495 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9496 Use cl-lib functions rather than reimplementations.
9497
9498 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9499
9500 * net/tramp.el (tramp-methods): Extend docstring.
9501 (tramp-connection-timeout): New defcustom.
9502 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9503 (with-tramp-progress-reporter): Simplify.
9504 (tramp-process-actions): Improve messages.
9505
9506 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9507 * net/tramp-sh.el (tramp-maybe-open-connection):
9508 Use `tramp-connection-timeout'.
9509 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9510 (Bug#14808)
9511
9512 2013-07-11 Leo Liu <sdl.web@gmail.com>
9513
9514 * ido.el (ido-read-file-name): Conform to the requirements of
9515 read-file-name. (Bug#11861)
9516 (ido-read-directory-name): Conform to the requirements of
9517 read-directory-name.
9518
9519 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9520
9521 * subr.el (delay-warning): New function.
9522
9523 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9524
9525 * simple.el (default-line-height): New function.
9526 (line-move-partial, line-move): Use it instead of computing the
9527 line height inline.
9528 (line-move-partial): Always compute ROWH. If the last line is
9529 partially-visible, but its text is completely visible, allow
9530 cursor to enter such a partially-visible line.
9531
9532 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9533
9534 Improve error messages. (Bug#14808)
9535
9536 * net/tramp.el (tramp-current-connection): New defvar, moved from
9537 tramp-sh.el.
9538 (tramp-message-show-progress-reporter-message): Remove, not
9539 needed anymore.
9540 (tramp-error-with-buffer): Show message in minibuffer.
9541 Discard input before waiting. Reset connection timestamp.
9542 (with-tramp-progress-reporter): Improve messages.
9543 (tramp-process-actions): Use progress reporter. Delete process in
9544 case of error. Improve messages.
9545
9546 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9547 Call `tramp-error-with-buffer' with vector and buffer.
9548 (tramp-current-connection): Remove.
9549 (tramp-maybe-open-connection): The car of
9550 `tramp-current-connection' are the first 3 slots of the vector.
9551
9552 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9553
9554 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9555 inside continued strings.
9556
9557 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9558
9559 Timestamp fixes for undo (Bug#14824).
9560 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9561
9562 2013-07-10 Leo Liu <sdl.web@gmail.com>
9563
9564 * files.el (require-final-newline): Allow safe local value.
9565 (Bug#14834)
9566
9567 2013-07-09 Leo Liu <sdl.web@gmail.com>
9568
9569 * ido.el (ido-read-directory-name): Handle fallback.
9570 (ido-read-file-name): Update DIR to ido-current-directory.
9571 (Bug#1516)
9572 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9573
9574 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9575
9576 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9577 "autoload". Remove "warn lower camel case" section, previously
9578 commented out. Highlight negation char. Do not highlight the
9579 target in singleton method definitions.
9580
9581 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * faces.el (tty-setup-hook): Declare the hook.
9584
9585 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9586 and detect when a guard/pred depends on local vars (bug#14773).
9587 (pcase--u1): Adjust caller.
9588
9589 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9590
9591 * simple.el (line-move-partial, line-move): Account for
9592 line-spacing.
9593 (line-move-partial): Avoid setting vscroll when the last
9594 partially-visible line in window is of default height.
9595
9596 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9597
9598 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9599 been used a while.
9600
9601 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9602
9603 * subr.el (read-quoted-char): Remove unused local variable `char'.
9604
9605 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9606
9607 * ediff.el (ediff-version): Version update.
9608 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9609 (ediff-merge-with-ancestor-command, ediff-directories-command)
9610 (ediff-directories3-command, ediff-merge-directories-command)
9611 (ediff-merge-directories-with-ancestor-command): New functions.
9612 All are command-line interfaces to ediff: to facilitate calling
9613 Emacs with the appropriate ediff functions invoked.
9614
9615 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9616 (viper-save-kill-buffer): Check if buffer is modified.
9617
9618 * viper.el (viper-version): Version update.
9619 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9620
9621 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9622
9623 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9624 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9625 (viper-intercept-ESC-key): Simplify.
9626 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9627 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9628 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9629 (viper-setup-ESC-to-escape): New functions.
9630 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9631 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9632
9633 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9634
9635 * simple.el (default-font-height, window-screen-lines):
9636 New functions.
9637 (line-move, line-move-partial): Use them instead of
9638 frame-char-height and window-text-height. This makes scrolling
9639 text smoother when the buffer's default face uses a font that is
9640 different from the frame's default font.
9641
9642 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9643
9644 * files.el (write-file): Do not display confirm dialog for NS,
9645 it does its own dialog, which can't be canceled (Bug#14578).
9646
9647 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9648
9649 * simple.el (line-move-partial): Adjust the row returned by
9650 posn-at-point for the current window-vscroll. (Bug#14567)
9651
9652 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9653
9654 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9655 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9656 spaces.
9657
9658 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9659
9660 * window.el (window-state-put-stale-windows): New variable.
9661 (window--state-put-2): Save list of windows without matching buffer.
9662 (window-state-put): Remove "bufferless" windows if possible.
9663
9664 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9665
9666 * simple.el (alternatives-define): Remove leftover :group keyword.
9667 Tweak docstring.
9668
9669 2013-07-06 Leo Liu <sdl.web@gmail.com>
9670
9671 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9672 (ido-enable-virtual-buffers): New variable.
9673 (ido-buffer-internal, ido-toggle-virtual-buffers)
9674 (ido-make-buffer-list): Use it.
9675 (ido-exhibit): Support turning on and off virtual buffers
9676 automatically.
9677
9678 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9679
9680 * simple.el (alternatives-define): New macro.
9681
9682 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * subr.el (read-quoted-char): Use read-key.
9685 (sit-for): Let read-event decode tty input (bug#14782).
9686
9687 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9688
9689 * calendar/todo-mode.el: Add handling of file deletion, both by
9690 mode command and externally. Fix various related bugs.
9691 Clarify Commentary and improve some documentation strings and code.
9692 (todo-delete-file): New command.
9693 (todo-check-file): New function.
9694 (todo-show): Handle external deletion of the file we're trying to
9695 show (bug#14688). Replace called-interactively-p by an optional
9696 prefix argument to avoid problematic interaction with catch form
9697 when byte compiled (bug#14702).
9698 (todo-quit): Handle external deletion of the archive's todo file.
9699 Make sure the buffer that was visiting the archive file is still
9700 live before trying to bury it.
9701 (todo-category-completions): Handle external deletion of any
9702 category completion files.
9703 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9704 of todo files, in case of external deletion.
9705 (todo-add-file): Replace unnecessary setq by let-binding.
9706 (todo-find-archive): Check whether there are any archives.
9707 Replace unnecessary setq by let-binding.
9708 (todo-archive-done-item): Use find-file-noselect to get the
9709 archive buffer whether or not the archive already exists.
9710 Remove superfluous code. Use file size instead of buffer-file-name to
9711 check if the archive is new; if it is, update list of archives.
9712 (todo-default-todo-file): Allow nil to be a valid value for when
9713 there are no todo files.
9714 (todo-reevaluate-default-file-defcustom): Use corrected definition
9715 of todo-default-todo-file.
9716 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9717 (todo-delete-category, todo-show-categories-table)
9718 (todo-category-number): Clarify comment.
9719 (todo-filter-items): Clarify documentation string.
9720 (todo-show-current-file, todo-display-as-todo-file)
9721 (todo-reset-and-enable-done-separator): Tweak documentation string.
9722 (todo-done-separator): Make separator length window-width, since
9723 bug#2749 is now fixed.
9724
9725 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9726
9727 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9728 Support both "gvfs-monitor-dir" and "inotifywait".
9729 (tramp-sh-file-inotifywait-process-filter): Rename from
9730 `tramp-sh-file-notify-process-filter'.
9731 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9732 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9733
9734 2013-07-05 Leo Liu <sdl.web@gmail.com>
9735
9736 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9737
9738 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9739
9740 * frame.el (display-pixel-height, display-pixel-width)
9741 (display-mm-height, display-mm-width): Mention behavior on
9742 multi-monitor setups in docstrings.
9743 (w32-display-monitor-attributes-list): Declare function.
9744 (display-monitor-attributes-list): Use it.
9745
9746 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9747
9748 * filenotify.el: New package.
9749
9750 * autorevert.el (top): Require filenotify.el.
9751 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9752 instead.
9753 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9754 (auto-revert-notify-handler): Use `file-notify-*' functions.
9755
9756 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9757
9758 * net/tramp.el (tramp-file-name-for-operation):
9759 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9760
9761 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9762 for `file-notify-add-watch' and `file-notify-rm-watch'.
9763 (tramp-process-sentinel): Improve trace.
9764 (tramp-sh-handle-file-notify-add-watch)
9765 (tramp-sh-file-notify-process-filter)
9766 (tramp-sh-handle-file-notify-rm-watch)
9767 (tramp-get-remote-inotifywait): New defuns.
9768
9769 2013-07-03 Juri Linkov <juri@jurta.org>
9770
9771 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9772 call of `occur-read-primary-args' to interactive spec.
9773
9774 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9775 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9776
9777 2013-07-03 Matthias Meulien <orontee@gmail.com>
9778
9779 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9780 `Buffer-menu-multi-occur'. Add it to the menu.
9781 (Buffer-menu-mode): Document it in docstring.
9782 (Buffer-menu-multi-occur): New command. (Bug#14673)
9783
9784 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9785
9786 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9787 keywords and built-ins.
9788
9789 2013-07-03 Glenn Morris <rgm@gnu.org>
9790
9791 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9792
9793 Make info-xref checks case-sensitive by default
9794 * info.el (Info-find-node, Info-find-in-tag-table)
9795 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9796 Add option for exact case matching of nodes.
9797 * info-xref.el (info-xref): New custom group.
9798 (info-xref-case-fold): New option.
9799 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9800
9801 2013-07-03 Leo Liu <sdl.web@gmail.com>
9802
9803 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9804
9805 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9806
9807 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9808 middle of block statement initially, lower the depth. Remove
9809 FIXME comment, not longer valid. Remove middle of block statement
9810 detection, no need to do that anymore since we've been using
9811 `ruby-parse-region' here.
9812
9813 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9814
9815 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9816
9817 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9818
9819 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9820
9821 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9822
9823 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9824 (desktop-restore-in-current-display): New customization option.
9825 (desktop--excluded-frame-parameters): Add `font'.
9826 (desktop--save-frames): Rename from desktop--save-windows.
9827 (desktop--restore-in-this-display-p): New function.
9828 (desktop--make-full-frame): Remove unwanted width/height from
9829 full(width|height) frames.
9830 (desktop--restore-frames): Rename from desktop--restore-windows.
9831 Obey desktop-restore-current-display. Do not delete old frames or
9832 select a new frame unless we were able to restore at least one frame.
9833
9834 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9835
9836 * files.el (find-file-noselect): Simplify conditional expression.
9837
9838 * textmodes/remember.el (remember-append-to-file):
9839 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9840
9841 Add `remember-notes' function to store random notes across Emacs
9842 restarts.
9843 * textmodes/remember.el (remember-data-file): Add :set callback to
9844 affect notes buffer (if any).
9845 (remember-notes): New command.
9846 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9847 New defcustoms for the `remember-notes' function.
9848 (remember-notes-save-and-bury-buffer): New command.
9849 (remember-notes-mode-map): New variable.
9850 (remember-mode): New minor mode.
9851 (remember-notes--kill-buffer-query): New function.
9852 * startup.el (initial-buffer-choice): Add notes to custom type.
9853
9854 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9855
9856 * bindings.el (right-char, left-char): Don't call sit-for, this is
9857 no longer needed. Use arithmetic comparison only for numerical
9858 arguments.
9859
9860 * international/mule-cmds.el (select-safe-coding-system):
9861 Handle the case of FROM being a string correctly. (Bug#14755)
9862
9863 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9864
9865 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9866 progression on degenerate tables.
9867 (shr-rescale-image): ImageMagick animated images currently don't work.
9868
9869 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9870
9871 Some fixes and improvements for desktop frame restoration.
9872 It is still experimental and disabled by default.
9873 * desktop.el (desktop--save-windows): Put the selected frame at
9874 the head of the list.
9875 (desktop--make-full-frame): New function.
9876 (desktop--restore-windows): Try to re-select the frame that was
9877 selected upon saving. Do not abort if some frames fail to restore,
9878 just show an error message and continue. Set up maximized frames
9879 so they have default non-maximized dimensions.
9880
9881 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9882
9883 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9884 Don't start heredoc inside a string or comment.
9885
9886 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9887
9888 * bindings.el (visual-order-cursor-movement): New defcustom.
9889 (right-char, left-char): Provide visual-order cursor motion by
9890 calling move-point-visually. Update the doc strings.
9891
9892 2013-06-28 Kenichi Handa <handa@gnu.org>
9893
9894 * international/mule.el (define-coding-system): New coding system
9895 properties :inhibit-null-byte-detection,
9896 :inhibit-iso-escape-detection, and :prefer-utf-8.
9897 (set-buffer-file-coding-system): If :charset-list property of
9898 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9899 appropriate for setting.
9900
9901 * international/mule-cmds.el (select-safe-coding-system):
9902 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9903 multibyte characters, return utf-8 (or one of its siblings).
9904
9905 * international/mule-conf.el (prefer-utf-8): New coding system.
9906 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9907 files.
9908
9909 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9910
9911 * net/shr.el (shr-render-region): New function.
9912
9913 * net/eww.el: Autoload `eww-browse-url'.
9914
9915 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9916
9917 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9918 Adapt to `package-desc-version' being a list.
9919 Use `package--ac-desc-version' to retrieve version from a package
9920 archive element.
9921
9922 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9923
9924 New experimental feature to save&restore window and frame setup.
9925 * desktop.el (desktop-save-windows): New defcustom.
9926 (desktop--saved-states): New var.
9927 (desktop--excluded-frame-parameters): New defconst.
9928 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9929 (desktop--restore-windows, desktop--save-windows): New functions.
9930 (desktop-save): Call `desktop--save-windows'.
9931 (desktop-read): Call `desktop--restore-windows'.
9932
9933 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9934
9935 * net/shr.el (add-face-text-property): Remove compat definition.
9936
9937 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9938
9939 * info.el (Info-try-follow-nearest-node): Move search for footnote
9940 above search for node name to prevent missing a footnote (bug#14717).
9941
9942 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9943
9944 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9945
9946 2013-06-27 Leo Liu <sdl.web@gmail.com>
9947
9948 * net/eww.el (eww-read-bookmarks): Check file size.
9949
9950 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9951
9952 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9953 advice--pending if newdef is nil or an autoload (bug#13820).
9954 (advice-mapc): New function.
9955
9956 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9957
9958 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9959 probably.
9960 (eww-mode-map): Add a menu bar.
9961 (eww-add-bookmark): New command.
9962 (eww-bookmark-mode): New mode and commands.
9963 (eww-add-bookmark): Remove newlines from the title.
9964 (eww-bookmark-browse): Don't bug out if it's the only window.
9965
9966 2013-06-26 Glenn Morris <rgm@gnu.org>
9967
9968 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9969 (hfy-size): Handle ttys. (Bug#14668)
9970
9971 * info-xref.el: Update for Texinfo 5 change in *note format.
9972 (info-xref-node-re, info-xref-note-re): New constants.
9973 (info-xref-check-buffer): Use info-xref-note-re.
9974
9975 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9978
9979 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9980 nil terminate the loop (bug#14718).
9981
9982 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9983
9984 * net/eww.el: Rework history traversal. When going forward/back,
9985 put these actions into the history, too, so that they can be
9986 replayed.
9987 (eww-render): Move the history reset to the correct buffer.
9988
9989 2013-06-25 Juri Linkov <juri@jurta.org>
9990
9991 * files-x.el (modify-dir-local-variable): Change the header comment
9992 in the file with directory local variables. (Bug#14692)
9993
9994 * files-x.el (read-file-local-variable-value): Add `default'.
9995 (Bug#14710)
9996
9997 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9998
9999 * net/eww.el (eww-make-unique-file-name): Create a unique file
10000 name before saving to entering `y' accidentally asynchronously.
10001
10002 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10003
10004 * net/eww.el (eww-download): New command and keystroke.
10005
10006 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10007
10008 * net/eww.el (eww-copy-page-url): Change name of command.
10009
10010 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10011 be more consistent with Info and dired.
10012
10013 * net/eww.el (eww-mode-map): Ditto.
10014
10015 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10016
10017 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10018 packages from archives.
10019 (package-archive-contents): Change format; include obsolete packages.
10020 (package-desc): Use `dir' to mark builtin packages.
10021 (package--from-builtin): Set the `dir' field to `builtin'.
10022 (generated-autoload-file, version-control): Declare.
10023 (package-compute-transaction): Change first arg and return value to be
10024 lists of package-descs. Adjust to new package-archive-contents format.
10025 (package--add-to-archive-contents): Adjust to new
10026 package-archive-contents format.
10027 (package-download-transaction): Arg is now a list of package-descs.
10028 (package-install): If `pkg' is a package name, pass it as
10029 a requirement, so it is subject to the usual (e.g. disabled) checks.
10030 (describe-package): Accept package-desc as well.
10031 (describe-package-1): Describe a specific package-desc. Add links to
10032 other package-descs for the same package name.
10033 (package-menu-describe-package): Pass the actual package-desc.
10034 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10035 works correctly.
10036 (package-desc-status): New function.
10037 (package-menu--refresh): New function, extracted
10038 from package-menu--generate.
10039 (package-menu--generate): Use it.
10040 (package-delete): Update package-alist.
10041 (package-menu-execute): Don't call package-initialize.
10042
10043 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10044 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10045 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10046 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10047 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10048 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10049
10050 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10051
10052 * window.el (window--state-get-1): Workaround for bug#14527.
10053 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10054
10055 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10056
10057 * net/eww.el (eww-back-url): Implement the history by stashing all
10058 the data into a list.
10059 (eww-forward-url): Allow going forward in the history, too.
10060
10061 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10062
10063 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10064 for values and use read--expression for expressions (bug#14710).
10065 (read-file-local-variable): Avoid setq.
10066 (read-file-local-variable-mode): Use minor-mode-list.
10067
10068 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10069
10070 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10071 for DOI URLs.
10072
10073 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10074
10075 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10076 Update imenu-support when dialect changes.
10077
10078 2013-06-25 Leo Liu <sdl.web@gmail.com>
10079
10080 * ido.el (ido-read-internal): Allow forward slash on windows.
10081
10082 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10083
10084 * net/eww.el (eww): Start of strings is \\`, not ^.
10085
10086 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10087
10088 * net/shr.el (shr-browse-url): Fix interactive spec.
10089
10090 * net/eww.el (eww): Add a trailing slash to domain names.
10091
10092 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10093
10094 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10095
10096 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10097
10098 * net/shr.el (shr-browse-url): Use an external browser if given a
10099 prefix.
10100
10101 * net/eww.el (eww-external-browser): Move to shr.
10102
10103 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10104
10105 * net/eww.el (eww): Work more correctly for file: URLs.
10106 (eww-detect-charset): Allow quoted charsets.
10107 (eww-yank-page-url): New command and keystroke.
10108
10109 2013-06-24 Daiki Ueno <ueno@gnu.org>
10110
10111 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10112 file name of gpg executable.
10113 (epg-context-program): New function.
10114 (epg-context-home-directory): New function.
10115 (epg-context-set-program): New function.
10116 (epg-context-set-home-directory): New function.
10117 (epg--start): Use `epg-context-program' instead of
10118 'epg-gpg-program'.
10119 (epg--list-keys-1): Likewise.
10120
10121 2013-06-24 Leo Liu <sdl.web@gmail.com>
10122
10123 * ido.el (ido-read-internal): Fix bug#14620.
10124
10125 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10126
10127 * faces.el (face-documentation): Simplify.
10128 (read-face-attribute, tty-find-type, x-resolve-font-name):
10129 Use `string-match-p'.
10130 (list-faces-display): Use `string-match-p'. Simplify.
10131 (face-spec-recalc): Check face to avoid face alias loops.
10132 (read-color): Use `string-match-p' and non-capturing parenthesis.
10133
10134 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10135
10136 * net/shr.el (shr-rescale-image): Use the new
10137 :max-width/:max-height functionality.
10138
10139 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10140
10141 * net/eww.el (eww-search-prefix): New variable.
10142 (eww): Use it.
10143 (eww-external-browser): New variable.
10144 (eww-mode-map): New keystroke.
10145 (eww-browse-with-external-browser): New command.
10146
10147 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10148
10149 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10150
10151 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10152 Don't skip aligning the next header field when padding is 0;
10153 otherwise, field width is not respected unless the title is as
10154 wide as the field.
10155
10156 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10157
10158 * emacs-lisp/package.el (package-el-version): Remove.
10159 (package-process-define-package): Fix inf-loop.
10160 (package-install): Allow symbols as arguments again.
10161
10162 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10163
10164 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10165 add some more keyword-like methods.
10166 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10167
10168 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10169
10170 * bs.el (bs-buffer-show-mark): Make defvar-local.
10171 (bs-mode): Use setq-local.
10172
10173 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10174 (emacs-lock--try-unlocking): Make defvar-local.
10175
10176 2013-06-22 Glenn Morris <rgm@gnu.org>
10177
10178 * play/cookie1.el (cookie-apropos): Minor simplification.
10179
10180 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10181
10182 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10183
10184 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10185 `regexp-opt', it breaks the build during dumping.
10186
10187 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10188
10189 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10190 Highlight keyword-like methods on Kernel and Module with
10191 font-lock-builtin-face.
10192 (auto-mode-alist): Consolidate different entries into one regexp
10193 and add more *file-s.
10194
10195 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10196
10197 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10198
10199 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10200 (diary-entry): Use it in the action of this button type instead of
10201 diary-goto-entry.
10202
10203 * calendar/todo-mode.el: New version.
10204 (todo-add-category): Append new category to end of file and give
10205 it the highest number, instead of putting it at the beginning and
10206 giving it 0. Incorporate noninteractive functionality.
10207 (todo-forward-category): Adapt to 1-based category numbering.
10208 Allow skipping over archived categories.
10209 (todo-backward-category): Derive from todo-forward-category.
10210 (todo-backward-item, todo-forward-item): Make noninteractive and
10211 delegate interactive part to new commands. Make sensitive to done items.
10212 (todo-categories): Make value an alist of category names and
10213 vectors of item counts.
10214 (todo-category-beg): Make a defconst.
10215 (todo-category-number): Use 1 instead of 0 as initial value.
10216 (todo-category-select): Make sensitive to overlays, optional item
10217 highlighting and done items.
10218 (todo-delete-item): Make sensitive to overlays and marked and done items.
10219 (todo-edit-item): Make sensitive to overlays and editing of
10220 date/time header optional. Add format checks.
10221 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10222 no-op if point is not on an item. Advertise using todo-edit-quit.
10223 (todo-edit-mode): Make sensitive to new format, font-locking, and
10224 multiple todo files.
10225 (todo-insert-item, todo-insert-item-here): Derive from
10226 todo-basic-insert-item and extend functionality.
10227 (todo-item-end, todo-item-start): Make sensitive to done items.
10228 (todo-item-string): Don't return text properties. Restore point.
10229 (todo-jump-to-category): Make sensitive to multiple todo files and
10230 todo archives. Use extended category completion.
10231 (todo-lower-item, todo-raise-item): Rename to *-priority and
10232 derive from todo-set-item-priority.
10233 (todo-mode): Derive from special-mode. Make sensitive to new
10234 format, font-locking and multiple todo files. Make read-only.
10235 (todo-mode-map): Don't suppress digit keys, so they can supply
10236 prefix arguments. Add many new key bindings.
10237 (todo-prefix): Insert as an overlay instead of file text.
10238 Change semantics from diary date expression to purely visual mark.
10239 (todo-print): Rename to todo-print-buffer. Make buffer display
10240 features printable. Remove option to restrict number of items
10241 printed. Add option to print to file.
10242 (todo-print-function): Rename to todo-print-buffer-function.
10243 (todo-quit): Extend to handle exiting new todo modes.
10244 (todo-remove-item): Make sensitive to overlays.
10245 (todo-save): Extend to buffers of filtered items.
10246 (todo-show): Make sensitive to done items, multiple todo files and
10247 new todo modes. Offer to convert legacy todo file before creating
10248 first new todo file.
10249 (todo-show-priorities): Rename to todo-top-priorities.
10250 Change semantics of value 0.
10251 (todo-top-priorities): Rename to todo-filter-top-priorities,
10252 derive from todo-filter-items and extend functionality.
10253 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10254 and extend functionality to other types of filtered items.
10255 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10256 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10257 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10258 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10259 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10260 (todo-edit-mode-hook, todo-entry-prefix-function)
10261 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10262 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10263 (todo-initials, todo-insert-threshold, todo-item-string-start)
10264 (todo-line-string, todo-menu, todo-mode-hook)
10265 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10266 (todo-print-priorities, todo-remove-separator)
10267 (todo-save-top-priorities-too, todo-string-count-lines)
10268 (todo-string-multiline-p, todo-time-string-format)
10269 (todo-tmp-buffer-name): Remove.
10270 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10271 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10272 (todo-edit-category-diary-inclusion)
10273 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10274 (todo-edit-file, todo-edit-item-date-day)
10275 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10276 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10277 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10278 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10279 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10280 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10281 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10282 (todo-filter-top-priorities-multifile, todo-find-archive)
10283 (todo-find-filtered-items-file, todo-go-to-source-item)
10284 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10285 (todo-jump-to-archive-category, todo-lower-category)
10286 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10287 (todo-move-category, todo-move-item, todo-next-button)
10288 (todo-next-item, todo-padded-string, todo-powerset)
10289 (todo-previous-button, todo-previous-item)
10290 (todo-print-buffer-to-file, todo-raise-category)
10291 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10292 (todo-set-category-number, todo-set-item-priority)
10293 (todo-set-top-priorities-in-category)
10294 (todo-set-top-priorities-in-file, todo-show-categories-table)
10295 (todo-sort-categories-alphabetically-or-numerically)
10296 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10297 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10298 (todo-toggle-item-header, todo-toggle-item-highlighting)
10299 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10300 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10301 (todo-unarchive-items, todo-unmark-category): New commands.
10302 (todo-absolute-file-name, todo-add-to-buffer-list)
10303 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10304 (todo-basic-insert-item, todo-category-completions)
10305 (todo-category-number, todo-category-string-matcher-1)
10306 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10307 (todo-check-format, todo-clear-matches)
10308 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10309 (todo-current-category, todo-date-string-matcher)
10310 (todo-define-insertion-command, todo-diary-expired-matcher)
10311 (todo-diary-goto-entry, todo-diary-item-p)
10312 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10313 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10314 (todo-done-item-section-p, todo-done-separator)
10315 (todo-done-string-matcher, todo-files, todo-filter-items)
10316 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10317 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10318 (todo-insert-category-line, todo-insert-item-from-calendar)
10319 (todo-insert-sort-button, todo-insert-with-overlays)
10320 (todo-insertion-command-name, todo-insertion-key-bindings)
10321 (todo-label-to-key, todo-longest-category-name-length)
10322 (todo-make-categories-list, todo-mode-external-set)
10323 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10324 (todo-modes-set-3, todo-multiple-filter-files)
10325 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10326 (todo-read-category, todo-read-date, todo-read-dayname)
10327 (todo-read-file-name, todo-read-time)
10328 (todo-reevaluate-category-completions-files-defcustom)
10329 (todo-reevaluate-default-file-defcustom)
10330 (todo-reevaluate-filelist-defcustoms)
10331 (todo-reevaluate-filter-files-defcustom)
10332 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10333 (todo-reset-done-separator, todo-reset-done-separator-string)
10334 (todo-reset-done-string, todo-reset-global-current-todo-file)
10335 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10336 (todo-reset-prefix, todo-set-categories)
10337 (todo-set-date-from-calendar, todo-set-show-current-file)
10338 (todo-set-top-priorities, todo-short-file-name)
10339 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10340 (todo-total-item-counts, todo-update-buffer-list)
10341 (todo-update-categories-display, todo-update-categories-sexp)
10342 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10343 New functions.
10344 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10345 New major modes.
10346 (todo-categories, todo-display, todo-edit, todo-faces)
10347 (todo-filtered): New defgroups.
10348 (todo-archived-only, todo-button, todo-category-string, todo-date)
10349 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10350 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10351 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10352 (todo-add-item-if-new-category, todo-always-add-time-string)
10353 (todo-categories-align, todo-categories-archived-label)
10354 (todo-categories-category-label, todo-categories-diary-label)
10355 (todo-categories-done-label, todo-categories-number-separator)
10356 (todo-categories-todo-label, todo-categories-totals-label)
10357 (todo-category-completions-files, todo-completion-ignore-case)
10358 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10359 (todo-done-separator-string, todo-done-string)
10360 (todo-files-function, todo-filter-done-items, todo-filter-files)
10361 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10362 (todo-initial-category, todo-initial-file, todo-item-mark)
10363 (todo-legacy-date-time-regexp, todo-mode-line-function)
10364 (todo-nondiary-marker, todo-number-prefix)
10365 (todo-print-buffer-function, todo-show-current-file)
10366 (todo-show-done-only, todo-show-first, todo-show-with-done)
10367 (todo-skip-archived-categories, todo-top-priorities-overrides)
10368 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10369 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10370 New defcustoms.
10371 (todo-category-done, todo-date-pattern, todo-date-string-start)
10372 (todo-diary-items-buffer, todo-done-string-start)
10373 (todo-filtered-items-buffer, todo-item-start)
10374 (todo-month-abbrev-array, todo-month-name-array)
10375 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10376 (todo-top-priorities-buffer): New defconsts.
10377 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10378 (todo-categories-with-marks, todo-category-string-face)
10379 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10380 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10381 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10382 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10383 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10384 (todo-font-lock-keywords, todo-global-current-todo-file)
10385 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10386 (todo-insertion-commands-args)
10387 (todo-insertion-commands-args-genlist)
10388 (todo-insertion-commands-names, todo-insertion-map)
10389 (todo-key-bindings-t, todo-key-bindings-t+a)
10390 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10391 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10392 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10393 (todo-visited): New variables.
10394
10395 2013-06-21 Glenn Morris <rgm@gnu.org>
10396
10397 * play/cookie1.el (cookie-apropos): Add optional display argument.
10398 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10399 (psychoanalyze-pinhead): Use cookie-doctor.
10400
10401 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10402
10403 * emacs-lisp/package.el (tar-get-file-descriptor)
10404 (tar--extract): Declare.
10405
10406 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10407
10408 Extend flymake's warning predicate to be a function (bug#14217).
10409 * progmodes/flymake.el (flymake-warning-predicate): New.
10410 (flymake-parse-line): Use it.
10411 (flymake-warning-re): Make obsolete alias to
10412 `flymake-warning-predicate'.
10413
10414 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10415
10416 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10417 (package-obsolete-list): Remove.
10418 (package-activate): Remove min-version argument. Add `force' argument.
10419 Adjust to new package-alist format.
10420 (package-mark-obsolete): Remove.
10421 (package-unpack): Force reload of the package's autoloads.
10422 (package-installed-p): Check builtins if the installed package is not
10423 recent enough.
10424 (package-initialize): Don't reset package-obsolete-list.
10425 Don't specify which package version to activate.
10426 (package-process-define-package, describe-package-1)
10427 (package-menu--generate): Adjust to new package-alist format.
10428
10429 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10430
10431 * allout-widgets.el (allout-widgets-mode-off)
10432 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10433 (allout-widgets-post-command-business)
10434 (allout-widgets-after-copy-or-kill-function)
10435 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10436 (allout-decorate-item-and-context)
10437 (allout-graphics-modification-handler): Fix typos in docstrings.
10438 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10439
10440 * cmuscheme.el (scheme-start-file): Doc fix.
10441 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10442 (scheme-input-filter): Use `string-match-p'.
10443
10444 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10445
10446 * dired-x.el: Use Dired consistently in docstrings.
10447
10448 * dired.el: Use Dired consistently in docstrings.
10449 (dired-readin, dired-mode): Use `setq-local'.
10450 (dired-switches-alist): Make defvar-local.
10451 (dired-buffers-for-dir): Use `zerop'.
10452 (dired-safe-switches-p, dired-switches-escape-p)
10453 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10454 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10455 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10456 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10457 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10458 (dired-toggle-marks, dired-mark-files-containing-regexp)
10459 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10460 (dired-flag-auto-save-files, dired-flag-backup-files):
10461 Use `looking-at-p'.
10462 (dired-mark-files-regexp, dired-build-subdir-alist):
10463 Use `string-match-p', `looking-at-p'.
10464
10465 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10466 (direct-print-region-helper): Use `string-match-p'.
10467
10468 2013-06-21 Leo Liu <sdl.web@gmail.com>
10469
10470 * comint.el (comint-redirect-results-list-from-process):
10471 Fix infinite loop.
10472
10473 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10474
10475 * net/eww.el (eww-update-header-line-format): Quote % characters.
10476
10477 2013-06-21 Glenn Morris <rgm@gnu.org>
10478
10479 * play/cookie1.el (cookie): New custom group.
10480 (cookie-file): New option.
10481 (cookie-check-file): New function.
10482 (cookie): Make it interactive. Make start and end messages optional.
10483 Interactively, display the result. Default to cookie-file.
10484 (cookie-insert): Default to cookie-file.
10485 (cookie-snarf): Make start and end messages optional.
10486 Default to cookie-file. Use with-temp-buffer.
10487 (cookie-read): Rename from read-cookie.
10488 Make start and end messages optional. Default to cookie-file.
10489 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10490 Do not autoload it.
10491 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10492 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10493
10494 2013-06-21 Leo Liu <sdl.web@gmail.com>
10495
10496 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10497
10498 2013-06-21 Glenn Morris <rgm@gnu.org>
10499
10500 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10501
10502 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10503 Daniel Hackney <dan@haxney.org>
10504
10505 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10506 Consolidate the single-file vs tarball code.
10507 (package-desc-suffix): New function.
10508 (package-desc-full-name): Don't bother inlining it.
10509 (package-load-descriptor): Return the new package-desc.
10510 (package-mark-obsolete): Remove unused arg `package'.
10511 (package-unpack): Make it work for single files as well.
10512 Make it update package-alist.
10513 (package--make-autoloads-and-stuff): Rename from
10514 package--make-autoloads-and-compile. Don't compile any more.
10515 (package--compile): New function.
10516 (package-generate-description-file): New function, extracted from
10517 package-unpack-single.
10518 (package-unpack-single): Remove.
10519 (package--with-work-buffer): Add indentation and debugging info.
10520 (package-download-single): Remove.
10521 (package-install-from-archive): Rename from package-download-tar, make
10522 it take a pkg-desc, and make it work for single files as well.
10523 (package-download-transaction): Simplify.
10524 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10525 external tar program.
10526 (package-install-from-buffer): Remove `pkg-desc' argument.
10527 Use package-tar-file-info for tar-mode buffers.
10528 (package-install-file): Simplify accordingly.
10529 (package-archive-base): Change to take a pkg-desc.
10530 * tar-mode.el (tar--check-descriptor): New function, extracted from
10531 tar-get-descriptor.
10532 (tar-get-descriptor): Use it.
10533 (tar-get-file-descriptor): New function.
10534 (tar--extract): New function, extracted from tar-extract.
10535 (tar--extract): Use it.
10536 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10537 case the summary uses non-ascii. Adjust to new calling convention of
10538 package-tar-file-info.
10539
10540 2013-06-21 Leo Liu <sdl.web@gmail.com>
10541
10542 * comint.el (comint-redirect-results-list-from-process):
10543 Fix random delay. (Bug#14681)
10544
10545 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10546
10547 * profiler.el (profiler-format-number): Use log, not log10.
10548
10549 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10550
10551 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10552
10553 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10554
10555 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10556 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10557 yet available.
10558 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10559 (AUTOGENEL): ... here.
10560 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10561 (cl--defsubst-expand): Use it.
10562
10563 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10564
10565 * subr.el (log10): Move here from C code, and declare as obsolete.
10566 All uses of (log10 X) replaced with (log X 10).
10567
10568 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10569
10570 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10571 Declare with `defvar-local'.
10572 (tabulated-list-use-header-line, tabulated-list-entries)
10573 (tabulated-list-padding, tabulated-list-printer)
10574 (tabulated-list-sort-key): Declare with `defvar-local'.
10575 (tabulated-list-init-header, tabulated-list-print-fake-header):
10576 Use `setq-local'.
10577
10578 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10579
10580 * arc-mode.el (archive-mode): Add `archive-write-file' to
10581 `write-contents-functions' also for remote files. (Bug#14652)
10582
10583 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10584
10585 * cus-edit.el (custom-commands): Fix typos.
10586 (custom-display): Fix tooltip text.
10587 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10588 Fix typos in docstrings.
10589 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10590 (custom-unlispify-menu-entry, custom-magic-value-create)
10591 (custom-add-see-also, custom-group-value-create): Use ?\s.
10592 (custom-guess-type, customize-apropos, editable-field)
10593 (custom-face-value-create): Use `string-match-p'.
10594 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10595
10596 * custom.el (custom-load-symbol): Use `string-match-p'.
10597
10598 * ansi-color.el: Convert to lexical binding.
10599 (ansi-colors): Fix URL.
10600 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10601 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10602 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10603
10604 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10605
10606 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10607
10608 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10609
10610 2013-06-19 Tom Tromey <tromey@redhat.com>
10611
10612 * net/eww.el (eww-top-url): Remove.
10613 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10614 (eww-render): Set new variables. Don't set eww-top-url.
10615 (eww-handle-link): Handle "prev", "home", and "contents".
10616 Downcase the rel text.
10617 (eww-top-url): Choose best top URL.
10618
10619 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10620
10621 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10622 relying in widget.el. Using widget.el leads to too many
10623 user interface inconsistencies.
10624 (eww-self-insert): Implement entering commands in text fields.
10625 (eww-process-text-input): New function to make text input field editing
10626 work.
10627 (eww-submit): Rewrite to use the new-style form methods.
10628 (eww-select-display): Display the correct selected item.
10629 (eww-change-select): Implement changing the select value.
10630 (eww-toggle-checkbox): Implement radio/checkboxes.
10631 (eww-update-field): Fix compilation error.
10632 (eww-tag-textarea): Implement <textarea>.
10633
10634 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10635 we don't shadow mode-specific bindings.
10636
10637 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10638 nothing to push.
10639
10640 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10641
10642 2013-06-19 Glenn Morris <rgm@gnu.org>
10643
10644 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10645
10646 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10647
10648 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10649 not needed.
10650
10651 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10652
10653 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10654
10655 * net/browse-url.el (browse-url-browser-function):
10656 `eww-browse-url' has the right calling signature, `eww' does not.
10657
10658 2013-06-19 Glenn Morris <rgm@gnu.org>
10659
10660 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10661 Only eval autoloaded macros.
10662 (byte-compile-autoload): Only give the macro warning for macros.
10663
10664 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10665 (ps-underlined-faces): Declare.
10666
10667 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10668 (speedbar-add-supported-extension): Declare.
10669
10670 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10671 Don't include a date stamp in the header of the generated file;
10672 it leads to needless differences between output files.
10673
10674 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10675
10676 * net/secrets.el (secrets-struct-secret-content-type):
10677 Replace check of introspection data by a test call of "CreateItem".
10678 Some servers do not offer introspection.
10679
10680 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10681
10682 * electric.el (electric-pair-mode): Improve interaction with
10683 electric-layout-mode.
10684 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10685 (electric-pair-syntax): Use text-mode-syntax-table in comments
10686 and strings.
10687 (electric-pair--insert): New function.
10688 (electric-pair-post-self-insert-function): Use it and
10689 electric--after-char-pos.
10690
10691 2013-06-19 Leo Liu <sdl.web@gmail.com>
10692
10693 * progmodes/octave.el (octave-help): Fix regexp.
10694
10695 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10696
10697 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10698 (shr-table-horizontal-line): Allow nil as a value, and change the
10699 default.
10700 (shr-insert-table-ruler): Respect the nil value.
10701
10702 2013-06-18 Tom Tromey <tromey@barimba>
10703
10704 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10705 New defvars.
10706 (eww-open-file): New defun.
10707 (eww-render): Initialize new variables.
10708 (eww-display-html): Handle "link" and "a".
10709 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10710 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10711 (eww-back-url): Rename from eww-previous-url.
10712 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10713 New defuns.
10714
10715 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10716
10717 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10718 Distinguish ternary operator tokens from slash symbol and slash
10719 char literal.
10720
10721 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10722
10723 Convert symbol prettification into minor mode and global minor mode.
10724
10725 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10726 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10727 (prettify-symbols--keywords): Rename from
10728 `prog-prettify-symbols-alist' and make a local defvar.
10729 (prettify-symbols--compose-symbol): Rename from
10730 `prog--prettify-font-lock-compose-symbol'.
10731 (prettify-symbols--make-keywords): Rename from
10732 `prog-prettify-font-lock-symbols-keywords' and simplify.
10733 (prog-prettify-install): Remove.
10734 (prettify-symbols-mode): New minor mode, based on
10735 `prog-prettify-install'.
10736 (turn-on-prettify-symbols-mode): New function.
10737 (global-prettify-symbols-mode): New globalized minor mode.
10738
10739 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10740 * progmodes/cfengine.el (cfengine3-mode):
10741 * progmodes/perl-mode.el (perl-mode): Don't call
10742 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10743
10744 2013-06-18 Juri Linkov <juri@jurta.org>
10745
10746 * files-x.el (modify-file-local-variable-message): New function.
10747 (modify-file-local-variable)
10748 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10749 and call `modify-file-local-variable-message' when it's non-nil.
10750 (add-file-local-variable, delete-file-local-variable)
10751 (add-file-local-variable-prop-line)
10752 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10753 and use it. (Bug#9820)
10754
10755 2013-06-18 Juri Linkov <juri@jurta.org>
10756
10757 * emulation/vi.el (vi-shell-op):
10758 * emulation/vip.el (vip-execute-com, ex-command):
10759 * emulation/viper-cmd.el (viper-exec-bang):
10760 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10761 the call of `shell-command-on-region'. (Bug#14637)
10762
10763 * simple.el (shell-command-on-region): Doc fix.
10764
10765 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10766
10767 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10768 (bug#14633).
10769
10770 2013-06-18 Glenn Morris <rgm@gnu.org>
10771
10772 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10773
10774 * newcomment.el (comment-search-forward, comment-search-backward):
10775 Doc fix. (Bug#14376)
10776
10777 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10778
10779 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10780 (buffer-face-mode-invoke): Doc fix.
10781
10782 2013-06-18 Matthias Meulien <orontee@gmail.com>
10783
10784 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10785 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10786
10787 2013-06-18 Glenn Morris <rgm@gnu.org>
10788
10789 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10790 Replace obsolete function generic-make-keywords with its expansion.
10791
10792 * progmodes/python.el (ffap-alist): Declare.
10793
10794 * textmodes/reftex.el (bibtex-mode-map): Declare.
10795
10796 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10799 (package-unpack, package-unpack-single): Return the pkg-dir.
10800 (package-download-transaction): Use it to update package-alist.
10801
10802 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10803
10804 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10805 possible choice.
10806
10807 2013-06-17 Juri Linkov <juri@jurta.org>
10808
10809 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10810
10811 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10812
10813 * emacs-lisp/package.el (package-load-descriptor):
10814 Remove `with-syntax-table' call, `read' doesn't need it.
10815 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10816
10817 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10818
10819 * startup.el (command-line): Expand package name returned by
10820 `package--description-file' (bug#14639).
10821
10822 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10823
10824 * emacs-lisp/package.el (package-load-descriptor): Do not call
10825 `emacs-lisp-mode', just use its syntax table.
10826
10827 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10828
10829 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10830 `font-lock-extra-managed-props' if any prettifying keyword is added.
10831 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10832 (prog-mode): Use `setq-local'.
10833
10834 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10835
10836 * international/characters.el (standard-case-table): Set syntax of ?»
10837 and ?« to punctuation.
10838
10839 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10840
10841 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10842 Save relevant match data before calling `syntax-ppss' (bug#14595).
10843
10844 2013-06-15 Juri Linkov <juri@jurta.org>
10845
10846 * files-x.el (modify-file-local-variable-prop-line): Add local
10847 variables to the end of the existing comment on the first line.
10848 Use `file-auto-mode-skip' to skip interpreter magic line,
10849 and also skip XML declaration.
10850
10851 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10852
10853 * startup.el (package--builtin-versions): New var.
10854 (package-subdirectory-regexp): Remove.
10855 (package--description-file): Hard code its value instead.
10856
10857 * emacs-lisp/package.el: Don't activate packages older than builtin.
10858 (package-obsolete-list): Rename from package-obsolete-alist, and make
10859 it into a simple list of package-desc.
10860 (package-strip-version): Remove.
10861 (package-built-in-p): Use package--builtin-versions.
10862 (package-mark-obsolete): Simplify.
10863 (package-process-define-package): Mark it obsolete if older than the
10864 builtin version.
10865 (package-handle-response): Use line-end-position.
10866 (package-read-archive-contents, package--download-one-archive):
10867 Simplify.
10868 (package--add-to-archive-contents): Skip if older than the builtin or
10869 installed version.
10870 (package-menu-describe-package): Fix last change.
10871 (package-list-unversioned): New var.
10872 (package-menu--generate): Use it.
10873
10874 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10875 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10876 (autoload-builtin-package-versions): New variable.
10877 (autoload-generate-file-autoloads): Use them.
10878 Remove the list of autoloaded functions/macros from the
10879 (autoload...) comments.
10880
10881 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10882
10883 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10884
10885 * simple.el (line-move-partial): Don't jump to the next screen
10886 line as soon as it becomes visible. Instead, continue enlarging
10887 the vscroll until the portion of a tall screen line that's left on
10888 display is about the height of the frame's default font.
10889 (Bug#14567)
10890
10891 2013-06-15 Glenn Morris <rgm@gnu.org>
10892
10893 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10894 compilation-error-regexp-alist void, or local while let-bound.
10895
10896 * progmodes/make-mode.el (makefile-mode-syntax-table):
10897 Treat "=" as punctuation. (Bug#14614)
10898
10899 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10900
10901 * help-fns.el (describe-variable):
10902 Add extra line for permanent-local variables.
10903
10904 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10905
10906 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10907 Add export, import, library. (Bug#9164)
10908 (library): Set indent function.
10909
10910 2013-06-14 Glenn Morris <rgm@gnu.org>
10911
10912 * term/xterm.el (xterm--query):
10913 Stop after first matching handler. (Bug#14615)
10914
10915 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10916
10917 Add support for dired in saveplace.
10918 * dired.el (dired-initial-position-hook): New variable.
10919 (dired-initial-position): Call hook to place cursor position.
10920 * saveplace.el (save-place-to-alist): Add dired position.
10921 (save-place-dired-hook): New function.
10922
10923 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10924
10925 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10926 through a symbol rather than letrec.
10927
10928 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10929 (package-desc): Add `dir' field.
10930 (package-desc-full-name): New function.
10931 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10932 (package-maybe-load-descriptor): Remove.
10933 (package-load-all-descriptors): Just call package-load-descriptor.
10934 (package--disabled-p): New function.
10935 (package-desc-vers, package-desc-doc): Remove aliases.
10936 (package--dir): Remove function.
10937 (package-activate): Check if a package is disabled.
10938 (package-process-define-package): New function, extracted from
10939 define-package.
10940 (define-package): Turn into a place holder.
10941 (package-unpack-single, package-tar-file-info):
10942 Use package--description-file.
10943 (package-compute-transaction): Use package--disabled-p.
10944 (package-download-transaction): Don't call
10945 package-maybe-load-descriptor since they're all loaded anyway.
10946 (package-install): Change argument to be a pkg-desc.
10947 (package-delete): Use a single pkg-desc argument.
10948 (describe-package-1): Use package-desc-dir instead of package--dir.
10949 Use package-desc property instead of package-symbol.
10950 (package-install-button-action): Adjust accordingly.
10951 (package--push): Rewrite.
10952 (package-menu--print-info): Adjust accordingly. Change the ID format
10953 to be a pkg-desc.
10954 (package-menu-describe-package, package-menu-get-status)
10955 (package-menu--find-upgrades, package-menu-mark-upgrades)
10956 (package-menu-execute, package-menu--name-predicate):
10957 Adjust accordingly.
10958 * startup.el (package--description-file): New function.
10959 (command-line): Use it.
10960 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10961 Use package-desc-version.
10962
10963 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10964 (byte-compile-preprocess): Use it.
10965 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10966 can't quite recognize.
10967 (byte-compile-add-to-list): Remove.
10968 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10969 (cconv-closure-convert): Add assertion.
10970
10971 * emacs-lisp/map-ynp.el: Use lexical-binding.
10972 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10973 Factor out some repeated code.
10974
10975 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10976
10977 * subr.el (with-eval-after-load): New macro.
10978 (eval-after-load): Allow form to be a function.
10979 take advantage of lexical-binding.
10980 (do-after-load-evaluation): Use dolist and adjust to new format.
10981 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10982
10983 2013-06-13 Juri Linkov <juri@jurta.org>
10984
10985 * replace.el (perform-replace): Display "symbol " and other search
10986 modes from `isearch-message-prefix' in the *Help* buffer.
10987
10988 * isearch.el (isearch-query-replace): Add " symbol" and other
10989 possible search modes from `isearch-message-prefix' to the prompt.
10990 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10991 when reading a regexp to collect.
10992
10993 2013-06-13 Juri Linkov <juri@jurta.org>
10994
10995 * isearch.el (word-search-regexp): Match whitespace if the search
10996 string begins or ends in whitespace. The LAX arg is applied to
10997 both ends of the search string. Use `regexp-quote' and explicit
10998 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10999 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11000 boundaries are replaced with symbol boundaries, and characters
11001 between symbols match non-word non-symbol syntax. (Bug#14602)
11002
11003 2013-06-13 Juri Linkov <juri@jurta.org>
11004
11005 * isearch.el (isearch-del-char): Don't exceed the length of
11006 `isearch-string' by the prefix arg. (Bug#14563)
11007
11008 2013-06-13 Juri Linkov <juri@jurta.org>
11009
11010 * isearch.el (isearch-yank-word, isearch-yank-line)
11011 (isearch-char-by-name, isearch-quote-char)
11012 (isearch-printing-char, isearch-process-search-char):
11013 Add optional count prefix arg. (Bug#14563)
11014
11015 * international/isearch-x.el
11016 (isearch-process-search-multibyte-characters):
11017 Add optional count prefix arg.
11018
11019 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11020
11021 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11022 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11023 lexical-binding.
11024
11025 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11026
11027 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11028
11029 2013-06-13 Glenn Morris <rgm@gnu.org>
11030
11031 * startup.el (tty-handle-args):
11032 Don't just discard "--" and anything after. (Bug#14608)
11033
11034 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11035
11036 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11037
11038 Implement changes in Secret Service API. Make it backward compatible.
11039 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11040 (secrets-create-item): Use it. Prefix properties with interface.
11041
11042 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11043
11044 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11045 (term-emulate-terminal): Respect term-suppress-hard-newline.
11046
11047 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11048
11049 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11050 Only remove a `thumb-file' overlay. (Bug#14548)
11051
11052 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11053
11054 * mail/reporter.el (reporter-submit-bug-report):
11055 Handle missing package-name. (Bug#14600)
11056
11057 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11058
11059 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11060 (reftex-citation-prompt, reftex-default-bibliography)
11061 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11062 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11063 (reftex-bib-sort-author, reftex-bib-sort-year)
11064 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11065 (reftex-extract-bib-entries-from-thebibliography)
11066 (reftex-get-bibkey-default, reftex-get-bib-names)
11067 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11068 (reftex-format-bib-entry, reftex-parse-bibitem)
11069 (reftex-format-bibitem, reftex-do-citation)
11070 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11071 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11072 (reftex-insert-bib-matches, reftex-format-citation)
11073 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11074 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11075 existing comments into docstrings.
11076
11077 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11078
11079 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11080
11081 2013-06-12 Andreas Schwab <schwab@suse.de>
11082
11083 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11084 for auto-save files.
11085
11086 2013-06-12 Glenn Morris <rgm@gnu.org>
11087
11088 * ido.el (ido-delete-ignored-files): Remove.
11089 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11090 Go back to calling ido-ignore-item-p directly.
11091
11092 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11093
11094 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11095
11096 * ido.el (ido-delete-ignored-files): New function,
11097 split from ido-make-file-list-1.
11098 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11099 (ido-make-file-list-1): Use ido-delete-ignored-files.
11100
11101 2013-06-12 Leo Liu <sdl.web@gmail.com>
11102
11103 * progmodes/octave.el (inferior-octave-startup)
11104 (inferior-octave-completion-table)
11105 (inferior-octave-track-window-width-change)
11106 (octave-eldoc-function-signatures, octave-help)
11107 (octave-find-definition): Use single quoted strings.
11108 (inferior-octave-startup-args): Change default value.
11109 (inferior-octave-startup): Do not hard code "-i" and
11110 "--no-line-editing".
11111 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11112 (inferior-octave-directory-tracker): Use it.
11113 (octave-goto-function-definition): Robustify.
11114 (octave-help): Support highlighting operators in 'See also'.
11115 (octave-find-definition): Find subfunctions only in Octave mode.
11116
11117 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * help-fns.el (help-fns--compiler-macro): If the handler function is
11120 named, then put a link to it.
11121 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11122 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11123 (cl-typep): Use it.
11124 (cl-eval-when): Simplify debug spec.
11125 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11126 compiler-macro function instead of setting `compiler-macro-file'.
11127
11128 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11129
11130 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11131 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11132
11133 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11134 Daniel Hackney <dan@haxney.org>
11135
11136 First part of Daniel Hackney's patch to package.el.
11137 * emacs-lisp/package.el: Use defstruct.
11138 (package-desc): New, main struct.
11139 (package--bi-desc, package--ac-desc): New structs, used to describe the
11140 format in external files.
11141 (package-desc-vers): Replace with package-desc-version accessor.
11142 (package-desc-doc): Replace with package-desc-summary accessor.
11143 (package-activate-1): Remove `package' arg since the pkg-vec now
11144 includes the name.
11145 (define-package): Use package-desc-from-define.
11146 (package-unpack-single): Change file-name arg to be a symbol.
11147 (package--add-to-archive-contents): Use package-desc-create and new
11148 accessor functions to package--ac-desc.
11149 (package-buffer-info, package-tar-file-info): Return a package-desc.
11150 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11151 arg to be a package-desc.
11152 (package-install-file): Adjust accordingly. Use \' to match EOS.
11153 (package--from-builtin): New function.
11154 (describe-package-1, package-menu--generate): Use it.
11155 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11156 (package-generate-autoloads): Idem and return the name of the file.
11157 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11158 Change pkg-info arg to be a package-desc.
11159 Use package-make-ac-desc.
11160 (package-upload-file): Use \' to match EOS.
11161 * finder.el (finder-compile-keywords): Use package-make-builtin.
11162
11163 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * vc/vc.el (vc-deduce-fileset): Change error message.
11166 (vc-read-backend): New function.
11167 (vc-next-action): Use it.
11168
11169 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11170
11171 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11172 (prolog-font-lock-keywords): Use regexp-opt instead.
11173 Don't manually highlight strings.
11174 (prolog-mode-variables): Simplify comment-start-skip.
11175 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11176
11177 * emacs-lisp/generic.el (generic--normalise-comments)
11178 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11179 (generic-mode-set-comments): Use them.
11180 (generic-bracket-support): Use setq-local.
11181 (generic-make-keywords-list): Declare obsolete.
11182
11183 2013-06-11 Glenn Morris <rgm@gnu.org>
11184
11185 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11186 Prettify after setting font-lock-defaults. (Bug#14574)
11187
11188 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11189
11190 * replace.el (query-replace, occur-read-regexp-defaults-function)
11191 (replace-search):
11192 * subr.el (declare-function, number-sequence, local-set-key)
11193 (substitute-key-definition, locate-user-emacs-file)
11194 (with-silent-modifications, split-string, eval-after-load):
11195 Fix typos, remove unneeded backslashes and reflow some docstrings.
11196
11197 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11198
11199 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11200 default for Elisp files.
11201
11202 2013-06-11 Glenn Morris <rgm@gnu.org>
11203
11204 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11205 although define-derived-mode was doing this anyway. (Bug#14583)
11206
11207 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11208
11209 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11210 Fix make-variable-buffer-local call to refer to the correct variable.
11211
11212 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11213
11214 * eshell/em-term.el (eshell-visual-commands)
11215 (eshell-visual-subcommands, eshell-visual-options):
11216 Add summary line to docstrings. Add cross-references.
11217
11218 2013-06-10 Glenn Morris <rgm@gnu.org>
11219
11220 * epa.el (epa-read-file-name): New function. (Bug#14510)
11221 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11222
11223 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11224
11225 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11226 output redirection to be ignored with visual commands.
11227
11228 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11229
11230 * eshell/em-term.el (eshell-visual-command-p): New function.
11231 (eshell-term-initialize): Move long lambda to separate function
11232 eshell-visual-command-p.
11233 * eshell/em-dirs.el (eshell-dirs-initialize):
11234 * eshell/em-script.el (eshell-script-initialize):
11235 Add missing #' to lambda.
11236
11237 2013-06-08 Leo Liu <sdl.web@gmail.com>
11238
11239 * progmodes/octave.el (octave-add-log-current-defun): New function.
11240 (octave-mode): Set add-log-current-defun-function.
11241 (octave-goto-function-definition): Do not move point if not found.
11242 (octave-find-definition): Enhance to try subfunctions first.
11243
11244 2013-06-08 Glenn Morris <rgm@gnu.org>
11245
11246 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11247 (byte-compile-backward-char, byte-compile-backward-word):
11248 Improve previous change, to handle non-explicit nil.
11249
11250 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11251
11252 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11253 (smie--opener/closer-at-point): New function.
11254 (smie--matching-block-data): Use it. Don't match from right after an
11255 opener or right before a closer. Obey smie-blink-matching-inners.
11256 Don't signal a mismatch for repeated inners like "switch..case..case".
11257
11258 2013-06-07 Leo Liu <sdl.web@gmail.com>
11259
11260 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11261 to t. (Bug#14303)
11262 (octave-function-header-regexp): Fix. (Bug#14570)
11263 (octave-help-mode-finish-hook, octave-help-mode-finish):
11264 Remove. Just use temp-buffer-show-hook.
11265
11266 * newcomment.el (comment-search-backward): Revert last change.
11267 (Bug#14434)
11268
11269 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11270
11271 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11272
11273 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11274 through xargs, to avoid failure due to MS-Windows limitations on
11275 command-line length.
11276
11277 2013-06-06 Glenn Morris <rgm@gnu.org>
11278
11279 * font-lock.el (lisp-font-lock-keywords-2):
11280 Treat user-error like error.
11281
11282 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11283 (byte-compile-backward-char, byte-compile-backward-word):
11284 Handle explicit nil arguments. (Bug#14565)
11285
11286 2013-06-05 Alan Mackenzie <acm@muc.de>
11287
11288 * isearch.el (isearch-allow-prefix): New user option.
11289 (isearch-other-meta-char): Don't exit isearch when a prefix
11290 argument is typed whilst `isearch-allow-prefix' is non-nil.
11291 (Bug#9706)
11292
11293 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11294
11295 * autorevert.el (auto-revert-notify-handler): Use memq.
11296 Hide assertion failure.
11297
11298 * skeleton.el: Use cl-lib.
11299 (skeleton-further-elements): Use defvar-local.
11300 (skeleton-insert): Use cl-progv.
11301
11302 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11303
11304 * progmodes/prog-mode.el (prog-prettify-symbols)
11305 (prog-prettify-install): Update docstrings.
11306
11307 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11308
11309 * simple.el: Move all the prog-mode code to prog-mode.el.
11310 * progmodes/prog-mode.el: New file.
11311 * loadup.el: Add prog-mode.el.
11312
11313 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11314
11315 * simple.el (prog-prettify-symbols): Add version.
11316 (prog-prettify-install): Add convenience function to prettify symbols.
11317
11318 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11319 (perl--augmented-font-lock-keywords-1)
11320 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11321 variables and use it.
11322
11323 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11324 (cfengine3-mode): Remove unneeded variable and use it.
11325
11326 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11327 (lisp--augmented-font-lock-keywords-1)
11328 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11329 Remove unneeded variables and use it.
11330
11331 2013-06-05 João Távora <joaotavora@gmail.com>
11332
11333 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11334 to point when opening the connection. (Bug#14380)
11335
11336 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11337
11338 * subr.el (load-history-regexp, load-history-filename-element)
11339 (eval-after-load, after-load-functions, do-after-load-evaluation)
11340 (eval-next-after-load, display-delayed-warnings)
11341 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11342 definition of save-match-data.
11343 (overriding-local-map): Remove accidental obsolescence declaration.
11344
11345 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11346
11347 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11348
11349 Generalize symbol prettify support to prog-mode and implement it
11350 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11351 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11352 (prog--prettify-font-lock-compose-symbol)
11353 (prog-prettify-font-lock-symbols-keywords): New variables and
11354 functions to support symbol prettification.
11355 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11356 (lisp--augmented-font-lock-keywords-1)
11357 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11358 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11359 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11360 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11361 Implement prettify of -> => :: strings.
11362 * progmodes/perl-mode.el (perl-prettify-symbols)
11363 (perl--font-lock-compose-symbol)
11364 (perl--font-lock-symbols-keywords): Move to prog-mode.
11365 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11366 (perl-font-lock-keywords-1)
11367 (perl-font-lock-keywords-2): Remove explicit prettify support.
11368 (perl--augmented-font-lock-keywords)
11369 (perl--augmented-font-lock-keywords-1)
11370 (perl--augmented-font-lock-keywords-2, perl-mode):
11371 Implement prettify support.
11372
11373 2013-06-05 Leo Liu <sdl.web@gmail.com>
11374
11375 Re-implement SMIE matching block highlight using
11376 show-paren-data-function. (Bug#14395)
11377 * emacs-lisp/smie.el (smie-matching-block-highlight)
11378 (smie--highlight-matching-block-overlay)
11379 (smie--highlight-matching-block-lastpos)
11380 (smie-highlight-matching-block)
11381 (smie-highlight-matching-block-mode): Remove.
11382 (smie--matching-block-data-cache): New variable.
11383 (smie--matching-block-data): New function.
11384 (smie-setup): Use smie--matching-block-data for
11385 show-paren-data-function.
11386
11387 * progmodes/octave.el (octave-mode-menu): Fix.
11388 (octave-find-definition): Skip garbage lines.
11389
11390 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11391
11392 Fix compilation error with simultaneous dynamic+lexical scoping.
11393 Add warning when a defvar appears after the first let-binding.
11394 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11395 (byte-compile-close-variables): Initialize it.
11396 (byte-compile--declare-var): New function.
11397 (byte-compile-file-form-defvar)
11398 (byte-compile-file-form-define-abbrev-table)
11399 (byte-compile-file-form-custom-declare-variable): Use it.
11400 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11401 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11402 (byte-compile-bind): Handle dynamic bindings that shadow
11403 lexical bindings.
11404 (byte-compile-unbind): Make arg non-optional.
11405 (byte-compile-let): Simplify.
11406 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11407 (cconv--analyse-function, cconv-analyse-form): Populate it.
11408 Protect byte-compile-bound-variables to limit the scope of defvars.
11409 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11410 Remove unneeded rule for `declare'.
11411
11412 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11413 so as to avoid depending on cl-adjoin at run-time.
11414 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11415
11416 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11417 (macroexp--warn-and-return): Use it.
11418
11419 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * subr.el: Convert to lexical binding.
11422 (overriding-local-map): Make obsolete.
11423 (add-to-list): Doc fix. Add compiler macro.
11424 (read-key): Swap values of local maps.
11425
11426 2013-06-05 Leo Liu <sdl.web@gmail.com>
11427
11428 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11429
11430 2013-06-04 Leo Liu <sdl.web@gmail.com>
11431
11432 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11433 (compilation-auto-jump): Suppress the "Mark set" message to give
11434 way to exit message.
11435
11436 2013-06-04 Alan Mackenzie <acm@muc.de>
11437
11438 Remove faulty optimisation from indentation calculation.
11439 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11440 search limit based on 2000 characters back from indent-point.
11441
11442 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11443
11444 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11445
11446 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11447
11448 * emacs-lisp/lisp.el: Use lexical-binding.
11449 (lisp--local-variables-1, lisp--local-variables): New functions.
11450 (lisp--local-variables-completion-table): New var.
11451 (lisp-completion-at-point): Use it complete let-bound vars.
11452
11453 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11454 eagerly (bug#14422).
11455
11456 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11457
11458 * autorevert.el (auto-revert-notify-enabled)
11459 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11460 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11461 (auto-revert-notify-handler): Handle also gfilenotify.
11462
11463 * subr.el (file-notify-handle-event): New defun. Replacing ...
11464 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11465 Remove.
11466
11467 2013-06-03 Juri Linkov <juri@jurta.org>
11468
11469 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11470 `M-s h .'. (Bug#14427)
11471
11472 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11473 command `hi-lock-face-symbol-at-point'.
11474 (hi-lock-face-symbol-at-point): New command.
11475 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11476 (hi-lock-menu): Add `highlight-symbol-at-point'.
11477 (hi-lock-mode): Doc fix.
11478
11479 * isearch.el (isearch-forward-symbol-at-point): New command.
11480 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11481 (isearch-highlight-regexp): Add a regexp which matches
11482 words/symbols for word/symbol mode.
11483
11484 * subr.el (find-tag-default-bounds): New function with the body
11485 mostly moved from `find-tag-default'.
11486 (find-tag-default): Move most code to `find-tag-default-bounds',
11487 call it and apply `buffer-substring-no-properties' afterwards.
11488
11489 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11490
11491 * eshell/em-term.el (eshell-term-initialize):
11492 Use `cl-intersection' rather than `intersection'.
11493
11494 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11495
11496 * vc/log-view.el: Doc fix.
11497 (log-view-mode-map): Copy keymap from `special-mode-map'.
11498
11499 2013-06-02 Eric Ludlam <zappo@gnu.org>
11500
11501 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11502 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11503 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11504 (eieio-unbound, eieio-default-superclass)
11505 (eieio--define-field-accessors, method-static, method-before)
11506 (method-primary, method-after, method-num-lists)
11507 (method-generic-before, method-generic-primary)
11508 (method-generic-after, method-num-slots)
11509 (eieio-specialized-key-to-generic-key)
11510 (eieio--check-type, class-v, class-p)
11511 (eieio-class-name, define-obsolete-function-alias)
11512 (eieio-class-parents-fast, eieio-class-children-fast)
11513 (same-class-fast-p, class-constructor, generic-p)
11514 (generic-primary-only-p, generic-primary-only-one-p)
11515 (class-option-assoc, class-option, eieio-object-p)
11516 (class-abstract-p, class-method-invocation-order)
11517 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11518 (eieio-class-un-autoload, eieio-defclass)
11519 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11520 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11521 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11522 (eieio-defgeneric-reset-generic-form)
11523 (eieio-defgeneric-form-primary-only)
11524 (eieio-defgeneric-reset-generic-form-primary-only)
11525 (eieio-defgeneric-form-primary-only-one)
11526 (eieio-defgeneric-reset-generic-form-primary-only-one)
11527 (eieio-unbind-method-implementations)
11528 (eieio--defmethod, eieio--typep)
11529 (eieio-perform-slot-validation, eieio-validate-slot-value)
11530 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11531 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11532 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11533 (eieio-slot-name-index, eieio-class-slot-name-index)
11534 (eieio-set-defaults, eieio-initarg-to-attribute)
11535 (eieio-attribute-to-initarg, eieio-c3-candidate)
11536 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11537 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11538 (eieio-class-precedence-list, eieio-generic-call-methodname)
11539 (eieio-generic-call-arglst, eieio-generic-call-key)
11540 (eieio-generic-call-next-method-list)
11541 (eieio-pre-method-execution-functions, eieio-generic-call)
11542 (eieio-generic-call-primary-only, eieiomt-method-list)
11543 (eieiomt-optimizing-obarray, eieiomt-install)
11544 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11545 (eieio-generic-form, eieio-defmethod, make-obsolete)
11546 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11547 (defclass): Remove `eval-and-compile' from macro.
11548 (call-next-method, shared-initialize): Instead of using
11549 `scoped-class' variable, use new eieio--scoped-class, and
11550 eieio--with-scoped-class.
11551 (initialize-instance): Rename local variable 'scoped-class' to
11552 'this-class' to remove ambiguitity from old global.
11553
11554 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11555 eieio.el.
11556 (eieio--scoped-class-stack): New variable.
11557 (eieio--scoped-class): New fcn.
11558 (eieio--with-scoped-class): New scoping macro.
11559 (eieio-defclass): Use pushnew instead of add-to-list.
11560 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11561 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11562 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11563 `scoped-class' variable, use new eieio--scoped-class, and
11564 eieio--with-scoped-class.
11565
11566 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11567
11568 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11569
11570 * eshell/esh-ext.el (eshell-external-command): Pass args to
11571 `eshell-find-interpreter'.
11572 (eshell-find-interpreter): Add new second parameter ARGS.
11573
11574 * eshell/em-script.el (eshell-script-initialize): Add second arg
11575 to the function added as MATCH to `eshell-interpreter-alist'.
11576
11577 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11578 the function added as MATCH to `eshell-interpreter-alist'.
11579
11580 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11581 (eshell-visual-options): New defcustom.
11582 (eshell-escape-control-x): Adapt docstring.
11583 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11584 `eshell-visual-options' in addition to `eshell-visual-commands'.
11585 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11586
11587 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11588
11589 * progmodes/python.el (python-indent-block-enders): Add break,
11590 continue and raise keywords.
11591
11592 2013-06-01 Glenn Morris <rgm@gnu.org>
11593
11594 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11595
11596 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11597 * progmodes/cc-cmds.el (delete-forward-p):
11598 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11599 * progmodes/cc-engine.el (buffer-syntactic-context):
11600 * progmodes/cc-fonts.el (face-property-instance):
11601 * progmodes/cc-mode.el (set-keymap-parents):
11602 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11603 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11604 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11605 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11606 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11607
11608 * progmodes/cc-vars.el (other): Emacs has this widget since
11609 at least 21.1, so don't (re)define it.
11610
11611 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11612 Replace the obsolete alias pcomplete-arg-quote-list.
11613
11614 2013-06-01 Leo Liu <sdl.web@gmail.com>
11615
11616 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11617 punctuation syntax.
11618 (inferior-octave-minimal-columns)
11619 (inferior-octave-last-column-width): New variables.
11620 (inferior-octave-track-window-width-change): New function.
11621 (inferior-octave-mode): Adjust column width so that Octave output,
11622 for example from 'ls', can fit into the window nicely.
11623
11624 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11625
11626 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11627 Highlight expansions inside regexp literals.
11628
11629 2013-05-31 Glenn Morris <rgm@gnu.org>
11630
11631 * obsolete/sym-comp.el (symbol-complete):
11632 Replace obsolete completion-annotate-function.
11633
11634 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11635
11636 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11637
11638 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11639 New function, checks if point is inside a literal that allows
11640 expression expansion.
11641 (ruby-syntax-propertize-expansion): Use it.
11642 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11643 around the body.
11644
11645 2013-05-30 Juri Linkov <juri@jurta.org>
11646
11647 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11648 to "\M-si".
11649 (isearch-invisible): New variable.
11650 (isearch-forward): Doc fix.
11651 (isearch-mode): Set `isearch-invisible'
11652 to the value of `search-invisible'.
11653 (isearch-toggle-case-fold): Doc fix.
11654 (isearch-toggle-invisible): New command.
11655 (isearch-query-replace): Let-bind `search-invisible'
11656 to the value of `isearch-invisible'.
11657 (isearch-search): Use `isearch-invisible' instead of
11658 `search-invisible'. Let-bind `search-invisible'
11659 to the value of `isearch-invisible'. (Bug#11378)
11660
11661 2013-05-30 Juri Linkov <juri@jurta.org>
11662
11663 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11664 call when `query-flag' is nil and `search-invisible' is non-nil.
11665 (Bug#11746)
11666
11667 2013-05-30 Glenn Morris <rgm@gnu.org>
11668
11669 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11670
11671 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11672 (cc-require): Suppress spurious "noruntime" warnings.
11673 (cc-require-when-compile): Use fboundp, for sake of compiler.
11674
11675 * progmodes/cc-mode.el: Move load of cc-vars before that of
11676 cc-langs (which in turn loads cc-vars), to quieten compiler.
11677
11678 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11679
11680 * paren.el: Simplify the code.
11681 (show-paren-mode): Always start the timer.
11682 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11683 (show-paren--overlay, show-paren--overlay-1): Rename from
11684 show-paren-overlay and show-paren-overlay-1, and initialize to an
11685 overlay rather than to nil.
11686 (show-paren-function): Misc cleanup and simplifications.
11687
11688 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11689
11690 * paren.el (show-paren-data-function): New hook.
11691 (show-paren--default): New function, extracted from show-paren-function.
11692 (show-paren-function): Use show-paren-data-function.
11693
11694 2013-05-30 Glenn Morris <rgm@gnu.org>
11695
11696 * ielm.el (ielm-map, ielm-complete-symbol):
11697 Use completion-at-point rather than obsolete functions.
11698 (inferior-emacs-lisp-mode): Doc fix.
11699 Set completion-at-point-functions, rather than
11700 comint-dynamic-complete-functions.
11701
11702 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11703 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11704 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11705
11706 * image.el (image-animated-p): Tweak definition.
11707
11708 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11709 (rlogin-process-connection-type): Tweak default. Add set-after.
11710 (rlogin-host): Doc fix.
11711 (rlogin): Tweak prompt.
11712 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11713
11714 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11715 * progmodes/tcl.el (inferior-tcl-mode-map):
11716 Use completion-at-point rather than obsolete alias.
11717
11718 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11719
11720 * minibuffer.el (read-file-name-completion-ignore-case):
11721 Move before completion--in-region, for eager macro expansion.
11722
11723 2013-05-29 Juri Linkov <juri@jurta.org>
11724
11725 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11726 for total count of matching lines. Add `global-matches' for total
11727 count of matches. Rename `matches' to `lines' for count of
11728 matching lines. Add `matches' for count of matches.
11729 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11730 to `prev-line' for line number of prev match endpt.
11731 Increment `matches' for every match. Print the number of
11732 matching lines in the header.
11733 (occur-context-lines): Rename `lines' to `curr-line'.
11734 Rename `prev-lines' to `prev-line'. (Bug#14017)
11735
11736 2013-05-29 Juri Linkov <juri@jurta.org>
11737
11738 * replace.el (perform-replace): Add `skip-read-only-count',
11739 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11740 Increment them for corresponding conditions and report the number
11741 of skipped occurrences in the final message. (Bug#11746)
11742 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11743 (replace-string, replace-regexp): Doc fix.
11744
11745 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11748
11749 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11750 prog-mode-map (bug#14504).
11751
11752 2013-05-29 Leo Liu <sdl.web@gmail.com>
11753
11754 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11755 (octave-help): Small simplification.
11756
11757 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11758 off the highlight first.
11759
11760 2013-05-29 Glenn Morris <rgm@gnu.org>
11761
11762 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11763 Handle idlwave-last-system-routine-info-cons-cell being nil.
11764
11765 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11766 (idlwave-write-paths): Simplify via with-temp-buffer.
11767
11768 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11769 * emulation/cua-rect.el: Also load cua-base at run time.
11770
11771 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11772 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11773 (cperl-imenu-on-info): Require imenu.
11774
11775 2013-05-28 Alan Mackenzie <acm@muc.de>
11776
11777 Handle "capitalised keywords" correctly.
11778 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11779
11780 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11781
11782 * eshell/em-unix.el: Add -r option to cp.
11783
11784 2013-05-28 Glenn Morris <rgm@gnu.org>
11785
11786 * vc/vc-arch.el (vc-exec-after): Declare.
11787 (vc-switches): Autoload.
11788 * vc/vc-bzr.el: No need to require vc when compiling.
11789 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11790 (vc-resynch-buffer, vc-dir-refresh): Declare.
11791 (vc-setup-buffer, vc-switches): Autoload.
11792 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11793 (vc-resynch-buffer): Declare.
11794 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11795 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11796 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11797 (grep-read-regexp, grep-read-files, grep-expand-template)
11798 (vc-dir-refresh): Declare.
11799 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11800 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11801 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11802 * vc/vc-mtn.el (vc-exec-after): Declare.
11803 (vc-switches): Autoload.
11804 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11805 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11806 (vc-file-tree-walk): Declare.
11807 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11808 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11809 (vc-tag-precondition, vc-rename-master): Autoload.
11810 * vc/vc-svn.el (vc-exec-after): Declare.
11811 (vc-switches, vc-setup-buffer): Autoload.
11812 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11813 Autoload.
11814 (vc-resynch-buffer): Declare.
11815
11816 * obsolete/fast-lock.el (byte-compile-warnings):
11817 Don't warn about obsolete features in this obsolete file.
11818
11819 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11820 Move definition before use.
11821
11822 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11823 (dun-unix-verbs): Remove dun-zippy.
11824 (dun-zippy): Remove function.
11825
11826 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11827
11828 2013-05-27 Juri Linkov <juri@jurta.org>
11829
11830 * replace.el (replace-search): New function with code moved out
11831 from `perform-replace'.
11832 (replace-highlight, replace-dehighlight): Move function definitions
11833 up closer to `replace-search'. (Bug#11746)
11834
11835 2013-05-27 Juri Linkov <juri@jurta.org>
11836
11837 * replace.el (perform-replace): Ignore invisible matches.
11838 In addition to checking `query-replace-skip-read-only', also
11839 filter out matches by calling `run-hook-with-args-until-failure'
11840 on `isearch-filter-predicates', and also check `search-invisible'
11841 for t or call `isearch-range-invisible'.
11842 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11843
11844 2013-05-27 Juri Linkov <juri@jurta.org>
11845
11846 * isearch.el (isearch-filter-predicates): Rename from
11847 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11848 (isearch-message-prefix): Display text from the property
11849 `isearch-message-prefix' of the currently active filters.
11850 (isearch-search): Don't compare `isearch-filter-predicate' with
11851 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11852 on `isearch-filter-predicates'. Also check `search-invisible' for t
11853 or call `isearch-range-invisible'.
11854 (isearch-filter-visible): Make obsolete.
11855 (isearch-lazy-highlight-search):
11856 Call `run-hook-with-args-until-failure' on
11857 `isearch-filter-predicates' and use `isearch-range-invisible'.
11858
11859 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11860 `isearch-filter-predicates' instead of `funcall'ing
11861 `isearch-filter-predicate'.
11862 (Info-mode): Set `Info-isearch-filter' to
11863 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11864
11865 * dired-aux.el (dired-isearch-filter-predicate-orig):
11866 Remove variable.
11867 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11868 (dired-isearch-filenames-end): Add and remove
11869 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11870 instead of changing the value of `isearch-filter-predicate'.
11871 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11872 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11873 Put property `isearch-message-prefix' to "filename " on
11874 `dired-isearch-filter-filenames'.
11875
11876 * wdired.el (wdired-change-to-wdired-mode):
11877 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11878 locally instead of changing `isearch-filter-predicate'.
11879 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11880
11881 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11882
11883 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11884 return the commit hash (Bug#14459). Also set the
11885 `vc-git-detached' property.
11886 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11887 (vc-git-mode-line-string): Use the same help-echo format whether
11888 in detached mode or not, because we know the actual revision now.
11889 When in detached mode, shorten the revision to 7 chars.
11890
11891 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * emacs-lisp/easy-mmode.el (define-minor-mode):
11894 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11895 mode hook and provide a docstring.
11896
11897 2013-05-27 Alan Mackenzie <acm@muc.de>
11898
11899 Remove spurious syntax-table text properties inserted by C-y.
11900 * progmodes/cc-mode.el (c-after-change): Also clear hard
11901 syntax-table property with value nil.
11902
11903 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11904
11905 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11906 when reading the events; the buffer layout shall not be changed.
11907
11908 2013-05-27 Leo Liu <sdl.web@gmail.com>
11909
11910 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11911 New variable.
11912 (inferior-octave-directory-tracker): Automatically re-sync
11913 default-directory.
11914 (octave-help): Improve handling of 'See also'.
11915
11916 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11917
11918 * doc-view.el: Minor naming convention tweaks.
11919 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11920
11921 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11922 even if there's no `display' property yet (bug#14435).
11923
11924 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11925
11926 * subr.el (unmsys--file-name): Rename from reveal-filename.
11927
11928 * Makefile.in (custom-deps, finder-data, autoloads)
11929 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11930 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11931 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11932
11933 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11934
11935 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11936 error-completion on the first 2 args of condition-case (bug#14446).
11937 Don't burp at EOB.
11938
11939 2013-05-25 Leo Liu <sdl.web@gmail.com>
11940
11941 * comint.el (comint-previous-matching-input): Do not flood the
11942 *Messages* buffer with trivial messages.
11943
11944 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11945
11946 * progmodes/flymake.el (flymake-nop): Don't return a string.
11947 (flymake-set-at): Fix typo.
11948
11949 * simple.el (read--expression): New function, extracted from
11950 eval-expression. Set completion-at-point-functions (bug#14465).
11951 (eval-expression, eval-minibuffer): Use it.
11952
11953 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11954
11955 * progmodes/flymake.el (flymake-save-buffer-in-file)
11956 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11957 (flymake-selected-frame, flymake-log, flymake-ins-after)
11958 (flymake-set-at, flymake-get-buildfile-from-cache)
11959 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11960 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11961 Refine the doc string.
11962 (flymake-get-file-name-mode-and-masks): Reformat.
11963 (flymake-get-real-file-name-function): Fix a minor bug.
11964
11965 2013-05-24 Juri Linkov <juri@jurta.org>
11966
11967 * progmodes/grep.el (grep-mode-font-lock-keywords):
11968 Support =linenumber= format used by git-grep for lines with
11969 function names. (Bug#13549)
11970
11971 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11972
11973 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11974 0 after a semi-colon; it works better for smie-auto-fill.
11975 (octave--indent-new-comment-line): New function.
11976 (octave-indent-new-comment-line): Use it (indirectly).
11977 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11978 modify comment-line-break-function.
11979
11980 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11981 (smie-setup): Use add-function to set it.
11982
11983 2013-05-24 Sam Steingold <sds@gnu.org>
11984
11985 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11986 argument (before the `interactive' argument).
11987
11988 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11989
11990 * image-mode.el (image-mode-winprops): Add winprops to
11991 image-mode-winprops-alist before running
11992 image-mode-new-window-functions.
11993 * doc-view.el (doc-view-new-window-function): Don't delay
11994 doc-view-goto-page via timers (bug#14435).
11995
11996 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11997
11998 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11999 (doc-view-desktop-save-buffer): New function.
12000 (doc-view-restore-desktop-buffer): New function.
12001 (desktop-buffer-mode-handlers):
12002 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12003 handler.
12004 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12005 `desktop-save-buffer' function.
12006
12007 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12008
12009 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12010 (tramp-gvfs-file-name-handler): Raise a user error when
12011 `tramp-gvfs-enabled' is nil.
12012 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12013 Do not raise a user error when loading package. (Bug#14447)
12014
12015 * net/xesam.el: Move to obsolete/.
12016
12017 2013-05-24 Glenn Morris <rgm@gnu.org>
12018
12019 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12020
12021 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12022
12023 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12024 (Info-find-node, Man-getpage-in-background): Declare.
12025
12026 * mail/unrmail.el (unrmail):
12027 Replace obsolete detect-coding-with-priority.
12028
12029 * net/socks.el (socks-split-string): Use this rather than split-string.
12030 (socks-nslookup-host): Update for above change.
12031 (dynamic-choice, s5-dynamic-choice-match)
12032 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12033 Comment out unused code.
12034
12035 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12036 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12037 (gud-tooltip-echo-area): Make obsolete.
12038 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12039
12040 * progmodes/js.el (js--optimize-arglist): Declare.
12041
12042 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12043
12044 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12045 (ediff-window-C): Declare.
12046
12047 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12048 Tweak requires to silence compiler.
12049
12050 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12051 (he-search-string, he-tried-table, he-expand-list)
12052 (he-init-string, he-string-member, he-substitute-string)
12053 (he-reset-string): Declare.
12054
12055 * obsolete/options.el (list-options): Use custom-variable-p,
12056 rather than obsolete alias.
12057
12058 2013-05-23 Sam Steingold <sds@gnu.org>
12059
12060 * simple.el (shell-command-on-region): Pass the `replace' argument
12061 down to `call-process-region' to comply with the doc as reported on
12062 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12063
12064 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12065
12066 * emacs-lisp/smie.el (smie-indent-forward-token)
12067 (smie-indent-backward-token): Handle string tokens (bug#14381).
12068
12069 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12070
12071 * ielm.el (ielm-menu): New menu.
12072 (inferior-emacs-lisp-mode): Set comment-start.
12073
12074 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12075
12076 * textmodes/reftex.el (reftex-ref-style-toggle):
12077 Fix deactivate action.
12078
12079 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12080 Add cleveref macros.
12081
12082 * textmodes/reftex-parse.el
12083 (reftex-locate-bibliography-files): Accept options for
12084 bibliography commands.
12085 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12086 Add addbibresource. Basic Biblatex support.
12087
12088 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12089
12090 * net/tramp-gvfs.el (top):
12091 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12092 when loading package. (Bug#14447)
12093
12094 2013-05-23 Glenn Morris <rgm@gnu.org>
12095
12096 * progmodes/js.el: No need to load comint when compiling.
12097 (ring-insert, comint-send-string, comint-send-input)
12098 (comint-last-input-end, ido-chop): Declare.
12099
12100 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12101 * vc/ediff-mult.el: Adjust requires.
12102 (ediff-directories-internal, ediff-directory-revisions-internal)
12103 (ediff-patch-file-internal): Declare.
12104 * vc/ediff-ptch.el: Adjust requires.
12105 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12106 (ediff-find-file): Autoload.
12107 * vc/ediff-util.el: No need to load ediff when compiling.
12108 (ediff-regions-internal): Declare.
12109 * vc/ediff-wind.el: Adjust requires.
12110 (ediff-compute-toolbar-width): Define when compiling.
12111 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12112 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12113 (dired-get-filename, dired-get-marked-files)
12114 (ediff-last-dir-patch, ediff-patch-default-directory)
12115 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12116 (ediff-patch-buffer-internal): Declare.
12117
12118 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12119 (ispell-process, ispell-buffer-local-words, lm-summary)
12120 (lm-section-start, lm-section-end): Declare.
12121 (checkdoc-ispell-init): Simplify.
12122
12123 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12124 (he-string-member, he-reset-string, he-substitute-string): Declare.
12125
12126 * eshell/em-ls.el: Adjust requires.
12127 (eshell-glob-regexp): Declare.
12128 * eshell/em-tramp.el: Adjust requires.
12129 (eshell-parse-command): Autoload.
12130 * eshell/em-xtra.el: Adjust requires.
12131 (eshell-parse-command): Autoload.
12132 * eshell/esh-ext.el: Adjust requires.
12133 (eshell-parse-command, eshell-close-handles): Autoload.
12134 * eshell/esh-io.el: Adjust requires.
12135 (eshell-output-filter): Autoload.
12136 * eshell/esh-util.el: No need to load tramp when compiling.
12137 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12138 Declare.
12139 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12140 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12141 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12142 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12143 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12144 * eshell/esh-opt.el, eshell/esh-proc.el:
12145 * eshell/esh-var.el: Adjust requires.
12146 * eshell/eshell.el: Do not require esh-util twice.
12147 (eshell-add-input-to-history): Declare.
12148 (eshell-command): Check history module is active before using it.
12149
12150 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12151
12152 2013-05-22 Leo Liu <sdl.web@gmail.com>
12153
12154 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12155
12156 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12157
12158 * autorevert.el (auto-revert-notify-add-watch)
12159 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12160 it indicates changes in file modification time.
12161
12162 2013-05-22 Glenn Morris <rgm@gnu.org>
12163
12164 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12165 Always delete the autoloaded function from the noruntime and
12166 unresolved functions lists.
12167
12168 * allout.el: No need to load epa, epg, overlay when compiling.
12169 (epg-context-set-passphrase-callback, epg-list-keys)
12170 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12171 (epg-key-user-id-list): Declare.
12172
12173 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12174 (viper-set-parsing-style-toggling-macro)
12175 (viper-set-emacs-state-searchstyle-macros):
12176 Use called-interactively-p on Emacs.
12177 (viper-looking-back): Make it an obsolete alias. Update callers.
12178 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12179 Use looking-back rather than viper-looking-back.
12180 (viper-tmp-insert-at-eob, viper-enlarge-region)
12181 (viper-read-string-with-history, viper-register-to-point)
12182 (viper-append-to-register, viper-change-state-to-vi)
12183 (viper-backward-char-carefully, viper-forward-char-carefully)
12184 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12185 (viper-change-state-to-emacs): Declare.
12186 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12187 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12188 * emulation/viper-mous.el: Do not load viper-cmd.
12189 (viper-backward-char-carefully, viper-forward-char-carefully)
12190 (viper-forward-word, viper-adjust-window): Declare.
12191
12192 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12193
12194 * progmodes/idlw-help.el (idlwave-help-fontify):
12195 Use called-interactively-p.
12196
12197 * term/w32console.el (w32-get-console-codepage)
12198 (w32-get-console-output-codepage): Declare.
12199
12200 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12201 Remove unnecessary declarations.
12202 (dframe-message): Doc fix.
12203
12204 * info.el (dframe-select-attached-frame, dframe-current-frame):
12205 Declare.
12206
12207 * speedbar.el (speedbar-message): Make it an obsolete alias.
12208 Update all callers.
12209 (speedbar-with-attached-buffer)
12210 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12211 (speedbar-with-writable): Use backquote.
12212 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12213 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12214 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12215 rather than speedbar- aliases.
12216 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12217 (speedbar-make-specialized-keymap, speedbar-insert-button)
12218 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12219 (speedbar-do-function-pointer): Declare.
12220 (rmail-speedbar-button, rmail-speedbar-find-file)
12221 (rmail-speedbar-move-message):
12222 Use dframe-with-attached-buffer rather than speedbar- alias.
12223 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12224 (dframe-message, speedbar-make-specialized-keymap)
12225 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12226 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12227 (speedbar-insert-button, dframe-select-attached-frame)
12228 (dframe-maybee-jump-to-attached-frame)
12229 (speedbar-change-initial-expansion-list)
12230 (speedbar-previously-used-expansion-list-name): Declare.
12231 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12232 Use dframe-message, dframe-with-attached-buffer rather than
12233 speedbar- aliases.
12234 (gud-sentinel): Silence compiler.
12235 * progmodes/vhdl-mode.el (speedbar-refresh)
12236 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12237 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12238 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12239 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12240 (speedbar-file-lists, speedbar-make-tag-line)
12241 (speedbar-line-directory, speedbar-goto-this-file)
12242 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12243 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12244 (speedbar-make-button, speedbar-reset-scanners)
12245 (speedbar-files-item-info, speedbar-line-text)
12246 (speedbar-find-file-in-frame, speedbar-set-timer)
12247 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12248 (speedbar-with-writable): Do not (re)define it.
12249 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12250 rather than speedbar- alias.
12251
12252 2013-05-21 Leo Liu <sdl.web@gmail.com>
12253
12254 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12255 menu items.
12256 (octave-mode): Tweak fill-nobreak-predicate.
12257 (inferior-octave-startup): Check process to avoid infinite loop.
12258 (inferior-octave): Pop to buffer first to show abornmal process
12259 exit information.
12260
12261 2013-05-21 Glenn Morris <rgm@gnu.org>
12262
12263 * printing.el (pr-menu-bar): Define when compiling.
12264
12265 2013-05-21 Leo Liu <sdl.web@gmail.com>
12266
12267 * progmodes/octave.el (octave-auto-fill): Remove.
12268 (octave-indent-new-comment-line): Improve.
12269 (octave-mode): Use auto fill mode through
12270 comment-line-break-function and fill-nobreak-predicate.
12271 (octave-goto-function-definition): Support DEFUN_DLD.
12272 (octave-beginning-of-defun): Small tweak.
12273 (octave-help): Show parent directory.
12274
12275 2013-05-21 Glenn Morris <rgm@gnu.org>
12276
12277 * files.el (dired-unmark):
12278 * progmodes/gud.el (gdb-input): Update declarations.
12279
12280 * calculator.el (electric, ehelp): No need to load when compiling.
12281 (Electric-command-loop, electric-describe-mode): Declare.
12282
12283 * doc-view.el (doc-view-current-converter-processes): Move before use.
12284
12285 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12286 Move MODE-set-explicitly definition before use.
12287
12288 * international/mule-diag.el (mule-diag):
12289 Don't use obsolete window-system-version.
12290
12291 * mail/feedmail.el (smtpmail): No need to load when compiling.
12292 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12293
12294 * mail/mail-utils.el (rfc822): No need to load when compiling.
12295 (rfc822-addresses): Autoload it.
12296 (mail-strip-quoted-names): Trivial simplification.
12297
12298 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12299 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12300
12301 * net/snmp-mode.el (tempo): Don't duplicate requires.
12302
12303 * progmodes/prolog.el (info): No need to load when compiling.
12304 (comint): Require before shell requires it.
12305 (Info-goto-node): Autoload it.
12306 (Info-follow-nearest-node): Declare.
12307 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12308
12309 * textmodes/artist.el (picture-mode-exit): Declare.
12310
12311 * textmodes/reftex-parse.el (reftex-parse-from-file):
12312 Trivial rewrite so the compiler can parse it better.
12313
12314 2013-05-20 Leo Liu <sdl.web@gmail.com>
12315
12316 * progmodes/octave.el (octave-help-mode-map)
12317 (octave-help-mode-finish-hook): New variables.
12318 (octave-help-mode, octave-help-mode-finish): New functions.
12319 (octave-help): Use octave-help-mode.
12320
12321 2013-05-20 Glenn Morris <rgm@gnu.org>
12322
12323 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12324
12325 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12326
12327 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12328 start at point, so that expansion starting right after opening
12329 slash in a regexp is recognized.
12330 (ruby-syntax-before-regexp-re): New defvar, extracted from
12331 ruby-syntax-propertize-function. Since the value of this regexp
12332 is looked up at runtime now, we should be able to turn
12333 `ruby-syntax-methods-before-regexp' into a defcustom later.
12334 (ruby-syntax-propertize-function): Split regexp matching into two
12335 parts, for opening and closing slashes. That allows us to skip
12336 over string interpolations and support multiline regexps.
12337 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12338 for them, which calls `ruby-syntax-propertize-expansion'.
12339 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12340 call to `ruby-syntax-propertize-function'.
12341 (ruby-syntax-propertize-expansion): Extracted from
12342 `ruby-syntax-propertize-expansions'. Handles one expansion.
12343 (ruby-syntax-propertize-percent-literal): Leave point right after
12344 the percent symbol, so that the expression expansion rule can
12345 propertize the contents.
12346 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12347 heredoc openers.
12348 (ruby-syntax-propertize-expansions): Remove.
12349
12350 2013-05-18 Juri Linkov <juri@jurta.org>
12351
12352 * man.el (Man-default-man-entry): Remove `-' from the end
12353 of the default value. (Bug#14400)
12354
12355 2013-05-18 Glenn Morris <rgm@gnu.org>
12356
12357 * comint.el (comint-password-prompt-regexp):
12358 Allow "password for XXX" where XXX contains colons (eg https://...).
12359
12360 2013-05-18 Leo Liu <sdl.web@gmail.com>
12361
12362 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12363 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12364 (octave-source-directories): Don't check process.
12365 (octave-source-directories, octave-find-definition): Doc fix.
12366
12367 2013-05-18 Glenn Morris <rgm@gnu.org>
12368
12369 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12370 Remove backspace/delete bindings. (Bug#14392)
12371
12372 * cus-dep.el (custom-make-dependencies): Sort the output.
12373 (custom-versions-load-alist): Convert comment to doc.
12374
12375 2013-05-17 Leo Liu <sdl.web@gmail.com>
12376
12377 * newcomment.el (comment-search-backward): Stricter in finding
12378 comment start. (Bug#14303)
12379
12380 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12381 (octave-comment-start-skip): Properly anchored.
12382
12383 2013-05-17 Leo Liu <sdl.web@gmail.com>
12384
12385 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12386 Clean up when turned off. (Bug#14395)
12387 (smie--highlight-matching-block-overlay): No longer buffer-local.
12388 (smie-highlight-matching-block): Adjust.
12389
12390 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12391
12392 Doc string fix for "nanoseconds" (Bug#14406).
12393 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12394 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12395
12396 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12397
12398 * calc/calc-units.el (math-extract-units): Preserve powers
12399 of units.
12400
12401 2013-05-17 Leo Liu <sdl.web@gmail.com>
12402
12403 * subr.el (delete-consecutive-dups): New function.
12404 * ido.el (ido-set-matches-1): Use it.
12405 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12406 * ido.el (ido-remove-consecutive-dups): Remove.
12407
12408 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12409
12410 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12411 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12412 regexp-opt's `words'.
12413
12414 2013-05-16 Leo Liu <sdl.web@gmail.com>
12415
12416 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12417 (smie--highlight-matching-block-overlay)
12418 (smie--highlight-matching-block-lastpos)
12419 (smie--highlight-matching-block-timer): New variables.
12420 (smie-highlight-matching-block): New function.
12421 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12422 (smie-setup): Conditionally enable smie-blink-matching-open.
12423
12424 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12425
12426 Sync with upstream verilog-mode r840.
12427 * progmodes/verilog-mode.el (verilog-mode-version)
12428 (verilog-mode-release-date): Update.
12429 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12430 (verilog-sig-tieoff): Fix string error on
12431 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12432 (verilog-read-decls): Fix parameters confusing
12433 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12434
12435 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12436
12437 * subr.el (reveal-filename): New function.
12438
12439 * loadup.el: Compute Emacs executable versions on MS-Windows,
12440 where executables have the .exe extension. Add a hard link
12441 emacs-XX.YY.ZZ.exe on MS-Windows.
12442
12443 * Makefile.in (XARGS_LIMIT): New variable.
12444 (custom-deps, finder-data, autoloads)
12445 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12446 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12447 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12448 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12449
12450 2013-05-16 Leo Liu <sdl.web@gmail.com>
12451
12452 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12453 (octave-mode-menu, octave-mode-map): Remove its uses.
12454
12455 2013-05-16 Reto Zimmermann <reto@gnu.org>
12456
12457 Sync with upstream vhdl mode v3.34.2.
12458 * progmodes/vhdl-mode.el: Use `push' throughout.
12459 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12460 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12461 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12462 (vhdl-actual-generic-name): New option to derive actual generic name.
12463 (vhdl-port-paste-signals): Replace formal by actual generics.
12464 (vhdl-beautify): New name for old group vhdl-align. Update users.
12465 (vhdl-beautify-options): New option.
12466 (vhdl-last-input-event): New compat alias. Use throughout.
12467 (vhdl-goto-line): Replace user level function `goto-line'.
12468 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12469 vhdl-fix-statement-buffer.
12470 (vhdl-create-mode-menu): Add some entries.
12471 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12472 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12473 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12474 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12475 to force statements on one line.
12476 (vhdl-remove-trailing-spaces-region):
12477 New, split from vhdl-remove-trailing-spaces.
12478 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12479 Respect vhdl-beautify-options.
12480 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12481 (vhdl-update-sensitivity-list): Not add with index if exists without.
12482 Not include array index with signal. Ignore keywords in comments.
12483 (vhdl-get-visible-signals): Regexp tweaks.
12484 (vhdl-template-component-inst): Handle empty library.
12485 (vhdl-template-type): Add template for 'enum' type.
12486 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12487 Use vhdl-replace-string.
12488 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12489 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12490 (vhdl-speedbar-initialize): Update for above name change.
12491 (vhdl-compose-wire-components): Fix in handling of constants.
12492 (vhdl-error-regexp-emacs-alist): New variable.
12493 (vhdl-error-regexp-add-emacs): New function;
12494 adds support for new compile.el (Emacs 22+)
12495 (vhdl-generate-makefile-1): Change target order for single lib. units.
12496 Allow use of absolute file names.
12497
12498 2013-05-16 Leo Liu <sdl.web@gmail.com>
12499
12500 * simple.el (prog-indent-sexp): Indent enclosing defun.
12501
12502 2013-05-15 Glenn Morris <rgm@gnu.org>
12503
12504 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12505 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12506 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12507 (whitespace-highlight): Move to whitespace group.
12508
12509 * comint.el (comint-source):
12510 * pcmpl-linux.el (pcmpl-linux):
12511 * shell.el (shell-faces):
12512 * eshell/esh-opt.el (eshell-opt):
12513 * international/ccl.el (ccl): Remove empty custom groups.
12514
12515 * completion.el (dynamic-completion-mode):
12516 * jit-lock.el (jit-lock-debug-mode):
12517 * minibuffer.el (completion-in-region-mode):
12518 * type-break.el (type-break-mode-line-message-mode)
12519 (type-break-query-mode):
12520 * emulation/tpu-edt.el (tpu-edt-mode):
12521 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12522 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12523 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12524
12525 * term/xterm.el (xterm): Change parent group to terminals.
12526
12527 * master.el (master): Remove empty custom group.
12528 (master-mode): Remove unused :group argument.
12529 * textmodes/refill.el (refill): Remove empty custom group.
12530 (refill-mode): Remove unused :group argument.
12531
12532 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12533
12534 * cus-dep.el: Provide a feature.
12535 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12536 Don't mistakenly ignore files whose basenames match a basename
12537 from preloaded-file-list (eg cedet/ede/simple.el).
12538 Add a fallback method for getting :group.
12539
12540 2013-05-15 Juri Linkov <juri@jurta.org>
12541
12542 * isearch.el (isearch-char-by-name): Rename from
12543 `isearch-insert-char-by-name'. Doc fix.
12544 (isearch-forward): Mention `isearch-char-by-name' in
12545 the docstring. (Bug#13348)
12546
12547 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12548 `exit-minibuffer' instead of
12549 `isearch-nonincremental-exit-minibuffer'.
12550 (isearch-edit-string): Remove mention of
12551 `isearch-nonincremental-exit-minibuffer' from docstring.
12552 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12553 (isearch-forward-exit-minibuffer)
12554 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12555
12556 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * loadup.el: Just use unversioned DOC.
12559
12560 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12561 literals as extending to EOB.
12562 (nxml-last-fontify-end): Remove unused variable.
12563 (nxml-after-change1): Use with-silent-modifications.
12564 (nxml-extend-after-change-region): Simplify.
12565 (nxml-extend-after-change-region1): Remove function.
12566 (nxml-after-change1): Don't adjust for dependent regions.
12567 (nxml-fontify-matcher): Simplify.
12568 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12569 (xmltok-add-dependent): Remove function.
12570 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12571 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12572 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12573 unclosed <[[, <?, comment, and other literals as extending to EOB.
12574 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12575 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12576 Remove functions.
12577 (rng-do-some-validation-1): Don't mark dependent regions.
12578 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12579 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12580 (nxml-clear-dependent-regions): Remove functions.
12581 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12582 (nxml-ensure-scan-up-to-date):
12583 Don't clear&mark dependent regions.
12584
12585 2013-05-15 Leo Liu <sdl.web@gmail.com>
12586
12587 * progmodes/octave.el (octave-goto-function-definition):
12588 Improve and fix callers.
12589
12590 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12591
12592 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12593 the setter (bug#14387).
12594
12595 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12596 surrounding group (bug#14402).
12597
12598 2013-05-14 Juri Linkov <juri@jurta.org>
12599
12600 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12601 (Bug#14390)
12602
12603 2013-05-14 Glenn Morris <rgm@gnu.org>
12604
12605 * progmodes/f90.el (f90-imenu-generic-expression):
12606 Fix typo in 2013-05-08 change. (Bug#14402)
12607
12608 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12609
12610 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12611 Remove signals for which replies are never received.
12612
12613 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12614
12615 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12616 (gdb-handler-alist, gdb-handler-number): Remove variables.
12617 (gdb-handler-list): New variable.
12618 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12619 (gdb-pending-handler-p, gdb-handle-reply)
12620 (gdb-remove-all-pending-triggers): New functions.
12621 (gdb-discard-unordered-replies): New defcustom.
12622 (gdb-handler): New defstruct.
12623 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12624 instead of gdb-pending-triggers. Update docstring.
12625 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12626 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12627 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12628 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12629 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12630 (gdb-frame-handler): Pending triggers are now automatically managed.
12631 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12632 Remove argument.
12633 (gdb-input): Automatically handles pending triggers. Update docstring.
12634 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12635 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12636 Update comments.
12637 (gdb-done-or-error): Now use gdb-handle-reply.
12638
12639 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12640
12641 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12642 gdb-debug-log.
12643
12644 2013-05-14 Glenn Morris <rgm@gnu.org>
12645
12646 * subr.el (user-emacs-directory-warning): New option.
12647 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12648
12649 2013-05-14 Leo Liu <sdl.web@gmail.com>
12650
12651 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12652 during redisplay.
12653 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12654 (octave-font-lock-texinfo-comment): Fix invalid search bound
12655 error: wrong side of point.
12656
12657 2013-05-14 Glenn Morris <rgm@gnu.org>
12658
12659 * progmodes/flymake.el (flymake-xml-program): New option.
12660 (flymake-xml-init): Use it.
12661
12662 * term/xterm.el: Provide a feature.
12663
12664 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12665
12666 2013-05-13 Glenn Morris <rgm@gnu.org>
12667
12668 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12669 Add compat aliases as a hack workaround. (Bug#14384)
12670
12671 2013-05-13 Leo Liu <sdl.web@gmail.com>
12672
12673 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12674 ###, and %!.
12675 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12676 C-M-q.
12677 (octave-comment-start-skip): Include %!.
12678 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12679
12680 2013-05-12 Leo Liu <sdl.web@gmail.com>
12681
12682 * progmodes/octave.el (inferior-octave-startup): Store the value
12683 of __octave_srcdir__ for octave-source-directories.
12684 (inferior-octave-check-process): New function refactored out of
12685 inferior-octave-send-list-and-digest.
12686 (octave-source-directories)
12687 (octave-find-definition-filename-function): New variables.
12688 (octave-source-directories)
12689 (octave-find-definition-default-filename): New functions.
12690 (octave-find-definition): Improve to find functions implemented in C++.
12691
12692 2013-05-12 Glenn Morris <rgm@gnu.org>
12693
12694 * calendar/diary-lib.el (diary-outlook-format-1):
12695 Don't include dayname in the output. (Bug#14349)
12696
12697 2013-05-11 Glenn Morris <rgm@gnu.org>
12698
12699 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12700
12701 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12702 Treat cc-provide like provide.
12703
12704 2013-05-11 Kevin Ryde <user42@zip.com.au>
12705
12706 * cus-dep.el (custom-make-dependencies):
12707 Use generated-autoload-load-name for the sake of files such
12708 such cedet/semantic/bovine/c.el, where the base file name
12709 is not in load-path. (Bug#5277)
12710
12711 2013-05-11 Glenn Morris <rgm@gnu.org>
12712
12713 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12714 Provide features.
12715
12716 2013-05-11 Leo Liu <sdl.web@gmail.com>
12717
12718 * progmodes/octave.el (octave-indent-comment): Improve.
12719 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12720 (octave-eldoc-function-signatures, octave-eldoc-function):
12721 New functions.
12722 (octave-mode, inferior-octave-mode): Add eldoc support.
12723
12724 2013-05-11 Richard Stallman <rms@gnu.org>
12725
12726 * epa.el (epa-decrypt-file): Take output file name as argument
12727 and read it using `interactive'.
12728
12729 2013-05-11 Leo Liu <sdl.web@gmail.com>
12730
12731 * progmodes/octave.el (octave-beginning-of-line)
12732 (octave-end-of-line): Check before using up-list because it jumps
12733 out of more syntactic contructs since moving to smie.
12734 (octave-indent-comment): New function.
12735 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12736 (octave-begin-keywords, octave-end-keywords)
12737 (octave-reserved-words, octave-smie-bnf-table)
12738 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12739
12740 2013-05-11 Glenn Morris <rgm@gnu.org>
12741
12742 * faces.el (internal-face-x-get-resource):
12743 * frame.el (ns-display-monitor-attributes-list):
12744 * calc/calc-aent.el (math-to-radians-2):
12745 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12746 Fix declarations.
12747
12748 * calc/calc-menu.el: Make it loadable in isolation.
12749
12750 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12751 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12752 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12753 (eudc-bbdb-query-internal): Require 'bbdb.
12754
12755 * lpr.el (lpr-headers-switches):
12756 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12757
12758 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12759
12760 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12761
12762 * term.el (term-set-escape-char): Make it idempotent.
12763
12764 2013-05-10 Leo Liu <sdl.web@gmail.com>
12765
12766 * progmodes/octave.el (inferior-octave-completion-table):
12767 No longer a function and all uses changed. Use cache to speed up
12768 completion due to bug#11906.
12769 (octave-beginning-of-defun): Re-write to be more general.
12770
12771 2013-05-10 Glenn Morris <rgm@gnu.org>
12772
12773 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12774
12775 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * comint.el (comint-redirect-send-command-to-process): Use :around
12778 rather than :override for comint-redirect-filter.
12779 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12780 Call it instead of comint-redirect-original-filter-function (which
12781 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12782
12783 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12784
12785 * frame.el (display-monitor-attributes-list): Add NS case.
12786 (ns-display-monitor-attributes-list): Declare.
12787
12788 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12789
12790 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12791
12792 2013-05-09 Glenn Morris <rgm@gnu.org>
12793
12794 * international/fontset.el (vertical-centering-font-regexp):
12795 Set standard-value.
12796
12797 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12798
12799 * bookmark.el (bookmark-search-delay):
12800 * cus-start.el (vertical-centering-font-regexp):
12801 * ps-mule.el (ps-mule-font-info-database-default):
12802 * ps-print.el (ps-default-fg, ps-default-bg):
12803 * type-break.el (type-break-good-break-interval):
12804 * whitespace.el (whitespace-indentation-regexp)
12805 (whitespace-space-after-tab-regexp):
12806 * emacs-lisp/testcover.el (testcover-1value-functions)
12807 (testcover-noreturn-functions, testcover-progn-functions)
12808 (testcover-prog1-functions):
12809 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12810 * eshell/em-glob.el (eshell-glob-translate-alist):
12811 * play/tetris.el (tetris-tty-colors):
12812 * progmodes/cpp.el (cpp-face-default-list):
12813 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12814 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12815 (idlwave-help-browser-generic-args):
12816 * progmodes/make-mode.el (makefile-special-targets-list):
12817 * progmodes/python.el (python-shell-virtualenv-path):
12818 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12819 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12820 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12821 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12822 * textmodes/reftex-vars.el (reftex-format-label-function):
12823 * textmodes/remember.el (remember-diary-file): Fix custom types.
12824
12825 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12826 Add :version.
12827
12828 2013-05-09 Leo Liu <sdl.web@gmail.com>
12829
12830 * progmodes/octave.el (inferior-octave-completion-at-point):
12831 Restore file completion. (Bug#14300)
12832 (inferior-octave-startup): Fix incorrect highlighting for the
12833 first prompt.
12834
12835 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12836
12837 * progmodes/ruby-mode.el: First cut at SMIE support.
12838 (ruby-use-smie): New var.
12839 (ruby-smie-grammar): New constant.
12840 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12841 (ruby-smie--forward-token, ruby-smie--backward-token)
12842 (ruby-smie-rules): New functions.
12843 (ruby-mode-variables): Setup SMIE if applicable.
12844
12845 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12846
12847 * simple.el (line-move-visual): Signal beginning/end of buffer
12848 only if vertical-motion moved less than it was requested. Avoids
12849 silly incorrect error messages when there are display strings with
12850 multiple newlines at EOL.
12851
12852 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12853
12854 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12855 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12856 (prolog-char-quote-workaround):
12857 * progmodes/cperl-mode.el (cperl-under-as-char):
12858 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12859 Mark as obsolete.
12860 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12861 their declaration.
12862 (vhdl-mode-syntax-table-init): Remove.
12863
12864 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12865 last change.
12866
12867 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12868 syntax for "_".
12869 (ld-script-font-lock-keywords):
12870 Change regexps to use things like \_< and \_>.
12871
12872 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12873 Change all regexps to use things like \_< and \_>.
12874
12875 * progmodes/autoconf.el (autoconf-definition-regexp)
12876 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12877 Handle a _ with symbol syntax.
12878 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12879
12880 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12881 Consolidate declaration.
12882 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12883 the declaration.
12884 (ada-create-syntax-table): Remove.
12885 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12886 already has the right syntax nowadays.
12887 (ada-goto-next-word): Don't change the syntax of "_".
12888
12889 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12890 with-wrapper-hook.
12891
12892 2013-05-08 Sam Steingold <sds@gnu.org>
12893
12894 * thingatpt.el (thing-at-point): Accept optional second argument
12895 NO-PROPERTIES to strip the text properties from the return value.
12896 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12897 to `thing-at-point' instead of stripping the properties ourselves.
12898 Also, when `thing-at-point' fails to find a url, prepend "http://"
12899 to the filename at point on the assumption that the user is
12900 pointing at something like gnu.org/gnu.
12901
12902 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12903
12904 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12905 * faces.el (crm-separator):
12906 Silence byte-compiler.
12907
12908 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12909 (tool-bar-map): Remove unneeded defvars.
12910
12911 2013-05-08 Leo Liu <sdl.web@gmail.com>
12912
12913 Re-work a fix for bug#10994 based on Le Wang's patch.
12914 * ido.el (ido-remove-consecutive-dups): New helper.
12915 (ido-completing-read): Use it.
12916 (ido-chop): Revert fix for bug#10994.
12917
12918 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12919
12920 * cus-edit.el (custom-save-variables):
12921 Pretty-print long values. (Bug#14187)
12922
12923 2013-05-08 Glenn Morris <rgm@gnu.org>
12924
12925 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12926 (m4-mode-syntax-table): Init in the defvar.
12927 (m4-mode-abbrev-table): Let define-derived-mode define it.
12928
12929 2013-05-08 Tom Tromey <tromey@redhat.com>
12930
12931 * progmodes/m4-mode.el (m4-mode-syntax-table):
12932 Do not treat "_" as word constituent. (Bug#14167)
12933
12934 2013-05-07 Glenn Morris <rgm@gnu.org>
12935
12936 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12937 Remove explicit eshell-isearch-cancel-map.
12938
12939 * progmodes/f90.el (f90-smart-end-names): New option.
12940 (f90-smart-end): Doc fix.
12941 (f90-end-block-optional-name): New constant.
12942 (f90-block-match): Respect f90-smart-end-names.
12943
12944 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12945
12946 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12947 about implicit semi-colons (bug#14218).
12948
12949 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12950
12951 * frame.el (display-monitor-attributes-list)
12952 (frame-monitor-attributes): New functions.
12953
12954 2013-05-06 Leo Liu <sdl.web@gmail.com>
12955
12956 * progmodes/octave.el (octave-syntax-propertize-function): Change
12957 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12958 (octave-font-lock-keywords): Use octave-operator-regexp.
12959 (octave-completion-at-point): Rename from
12960 octave-completion-at-point-function.
12961 (inferior-octave-directory-tracker): Robustify.
12962 (octave-text-functions): Remove and fix its uses. No such things
12963 any more.
12964
12965 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12966
12967 * emacs-lisp/trace.el (trace--display-buffer): New function.
12968 (trace-make-advice): Use it.
12969
12970 2013-05-06 Juri Linkov <juri@jurta.org>
12971
12972 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12973 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12974 Doc fix.
12975 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12976 in the help string. (Bug#12985)
12977
12978 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12979
12980 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12981
12982 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 * progmodes/perl-mode.el: Add support for here documents.
12985 (perl-syntax-propertize-function): Match here-doc markers.
12986 (perl-syntax-propertize-special-constructs): Find their end.
12987 (perl-imenu-generic-expression): Use [:alnum:].
12988
12989 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12990 (advice--add-function): Refresh the advice if already present
12991 (bug#14317).
12992
12993 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12994
12995 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12996
12997 2013-05-06 Glenn Morris <rgm@gnu.org>
12998
12999 * w32-fns.el (w32-charset-info-alist): Declare.
13000
13001 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13002 of its defcustom properties.
13003 (eshell-cmpl-initialize): No need to load pcomplete.
13004
13005 * generic-x.el: No need to require comint when compiling.
13006
13007 * net/eudc-export.el: Make it loadable without bbdb.
13008 (top-level): Use require rather than load-library.
13009 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13010 (eudc-batch-export-records-to-bbdb)
13011 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13012 Require bbdb.
13013
13014 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13017 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13018 some tweaks, instead.
13019
13020 2013-05-05 Leo Liu <sdl.web@gmail.com>
13021
13022 * progmodes/octave.el (octave-font-lock-keywords)
13023 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13024 (inferior-octave-send-list-and-digest): Improve error message.
13025 (octave-mode, inferior-octave-mode): Use setq-local.
13026 (octave-help): Set info-lookup-mode.
13027
13028 2013-05-05 Richard Stallman <rms@gnu.org>
13029
13030 * vc/compare-w.el (compare-windows-whitespace):
13031 Treat no-break space as whitespace.
13032
13033 * mail/rmailsum.el (rmail-summary-rmail-update):
13034 Detect empty summary and don't change selected message.
13035 (rmail-summary-goto-msg): Likewise.
13036
13037 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13038 Doc fixes, rename args.
13039
13040 2013-05-05 Alan Mackenzie <acm@muc.de>
13041
13042 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13043
13044 2013-05-05 Juri Linkov <juri@jurta.org>
13045
13046 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13047 to not add the length of the summary segment to the return value.
13048 (Bug#14125)
13049
13050 2013-05-05 Leo Liu <sdl.web@gmail.com>
13051
13052 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13053 (inferior-octave-output-filter): Remove.
13054 (octave-send-region, inferior-octave-startup): Fix callers.
13055 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13056 (octave-binary-file-extensions): New user variable.
13057 (octave-find-definition): Confirm if opening binary files.
13058 (octave-help-file): Use octave-find-definition to get the binary
13059 confirmation.
13060 (octave-help): Adjust for octave-help-file change.
13061
13062 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13063
13064 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13065 Merge the two entries that handle function definitions.
13066 (pascal--syntax-propertize): New const.
13067 (pascal-mode): Use it. Use setq-local.
13068
13069 2013-05-04 Glenn Morris <rgm@gnu.org>
13070
13071 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13072 (diary-from-outlook): Respect diary-from-outlook-function.
13073
13074 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13075
13076 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13077 Move the declaration from C.
13078 (read-minibuffer, eval-minibuffer): Move from C.
13079 (completion-setup-function): Avoid minibuffer-completion-contents.
13080
13081 2013-05-03 Leo Liu <sdl.web@gmail.com>
13082
13083 * progmodes/octave.el (octave-font-lock-keywords): Do not
13084 dehighlight 'end' in comments or strings.
13085 (octave-completing-read, octave-goto-function-definition):
13086 New helpers.
13087 (octave-help-buffer): New user variable.
13088 (octave-help-file, octave-help-function): New button types.
13089 (octave-help): New command and bind it to C-h ;.
13090 (octave-find-definition): New command and bind it to M-.
13091 (user-error): Alias to error if not defined.
13092
13093 2013-05-02 Leo Liu <sdl.web@gmail.com>
13094
13095 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13096 for \. (bug#14332)
13097 (octave-font-lock-keywords): Include [ and {.
13098
13099 2013-05-02 Leo Liu <sdl.web@gmail.com>
13100
13101 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13102 (inferior-octave): Remove calling comint-mode and return the buffer.
13103 (inferior-octave-startup): Cosmetic changes.
13104
13105 2013-05-02 Leo Liu <sdl.web@gmail.com>
13106
13107 * progmodes/octave.el (octave-syntax-propertize-function):
13108 Include the case when ' is at line beginning. (Bug#14336)
13109
13110 2013-05-02 Glenn Morris <rgm@gnu.org>
13111
13112 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13113 * desktop.el (vc-dir-mode): Just autoload it here.
13114
13115 2013-05-02 Alan Mackenzie <acm@muc.de>
13116
13117 Eliminate variable c-standard-font-lock-fontify-region-function.
13118 * progmodes/cc-mode.el
13119 (c-standard-font-lock-fontify-region-function): Remove.
13120 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13121
13122 2013-05-01 Leo Liu <sdl.web@gmail.com>
13123
13124 * progmodes/octave.el: Compatible with older emacs-24 releases.
13125 (inferior-octave-has-built-in-variables): Remove. Built-in
13126 variables were removed from Octave in 2007.
13127 (inferior-octave-startup): Fix uses.
13128 (comint-line-beginning-position): Remove compatibility code for
13129 emacs 21.
13130
13131 2013-05-01 Juri Linkov <juri@jurta.org>
13132
13133 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13134
13135 2013-05-01 Juri Linkov <juri@jurta.org>
13136
13137 * comint.el (comint-previous-matching-input): Don't print message
13138 "History item: %d" when `isearch-mode' is active.
13139 (comint-history-isearch-message): Print message "History item: %d"
13140 when `comint-input-ring-index' is not empty and this function is
13141 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13142
13143 2013-05-01 Leo Liu <sdl.web@gmail.com>
13144
13145 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13146 definitions. Use completion-at-point to insert keywords.
13147 (octave-abbrev-start): Remove.
13148 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13149
13150 2013-04-30 Leo Liu <sdl.web@gmail.com>
13151
13152 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13153 change.
13154
13155 2013-04-30 Alan Mackenzie <acm@muc.de>
13156
13157 Handle arbitrarily long C++ member initialisation lists.
13158 * progmodes/cc-engine.el (c-back-over-member-initializers):
13159 new function.
13160 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13161 (most) member init lists.
13162
13163 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13164
13165 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13166 variable.
13167
13168 2013-04-30 Leo Liu <sdl.web@gmail.com>
13169
13170 * progmodes/octave.el (octave-variables): Remove. No builtin
13171 variables any more. All converted to functions.
13172 (octave-font-lock-keywords, octave-completion-at-point-function):
13173 Fix uses.
13174 (octave-font-lock-texinfo-comment): New user variable.
13175 (octave-texinfo-font-lock-keywords): New variable for texinfo
13176 comment block.
13177 (octave-function-comment-block): New face.
13178 (octave-font-lock-texinfo-comment): New function.
13179 (octave-mode): Font lock texinfo comment block.
13180
13181 2013-04-29 Leo Liu <sdl.web@gmail.com>
13182
13183 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13184 indexing expression.
13185 (octave-continuation-string): Do not use \.
13186 (inferior-octave-complete-impossible): Remove.
13187 (inferior-octave-completion-table)
13188 (inferior-octave-completion-at-point): Remove its uses.
13189 (inferior-octave-startup): completion_matches was introduced to
13190 Octave in 1996 so safe to assume it.
13191 (octave-function-file-comment): Improve to follow how Octave does it.
13192 (octave-update-function-file-comment): Tweak.
13193
13194 2013-04-29 Leo Liu <sdl.web@gmail.com>
13195
13196 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13197 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13198 (octave-function-file-comment): Fix typo.
13199 (octave-sync-function-file-names): Use read-char-choice.
13200
13201 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13202
13203 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13204 to t for the less important warnings.
13205
13206 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13207
13208 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13209
13210 2013-04-27 Glenn Morris <rgm@gnu.org>
13211
13212 * vc/log-view.el (log-view-current-entry):
13213 Treat "---" separator lines as part of the following rev. (Bug#14169)
13214
13215 2013-04-27 Juri Linkov <juri@jurta.org>
13216
13217 * subr.el (read-number): Doc fix about using it by interactive
13218 code letter `n'. (Bug#14254)
13219
13220 2013-04-27 Juri Linkov <juri@jurta.org>
13221
13222 * desktop.el (desktop-auto-save-timeout): New option.
13223 (desktop-file-checksum): New variable.
13224 (desktop-save): Add optional arg `auto-save' and don't auto-save
13225 if nothing changed.
13226 (desktop-auto-save-timer): New variable.
13227 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13228 (after-init-hook): Call `desktop-auto-save-set-timer'.
13229 Suggested by Reuben Thomas <rrt@sc3d.org> in
13230 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13231
13232 2013-04-27 Leo Liu <sdl.web@gmail.com>
13233
13234 * progmodes/octave.el (octave-function-file-p)
13235 (octave-skip-comment-forward, octave-function-file-comment)
13236 (octave-update-function-file-comment): New functions.
13237 (octave-mode-map): Bind C-c ; to
13238 octave-update-function-file-comment.
13239 (octave-mode-menu): Add octave-update-function-file-comment.
13240 (octave-mode, inferior-octave-mode): Fix doc-string.
13241 (octave-insert-defun): Conform to Octave's coding convention.
13242 (Bug#14285)
13243
13244 * files.el (basic-save-buffer): Don't let errors in
13245 before-save-hook prevent saving buffer.
13246
13247 2013-04-20 Roland Winkler <winkler@gnu.org>
13248
13249 * faces.el (read-face-name): Use completing-read if arg multiple
13250 is nil.
13251
13252 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13253
13254 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13255 displayed, move point to after the totals line.
13256 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13257 for the details.
13258
13259 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13262 Add current dir to the load-path.
13263 (package-generate-autoloads): Don't rely on
13264 autoload-ensure-default-file.
13265
13266 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13267
13268 * textmodes/remember.el (remember-store-in-files): Document that
13269 the file name format is passed to `format-time-string'.
13270
13271 2013-04-26 Leo Liu <sdl.web@gmail.com>
13272
13273 * progmodes/octave.el (octave-sync-function-file-names): New function.
13274 (octave-mode): Use it in before-save-hook.
13275
13276 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13277
13278 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13279 (bug#14274).
13280
13281 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13282 \n and comment, even if it's not an implicit ; (bug#14218).
13283
13284 2013-04-26 Glenn Morris <rgm@gnu.org>
13285
13286 * subr.el (read-number): Once more use `read' rather than
13287 `string-to-number', to trap non-numeric input. (Bug#14254)
13288
13289 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13290
13291 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13292 Use `syntax-multiline' text property consistently instead of
13293 `font-lock-multiline'. (Bug#14237)
13294
13295 2013-04-26 Glenn Morris <rgm@gnu.org>
13296
13297 * emacs-lisp/shadow.el (list-load-path-shadows):
13298 No longer necessary to check for duplicate simple.el, since
13299 2012-07-07 change to init_lread to not include installation lisp
13300 directories in load-path when running uninstalled. (Bug#14270)
13301
13302 2013-04-26 Leo Liu <sdl.web@gmail.com>
13303
13304 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13305 (octave-mode, inferior-octave-mode): Use setq-local.
13306 (octave-not-in-string-or-comment-p): Rename to
13307 octave-in-string-or-comment-p.
13308 (octave-in-comment-p, octave-in-string-p)
13309 (octave-in-string-or-comment-p): Replace defsubst with defun.
13310
13311 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13312
13313 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13314
13315 2013-04-25 Bastien Guerry <bzg@gnu.org>
13316
13317 * textmodes/remember.el (remember-data-directory)
13318 (remember-directory-file-name-format): Fix custom types.
13319
13320 2013-04-25 Leo Liu <sdl.web@gmail.com>
13321
13322 * progmodes/octave.el (octave-completion-at-point-function):
13323 Make use of inferior octave process.
13324 (octave-initialize-completions): Remove.
13325 (inferior-octave-completion-table): New function.
13326 (inferior-octave-completion-at-point): Use it.
13327 (octave-completion-alist): Remove.
13328
13329 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13330
13331 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13332 (opascal-mode-syntax-table): New var.
13333 (opascal-literal-kind, opascal-is-literal-end)
13334 (opascal-literal-token-at): Rewrite.
13335 (opascal--literal-start-re, opascal-font-lock-keywords)
13336 (opascal--syntax-propertize): New constants.
13337 (opascal-font-lock-defaults): Adjust.
13338 (opascal-mode): Use them. Set comment-<foo> variables as well.
13339 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13340 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13341 (delphi-other-face, opascal-other-face): Remove face variables.
13342 (opascal-save-state): Remove macro.
13343 (opascal-fontifying-progress-step): Remove constant.
13344 (opascal--ignore-changes): Remove var.
13345 (opascal-set-token-property, opascal-parse-next-literal)
13346 (opascal-is-stable-literal, opascal-complete-literal)
13347 (opascal-is-literal-start, opascal-face-of)
13348 (opascal-parse-region, opascal-parse-region-until-stable)
13349 (opascal-fontify-region, opascal-after-change)
13350 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13351 (opascal-debug-parse-region, opascal-debug-parse-window)
13352 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13353 (opascal-debug-fontify-buffer): Remove.
13354 (opascal-debug-mode-map): Adjust accordingly.
13355
13356 2013-04-25 Leo Liu <sdl.web@gmail.com>
13357
13358 Merge octave-mod.el and octave-inf.el into octave.el with some
13359 cleanups.
13360 * progmodes/octave.el: New file renamed from octave-mod.el.
13361 * progmodes/octave-inf.el: Merged into octave.el.
13362 * progmodes/octave-mod.el: Renamed to octave.el.
13363
13364 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13365
13366 * textmodes/reftex-vars.el
13367 (reftex-label-ignored-macros-and-environments): New defcustom.
13368
13369 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13370
13371 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13372
13373 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13374 (smie-indent-keyword): Improve the check to ensure that the next
13375 comment is really on the same line.
13376 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13377
13378 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13379 semi-colons if the line is not otherwise empty (bug#14218).
13380
13381 2013-04-25 Glenn Morris <rgm@gnu.org>
13382
13383 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13384
13385 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13386
13387 * progmodes/opascal.el (opascal-set-token-property): Rename from
13388 opascal-set-text-properties and only set `token' (bug#14134).
13389 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13390 (opascal-literal-text-properties): Remove.
13391 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13392 Adjust callers.
13393
13394 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13395
13396 * textmodes/remember.el (remember-handler-functions): Add an
13397 option for a new handler `remember-store-in-files'.
13398 (remember-data-directory, remember-directory-file-name-format):
13399 New options.
13400 (remember-store-in-files): New function to store remember notes
13401 as separate files within a directory.
13402
13403 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13404
13405 * progmodes/compile.el (compilation-next-error-function):
13406 Pass "formats" to compilation-find-file (bug#11777).
13407
13408 2013-04-24 Glenn Morris <rgm@gnu.org>
13409
13410 * vc/vc-bzr.el (vc-bzr-print-log):
13411 * vc/vc-hg.el (vc-hg-print-log):
13412 * vc/vc-svn.el (vc-svn-print-log):
13413 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13414
13415 * vc/vc-bzr.el (vc-bzr-print-log):
13416 * vc/vc-cvs.el (vc-cvs-print-log):
13417 * vc/vc-git.el (vc-git-print-log):
13418 * vc/vc-hg.el (vc-hg-print-log):
13419 * vc/vc-mtn.el (vc-mtn-print-log):
13420 * vc/vc-rcs.el (vc-rcs-print-log):
13421 * vc/vc-sccs.el (vc-sccs-print-log):
13422 * vc/vc-svn.el (vc-svn-print-log):
13423 * vc/vc.el (vc-print-log-internal): Doc fixes.
13424
13425 2013-04-23 Glenn Morris <rgm@gnu.org>
13426
13427 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13428 Remove venerable code attempting to avoid substitute-command-keys.
13429
13430 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13431
13432 * textmodes/reftex-vars.el (reftex-label-regexps):
13433 Call `reftex-compile-variables' after changes to this variable.
13434
13435 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13436
13437 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13438 Use lexical-binding.
13439 (jit-lock-force-redisplay): Use markers, check buffer's continued
13440 existence and beware narrowed buffers.
13441 (jit-lock-fontify-now): Adjust call accordingly.
13442
13443 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13444
13445 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13446 to avoid misleading the user.
13447
13448 2013-04-22 Leo Liu <sdl.web@gmail.com>
13449
13450 * info-look.el: Prefer latex2e.info. (Bug#14240)
13451
13452 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13453
13454 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13455
13456 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13457 * net/tramp.el (tramp-call-process): ... here.
13458 (tramp-set-completion-function, tramp-parse-putty):
13459 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13460 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13461 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13462 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13463 (tramp-call-local-coding-command): Use `tramp-call-process'
13464 instead of `tramp-compat-call-process'.
13465
13466 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13467 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13468 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13469 (tramp-find-inline-compress): Improve traces.
13470 (tramp-maybe-send-script): Check for Perl binary.
13471 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13472
13473 2013-04-22 Daiki Ueno <ueno@gnu.org>
13474
13475 * epg.el (epg-context-pinentry-mode): New function.
13476 (epg-context-set-pinentry-mode): New function.
13477 (epg--start): Pass --pinentry-mode option to gpg command.
13478
13479 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13480
13481 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13482 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13483 `completion-at-point'. (Bug#13774)
13484
13485 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13486 default key binding for `describe-distribution' has been moved to
13487 `C-h C-o'. (Bug#13970)
13488
13489 2013-04-21 Glenn Morris <rgm@gnu.org>
13490
13491 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13492 Add doc strings.
13493 (vc-print-log): Clarify interactive prompt.
13494
13495 2013-04-20 Glenn Morris <rgm@gnu.org>
13496
13497 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13498 No longer include timestamp etc information.
13499
13500 2013-04-20 Roland Winkler <winkler@gnu.org>
13501
13502 * faces.el (read-face-name): Bug fix, return just one face if arg
13503 multiple is nil. (Bug#14209)
13504
13505 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13506
13507 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13508 (remove-function): Autoload.
13509
13510 * comint.el (comint-redirect-original-filter-function): Remove.
13511 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13512 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13513 (vc-cvs-annotate-command):
13514 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13515 * progmodes/prolog.el (prolog-consult-compile):
13516 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13517 Use add/remove-function instead.
13518 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13519 (gud-tooltip-process-output, gud-tooltip-tips):
13520 Use add/remove-function instead.
13521 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13522 (scheme-interaction-mode, exit-scheme-interaction-mode):
13523 Use add/remove-function instead.
13524
13525 * vc/vc-dispatcher.el: Use lexical-binding.
13526 (vc--process-sentinel): Rename from vc-process-sentinel.
13527 Change last arg to be the code to run. Don't use vc-previous-sentinel
13528 and vc-sentinel-commands any more.
13529 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13530 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13531
13532 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13533
13534 * progmodes/sh-script.el (sh-imenu-generic-expression):
13535 Handle function names with a single character. (Bug#14111)
13536
13537 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13538
13539 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13540 for subroutines defined in an eval (bug#14182).
13541
13542 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13543
13544 * bookmark.el (bookmark-completing-read): Improve handling of empty
13545 string (bug#14176).
13546
13547 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13548
13549 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13550
13551 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13552
13553 New faster Imenu implementation (bug#14058).
13554 * progmodes/python.el:
13555 (python-imenu-prev-index-position):
13556 (python-imenu-format-item-label-function)
13557 (python-imenu-format-parent-item-label-function)
13558 (python-imenu-format-parent-item-jump-label-function):
13559 New vars.
13560 (python-imenu-format-item-label)
13561 (python-imenu-format-parent-item-label)
13562 (python-imenu-format-parent-item-jump-label)
13563 (python-imenu--put-parent, python-imenu--build-tree)
13564 (python-imenu-create-index, python-imenu-create-flat-index)
13565 (python-util-popn): New functions.
13566 (python-mode): Set imenu-create-index-function to
13567 python-imenu-create-index.
13568
13569 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13570
13571 * winner.el (winner-active-region): Use region-active-p, activate-mark
13572 and deactivate-mark (bug#14225).
13573
13574 * simple.el (deactivate-mark): Don't inline it.
13575
13576 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13577
13578 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13579
13580 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13581
13582 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13583 file extensions from the archive-mode entry in order to prefer
13584 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13585
13586 2013-04-18 Leo Liu <sdl.web@gmail.com>
13587
13588 * bindings.el (help-event-list): Add ?\?.
13589
13590 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13591
13592 * subr.el (with-wrapper-hook): Declare obsolete.
13593 * simple.el (filter-buffer-substring-function): New hook.
13594 (filter-buffer-substring): Use it.
13595 (filter-buffer-substring-functions): Mark obsolete.
13596 * minibuffer.el (completion-in-region-function): New hook.
13597 (completion-in-region): Use it.
13598 (completion-in-region-functions): Mark obsolete.
13599 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13600 * abbrev.el (abbrev-expand-function): New hook.
13601 (expand-abbrev): Use it.
13602 (abbrev-expand-functions): Mark obsolete.
13603 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13604 and :filter-return.
13605
13606 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13607
13608 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13609 and do not care about match data.
13610
13611 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13612
13613 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13614 completion tables when completing error conditions and
13615 `declare' arguments.
13616 (lisp-complete-symbol, field-complete): Mark as obsolete.
13617 (check-parens): Unmatched parens are user errors.
13618 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13619
13620 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13621
13622 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13623 command changed buffer (ie. `flyspell-pre-buffer' is not current
13624 buffer), which prevents making decisions based on invalid value of
13625 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13626 cause an error when `flyspell-pre-point' was nil after switching
13627 buffers.
13628 (flyspell-post-command-hook): No longer needs to change buffers when
13629 checking pre-word. While at it remove unnecessary progn.
13630
13631 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13632
13633 * textmodes/ispell.el (ispell-add-per-file-word-list):
13634 Fix `flyspell-correct-word-before-point' error when accepting
13635 words and `coment-padding' is an integer by using
13636 `comment-normalize-vars' (Bug #14214).
13637
13638 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13639
13640 New defun movement commands.
13641 * progmodes/python.el (python-nav--syntactically)
13642 (python-nav--forward-defun, python-nav-backward-defun)
13643 (python-nav-forward-defun): New functions.
13644
13645 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13646
13647 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13648 (python-syntax-context): Use named compiler-macro for backwards
13649 compatibility with Emacs 24.x.
13650
13651 2013-04-17 Leo Liu <sdl.web@gmail.com>
13652
13653 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13654 octave-hide-process-buffer.
13655
13656 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13657
13658 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13659 (bug#14216).
13660
13661 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13662
13663 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13664 Fix adjustment of offset when receiving incomplete responses from GDB
13665 (bug#14129).
13666
13667 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13668
13669 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13670 python-mode-abbrev-table.
13671 (python-skeleton-define): Adjust accordingly.
13672 (python-mode-abbrev-table): New table that inherits from it so that
13673 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13674
13675 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13676 (abbrev-symbol): Use it.
13677 (abbrev--before-point): Use it since we already handle inheritance.
13678
13679 2013-04-16 Leo Liu <sdl.web@gmail.com>
13680
13681 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13682 binding to info-lookup-symbol.
13683
13684 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13685
13686 * minibuffer.el (completion--twq-all):
13687 * term/ns-win.el (ns-initialize-window-system):
13688 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13689
13690 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13691
13692 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13693 global bindings.
13694
13695 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13696
13697 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13698
13699 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13700 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13701 to nil.
13702 (ruby-end-of-defun): Remove the unused arg, change the docstring
13703 to reflect that this function is only used as the value of
13704 `end-of-defun-function'.
13705 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13706 to reflect an earlier change that beginning/end-of-defun functions
13707 jump between methods in a class definition, as well as top-level
13708 functions.
13709
13710 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13711
13712 * minibuffer.el (minibuffer-complete): Don't just scroll
13713 a *Completions* that's been iconified.
13714 (minibuffer-force-complete): Make sure repetitions do cycle when going
13715 through completion-in-region -> minibuffer-complete.
13716
13717 2013-04-15 Alan Mackenzie <acm@muc.de>
13718
13719 Correct the placement of c-cpp-delimiters when there're #s not at
13720 col 0.
13721
13722 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13723 place a submatch around the #.
13724 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13725 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13726 on the #, not BOL.
13727
13728 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13729
13730 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13731 (advice--member-p): New arg `name'.
13732 (advice--add-function, advice-member-p): Use it (bug#14202).
13733
13734 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13735
13736 Reformulate java imenu-generic-expression.
13737 The old expression contained ill formed regexps.
13738
13739 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13740 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13741 (cc-imenu-java-method-arg-regexp): New defconsts.
13742 (cc-imenu-java-build-type-args-regex): New defun.
13743 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13744 handling of spaces in the regexp.
13745
13746 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13747
13748 * textmodes/ispell.el (ispell-command-loop): Remove
13749 flyspell highlight of a word when ispell accepts it (bug #14178).
13750
13751 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13752
13753 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13754 uses code from the previous `ange-ftp-run-real-handler'.
13755 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13756 only in case that function exist. This is needed for proper
13757 unloading of Tramp.
13758
13759 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13760
13761 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13762
13763 * textmodes/reftex.el (reftex-compile-variables): Use it.
13764
13765 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13766
13767 * files.el (normal-mode): Only use default major-mode if no other mode
13768 was specified.
13769
13770 * emacs-lisp/trace.el (trace-values): New function.
13771
13772 * files.el: Allow : in local variables (bug#14089).
13773 (hack-local-variable-regexp): New var.
13774 (hack-local-variables-prop-line, hack-local-variables): Use it.
13775
13776 2013-04-13 Roland Winkler <winkler@gnu.org>
13777
13778 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13779 data before it gets modified by bibtex-beginning-of-entry.
13780
13781 2013-04-13 Roland Winkler <winkler@gnu.org>
13782
13783 * textmodes/bibtex.el (bibtex-url): Doc fix.
13784
13785 2013-04-13 Roland Winkler <winkler@gnu.org>
13786
13787 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13788 does not visit a BibTeX file, exclude it from the list of buffers
13789 returned by bibtex-initialize.
13790
13791 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13792
13793 * window.el (split-window): Remove interactive form, since as a
13794 command this function is a special case of split-window-below.
13795 Correct doc string.
13796
13797 2013-04-12 Roland Winkler <winkler@gnu.org>
13798
13799 * faces.el (read-face-name): Do not override value of arg default.
13800 Allow single faces and strings as default values. Remove those
13801 elements from return value that are not faces.
13802 (describe-face): Simplify.
13803 (face-at-point): New optional args thing and multiple so that this
13804 function can provide the same functionality previously provided by
13805 read-face-name.
13806 (make-face-bold, make-face-unbold, make-face-italic)
13807 (make-face-unitalic, make-face-bold-italic, invert-face)
13808 (modify-face, read-face-and-attribute): Use face-at-point.
13809
13810 * cus-edit.el (customize-face, customize-face-other-window)
13811 * cus-theme.el (custom-theme-add-face)
13812 * face-remap.el (buffer-face-set)
13813 * facemenu.el (facemenu-set-face): Use face-at-point.
13814
13815 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13816
13817 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13818
13819 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13820
13821 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13822 off leading { and trailing } from field values.
13823
13824 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13825
13826 * emacs-lisp/timer.el (timer--check): New function.
13827 (timer--time, timer-set-function, timer-event-handler): Use it.
13828 (timer-set-idle-time): Simplify.
13829 (timer--activate): CSE.
13830 (timer-event-handler): Give more info in error message.
13831 (internal-timer-start-idle): New function, moved from C.
13832
13833 * mpc.el (mpc-proc): Add `restart' argument.
13834 (mpc-proc-cmd): Use it.
13835 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13836 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13837 less often.
13838
13839 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13840
13841 * progmodes/sh-script.el: Implement `sh-mode' own
13842 `add-log-current-defun-function' (bug#14112).
13843 (sh-current-defun-name): New function.
13844 (sh-mode): Use the function.
13845
13846 2013-04-09 Bastien Guerry <bzg@gnu.org>
13847
13848 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13849
13850 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13851
13852 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13853
13854 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13855 timer (bug#14156).
13856
13857 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13858
13859 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13860 declaration.
13861
13862 2013-04-07 Leo Liu <sdl.web@gmail.com>
13863
13864 * pcmpl-x.el: New file.
13865
13866 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13867
13868 Do not set x-display-name until X connection is established.
13869 This is needed to prevent from weird situation described at
13870 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13871 * frame.el (make-frame): Set x-display-name after call to
13872 window system initialization function, not before.
13873 * term/x-win.el (x-initialize-window-system): Add optional
13874 display argument and use it.
13875 * term/w32-win.el (w32-initialize-window-system):
13876 * term/ns-win.el (ns-initialize-window-system):
13877 * term/pc-win.el (msdos-initialize-window-system):
13878 Add compatible optional display argument.
13879
13880 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13881
13882 * files.el (normal-backup-enable-predicate): On MS-Windows and
13883 MS-DOS compare truenames of temporary-file-directory and of the
13884 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13885 don't fail comparison by compare-strings. Also, compare file
13886 names case-insensitively on MS-Windows and MS-DOS.
13887
13888 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13889
13890 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13891 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13892
13893 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13894
13895 * whitespace.el (whitespace-color-on, whitespace-color-off):
13896 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13897
13898 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13899
13900 * ispell.el (ispell-set-spellchecker-params):
13901 Really set `ispell-args' for all equivs.
13902
13903 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13904
13905 * ido.el (ido-completions): Use extra elements of ido-decorations
13906 (bug#14143).
13907 (ido-decorations): Update docstring.
13908
13909 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13910
13911 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13912 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13913 nil during initialization, in order not to miss changes since the
13914 file was opened. (Bug#14140)
13915
13916 2013-04-05 Leo Liu <sdl.web@gmail.com>
13917
13918 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13919
13920 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13921
13922 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13923
13924 2013-04-04 Glenn Morris <rgm@gnu.org>
13925
13926 * electric.el (electric-pair-inhibit-predicate): Add :version.
13927
13928 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13929
13930 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13931 when a package is required several times (bug#14082).
13932
13933 2013-04-04 Roland Winkler <winkler@gnu.org>
13934
13935 * faces.el (read-face-name): Behave as promised by the docstring.
13936 Assume that arg default is a list of faces.
13937 (describe-face): Call read-face-name with list of default faces.
13938
13939 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13940
13941 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13942 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13943 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13944 the header.
13945 (bookmark-exit-hook-internal): Save even if list is empty.
13946
13947 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13948
13949 * emacs-lisp/package.el (package-pinned-packages): New var.
13950 (package--add-to-archive-contents): Obey it (bug#14118).
13951
13952 2013-04-03 Alan Mackenzie <acm@muc.de>
13953
13954 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13955 Also adapt to the new values of element 7 of a parse state.
13956
13957 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13958 parameter `not-in-delimiter'. Handle being inside comment opener.
13959 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13960 character in case we're typing a '*' after a '/'.
13961 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13962 instead by passing the parameter to c-state-pp-to-literal.
13963
13964 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13965 for elt. 7 of a parse state.
13966
13967 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13968
13969 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13970 * international/latin1-disp.el, international/mule-util.el:
13971 * language/cyril-util.el, language/european.el, language/ind-util.el:
13972 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13973 * language/tibetan.el, language/viet-util.el:
13974 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13975
13976 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13977
13978 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13979 (electric-pair-post-self-insert-function): Use it.
13980 (electric-pair-default-inhibit): New function, extracted from
13981 electric-pair-post-self-insert-function.
13982
13983 2013-03-31 Roland Winkler <winkler@gnu.org>
13984
13985 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13986
13987 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13988
13989 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13990
13991 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13992
13993 Un-indent after "pass" and "return" statements (Bug#13888)
13994 * progmodes/python.el (python-indent-block-enders): New var.
13995 (python-indent-calculate-indentation): Use it.
13996
13997 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13998
13999 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14000 defun. Defining it as defalias could introduce too eager
14001 byte-compiler optimization. (Bug#14030)
14002
14003 2013-03-30 Chong Yidong <cyd@gnu.org>
14004
14005 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14006
14007 2013-03-30 Leo Liu <sdl.web@gmail.com>
14008
14009 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14010 (kmacro-execute-from-register): Pass the keyboard macro to
14011 kmacro-call-macro or repeating won't work correctly.
14012
14013 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14014
14015 * progmodes/subword.el: Back to using `forward-symbol'.
14016
14017 * subr.el (forward-whitespace, forward-symbol)
14018 (forward-same-syntax): Move from thingatpt.el.
14019
14020 2013-03-29 Leo Liu <sdl.web@gmail.com>
14021
14022 * kmacro.el (kmacro-to-register): New command.
14023 (kmacro-execute-from-register): New function.
14024 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14025
14026 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14027
14028 * mpc.el: Use defvar-local and setq-local.
14029 (mpc--proc-connect): Connection failures are not bugs.
14030 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14031 (mpc-volume-map): Bind to the up-events.
14032
14033 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14034
14035 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14036 instead of `forward-symbol'.
14037
14038 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14039
14040 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14041 (edebug--recursive-edit): Use it.
14042 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14043 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14044
14045 2013-03-28 Leo Liu <sdl.web@gmail.com>
14046
14047 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14048
14049 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14050
14051 * facemenu.el (list-colors-callback): New defvar.
14052 (list-colors-redisplay): New function.
14053 (list-colors-display): Install list-colors-redisplay as the
14054 revert-buffer-function. (Bug#14063)
14055
14056 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14057
14058 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14059 and suffixes don't overlap (bug#14061).
14060
14061 * case-table.el: Use lexical-binding.
14062 (case-table-get-table): New function.
14063 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14064
14065 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14066
14067 * progmodes/subword.el: Add `superword-mode' to do word motion
14068 over symbol_words (parallels and leverages `subword-mode' which
14069 does word motion inside MixedCaseWords).
14070
14071 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14072
14073 * eshell/em-unix.el: Move su and sudo to...
14074 * eshell/em-tramp.el: ...Eshell tramp module.
14075
14076 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14077
14078 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14079 Change return value to be a sexp. Delay `get-buffer' to after
14080 restoring the desktop (bug#13951).
14081
14082 2013-03-26 Leo Liu <sdl.web@gmail.com>
14083
14084 * register.el: Move semantic tag handling back to
14085 cedet/semantic/senator.el. (Bug#14052)
14086
14087 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14088
14089 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14090 into the prompt either (bug#13963).
14091
14092 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14093
14094 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14095 part of "(error-foo)".
14096
14097 2013-03-24 Juri Linkov <juri@jurta.org>
14098
14099 * replace.el (list-matching-lines-prefix-face): New defcustom.
14100 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14101 `occur-engine' if `face-differs-from-default-p' returns t.
14102 (occur-engine): Add `,' inside backquote construct to evaluate
14103 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14104 Pass `prefix-face' to the functions `occur-context-lines' and
14105 `occur-engine-add-prefix'.
14106 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14107 `prefix-face' and propertize the prefix with `prefix-face'.
14108 (Bug#14017)
14109
14110 2013-03-24 Leo Liu <sdl.web@gmail.com>
14111
14112 * nxml/rng-valid.el (rng-validate-while-idle)
14113 (rng-validate-quick-while-idle): Guard against deleted buffer.
14114 (Bug#13999)
14115
14116 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14117 is the last entry in kill-buffer-hook.
14118
14119 * files.el (kill-buffer-hook): Doc fix.
14120
14121 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14122
14123 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14124 Make it safe-local.
14125
14126 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14127
14128 2013-03-23 Leo Liu <sdl.web@gmail.com>
14129
14130 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14131 Remove.
14132
14133 * nxml/rng-valid.el (rng-validate-mode)
14134 (rng-after-change-function, rng-do-some-validation):
14135 * nxml/rng-maint.el (rng-validate-buffer):
14136 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14137 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14138 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14139 (nxml-extend-after-change-region): Use with-silent-modifications.
14140
14141 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14142 timer-idle-list.
14143
14144 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14145 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14146 timer-idle-list. (Bug#13999)
14147
14148 2013-03-23 Juri Linkov <juri@jurta.org>
14149
14150 * info.el (info-index-match): New face.
14151 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14152 main pattern and add text properties with the new face to matches
14153 in index entries relative to the beginning of the index entry.
14154 (Bug#14015)
14155
14156 2013-03-21 Eric Ludlam <zappo@gnu.org>
14157
14158 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14159 Inhibit read only while inserting objects.
14160
14161 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14162
14163 * progmodes/cfengine.el: Update docs to mention
14164 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14165 symbol motion. Remove "_" from the word syntax.
14166
14167 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14168
14169 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14170 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14171
14172 2013-03-20 Juri Linkov <juri@jurta.org>
14173
14174 * info.el (Info-next-reference-or-link)
14175 (Info-prev-reference-or-link): New functions.
14176 (Info-next-reference, Info-prev-reference): Use them.
14177 (Info-try-follow-nearest-node): Handle footnote navigation.
14178 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14179
14180 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14181
14182 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14183 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14184
14185 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14186
14187 Suppress unnecessary non-ASCII chatter during build process.
14188 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14189 (batch-skkdic-convert): Suppress most of the chatter.
14190 It's not needed so much now that machines are faster,
14191 and its non-ASCII component was confusing; see Dmitry Gutov in
14192 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14193
14194 2013-03-20 Leo Liu <sdl.web@gmail.com>
14195
14196 * ido.el (ido-chop): Fix bug#10994.
14197
14198 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14199
14200 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14201 Remove vars.
14202 (whitespace-color-on, whitespace-color-off):
14203 Use `font-lock-fontify-buffer' (Bug#13817).
14204
14205 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14206
14207 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14208 remapping in mode-line.
14209 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14210
14211 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14212
14213 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14214 value for `whitespace-line' face (Bug#13875).
14215 (whitespace-font-lock-keywords): Change description.
14216 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14217 the constructed keywords instead.
14218 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14219
14220 2013-03-19 Leo Liu <sdl.web@gmail.com>
14221
14222 * progmodes/compile.el (compilation-display-error): New command.
14223 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14224 C-o. (Bug#13992)
14225
14226 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14227
14228 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14229
14230 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14231
14232 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14233
14234 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14235
14236 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14237
14238 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14239 * net/tramp-gvfs.el (top):
14240 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14241 (tramp-handle-shell-command): Use it.
14242 (tramp-dissect-file-name): Raise an error when hostname is a
14243 method name, and neither method nor user is specified.
14244
14245 * net/trampver.el: Update release number.
14246
14247 2013-03-18 Leo Liu <sdl.web@gmail.com>
14248
14249 Make sure eldoc can be turned off properly.
14250 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14251 eldoc-mode.
14252 (eldoc-display-message-p): Revert last change.
14253 (eldoc-display-message-no-interference-p)
14254 (eldoc-print-current-symbol-info): Tweak.
14255
14256 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14257
14258 * doc-view.el (doc-view-new-window-function): Check the new window
14259 overlay's display property instead the char property of the
14260 buffer's first char. Use `with-selected-window' instead of
14261 `save-window-excursion' with `select-window'.
14262 (doc-view-document->bitmap): Check the current doc-view overlay's
14263 display property instead the char property of the buffer's first char.
14264
14265 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14266
14267 Automate the build of ja-dic.el (Bug#13984).
14268 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14269 from the input, rather than assume that it's been done for us by the
14270 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14271 the current date into a ja-dic.el comment, as that complicates
14272 regression testing.
14273
14274 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14275
14276 * whitespace.el: Fix double evaluation.
14277 (whitespace-space, whitespace-hspace, whitespace-tab)
14278 (whitespace-newline, whitespace-trailing, whitespace-line)
14279 (whitespace-space-before-tab, whitespace-indentation)
14280 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14281 obsolete defvars.
14282 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14283 (whitespace-color-on): Use a single font-lock-add-keywords call.
14284 Fix double-evaluation of face variables.
14285
14286 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14287
14288 * net/tramp-adb.el (tramp-adb-parse-device-names):
14289 Use `start-process' instead of `call-process'. Otherwise, the
14290 function might be blocked under MS Windows. (Bug#13299)
14291
14292 2013-03-17 Leo Liu <sdl.web@gmail.com>
14293
14294 Extend eldoc to display info in the mode-line. (Bug#13978)
14295 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14296 (eldoc-mode-line-string): New variable.
14297 (eldoc-minibuffer-message): New function.
14298 (eldoc-message-function): New variable.
14299 (eldoc-message): Use it.
14300 (eldoc-display-message-p)
14301 (eldoc-display-message-no-interference-p):
14302 Support eldoc-post-insert-mode.
14303
14304 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14305 (eval-expression): Run it.
14306
14307 2013-03-17 Roland Winkler <winkler@gnu.org>
14308
14309 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14310 strings in the list of return values.
14311
14312 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14313
14314 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14315 radix before checking for HMS forms.
14316
14317 2013-03-16 Leo Liu <sdl.web@gmail.com>
14318
14319 * progmodes/scheme.el: Add indentation and font-locking for λ.
14320 (Bug#13975)
14321
14322 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14323
14324 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14325 token before point (bug#13942).
14326
14327 2013-03-16 Leo Liu <sdl.web@gmail.com>
14328
14329 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14330
14331 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14332
14333 * startup.el (command-line-normalize-file-name): Fix handling of
14334 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14335 <xfq.free@gmail.com> in
14336 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14337
14338 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14339
14340 Sync with Tramp 2.2.7.
14341
14342 * net/trampver.el: Update release number.
14343
14344 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14345
14346 * doc-view.el: Fix bug#13887.
14347 (doc-view-insert-image): Don't modify overlay associated to
14348 non-live windows, and implement horizontal centering of image in
14349 case it's smaller than the window.
14350 (doc-view-new-window-function): Force redisplay of new windows on
14351 doc-view buffers.
14352
14353 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14354
14355 * saveplace.el (save-place-alist-to-file): Don't sort
14356 `save-place-alist', just pretty-print it (bug#13882).
14357
14358 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14359
14360 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14361 Check whether `default-file-name-coding-system' is bound.
14362 It isn't in XEmacs.
14363
14364 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14365
14366 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14367 backquotes for `obsolete' (bug#13929).
14368
14369 * international/mule.el (find-auto-coding): Include file name in
14370 obsolescence warning (bug#13922).
14371
14372 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14373
14374 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14375 for CFEngine 3-specific indentation.
14376 (cfengine3-indent-line): Use it. Fix up category regex.
14377 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14378
14379 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14380
14381 * type-break.el (type-break-file-name):
14382 * textmodes/remember.el (remember-data-file):
14383 * strokes.el (strokes-file):
14384 * shadowfile.el (shadow-initialize):
14385 * saveplace.el (save-place-file):
14386 * ps-bdf.el (bdf-cache-file):
14387 * progmodes/idlwave.el (idlwave-config-directory):
14388 * net/quickurl.el (quickurl-url-file):
14389 * international/kkc.el (kkc-init-file-name):
14390 * ido.el (ido-save-directory-list-file):
14391 * emulation/viper.el (viper-custom-file-name):
14392 * emulation/vip.el (vip-startup-file):
14393 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14394 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14395
14396 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14397
14398 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14399 * language/thai-word.el: Switch to UTF-8.
14400
14401 See ChangeLog.16 for earlier changes.
14402
14403 ;; Local Variables:
14404 ;; coding: utf-8
14405 ;; End:
14406
14407 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14408
14409 This file is part of GNU Emacs.
14410
14411 GNU Emacs is free software: you can redistribute it and/or modify
14412 it under the terms of the GNU General Public License as published by
14413 the Free Software Foundation, either version 3 of the License, or
14414 (at your option) any later version.
14415
14416 GNU Emacs is distributed in the hope that it will be useful,
14417 but WITHOUT ANY WARRANTY; without even the implied warranty of
14418 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14419 GNU General Public License for more details.
14420
14421 You should have received a copy of the GNU General Public License
14422 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.