667b85729d7500ae5e72e52901061e31297975db
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2
3 * emacs-lisp/package.el (package--add-to-archive-contents):
4 Include already installed and built-in packages in
5 `package-archive-contents'.
6 (package-install): Don't include already installed packages in the
7 options during interactive invocation. (Bug#16762)
8
9 2014-03-24 Daniel Colascione <dancol@dancol.org>
10
11 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
12 instead of cl-loop search function.
13
14 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
15
16 * frameset.el (frameset--initial-params): Fix typo in parameter name.
17
18 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
19
20 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
21
22 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
23
24 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
25 Match special global variables without curlies, too.
26 (ruby-font-lock-keywords): Simplify the matcher for special global
27 variables. Don't require a non-word character after the variable.
28 (Bug#17057)
29
30 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * simple.el (redisplay-highlight-region-function): Increase priority of
33 overlay to make sure boundaries are visible (bug#15899).
34
35 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
36
37 * frameset.el (frameset-restore): Compare display strings with equal.
38
39 * frame.el (make-frame): Don't quote display name in error message,
40 it is already a string.
41
42 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
43
44 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
45 the password.
46
47 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
48
49 * emacs-lisp/package.el (package-show-package-list): If the buffer
50 is already displayed in another window, switch to that window.
51
52 2014-03-21 Daniel Colascione <dancol@dancol.org>
53
54 * mail/emacsbug.el (report-emacs-bug): Include memory usage
55 information in bug reports.
56
57 2014-03-23 Daniel Colascione <dancol@dancol.org>
58
59 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
60 list to look for keyword arguments instead of `memq', fixing
61 (Bug#3647) --- unfortunately, only for freshly-compiled code.
62 Please make bootstrap.
63
64 2014-03-23 Richard Stallman <rms@gnu.org>
65
66 * battery.el (battery-linux-sysfs): Search for each field
67 from the beginning of the buffer.
68
69 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
70
71 * emacs-lisp/package.el (package-desc): Use the contents of the
72 quoted form, not its cdr. (Bug#16873)
73
74 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
75
76 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
77 benefit of doc.c; change parameter profile to match the X function.
78
79 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
80
81 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
82 and `tramp-copy-env'.
83
84 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
85 (tramp-maybe-open-connection): Handle `tramp-login-env'.
86
87 2014-03-21 Glenn Morris <rgm@gnu.org>
88
89 * electric.el (electric-indent-post-self-insert-function): Add doc.
90
91 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
92
93 * emacs-lisp/package.el (package-compute-transaction):
94 Use `version-list-<=' to compare the requirement version against
95 the version of package already to be installed. Update the error
96 message. (Bug#16826)
97
98 * progmodes/ruby-mode.el (ruby-smie-rules):
99 Add indentation rule for ` @ '. (Bug#17050)
100
101 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
102
103 * align.el (align-regexp): Remove superfluous backslash.
104
105 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
106 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
107 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
108 Fix docstring typos.
109 (ffap-next): Use C-u in docstring.
110 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
111 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
112 Remove superfluous backslashes.
113 (ffap-string-at-point): Reflow docstring.
114
115 * server.el (server-host): Reflow docstring.
116 (server-unload-function): Fix docstring typo.
117 (server-eval-at): Remove superfluous backslash.
118
119 * skeleton.el (skeleton-insert): Remove superfluous backslash.
120 (skeleton-insert): Doc fix.
121 (skeleton-insert): Reflow docstring.
122
123 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
124 (tty-color-approximate, tty-color-by-index, tty-color-values)
125 (tty-color-desc): Remove superfluous backslashes.
126
127 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * electric.el (electric-newline-and-maybe-indent): New command.
130 Bind it globally to C-j.
131 (electric-indent-mode): Don't mess with the global map any more.
132 Don't drop the post-self-insert-hook is some buffer is still using it
133 (bug#16770).
134 * bindings.el (global-map): Remove C-j binding.
135
136 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
137 the docstring of functions advised before dumping (bug#16993).
138
139 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
140
141 * ps-print.el (ps-generate-postscript-with-faces):
142 Explicitly deactivate the mark (bug#16866).
143 * simple.el (deactivate-mark): Update region highlight.
144
145 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
146
147 * emacs-lisp/package.el (describe-package-1):
148 Decode commentary (bug#16733).
149
150 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
151
152 * custom.el (defcustom): Doc fix: recommend avoiding destructive
153 modification of the value argument of :set (bug#16755).
154
155 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * simple.el (newline-and-indent): Do autofill (bug#17031).
158
159 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
160
161 * newcomment.el (comment-normalize-vars): Only add escaping check
162 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
163 (comment-beginning): Use `narrow-to-region' instead of moving back
164 one character.
165 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
166 (comment-start-skip): Update the docstring.
167
168 2014-03-18 Richard Stallman <rms@gnu.org>
169
170 * dired.el (dired-display-file): Force use of other window.
171
172 2014-03-18 Daniel Colascione <dancol@dancol.org>
173
174 * startup.el (tty-handle-args): Remove debug message from 2007.
175
176 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
177
178 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
179 (advice--make-interactive-form): Use it to avoid (auto)loading function.
180 (advice--make-1, advice-add, advice-remove):
181 Remove braindead :advice-pending hack.
182
183 2014-03-17 Glenn Morris <rgm@gnu.org>
184
185 * calendar/calendar.el (calendar-generate-month): Apply weekend
186 face to the right days; fixes 2013-08-06 change. (Bug#17028)
187
188 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
189
190 * net/tramp.el (tramp-action-out-of-band): Read pending output.
191 (tramp-call-process): Trace also DESTINATION.
192
193 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
194 Quote file names when they are local. Remove superfluous trace.
195
196 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
197
198 * newcomment.el (comment-beginning): If `comment-start-skip'
199 doesn't match, move back one char and try again. (Bug#16971)
200
201 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
202 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
203 Set `comment-start-skip' to a simpler value that doesn't try to
204 check if the semicolon is escaped (this is handled by
205 `syntax-ppss' now). (Bug#16971)
206
207 * progmodes/scheme.el (scheme-mode-variables): Same.
208
209 2014-03-16 Martin Rudalics <rudalics@gmx.at>
210
211 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
212 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
213 current (Bug#16816, Bug#17007).
214 (with-current-buffer-window): New macro doing the same as
215 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
216 * help.el (help-print-return-message): Warn in doc-string to not
217 use this in `with-help-window'.
218 (describe-bindings-internal): Call `describe-buffer-bindings'
219 from within help buffer. See Juanma's scenario in (Bug#16816).
220 (with-help-window): Update doc-string.
221 * dired.el (dired-mark-pop-up):
222 * files.el (save-buffers-kill-emacs):
223 * register.el (register-preview): Use `with-current-buffer-window'
224 instead of `with-temp-buffer-window'.
225
226 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
227
228 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
229 Implement inserting into current buffer, documented in their docstrings.
230 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
231 (rst-section-tree-point, rst-forward-section, rst-indent)
232 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
233 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
234 (rst-font-lock-handle-adornment-pre-match-form)
235 (rst-repeat-last-character): Reflow docstrings.
236 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
237 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
238 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
239 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
240 Fix docstring typos.
241 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
242 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
243 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
244
245 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
246
247 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
248 for compatibility with other ports.
249 (ns-initialize-window-system): Use it. It is set in term/common-win.el
250 from the -xrm command line argument, but in the Nextstep port its value
251 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
252
253 * progmodes/python.el (defconst, python-syntax-count-quotes)
254 (python-indent-region, python-indent-shift-right)
255 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
256 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
257 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
258 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
259 (inferior-python-mode, python-shell-make-comint, run-python-internal)
260 (python-shell-buffer-substring, python-shell-send-buffer)
261 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
262 (python-completion-complete-at-point, python-fill-docstring-style)
263 (python-eldoc-function, python-imenu-format-item-label)
264 (python-imenu-format-parent-item-label)
265 (python-imenu-format-parent-item-jump-label)
266 (python-imenu--build-tree, python-imenu-create-index)
267 (python-imenu-create-flat-index): Fix docstring typos.
268 (python-indent-context, python-shell-prompt-regexp, run-python):
269 Remove superfluous backslashes.
270 (python-indent-line, python-nav-beginning-of-defun)
271 (python-shell-get-buffer, python-shell-get-process)
272 (python-info-current-defun, python-info-current-line-comment-p)
273 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
274 (python-indent-post-self-insert-function, python-shell-send-file)
275 (python-shell-completion-get-completions)
276 (python-shell-completion-complete-or-indent)
277 (python-eldoc--get-doc-at-point): Reflow docstrings.
278
279 2014-03-14 Glenn Morris <rgm@gnu.org>
280
281 * emacs-lisp/package.el (package-menu-mode-map):
282 Replace use of obsolete function alias. Tweak menu item text.
283
284 * info.el (Info-finder-find-node):
285 Ignore the `emacs' metapackage. (Bug#10813)
286
287 * finder.el (finder-list-matches): Include unversioned packages
288 in the result of a keyword search.
289
290 * finder.el (finder--builtins-descriptions): New constant.
291 (finder-compile-keywords): Use finder--builtins-descriptions.
292
293 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
294
295 * simple.el (blink-matching-paren): Describe the new value,
296 `jump', enabling the old behavior.
297 (blink-matching-open): Use that value. (Bug#17008)
298
299 2014-03-14 Glenn Morris <rgm@gnu.org>
300
301 * finder.el (finder-no-scan-regexp): Add leim-list.
302 (finder-compile-keywords):
303 Don't skip files with same basename. (Bug#14010)
304 * Makefile.in (setwins_finder): New, excluding leim.
305 (finder-data): Use setwins_finder.
306
307 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
308 (help-function-arglist, help-make-usage): Move from here...
309 * help.el (help-split-fundoc, help-add-fundoc-usage)
310 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
311 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
312
313 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
314
315 * net/socks.el (socks, socks-override-functions)
316 (socks-find-services-entry):
317 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
318 (hif-find-ifdef-block):
319 * progmodes/modula2.el (m2-indent): Fix docstring typos.
320
321 * net/tls.el (tls-program): Reflow docstring.
322
323 * progmodes/pascal.el (pascal-mode-abbrev-table)
324 (pascal-imenu-generic-expression, pascal-auto-endcomments)
325 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
326 (pascal-outline-mode): Fix docstring typos.
327 (pascal-mode): Let define-derived-mode document mode hook.
328 (pascal-uncomment-area): Reflow.
329 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
330
331 * progmodes/opascal.el (opascal-compound-block-indent)
332 (opascal-case-label-indent): Fix docstring typos.
333 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
334
335 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
336
337 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
338 Fontify multiple adjacent negation chars. (Bug#17004)
339
340 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
341
342 * emacs-lisp/package.el (package--prepare-dependencies):
343 Accept requirements without explicit version (bug#14941).
344
345 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
346
347 * register.el (register-separator, copy-to-register): Doc fixes.
348 (register-preview-default): Remove unnecessary call to concat.
349
350 * frameset.el (frameset-restore): When checking for a visible frame,
351 use the action map instead of calling visible-frame-list.
352
353 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
354
355 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
356
357 2014-03-12 Martin Rudalics <rudalics@gmx.at>
358
359 * window.el (fit-frame-to-buffer): Get maximum width from
360 display's width instead of height.
361
362 2014-03-12 Glenn Morris <rgm@gnu.org>
363
364 * desktop.el (desktop-restore-frames)
365 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
366 (desktop-restore-reuses-frames): Doc tweaks.
367
368 * electric.el (electric-indent-mode): Doc fix.
369
370 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
371
372 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
373 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
374 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
375 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
376 (cvs-dired-use-hook): Fix docstring typos.
377 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
378 Doc fixes.
379
380 * vc/pcvs-defs.el (cvs-auto-remove-handled)
381 (cvs-auto-remove-directories, cvs-default-ignore-marks)
382 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
383 (cvs-execute-single-dir): Fix docstring typos.
384
385 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
386 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
387
388 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
389
390 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
391 Fix docstring typos.
392
393 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
394
395 * frameset.el (frameset--jump-to-register): Add autoload; it could be
396 called from jump-to-register after unloading the frameset package.
397
398 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
401 (bug#16975). Deactivate the mark before setting it to nil.
402 (activate-mark): Do nothing if region is already active.
403
404 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
405
406 * frameset.el (frameset--target-display): Remove definition; declare.
407 (frameset-save, frameset-restore): Let-bind frameset--target-display.
408
409 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
412 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
413 when the advice is pending.
414 (advice-remove): Remove this marker when not needed any more.
415
416 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
417
418 * frameset.el: Separate options for reusing frames and cleaning up.
419 (frameset--reuse-list): Remove definition; declare.
420 (frameset--action-map): Declare.
421 (frameset--find-frame-if): Doc fix.
422 (frameset--restore-frame): Cache frame action.
423 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
424 how to clean up the frame list after restoring. Remove cleaning
425 options from REUSE-FRAMES. Change all keyword values to symbols.
426 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
427
428 * desktop.el (desktop-restore-forces-onscreen)
429 (desktop-restore-reuses-frames): Use non-keyword values.
430 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
431
432 2014-03-10 Glenn Morris <rgm@gnu.org>
433
434 * files.el (find-file): Doc fix: update info node name.
435
436 * emacs-lisp/advice.el (ad-add-advice, defadvice):
437 Doc fix: remove references to deleted info nodes.
438
439 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
440
441 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
442 Do not add `nil' to the environment, when there's no remote `locale'.
443 (tramp-find-inline-encoding): Check, that the remote host has
444 installed perl, before sending scripts.
445
446 2014-03-10 Leo Liu <sdl.web@gmail.com>
447
448 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
449 Clear eldoc-last-message. (Bug#16920)
450
451 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
454 (bug#14430).
455
456 2014-03-09 Juri Linkov <juri@jurta.org>
457
458 * ansi-color.el (ansi-color-names-vector): Copy default colors
459 from `xterm-standard-colors' that look well on the default white
460 background (and also on the black background) to avoid illegible
461 color combinations like yellow-on-white and white-on-white.
462 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
463
464 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
465
466 * frameset.el (frameset-restore): When no frame is visible, do not
467 generate a list of frames, just make visible the selected one.
468
469 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
470
471 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
472 it only contains the repository root. (Bug#16897)
473
474 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
475
476 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
477 only when `remote-file-name-inhibit-cache' is nil.
478 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
479
480 2014-03-06 Martin Rudalics <rudalics@gmx.at>
481
482 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
483 Fix doc-strings.
484 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
485 fit-frame-to-buffer variable. Fix doc-string.
486 (fit-window-to-buffer): Set ONLY argument in call of
487 fit-frame-to-buffer. Fix doc-string.
488
489 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
490
491 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
492 (tramp-action-password): Clear password cache if needed.
493 (tramp-read-passwd): Do not clear password cache.
494
495 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
496 cache unless it is the first password request.
497
498 2014-03-06 Glenn Morris <rgm@gnu.org>
499
500 * simple.el (newline): Doc tweak.
501
502 * emacs-lisp/shadow.el (load-path-shadows-find):
503 Ignore dir-locals. (Bug#12357)
504
505 2014-03-05 Glenn Morris <rgm@gnu.org>
506
507 * files.el (interpreter-mode-alist):
508 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
509
510 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
511
512 * frameset.el (frameset--initial-params): Filter out null entries.
513
514 2014-03-05 Martin Rudalics <rudalics@gmx.at>
515
516 * window.el (window-min-height, window-min-width):
517 Rewrite doc-strings.
518 (window-body-size): Add PIXELWISE argument to make it consistent
519 with its callees.
520
521 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
522
523 * finder.el (finder-mode-map, finder-mode-syntax-table):
524 Revert part of 2014-02-28 change.
525
526 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
527
528 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
529 (eww-setup-buffer): Clear next/prev/etc more reliably.
530 (eww-textarea-map): [tab] doesn't work on tty.
531 Reported by Mario Lang.
532
533 * net/shr.el (shr-map): Ditto.
534
535 2014-03-04 Glenn Morris <rgm@gnu.org>
536
537 * minibuffer.el (completion-hilit-commonality):
538 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
539
540 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
541
542 * hilit-chg.el (hilit-chg-unload-function): New function.
543 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
544 (hilit-chg-map-changes): Prefer cardinal number to digit.
545 (hilit-chg-display-changes): Reflow docstring.
546 (highlight-changes-rotate-faces): Remove superfluous backslash.
547
548 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
549
550 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
551 `tramp-send-command-and-check'.
552
553 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
554
555 * hexl.el (hexl-address-region, hexl-ascii-region)
556 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
557 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
558 (hexl-forward-word, hexl-previous-line, hexl-next-line):
559 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
560 (hexl-mode): Doc fix.
561 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
562 (hexl-mode-ruler): Fix typos in docstrings.
563
564 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
565 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
566 Remove superfluous backslashes.
567 (strokes-last-stroke, strokes-global-map, strokes-mode):
568 Reflow docstrings.
569 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
570 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
571 (strokes-distance-squared, strokes-global-set-stroke)
572 (strokes-global-set-stroke-string): Doc fixes.
573 (strokes-help): Fix typos; reflow docstring.
574
575 2014-03-04 Martin Rudalics <rudalics@gmx.at>
576
577 * window.el (window-in-direction): Fix doc-string.
578
579 2014-03-04 Glenn Morris <rgm@gnu.org>
580
581 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
582 Explicit error if no grammar.
583 (smie-config-save): Doc fix. Fix quote typo.
584
585 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
588 electric-indent-mode-hook if we obey electric-indent-mode.
589 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
590 decide whether we obey electric-indent-mode.
591 (c-change-set-fl-decl-start, c-extend-after-change-region):
592 Silence warnings.
593 (c-electric-indent-mode-hook): Assume we do want to obey
594 electric-indent-mode.
595
596 * electric.el (electric-indent-mode-has-been-called): Remove.
597 (electric-indent-mode): Fix accordingly.
598
599 * files.el (hack-local-variables): Mention file name in warning.
600
601 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
602
603 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
604
605 * binding.el: Add comment describing why C-d binds to `delete-char'.
606 * simple.el (delete-forward-char): Mark as interactive-only.
607
608 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
609
610 * icomplete.el (icomplete-completions):
611 Follow-up to 2014-03-01 change.
612
613 * icomplete.el: Miscellaneous doc fixes.
614 Use Icomplete everywhere instead of icomplete for consistency.
615 (icomplete-max-delay-chars): Fix typo.
616 (icomplete-mode): Use \[].
617 (icomplete-tidy, icomplete-exhibit): Reflow.
618 (icomplete-minibuffer-setup-hook, icomplete-completions):
619 Remove superfluous backlashes.
620
621 * ido.el: Miscellaneous doc fixes.
622 Use Ido everywhere instead of ido or `ido' for consistency.
623 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
624 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
625 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
626 (ido-separator): Extract obsolescence info from docstring and declare
627 with make-obsolete-variable.
628 (ido-minibuffer-setup-hook): Simplify example.
629 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
630 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
631 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
632 (ido-everywhere): Reflow docstring.
633 (ido-toggle-vc): Doc fix.
634 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
635 of long list of keybindings.
636
637 2014-03-03 Glenn Morris <rgm@gnu.org>
638
639 * frame.el (display-pixel-height, display-pixel-width)
640 (display-mm-dimensions-alist, display-mm-height)
641 (display-mm-width): Doc tweaks.
642
643 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
644
645 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
646 case of undo in region.
647
648 2014-03-02 Martin Rudalics <rudalics@gmx.at>
649
650 * window.el (fit-window-to-buffer): Fix argument in window-size
651 call when window is horizontally combined.
652
653 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
654
655 * icomplete.el (icomplete-completions): Use string-width.
656 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
657
658 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
659
660 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
661 Highlight regexp options. (Bug#16914)
662
663 2014-03-01 Martin Rudalics <rudalics@gmx.at>
664
665 * window.el (window--max-delta-1): Round down when calculating
666 how many lines/columns we can get from a window.
667
668 2014-03-01 Glenn Morris <rgm@gnu.org>
669
670 * isearch.el (search-invisible): Doc fix.
671
672 * minibuffer.el (completion-hilit-commonality):
673 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
674 * comint.el (comint-dynamic-list-completions): Doc fix.
675 * comint.el (comint-dynamic-list-completions):
676 * filecache.el (file-cache-minibuffer-complete):
677 * tempo.el (tempo-display-completions):
678 * eshell/em-hist.el (eshell-list-history):
679 Replace use of obsolete argument of display-completion-list.
680
681 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
682
683 * icomplete.el (icomplete-completions):
684 Revert back to using "..." when ?… cannot be displayed.
685
686 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
687
688 * finder.el (finder-unload-function): New function.
689
690 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
691
692 * dframe.el (dframe-detach):
693 * find-dired.el (find-dired, find-name-dired):
694 * finder.el (finder-mode-map, finder-mode-syntax-table)
695 (finder-headmark, finder-select, finder-mouse-select):
696 Fix docstring typos.
697
698 2014-02-28 Martin Rudalics <rudalics@gmx.at>
699
700 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
701 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
702 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
703 Fix doc-string based on a suggestion by Nicolas Richard
704 <theonewiththeevillook@yahoo.fr>.
705 * help.el (with-help-window): Fix doc-string.
706
707 2014-02-28 Ivan Kanis <ivan@kanis.fr>
708
709 * net/shr.el (shr-image-animate): New option.
710 (shr-put-image): Respect shr-image-animate.
711
712 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
713
714 * net/tramp-adb.el (tramp-adb-parse-device-names):
715 Use `accept-process-output'.
716 (tramp-adb-handle-file-truename): Cache the localname only.
717 (tramp-adb-handle-make-directory)
718 (tramp-adb-handle-delete-directory): Flush file properties correctly.
719 (tramp-adb-handle-set-file-modes): Do not raise an error when file
720 modes cannot be changed.
721
722 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
723 file properties of symlinks.
724
725 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
726
727 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
728 required/optional fields to match development biblatex. (Bug#16781)
729
730 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
731
732 * saveplace.el (toggle-save-place):
733 Fix argument handling. (Bug#16673)
734
735 2014-02-28 Glenn Morris <rgm@gnu.org>
736
737 * minibuffer.el (completions-first-difference)
738 (completions-common-part, completion-hilit-commonality): Doc fixes.
739
740 2014-02-28 Karl Berry <karl@gnu.org>
741
742 * info.el (Info-mode-map): Add H for describe-mode,
743 to synchronize with standalone Info.
744
745 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
746
747 * progmodes/sql.el (sql-interactive-mode):
748 Avoid setting global comint-input-ring-separator. (Bug#16814)
749
750 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
751
752 * net/dbus.el (dbus--init-bus): Declare function.
753 (dbus-path-local, dbus-interface-local): New defconst.
754 (dbus-init-bus): Use them.
755 (dbus-return-values-table): Extend doc.
756 (dbus-handle-bus-disconnect): Extend error message.
757
758 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
759
760 * subr.el (y-or-n-p): Fix double space issue in message.
761
762 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
763
764 * net/tramp.el (tramp-call-process): Improve trace message.
765 (tramp-handle-insert-file-contents): Trace error case.
766
767 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
768 <insert-directory>: Use `tramp-handle-insert-directory'.
769 (tramp-adb-handle-insert-directory): Remove function.
770 (tramp-adb-send-command-and-check): New defun, replacing
771 `tramp-adb-command-exit-status'. Change all callees.
772 (tramp-adb-handle-file-attributes)
773 (tramp-adb-handle-directory-files-and-attributes): Use it.
774 (tramp-adb-ls-output-name-less-p):
775 Use `directory-listing-before-filename-regexp'.
776 (tramp-adb-handle-delete-directory): Flush also file properties of
777 the truename of directory.
778 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
779 (tramp-adb-handle-file-local-copy): Make the local copy readable.
780 (tramp-adb-handle-write-region): Implement APPEND.
781 (tramp-adb-handle-rename-file): Make it more robust. Flush file
782 properties correctly.
783 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
784 variables. Check for connected devices only when needed.
785
786 2014-02-27 Glenn Morris <rgm@gnu.org>
787
788 * minibuffer.el (completion-table-dynamic)
789 (completion-table-with-cache): Doc fixes.
790
791 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
792 (completing-read-multiple): Doc fixes.
793
794 2014-02-27 Daniel Colascione <dancol@dancol.org>
795
796 * minibuffer.el (completion--nth-completion): Fix indentation.
797
798 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
799 explicit tramp path is empty.
800
801 2014-02-27 Glenn Morris <rgm@gnu.org>
802
803 * emacs-lisp/crm.el (completing-read-multiple):
804 Empower help-enable-auto-load.
805
806 2014-02-26 Glenn Morris <rgm@gnu.org>
807
808 * startup.el (command-line): Don't init the tty in daemon mode.
809
810 Avoid calling tty-setup-hook twice, eg if a term file
811 explicitly calls tty-run-terminal-initialization. (Bug#16859)
812 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
813 (tty-create-frame-with-faces): Use it.
814 * startup.el (command-line): Pass run-hook argument
815 to tty-run-terminal-initialization.
816
817 * dired.el (dired-restore-desktop-buffer): Demote errors;
818 eg in case a glob match fails. (Bug#16884)
819
820 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
821
822 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
823 error from `read-from-string'. (Bug#16850)
824
825 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
826 result of `completing-read' in the interactive form. (Bug#16854)
827
828 2014-02-25 Glenn Morris <rgm@gnu.org>
829
830 * image.el (image-animate, image-animate-timeout):
831 Stop animating images in dead buffers. (Bug#16878)
832
833 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
834
835 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
836 Doc fixes.
837 * startup.el (term-setup-hook): Doc fix. Make obsolete.
838 * term/sun.el (sun-raw-prefix-hooks):
839 Use tty-setup-hook instead of term-setup-hook.
840 (terminal-init-sun): Construct message from bytecomp plist.
841 * term/wyse50.el (enable-arrow-keys): Doc fix.
842
843 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
844
845 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
846 Fix docstring typos.
847
848 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
849
850 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
851
852 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
853
854 * minibuffer.el (completion--try-word-completion):
855 Fix error when completing M-x commands (bug#16808).
856
857 2014-02-24 Leo Liu <sdl.web@gmail.com>
858
859 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
860
861 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
862
863 * apropos.el (apropos-print): Avoid formatting error when
864 apropos-do-all and apropos-compact-layout are both t.
865
866 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
867
868 * apropos.el (apropos-property, apropos-all-words-regexp)
869 (apropos-true-hit, apropos-variable, apropos-print):
870 Fix docstring typos, and remove obsolete comment.
871
872 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
873
874 * net/tramp-sh.el (tramp-sh-handle-file-truename):
875 Preserve trailing "/". (Bug#16851)
876
877 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
878
879 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
880 after `=>' (bug#16811).
881 (ruby-smie-rules): Handle the inconsistent second element of the
882 list returned by `smie-indent--parent'.
883 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
884 method call.
885
886 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
887
888 * elec-pair.el (electric-pair-text-syntax-table)
889 (electric-pair-syntax-info, electric-pair--syntax-ppss)
890 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
891 (electric-pair--looking-at-unterminated-string-p): Doc fix.
892 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
893
894 2014-02-22 Glenn Morris <rgm@gnu.org>
895
896 * imenu.el (imenu--generic-function): Doc fix.
897
898 * register.el (frame-configuration-to-register): Make obsolete.
899
900 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
901
902 * desktop.el (desktop-save-buffer-p): Do not fail when
903 desktop-files-not-to-save is nil. Return t for true result
904 as the doc says.
905
906 2014-02-22 Daniel Colascione <dancol@dancol.org>
907
908 * net/secrets.el (secrets-create-item, secrets-search-items):
909 Check that attribute values are strings, avoiding the construction
910 of invalid dbus messages.
911
912 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
913
914 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
915 defun-declarations-alist.
916
917 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
918
919 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
920 (bug#16829).
921
922 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
923
924 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
925 (whitespace-newline, whitespace-trailing, whitespace-line)
926 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
927 (whitespace-space-after-tab): Fix typo in docstrings.
928
929 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
930
931 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
932
933 * electric.el (electric-indent-functions-without-reindent):
934 Add `yaml-indent-line'.
935
936 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
937
938 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
939 It has done nothing for years; should be removed after the release.
940
941 * simple.el (choose-completion): Fix docstring typo.
942 (read-quoted-char-radix): Remove unneeded * in docstring.
943 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
944 Don't escape parentheses unnecessarily in docstrings.
945
946 2014-02-21 Martin Rudalics <rudalics@gmx.at>
947
948 Fix handling of window-min-height/-width (Bug#16738).
949 * window.el (window--dump-window, window--dump-frame):
950 New functions.
951 (window--min-size-1): Account for window dividers.
952 When window-resize-pixelwise is nil, delay rounding till after the
953 sum of the window components has been calculated.
954 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
955 nil make sure at least one text line and two text columns remain
956 fully visible.
957 (window-resize): Signal an error when window-resize-apply fails.
958 (window--resize-child-windows): Fix calculation of by how many
959 pixels a window can still be shrunk via window-new-normal.
960 (adjust-window-trailing-edge): Call window--resizable with
961 correct TRAIL argument.
962
963 (with-temp-buffer-window): Don't evaluate BODY within
964 with-current-buffer (Bug#16816).
965
966 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
967
968 * net/tramp.el (tramp-check-cached-permissions):
969 Call `file-attributes' with `suffix' being a symbol but a string.
970
971 2014-02-21 Daniel Colascione <dancol@dancol.org>
972
973 * net/dbus.el (dbus-init-bus-1): Declare new subr.
974 (dbus-init-bus): New function: call into dbus-init-bus-1
975 and installs a handler for the disconnect signal.
976 (dbus-call-method): Rewrite to look for result in cons.
977 (dbus-call-method-handler): Store result in cons.
978 (dbus-check-event): Recognize events with nil sender as valid.
979 (dbus-handle-bus-disconnect): New function. React to bus
980 disconnection signal by synthesizing dbus error for each
981 pending synchronous or asynchronous call.
982 (dbus-notice-synchronous-call-errors): New function.
983 (dbus-handle-event): Raise errors directly only when `dbus-debug'
984 is true, not all the time.
985
986 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
987
988 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
989 Remove obsolescence declarations, these variables do not exist anymore.
990
991 * savehist.el (savehist-save-minibuffer-history)
992 (savehist-additional-variables, savehist-file, savehist-mode-hook)
993 (savehist-save-hook, savehist-coding-system, savehist-loaded)
994 (savehist-load, savehist-install, savehist-autosave): Fix typos;
995 mostly, refer to "Savehist mode" when talking about the mode,
996 and not the function.
997
998 * saveplace.el (save-place): Remove redundant info in docstring.
999 (save-place-forget-unreadable-files, toggle-save-place)
1000 (save-place-forget-unreadable-files, save-place-dired-hook):
1001 Fix typos and remove unneeded backslashes.
1002
1003 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1004
1005 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1006 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1007
1008 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1009 <insert-directory>: Use `tramp-handle-insert-directory'.
1010 (tramp-gvfs-handle-insert-directory): Remove function.
1011
1012 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1013 Call `tramp-handle-insert-directory'.
1014
1015 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1016
1017 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1018 before the start of buffer/region (bug#16799).
1019
1020 2014-02-20 Glenn Morris <rgm@gnu.org>
1021
1022 * isearch.el (search-invisible): Doc fix.
1023
1024 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1025
1026 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1027 (bug#16657).
1028
1029 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1030
1031 * frameset.el (frameset-restore): Delay removing an old frame's
1032 duplicate id until the new frame has been correctly created.
1033
1034 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1035
1036 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1037 (tramp-check-cached-permissions): Call `file-attributes' if the
1038 cache is empty.
1039
1040 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1041 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1042
1043 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1044 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1045 (tramp-gvfs-maybe-open-connection): Set always connection
1046 properties, even if target is mounted already.
1047
1048 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1049 Set tramp-autoload cookie.
1050 (tramp-get-remote-touch): New defun.
1051 (tramp-sh-handle-set-file-times): Use it.
1052 (tramp-sh-handle-directory-files-and-attributes):
1053 Use `tramp-handle-directory-files-and-attributes' if neither stat
1054 nor perl are available on the remote host.
1055
1056 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1057 "/". Write long listing only when "l" belongs to the switches.
1058
1059 * net/trampver.el: Update release number.
1060
1061 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1062
1063 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1064
1065 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1066
1067 * window.el (window-state-put): Allow WINDOW to refer to an
1068 internal window (Bug#16793).
1069
1070 2014-02-19 Glenn Morris <rgm@gnu.org>
1071
1072 * textmodes/remember.el: Move provide statement to end.
1073 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1074 (remember-notes): Doc fixes.
1075
1076 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * delsel.el (delete-char): Restore incorrectly erased property
1079 (bug#16795).
1080
1081 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1082
1083 * frameset.el (frameset--restore-frame): When a frame is being reused
1084 and its root window is not alive, delete all the frame's windows before
1085 restoring the window state. This works around the issue in bug#16793.
1086
1087 2014-02-18 Glenn Morris <rgm@gnu.org>
1088
1089 * textmodes/remember.el (remember-data-directory)
1090 (remember-directory-file-name-format, remember-store-in-files)
1091 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1092 (remember-notes-save-and-bury-buffer)
1093 (remember-notes--kill-buffer-query): Doc fixes.
1094
1095 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1096
1097 2014-02-17 Alan Mackenzie <acm@muc.de>
1098
1099 Connect electric-indent-mode up with CC Mode. Bug #15478.
1100 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1101 to electric-indent-{,local-}-mode.
1102 (c-basic-common-init): Set electric-indent-inhibit.
1103 Initialise c-electric-flag from electric-indent-mode.
1104 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1105 New hook functions which propagate electric-indent-mode to CC mode.
1106
1107 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1108 hit, toggle electric-indent-local-mode.
1109
1110 * electric.el (electric-indent-mode-has-been-called):
1111 New variable.
1112
1113 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1114
1115 * frameset.el (frameset-cfg-id): New function.
1116 (frameset--reuse-frame, frameset-restore): Use it.
1117 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1118
1119 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * ido.el (ido-file-internal): Remove unused var `d'.
1122 Use \` for to match BoS. Fit within 80n columns.
1123
1124 2014-02-17 Daniel Colascione <dancol@dancol.org>
1125
1126 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1127 dbus-call-method check for completion using a busy-wait loop with
1128 gradual backoff.
1129
1130 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1131
1132 Sync with Tramp 2.2.9.
1133
1134 * net/trampver.el: Update release number.
1135
1136 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1137
1138 * ido.el (ido-file-internal): Don't add the name of an existing
1139 directory twice. (Bug#16747)
1140
1141 2014-02-16 Glenn Morris <rgm@gnu.org>
1142
1143 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1144 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1145
1146 2014-02-15 Michael R. Mauger <michael@mauger.com>
1147
1148 * progmodes/sql.el: Version 3.4
1149 (sql-oracle-options): New default value ("-L").
1150 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1151 (sql-placeholders-filter): Correct placeholder pattern.
1152 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1153 (sql-login-delay): New variable.
1154 (sql-product-interactive): Use it.
1155
1156 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1157
1158 * frameset.el (frameset--jump-to-register): Check that buffer is live
1159 (bug#16749).
1160
1161 2014-02-15 Glenn Morris <rgm@gnu.org>
1162
1163 * info.el (info-initialize): Revert 2014-01-10 change.
1164
1165 2014-02-14 Glenn Morris <rgm@gnu.org>
1166
1167 * replace.el (map-query-replace-regexp)
1168 (read-regexp-defaults-function, read-regexp): Doc fixes.
1169
1170 * dired.el (dired-read-regexp):
1171 * faces.el (list-faces-display):
1172 * misearch.el (multi-isearch-read-matching-buffers)
1173 (multi-isearch-read-matching-files):
1174 * play/cookie1.el (cookie-apropos):
1175 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1176
1177 * textmodes/remember.el (remember): Use frameset-to-register
1178 rather than frame-configuration-to-register.
1179
1180 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1181
1182 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1183 incorrect keybinding.
1184
1185 2014-02-13 Daniel Colascione <dancol@dancol.org>
1186
1187 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1188 when adding overlays so that line numbers from compiler match line
1189 numbers we use.
1190
1191 2014-02-13 Glenn Morris <rgm@gnu.org>
1192
1193 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1194
1195 * jit-lock.el (jit-lock-mode): Doc fix.
1196
1197 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1198
1199 * apropos.el (apropos-read-pattern): When the user passes an empty
1200 string, give a more helpful error message than "Wrong type
1201 argument: stringp, nil".
1202
1203 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1206
1207 2014-02-13 Glenn Morris <rgm@gnu.org>
1208
1209 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1210
1211 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1214 shift-select commands.
1215
1216 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1217
1218 * progmodes/js.el (js-indent-line): Don't widen.
1219 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1220
1221 2014-02-12 Glenn Morris <rgm@gnu.org>
1222
1223 * icomplete.el (icomplete): Add info-link to defgroup.
1224 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1225 (icomplete-minibuffer-map, icomplete-mode)
1226 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1227
1228 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1229 (package-menu-filter): Rename from package-menu-filter-interactive.
1230 Doc fix.
1231
1232 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1233
1234 * frameset.el (frameset--jump-to-register): Select the required
1235 window and buffer before restoring position (bug#16696).
1236
1237 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1238
1239 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1240
1241 2014-02-10 Glenn Morris <rgm@gnu.org>
1242
1243 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1244
1245 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1246
1247 * w32-common-fns.el (x-get-selection): Doc fix.
1248 * select.el (x-get-selection): Doc fix. (Bug#15109)
1249
1250 * face-remap.el (face-remap-add-relative)
1251 (face-remap-remove-relative, face-remap-reset-base)
1252 (face-remap-set-base): Call force-mode-line-update to redisplay
1253 the current buffer due to potential change in faces. (Bug#16709)
1254
1255 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1256
1257 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1258 script more robustly.
1259
1260 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1261
1262 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1263
1264 * simple.el (choose-completion): Doc fix (bug#14160).
1265
1266 * subr.el (event-start): Say what a nil EVENT value means.
1267
1268 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1269 (bug#14197).
1270
1271 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1272
1273 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1274
1275 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1276
1277 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1278 predicate function (bug#15455).
1279
1280 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1281
1282 * ielm.el (inferior-emacs-lisp-mode): Instead of
1283 `comment-use-global-state', set `comment-use-syntax'.
1284
1285 2014-02-10 Glenn Morris <rgm@gnu.org>
1286
1287 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1288
1289 2014-02-09 Alan Mackenzie <acm@muc.de>
1290
1291 Fix c-invalidate-state-cache on narrowed buffers.
1292 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1293 Widen when setting and clearing the CPP delimiter properties.
1294
1295 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1296
1297 * help.el (describe-bindings): Doc fix (bug#9888).
1298
1299 * files.el (save-buffer): Use ARG as the parameter name for
1300 consistency (bug#10346).
1301 (save-buffer): Clarify the 0 argument (bug#10346).
1302
1303 * cus-edit.el (customize-apropos): Fix error string.
1304 (custom-buffer-create): Doc fix (bug#11122).
1305 (custom-sort-items): Doc fix (bug#11121).
1306
1307 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1308
1309 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1310 (icomplete-simple-completing-p): Mention the previous variable.
1311
1312 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1313 meaning of the parameter (bug#12282).
1314
1315 * files.el (find-file-noselect): Clarify prompt when changing
1316 readedness (bug#13261).
1317 (locate-file): Suffixes aren't returned, so don't say that they
1318 are (bug#12674).
1319 (backup-inhibited): Doc clarification (bug#12525).
1320
1321 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1322 before we actually start to delete things (bug#16331).
1323
1324 * subr.el (event-start): Doc fix (bug#14228).
1325 (event-end): Ditto.
1326
1327 2014-02-09 Glenn Morris <rgm@gnu.org>
1328
1329 * emacs-lisp/warnings.el (lwarn):
1330 Empower help-enable-auto-load. (Bug#15940)
1331
1332 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1333
1334 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1335 (Bug#16690)
1336
1337 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1338
1339 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1340 Insert output at end of buffer. (Bug#16120)
1341
1342 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1343
1344 * simple.el (choose-completion-string-functions): Document new
1345 calling convention (bug#14153).
1346 (execute-extended-command): Clarify doc string (bug#13373).
1347
1348 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1349
1350 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1351 (find-grep-dired): Doc fix (bug#14288).
1352
1353 2014-02-08 Juri Linkov <juri@jurta.org>
1354
1355 * isearch.el (isearch-quote-char): Check character validity
1356 like in `quoted-insert' (bug#16677).
1357
1358 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1359
1360 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1361
1362 * isearch.el (isearch-hide-immediately): Doc clarification
1363 (bug#14723).
1364
1365 * simple.el (line-move): Document utility function used many
1366 places in the Emacs sources (bug#14843).
1367
1368 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1369 (dired-prev-marked-file): Doc fix (bug#14855).
1370 (dired-up-directory): Doc fix (bug#14848).
1371
1372 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1373
1374 * files.el (file-relative-name): Doc fix (bug#15159).
1375
1376 * fringe.el (fringe-styles): Doc fix (bug#15239).
1377
1378 * isearch.el (isearch-filter-predicate): Documentation typo fix
1379 (bug#15474).
1380
1381 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1382
1383 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1384
1385 * replace.el (replace-match-maybe-edit): Doc clarification
1386 (bug#15632).
1387
1388 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1389
1390 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1391
1392 2014-02-08 Glenn Morris <rgm@gnu.org>
1393
1394 * help-fns.el (describe-variable):
1395 Check {file,dir}-local-variables-alist, and buffer-file-name,
1396 in the correct buffer.
1397
1398 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1399
1400 * help-fns.el (describe-variable): Fix the case where
1401 a value is directory-local with no dir-locals file. (Bug#16635)
1402
1403 2014-02-08 Glenn Morris <rgm@gnu.org>
1404
1405 * abbrev.el (edit-abbrevs-mode):
1406 Derive from fundamental-mode. (Bug#16682)
1407
1408 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1409
1410 * simple.el (quoted-insert): Check character validity (bug#16677).
1411
1412 2014-02-07 Juri Linkov <juri@jurta.org>
1413
1414 * desktop.el (desktop-read): Claim the lock when the owner is not
1415 the current process. (Bug#16157)
1416
1417 2014-02-07 Juri Linkov <juri@jurta.org>
1418
1419 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1420 to "\\` ". (Bug#16651)
1421
1422 2014-02-07 Juri Linkov <juri@jurta.org>
1423
1424 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1425 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1426 (desktop-auto-save-cancel-timer): New function with some code from
1427 `desktop-auto-save-set-timer'.
1428 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1429 Instead of setting `desktop-save-mode' to nil, call
1430 `desktop-save-mode' with arg 0. (Bug#16630)
1431
1432 2014-02-07 Glenn Morris <rgm@gnu.org>
1433
1434 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1435 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1436 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1437
1438 * obsolete/iswitchb.el: Move to obsolete/.
1439 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1440 since obsolete/ is not scanned for autoloads.
1441 * emacs-lisp/authors.el (authors-valid-file-names):
1442 Add iswitchb.el.
1443
1444 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1445 Disable now non-functional find-file-hook.
1446
1447 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1448
1449 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1450 instead of ";" in order to avoid additional prompts. Let heredoc
1451 scripts read from tty. (Bug#16582)
1452 (tramp-send-command): No special handling of heredocs, it isn't
1453 necessary anymore.
1454
1455 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1456
1457 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1458 with a space (bug#16664). Limit the symbols considered to the ones
1459 that are bound or fbound (bug#16646).
1460
1461 2014-02-06 Glenn Morris <rgm@gnu.org>
1462
1463 * epa.el (epa-mail-aliases): Doc fix.
1464
1465 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1466
1467 * emacs-lisp/lisp.el (lisp-completion-at-point):
1468 Use `completion-table-merge' instead of `completion-table-in-turn'
1469 (bug#16604).
1470
1471 * minibuffer.el (completion-table-merge): New function.
1472
1473 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1474
1475 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1476 (tramp-sh-handle-set-file-acl)
1477 (tramp-sh-handle-start-file-process)
1478 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1479 (tramp-find-executable, tramp-send-command): Use it.
1480
1481 2014-02-05 Glenn Morris <rgm@gnu.org>
1482
1483 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1484
1485 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1486
1487 * progmodes/python.el (python-shell-send-string)
1488 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1489
1490 2014-02-04 Anders Lindgren <andlind@gmail.com>
1491
1492 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1493 the names (bug#16620).
1494
1495 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1496
1497 * faces.el (window-divider): New default value. Rewrite doc-string.
1498 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1499
1500 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1501
1502 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1503 `protected' and `public' can also be called without arguments.
1504
1505 2014-02-03 Glenn Morris <rgm@gnu.org>
1506
1507 * register.el (window-configuration-to-register)
1508 (frame-configuration-to-register): Unadvertise unused argument.
1509 * frameset.el (frameset-to-register): Remove unused argument.
1510
1511 * frameset.el (frameset-to-register):
1512 * kmacro.el (kmacro-to-register):
1513 * register.el (increment-register):
1514 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1515 (calc-append-to-register, calc-prepend-to-register):
1516 * play/gametree.el (gametree-layout-to-register)
1517 (gametree-apply-register-layout):
1518 * textmodes/picture.el (picture-clear-rectangle-to-register)
1519 (picture-yank-rectangle-from-register):
1520 * vc/emerge.el (emerge-combine-versions-register):
1521 Use register-read-with-preview to read registers.
1522
1523 2014-02-03 João Távora <joaotavora@gmail.com>
1524
1525 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1526 when at beginning of (possibly narrowed) buffer.
1527
1528 2014-02-02 Daniel Colascione <dancol@dancol.org>
1529
1530 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1531 Also try to display local help from just before point.
1532
1533 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1534
1535 c-parse-state. Don't "append-lower-brace-pair" in certain
1536 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1537 recognised as a comment.
1538
1539 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1540 as well as normal comment starter.
1541 (c-parse-state-get-strategy): Extra return possibility
1542 'back-and-forward.
1543 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1544 return value list to indicate replacement of a brace-pair cons
1545 with its car.
1546 (c-parse-state-1): With 'back-and-forward, only call
1547 c-append-lower-brace-pair-to state-cache when cons-separated.
1548
1549 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1550
1551 * term/ns-win.el (ns-suspend-error): New function.
1552 (ns-initialize-window-system): Add ns-suspend-error to
1553 suspend-hook (Bug#16612).
1554
1555 2014-02-02 Daniel Colascione <dancol@dancol.org>
1556
1557 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1558 Make loading cc-mode silent.
1559
1560 2014-02-02 Daniel Colascione <dancol@dancol.org>
1561
1562 * comint.el (comint-prompt-read-only): Change doc to suggest
1563 remap keybinding.
1564
1565 2014-02-02 Glenn Morris <rgm@gnu.org>
1566
1567 * register.el (register-read-with-preview, point-to-register)
1568 (window-configuration-to-register, frame-configuration-to-register)
1569 (jump-to-register, number-to-register, view-register, insert-register)
1570 (copy-to-register, append-to-register, prepend-to-register)
1571 (copy-rectangle-to-register): Doc fixes.
1572
1573 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1576 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1577 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1578 * help-fns.el (describe-function-1): Use it.
1579
1580 2014-02-02 Glenn Morris <rgm@gnu.org>
1581
1582 * register.el (register-preview-default): New function,
1583 split from register-preview.
1584 (register-preview-function): Rename from register-preview-functions,
1585 make it not a hook.
1586 (register-preview): Use register-preview-function.
1587 (register-read-with-preview): Error on non-character event. (Bug#16595)
1588
1589 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1590
1591 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1592 `:' before binary operators (bug#16609). Don't check for `:'
1593 before `[' and `(', or their syntax status. A percent literal
1594 can't end with either.
1595 (ruby-font-lock-keywords): For built-ins that require arguments,
1596 check that they're followed by something that looks like argument
1597 (bug#16610).
1598
1599 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1600
1601 * subr.el (butlast): Document what an omitted N means (bug#13437).
1602 (nbutlast): Ditto.
1603
1604 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1605
1606 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1607 depth shallower (bug#16587).
1608 (shr-tag-svg): Respect `shr-inhibit-images'.
1609 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1610
1611 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1612
1613 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1614 (ruby-smie-grammar): Make "." right-associative. Make its priority
1615 lower than the ternary and all binary operators.
1616 (ruby-smie-rules): Indent "(" relative to the first non-"."
1617 parent, or the first "." parent at indentation.
1618 Use `ruby-align-chained-calls' for indentation of "." tokens.
1619 (Bug#16593)
1620
1621 2014-01-31 Juri Linkov <juri@jurta.org>
1622
1623 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1624 from `make-hash-table'.
1625
1626 * textmodes/ispell.el (ispell-init-process): Change message format
1627 to be consistent with other messages.
1628
1629 2014-01-31 Glenn Morris <rgm@gnu.org>
1630
1631 * delsel.el (delete-selection-mode): Doc fix.
1632
1633 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1634 (trace-function-background): Doc fixes.
1635
1636 * ido.el (ido-use-virtual-buffers): Doc fix.
1637 Reset :version, since the default value has not changed.
1638
1639 * register.el (register-preview-delay, register-read-with-preview):
1640 Doc fixes.
1641
1642 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1643 do not mess with mail-buffer position (fixes 2009-11-03 change).
1644 * progmodes/cc-mode.el (c-submit-bug-report):
1645 Check auto-fill-mode is bound. (Bug#16592)
1646
1647 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1648
1649 * startup.el (fancy-splash-image-file): New function,
1650 split from fancy-splash-head.
1651 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1652 so that we are both using the same image. (Bug#16574)
1653
1654 2014-01-30 Glenn Morris <rgm@gnu.org>
1655
1656 * simple.el (eval-expression): Doc fix.
1657
1658 * hexl.el (hexl-mode-hook):
1659 * ielm.el (ielm-mode-hook):
1660 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1661 (lisp-interaction-mode-hook):
1662 * progmodes/cfengine.e (cfengine3-documentation-function):
1663 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1664
1665 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1668 is a symbol (bug#16584).
1669
1670 2014-01-30 Glenn Morris <rgm@gnu.org>
1671
1672 * help.el (help-for-help-internal): Add "P" to text.
1673
1674 2014-01-29 Glenn Morris <rgm@gnu.org>
1675
1676 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1677
1678 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1679
1680 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1681 height constraints.
1682
1683 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1684
1685 * progmodes/hideif.el: Extend to full CPP expression syntax.
1686 (hif-token-alist): Add missing tokens.
1687 (hif-token-regexp): Add support for float/octal/hex immediates.
1688 (hif-string-literal-regexp): New const.
1689 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1690 (hif-exprlist): New function.
1691 (hif-parse-if-exp): Use it.
1692 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1693 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1694 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1695 (hif-logxor, hif-comma): New functions.
1696
1697 2014-01-28 Glenn Morris <rgm@gnu.org>
1698
1699 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1700
1701 * indent.el (tab-stop-list): Doc fix. Add :version.
1702
1703 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1704 (cvs-append-to-ignore): Add compatibility alias.
1705
1706 2014-01-27 Glenn Morris <rgm@gnu.org>
1707
1708 * dired.el (dired-hide-details-mode): Don't autoload it,
1709 since it cannot be used outside Dired buffers anyway.
1710
1711 * emulation/cua-base.el (cua-mode): Doc fix.
1712
1713 * dired.el (dired-hide-details-hide-symlink-targets)
1714 (dired-hide-details-hide-information-lines)
1715 (dired-hide-details-mode): Doc fixes.
1716
1717 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1718 * strokes.el (strokes-file): Doc fix. Bump :version.
1719 (strokes-help): Doc fix.
1720 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1721 * emulation/viper.el (viper): Doc fix for custom group.
1722 (top-level): Remove oh-so-no-longer-relevant text about vip.
1723 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1724
1725 * ido.el (ido-save-directory-list-file):
1726 * saveplace.el (save-place-file):
1727 * calendar/timeclock.el (timeclock-file):
1728 * net/quickurl.el (quickurl-url-file):
1729 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1730 * progmodes/idlwave.el (idlwave-config-directory):
1731 * textmodes/remember.el (remember-data-file):
1732 Bump :version.
1733
1734 2014-01-26 Glenn Morris <rgm@gnu.org>
1735
1736 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1737 Doc fix. Make obsolete.
1738 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1739
1740 * sort.el (delete-duplicate-lines): Doc fix.
1741
1742 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1743
1744 * progmodes/ada-mode.el (ada):
1745 * woman.el (woman): Link to info manual and Commentary section.
1746
1747 * progmodes/flymake.el (flymake):
1748 * nxml/nxml-mode.el (nxml):
1749 * net/eww.el (eww):
1750 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1751 * htmlfontify.el (htmlfontify):
1752 * ses.el (ses):
1753 * epa.el (epa):
1754 * ido.el (ido): Link to info manual.
1755
1756 2014-01-25 Leo Liu <sdl.web@gmail.com>
1757
1758 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1759
1760 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1761
1762 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1763 (bug#16537).
1764
1765 >>>>>>> MERGE-SOURCE
1766 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1767
1768 * net/eww.el (eww-download-callback):
1769 Fix reference to eww-download-directory.
1770
1771 * emacs-lisp/bytecomp.el (byte-compile-file):
1772 Remove unused local variable `file-name'.
1773
1774 2014-01-24 Glenn Morris <rgm@gnu.org>
1775
1776 * woman.el (woman-default-faces, woman-monochrome-faces):
1777 Fix obsolescence specification.
1778
1779 * subr.el (with-demoted-errors): Doc fix.
1780
1781 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1784 (cl--macroexp-fboundp): New function.
1785 (cl--make-type-test): Use it.
1786
1787 2014-01-23 Glenn Morris <rgm@gnu.org>
1788
1789 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1790 * simple.el (eval-expression): Doc fixes.
1791
1792 2014-01-22 Glenn Morris <rgm@gnu.org>
1793
1794 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1795
1796 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1797
1798 * emacs-lisp/package.el: Write files silently.
1799 (package-autoload-ensure-default-file, package--write-file-no-coding)
1800 (package-generate-description-file, package--download-one-archive)
1801 (package-install-from-archive): Tell `write-region' to stay quiet.
1802 (package-menu-mode, package-menu--print-info): Omit the Archive column
1803 if there's only one archive.
1804 (package-all-keywords, package--has-keyword-p): Remove dead code.
1805
1806 2014-01-22 Glenn Morris <rgm@gnu.org>
1807
1808 * version.el (emacs-bzr-version-bzr): Fix typo.
1809
1810 * version.el (emacs-repository-get-version):
1811 Check either .bzr or .git, but not both.
1812 Make the git case actually use the DIR argument, and return nil
1813 rather than the empty string.
1814 Avoid error if .git exists but the git executable is not found.
1815
1816 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1817
1818 Fixes in window size functions around Bug#16430 and Bug#16470.
1819 * window.el (window-total-size, window-size): New argument ROUND.
1820 (window--min-delta-1, window-min-delta, window--max-delta-1):
1821 Be more conservative when calculating the numbers of lines or
1822 columns a window can shrink (Bug#16430).
1823 (fit-window-to-buffer): Simplify code.
1824 * term.el (term-window-width): Call window-body-width again.
1825
1826 2014-01-22 Glenn Morris <rgm@gnu.org>
1827
1828 * image.el (image-format-suffixes): Doc fix.
1829
1830 * international/quail.el (quail-define-package): Doc fix.
1831
1832 * emacs-lisp/authors.el (authors-valid-file-names)
1833 (authors-renamed-files-alist): Additions.
1834
1835 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1836 reverts 2014-01-09 change. (Bug#16422)
1837
1838 * calc/calc-embed.el (thing-at-point-looking-at):
1839 * emacs-lisp/map-ynp.el (x-popup-dialog):
1840 * obsolete/lmenu.el (x-popup-dialog):
1841 * emacs-lisp/package.el (url-recreate-url):
1842 * mail/mailclient.el (clipboard-kill-ring-save):
1843 * subr.el (x-popup-dialog): Update declaration.
1844 * mail/rmail.el (rmail-mime-message-p):
1845 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1846
1847 2014-01-21 Daniel Colascione <dancol@dancol.org>
1848
1849 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1850 Correctly detect when we're inside an arithmetic expansion form
1851 containing nested parenthesis.
1852 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1853 to detect cases where we shouldn't expand "<<" to a heredoc
1854 skeleton.
1855
1856 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1857
1858 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1859 (eldoc--message-command-p): New function.
1860 (eldoc-display-message-p): Use it.
1861 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1862 message is not automatically erased for us.
1863 (eldoc-print-current-symbol-info): Erase previous message, if any.
1864
1865 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1866
1867 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1868 specify it's an interactive function.
1869
1870 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1871 Fix regex used for scanning for citation keys which failed for
1872 citations with optional arguments.
1873
1874 2014-01-21 Leo Liu <sdl.web@gmail.com>
1875
1876 * simple.el (read--expression): Don't enable eldoc-mode.
1877
1878 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * simple.el (move-beginning-of-line): Make sure we don't move forward
1881 (bug#16497).
1882
1883 2014-01-20 Juri Linkov <juri@jurta.org>
1884
1885 * saveplace.el (toggle-save-place, save-place-to-alist)
1886 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1887 'dired-mode) before checking for dired-directory. (Bug#16477)
1888
1889 2014-01-20 Juri Linkov <juri@jurta.org>
1890
1891 * indent.el (indent-line-to): Use backward-to-indentation
1892 instead of back-to-indentation. (Bug#16461)
1893
1894 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1895
1896 Revert some of the CANNOT_DUMP fix (Bug#16494).
1897 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1898 but fixing this can wait until after the next release.
1899 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1900
1901 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1902
1903 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1904 Use `password-word-equivalents'.
1905 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1906 to t. (Bug#5664, Bug#13124)
1907
1908 2014-01-19 Alan Mackenzie <acm@muc.de>
1909
1910 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1911 points.
1912 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1913 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1914 * progmodes/cc-mode.el (c-before-change, c-after-change)
1915 (c-font-lock-fontify-region): Bind it here.
1916
1917 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1918
1919 * term.el (term-window-width): Call window-text-width instead of
1920 window-width (Bug#16470).
1921
1922 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1923
1924 * simple.el (password-word-equivalents): Remove duplicates.
1925 Sort, to make this easier next time.
1926 Downcase. Omit ": " after "jelszó".
1927
1928 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1929
1930 * term/common-win.el (saved-region-selection): Defvar it.
1931 (x-select-text): Set saved-region-selection (Bug#16382).
1932
1933 2014-01-18 Glenn Morris <rgm@gnu.org>
1934
1935 * emacs-lisp/authors.el (authors-aliases)
1936 (authors-renamed-files-alist): Add some entries.
1937
1938 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1939
1940 * net/tramp.el (tramp-password-prompt-regexp):
1941 Use `password-word-equivalents' if available.
1942 (tramp-action-password, tramp-process-one-action)
1943 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1944
1945 2014-01-17 Chong Yidong <cyd@gnu.org>
1946
1947 * simple.el (password-word-equivalents): New defcustom.
1948 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1949 to 24.4.
1950 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1951 to t. (Bug#13124)
1952
1953 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1954
1955 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1956 (ruby-align-to-stmt-keywords): Change the default value.
1957 Use `ruby-alignable-keywords' to generate the possible customization
1958 choices.
1959 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1960 keywords, check against the value of `ruby-alignable-keywords'
1961 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1962
1963 2014-01-17 Glenn Morris <rgm@gnu.org>
1964
1965 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1966
1967 Make M-x authors return zero *Authors Errors* from current logs.
1968 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1969 (authors-ignored-files): Add some entries, remove others.
1970 (authors-ambiguous-files, authors-valid-file-names):
1971 Add some entries.
1972 (authors-renamed-files-alist): Add, remove, and adjust entries.
1973 (authors-renamed-files-regexps): Add some entries.
1974 Remove some very broad ones. Make some entries `lax'.
1975 (authors-lax-changelogs): New constant.
1976 (authors-disambiguate-file-name): Treat top-level specially.
1977 (authors-lax-changelog-p): New function.
1978 (authors-canonical-file-name): Check file as written against
1979 authors-valid-file-names. Do not special-case etc/.
1980 Handle `lax' logs and authors-renamed-files-regexps elements.
1981
1982 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1983
1984 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1985 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1986 callers.
1987
1988 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1989
1990 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1991 Assume we're already in the proper buffer.
1992 Inspired by Anders Lindgren <andlind@gmail.com>.
1993 (follow-post-command-hook): Call it from the right buffer.
1994 (follow-comint-scroll-to-bottom): Adjust call.
1995 (follow-all-followers): Use get-buffer-window-list.
1996
1997 2014-01-15 Daniel Colascione <dancol@dancol.org>
1998
1999 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2000 `buffer-file-name' in interactive-form so that we don't leave
2001 pathless file names in `file-name-history'.
2002
2003 2014-01-15 Juri Linkov <juri@jurta.org>
2004
2005 * indent.el (indent-rigidly): Set deactivate-mark to nil
2006 in transient indentation mode. (Bug#16438)
2007
2008 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2009
2010 * emacs-lisp/package.el (package-desc-keywords): New function
2011 (Bug#16222).
2012 (describe-package-1, package-all-keywords)
2013 (package--has-keyword-p): Use it.
2014
2015 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2016
2017 * simple.el (define-alternatives): When creating the
2018 COMMAND-alternatives variable, assign COMMAND as its definition
2019 name so that `describe-variable' can relocate it.
2020
2021 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2022
2023 * font-lock.el (font-lock-keywords): Fix typo in docstring
2024 (bug#16307).
2025
2026 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2027
2028 * ispell.el (ispell-region): Reset `in-comment' for new line
2029 instead of wrongly reset `add-coment' (bug#13577).
2030
2031 2014-01-14 Daiki Ueno <ueno@gnu.org>
2032
2033 * epa-file.el (epa-file-write-region): Encode the region according
2034 to `buffer-file-format'. Problem reported at:
2035 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2036
2037 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2040 so it applies in the right buffer (bug#16410).
2041
2042 2014-01-13 Daniel Colascione <dancol@dancol.org>
2043
2044 * textmodes/rst.el (rst-define-key): Provide deprecated
2045 keybindings through named functions instead of anonymous ones so
2046 that "??" doesn't appear in describe-mode output.
2047
2048 2014-01-13 Bastien Guerry <bzg@gnu.org>
2049
2050 * simple.el (define-alternatives): Call the selected command
2051 interactively. When setting `COMMAND--implementation' for the
2052 first time, tell the user how to chose another implementation.
2053 Enhance the docstring.
2054
2055 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2058 (log-edit--match-first-line): New function.
2059 (log-edit-font-lock-keywords): Use it.
2060 (log-edit-mode): Make jit-lock-defer-multiline work.
2061
2062 2014-01-13 Bastien Guerry <bzg@gnu.org>
2063
2064 * rect.el (rectangle-mark-mode): When the region is not active,
2065 display a message saying that the mark as been set and that
2066 rectangle mode is in use.
2067 (rectangle--highlight-for-redisplay): Only put an overlay with a
2068 visible vertical bar when (display-graphic-p) is non-nil.
2069 This partially fixes Bug#16403.
2070
2071 2014-01-13 Juri Linkov <juri@jurta.org>
2072
2073 * info.el (Info-find-file): Go to DIR before displaying the error
2074 about a nonexistent file if no previous Info file is visited.
2075 Use `user-error' instead of `error' for "Info file %s does not exist".
2076 (Info-find-node-2): In case of a nonexistent node in unwind forms
2077 go to the Top node if there is no previous node to revert to.
2078 (Bug#16405)
2079
2080 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2081
2082 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2083 * window.el (fit-frame-to-buffer): Fix doc-string.
2084 Respect window-min-height/-width. Fit pixelwise when
2085 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2086 when avoiding that frame goes partially off-screen.
2087 (fit-window-to-buffer): Respect window-min-height/-width
2088 (Bug#14096).
2089
2090 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2093 after an empty line.
2094
2095 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2096
2097 * net/shr.el (shr-render-region): Autoload.
2098
2099 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2100
2101 * net/eww.el (eww-download-directory): Rename from
2102 `eww-download-path' (Bug#16419).
2103
2104 2014-01-12 Leo Liu <sdl.web@gmail.com>
2105
2106 * dired-x.el (dired-mode-map): Fix last change.
2107
2108 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2109
2110 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2111
2112 Spelling fixes.
2113 * emacs-lisp/generic.el (generic--normalize-comments):
2114 Rename from generic--normalise-comments. All uses changed.
2115 * play/bubbles.el (bubbles--neighborhood-score)
2116 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2117 (bubbles--neighborhood-available)
2118 (bubbles--update-neighborhood-score):
2119 Rename from names with 'neighbourhood'. All uses changed.
2120
2121 2014-01-12 Leo Liu <sdl.web@gmail.com>
2122
2123 Re-implement the feature of showing eldoc info after editing.
2124 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2125 (eldoc-edit-message-commands): New function.
2126 (eldoc-print-after-edit): New variable.
2127 (eldoc-pre-command-refresh-echo-area): Emit message only by
2128 eldoc-message-commands.
2129 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2130 if eldoc-print-after-edit is set. (Bug#16346)
2131 * simple.el (read--expression): Enable eldoc-mode.
2132 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2133
2134 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2135 Eric S. Raymond <esr@thyrsus.com>
2136
2137 * version.el (emacs-repository-get-version): Enhance so the
2138 function works correctly in either a Bazaar or Git repo.
2139
2140 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2141
2142 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2143 Goes with removal of the joke manpages from /etc.
2144
2145 2014-01-10 Kenichi Handa <handa@gnu.org>
2146
2147 * mail/rmail.el (rmail-get-coding-system):
2148 Check rmail-get-coding-function before "funcall"ing it.
2149
2150 2014-01-10 Glenn Morris <rgm@gnu.org>
2151
2152 * emacs-lisp/authors.el (authors-fixed-entries):
2153 Update for files that no longer exist.
2154
2155 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2156
2157 * version.el (emacs-bzr-get-version): Restore compatibilty with
2158 24.3 (Tested).
2159
2160 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2161
2162 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2163 and Podfile.
2164
2165 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2166
2167 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2168
2169 2014-01-10 Chong Yidong <cyd@gnu.org>
2170
2171 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2172
2173 2014-01-10 Anders Lindgren <andlind@gmail.com>
2174
2175 * follow.el (follow-cache-command-list): Include right-char and
2176 left-char.
2177
2178 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2179
2180 Spelling fixes.
2181 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2182 * woman.el (woman-mark-horizontal-position):
2183 Rename from woman-mark-horizonal-position. Use changed.
2184
2185 2014-01-10 Glenn Morris <rgm@gnu.org>
2186
2187 * info.el (info-initialize): If running uninstalled, ensure our
2188 own info files are always found first, even if INFOPATH is set.
2189
2190 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2191
2192 2014-01-09 David Engster <deng@randomsample.de>
2193
2194 * emacs-lisp/eieio-custom.el:
2195 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2196 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2197 * emacs-lisp/eieio.el: Regenerate autoloads.
2198
2199 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2200
2201 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2202 following renames. (Bug#8756)
2203
2204 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2205
2206 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2207 (bug#16382).
2208 (activate-mark): Add `no-tmm' argument.
2209 (set-mark, push-mark-command): Use it instead of running
2210 activate-mark-hook by hand.
2211
2212 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2213
2214 In preparation for the move to git, sanitize out some
2215 Bazaar-specific names.
2216
2217 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2218
2219 * version.el (emacs-bzr-version): Name changed to
2220 emacs-repository-version. Obsolete-variable alias made.
2221 * loadup.el: Follow through on this name change.
2222 * mail/emacsbug.el (report-emacs-bug): Factor out any
2223 assumption about the version control system in use.
2224
2225 2014-01-08 David Engster <deng@randomsample.de>
2226
2227 * help-fns.el (help-fns-describe-function-functions):
2228 New variable to call functions for augmenting help buffers.
2229 (describe-function-1): Remove explicit calls to
2230 `help-fns--compiler-macro', `help-fns--parent-mode' and
2231 `help-fns--obsolete'. Put them in above new variable instead, and
2232 call them through `run-hook-with-args'.
2233 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2234 `eieio-describe-class'. Not meant for interactive use anymore,
2235 but to augment existing help buffers. Remove optional second
2236 argument. Create proper button for file location.
2237 Rewrite function to use `insert' instead of `princ' and `prin1' where
2238 possible.
2239 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2240 (eieio-method-def, eieio-class-def): Move further up.
2241 (describe-method, describe-generic, eieio-describe-method):
2242 Remove aliases.
2243 (eieio-help-constructor, eieio-help-generic): Rename from
2244 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2245 Rewrite to use `insert' in the current buffer and use proper help
2246 buttons.
2247 (eieio-help-find-method-definition)
2248 (eieio-help-find-class-definition): Also accept symbols as
2249 arguments.
2250 (eieio-help-mode-augmentation-maybee): Remove.
2251 (eieio-describe-class-sb): Use `describe-function'.
2252 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2253 Add `eieio-help-generic' and `eieio-help-constructor'.
2254
2255 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2256
2257 Spelling fixes.
2258 * language/china-util.el (hz-ascii-designation):
2259 Rename from hz-ascii-designnation.
2260 (hz-ascii-designation): Rename from hz-ascii-designnation.
2261 All uses changed.
2262
2263 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2264
2265 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2266 package-alist.
2267
2268 2014-01-08 Bastien Guerry <bzg@gnu.org>
2269
2270 * emacs-lisp/package.el (package-delete):
2271 Correctly delete the package from package-alist.
2272
2273 2014-01-08 Daiki Ueno <ueno@gnu.org>
2274
2275 * emacs-lisp/package.el (url-recreate-url): Declare.
2276 (url-http-target-url): Declare.
2277 (package-handle-response): Include requested URL in the error message.
2278 (package--check-signature): Don't re-signal errors from
2279 package--with-work-buffer. Suggested by Stefan Monnier.
2280
2281 2014-01-07 Bastien Guerry <bzg@gnu.org>
2282
2283 * minibuffer.el (completion--try-word-completion): When both a
2284 hyphen and a space are possible candidates for the character
2285 following a word, display both candidates. (Bug#15980)
2286
2287 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2288
2289 * window.el (balance-windows-2): While rounding don't give a
2290 window more than the remainder. Bug#16351, bug#16383.
2291
2292 2014-01-07 Glenn Morris <rgm@gnu.org>
2293
2294 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2295 (menu-bar-help-menu): Use view-external-packages instead.
2296
2297 2014-01-07 Bastien Guerry <bzg@gnu.org>
2298
2299 * emacs-lisp/package.el (package-delete): Also delete the package
2300 name from `package-alist', not its description only.
2301
2302 2014-01-07 Glenn Morris <rgm@gnu.org>
2303
2304 * help.el (view-external-packages):
2305 * menu-bar.el (menu-bar-help-extra-packages):
2306 Visit efaq.info rather than etc/MORE.STUFF.
2307
2308 2014-01-07 Juri Linkov <juri@jurta.org>
2309
2310 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2311 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2312
2313 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2314 that shadows RET. (Bug#16342)
2315
2316 2014-01-07 Chong Yidong <cyd@gnu.org>
2317
2318 * isearch.el (isearch-yank-char, isearch-yank-word)
2319 (isearch-yank-line): Doc fix.
2320
2321 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2324 * emacs-lisp/elint.el (elint-find-builtins):
2325 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2326 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2327 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2328 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2329 * apropos.el (apropos-safe-documentation):
2330 * subr.el (symbol-file): Remove redundant fboundp.
2331 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2332
2333 2014-01-06 Bastien Guerry <bzg@gnu.org>
2334
2335 * hl-line.el (global-hl-line-overlay): Make a local variable.
2336 (global-hl-line-overlays): New variable to store all overlays.
2337 (global-hl-line-mode): Don't delete overlays from the current
2338 buffer when `global-hl-line-sticky-flag' is non-nil.
2339 (global-hl-line-highlight): Add new overlays to
2340 `global-hl-line-overlays'.
2341 (global-hl-line-unhighlight-all): New function to delete all
2342 overlays when turning off `global-hl-line-mode'.
2343 This fixes Bug#16183.
2344
2345 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * subr.el (set-transient-map): Fix nested case and docstring.
2348
2349 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2350
2351 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2352 `Texinfo' entry.
2353
2354 2014-01-06 Daniel Colascione <dancol@dancol.org>
2355
2356 Fix defun navigation in vc log view.
2357
2358 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2359 like `beginning-of-defun'.
2360 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2361 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2362 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2363 (log-view-extract-comment): Call `log-view-current-entry' directly
2364 instead of relying on broken `log-view-beginning-of-defun' behavior.
2365
2366 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2367
2368 Spelling fixes.
2369 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2370 * emacs-lisp/debug.el (cancel-debug-on-entry):
2371 * epg.el (epg-error-to-string):
2372 * files.el (recover-file):
2373 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2374 * mail/emacsbug.el (report-emacs-bug-hook):
2375 * mail/sendmail.el (mail-recover):
2376 * ses.el (ses-yank-resize):
2377 * term/ns-win.el (ns-print-buffer):
2378 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2379 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2380 All uses changed.
2381 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2382
2383 2014-01-06 Leo Liu <sdl.web@gmail.com>
2384
2385 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2386 to avoid shadowing global key. (Bug#16354)
2387
2388 2014-01-06 Daniel Colascione <dancol@dancol.org>
2389
2390 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2391 rst-mode.
2392
2393 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2394
2395 * window.el (balance-windows): Add mising t to fix Bug#16351.
2396
2397 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2398
2399 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2400 (bug#16285).
2401 (shr-insert): If we have a word that's longer than `shr-width',
2402 break after it anyway. Otherwise we'll do no breaking once we get
2403 such a long word.
2404
2405 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2406
2407 * net/eww.el (eww): Support single/double quote for search.
2408 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2409 (eww-history-quit): Delete and use quit-window.
2410 (eww-history-kill): Delete, because it doesn't work well and
2411 not necessary.
2412 (eww-history-mode-map): Delete some keys and add easy-menu.
2413
2414 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2415
2416 Fix misspelling of 'chinese' in rx (Bug#16237).
2417 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2418 chinese-two-byte.
2419
2420 Change subword regexps back to vars (Bug#16296).
2421 * progmodes/subword.el (subword-forward-regexp)
2422 (subword-backward-regexp): Change these back to variables.
2423
2424 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2427 syntax-begin-function (bug#16247).
2428
2429 2014-01-03 Chong Yidong <cyd@gnu.org>
2430
2431 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2432 (advice--docstring): Delete variable.
2433 (advice--make-1): Leave the docstring empty.
2434 (advice-add): Use function-documentation for advised docstring.
2435
2436 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2437 Ignore function-documentation property when getting documentation.
2438 (ad-activate-advised-definition): Use function-documentation
2439 generate the docstring.
2440 (ad-make-advised-definition): Don't call
2441 ad-make-advised-definition-docstring.
2442 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2443 Delete functions.
2444
2445 * progmodes/sql.el (sql-help): Use function-documentation instead
2446 of dynamic-docstring-function property. No need to autoload now.
2447 (sql--help-docstring): New variable.
2448 (sql--make-help-docstring): Use it.
2449
2450 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * ielm.el (ielm-tab): Retarget.
2453 (ielm-map): Use ielm-tab for tab.
2454 (ielm-complete-filename): Use comint-filename-completion.
2455 (ielm-complete-symbol): Remove.
2456 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2457 remove ielm-tab from completion-at-point-functions (bug#16224).
2458
2459 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2460 Beware signals raised by predicates (bug#16201).
2461
2462 2014-01-02 Richard Stallman <rms@gnu.org>
2463
2464 * dired-aux.el (dired-do-print): Handle printer-name.
2465
2466 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2467 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2468 (rmail-epa-decrypt): Turn off mime processing.
2469
2470 * mail/rmail.el (rmail-make-in-reply-to-field):
2471 Add parens in message-id.
2472
2473 * mail/rmail.el (rmail-get-coding-function): Variable.
2474 (rmail-get-coding-system): Use it.
2475
2476 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2477
2478 * international/mule-conf.el: Unify the charset indian-is13194.
2479 (indian-is13194): Specify unify-map.
2480
2481 2013-12-31 Leo Liu <sdl.web@gmail.com>
2482
2483 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2484
2485 2013-12-30 Daniel Colascione <dancol@dancol.org>
2486
2487 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2488 of printing a useless when we resume from sleep.
2489
2490 * progmodes/sh-script.el
2491 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2492 in indentation code. (Bug#16233)
2493
2494 2013-12-28 João Távora <joaotavora@gmail.com>
2495
2496 * elec-pair.el (electric-pair-post-self-insert-function):
2497 Don't open extra newlines at beginning of buffer. (Bug#16272)
2498
2499 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2500
2501 * frame.el (window-system-for-display): Don't allow to create a
2502 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2503
2504 2013-12-28 Glenn Morris <rgm@gnu.org>
2505
2506 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2507 Update callers.
2508
2509 * apropos.el (apropos-match-face):
2510 * calculator.el (calculator-displayer):
2511 * dabbrev.el (dabbrev-search-these-buffers-only):
2512 * face-remap.el (buffer-face-mode-face):
2513 * simple.el (yank-handled-properties):
2514 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2515 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2516 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2517 (hashcash-double-spend-database):
2518 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2519 (ruby-deep-indent-paren-style):
2520 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2521 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2522 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2523 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2524 Specify custom types.
2525
2526 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2527 * bookmark.el (bookmark-bmenu-use-header-line):
2528 * doc-view.el (doc-view-scale-internally):
2529 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2530 * register.el (register-preview-delay):
2531 * net/shr.el (shr-bullet):
2532 * progmodes/cfengine.el (cfengine-cf-promises)
2533 (cfengine-parameters-indent):
2534 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2535 * textmodes/reftex-vars.el (reftex-label-regexps):
2536 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2537
2538 * net/tls.el (tls-certtool-program): Fix default value.
2539
2540 * desktop.el (desktop-restore-in-current-display):
2541 * newcomment.el (comment-empty-lines):
2542 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2543 (idlwave-pad-keyword):
2544 * progmodes/tcl.el (tcl-tab-always-indent):
2545 * textmodes/reftex-vars.el (reftex-index-default-tag):
2546 * elec-pair.el (electric-pair-skip-whitespace):
2547 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2548
2549 * emacs-lisp/authors.el (authors-ignored-files)
2550 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2551
2552 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2553
2554 * shell.el (shell-dynamic-complete-command): Doc fix.
2555 (shell--command-completion-data): Shell completion now matches
2556 executable filenames from the current buffer's directory, on
2557 systems in which this behavior is the default (windows-nt, ms-dos).
2558
2559 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2560
2561 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2562
2563 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2566 (bug#16251).
2567
2568 * electric.el: Move all electric-pair-* to elec-pair.el.
2569 * elec-pair.el: New file, split from electric.el.
2570
2571 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2572
2573 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2574 indentation level is larger than the width, because that will
2575 infloop.
2576 (shr-insert): Fill repeatedly long texts, so that Japanese is
2577 formatted correctly (bug#16263).
2578 (shr-find-fill-point): Off by one error in comparison with the
2579 indentation.
2580
2581 2013-12-26 João Távora <joaotavora@gmail.com>
2582
2583 * electric.el (electric-pair-mode): More flexible engine for skip-
2584 and inhibit predicates, new options for pairing-related functionality.
2585 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2586 if that keeps or improves their balance in buffers.
2587 (electric-pair-delete-adjacent-pairs): Delete the pair when
2588 backspacing over adjacent matched delimiters.
2589 (electric-pair-open-extra-newline): Open extra newline when
2590 inserting newlines between adjacent matched delimiters.
2591 (electric--sort-post-self-insertion-hook):
2592 Sort post-self-insert-hook according to priority values when
2593 minor-modes are activated.
2594 * simple.el (newline-and-indent): Call newline with interactive
2595 set to t.
2596 (blink-paren-post-self-insert-function): Set priority to 100.
2597 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2598 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2599 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2600 electric-pair-open-newline-between-pairs to nil.
2601
2602 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2603
2604 * progmodes/python.el: Use lexical-binding.
2605 (python-nav-beginning-of-defun): Stop searching ASAP.
2606
2607 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2608
2609 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2610 Fix interactive spec. Doc fix. (Bug#15754)
2611
2612 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2613
2614 * emacs-lisp/byte-run.el (eval-when-compile):
2615 * progmodes/cc-defs.el (cc-eval-when-compile):
2616 Fix edebug spec (bug#16184).
2617
2618 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2619
2620 * net/shr.el (shr-visit-file): Remove debugging function.
2621 (shr-insert): Don't infloop if we can't find a good place to break
2622 the line (bug#16256).
2623
2624 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2625
2626 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2627 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2628 python-nav-lisp-forward-sexp-safe.
2629 (python-nav--forward-sexp): New argument SAFE allows switching
2630 forward sexp movement behavior for parens.
2631 (python-nav-forward-sexp): Throw errors on unterminated parens
2632 (Bug#16191).
2633 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2634 (python-nav-backward-sexp-safe): New functions.
2635 (python-shell-buffer-substring):
2636 Use `python-nav-forward-sexp-safe'.
2637
2638 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2639
2640 * net/shr.el (shr-find-fill-point): Don't break lines before a
2641 quotation mark.
2642 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2643 (shr-find-fill-point): Remove the special checks for the quotation
2644 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2645
2646 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2647
2648 * net/eww.el (eww-form-textarea): Use a different face for
2649 textareas than text input since they have different keymaps
2650 (bug#16142).
2651
2652 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2653
2654 * progmodes/python.el (python-nav-beginning-of-statement):
2655 Speed up (Bug#15295).
2656
2657 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2658
2659 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2660 the window configuration.
2661
2662 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2663
2664 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2665 we run on MS-Windows or MS-DOS.
2666
2667 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2668
2669 * window.el (balance-windows-area): Call window-size instead of
2670 window-height and window-width. Bug#16241.
2671
2672 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2673
2674 * net/eww.el (eww-bookmark-quit): Remove.
2675 (eww-bookmark-browse): Restore the window configuration when you
2676 choose a bookmark (bug#16144).
2677
2678 2013-12-24 Daniel Colascione <dancol@dancol.org>
2679
2680 * icomplete.el: Remove redundant :group arguments to `defcustom'
2681 throughout.
2682 (icomplete-show-matches-on-no-input): New customizable variable.
2683 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2684 we have something to show.
2685 (icomplete-exhibit): Compute completions even if we have no user input.
2686
2687 2013-12-23 Daniel Colascione <dancol@dancol.org>
2688
2689 * icomplete.el: Move `provide' to end of file.
2690
2691 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2692
2693 * net/gnutls.el (gnutls-verify-error): Add version tag.
2694
2695 2013-12-23 Chong Yidong <cyd@gnu.org>
2696
2697 * subr.el (set-transient-map): Rename from
2698 set-temporary-overlay-map. Doc fix.
2699
2700 * face-remap.el (text-scale-adjust):
2701 * indent.el (indent-rigidly):
2702 * kmacro.el (kmacro-call-macro):
2703 * minibuffer.el (minibuffer-force-complete):
2704 * repeat.el (repeat):
2705 * simple.el (universal-argument--mode):
2706 * calendar/todo-mode.el (todo-insert-item--next-param):
2707 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2708
2709 * indent.el (indent-rigidly): Use substitute-command-keys.
2710
2711 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2712
2713 * net/eww.el (eww-tag-select): Add text-property to jump to next
2714 select field.
2715 (eww): Add non-supported ftp error.
2716
2717 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2718
2719 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2720 comments. Handle electric indent after typing `?' and `!'.
2721
2722 2013-12-22 Chong Yidong <cyd@gnu.org>
2723
2724 * faces.el (face-spec-recalc): If the theme specs are not
2725 applicable to a frame, fall back on the defface spec.
2726 This prevents themes from obliterating faces on low-color terminals.
2727
2728 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2729
2730 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2731 after `{'. We need it after block openers, and it doesn't seem
2732 to hurt after hash openers.
2733
2734 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2735
2736 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2737 extracted from `ruby-smie-rules'.
2738 (ruby--electric-indent-chars): New variable.
2739 (ruby--electric-indent-p): New function.
2740 (ruby-mode): Use `electric-indent-functions' instead of
2741 `electric-indent-chars'.
2742
2743 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2744
2745 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2746 docstring.
2747 (ruby-smie-rules): Indent plus one level after `=>'.
2748
2749 2013-12-21 Richard Stallman <rms@gnu.org>
2750
2751 * simple.el (newline): Doc fix.
2752
2753 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2754
2755 * net/eww.el (eww-list-histories, eww-list-histories)
2756 (eww-history-browse, eww-history-quit, eww-history-kill)
2757 (eww-history-mode-map, eww-history-mode): New command and
2758 functions to list browser histories.
2759 (eww-form-text): Support text form with disabled
2760 and readonly attributes.
2761 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2762
2763 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2764
2765 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2766 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2767 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2768 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2769 Use `user-error'.
2770 (eww-bookmark-mode-map): Add menu.
2771 (eww-render, eww-mode): Use `setq-local'.
2772 (eww-tool-bar-map): New variable.
2773 (eww-mode): Set `tool-bar-map'.
2774 (eww-view-source): Check for `html-mode' with `fboundp'.
2775
2776 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2777
2778 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2779 elements with text inside. Also remove debugging.
2780
2781 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2782
2783 * cus-start.el (all): Add ns-use-srgb-colorspace.
2784
2785 2013-12-21 Chong Yidong <cyd@gnu.org>
2786
2787 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2788 undefined. Thus, theme settings for undefined faces do not take
2789 effect until the faces are defined with defface, the same as with
2790 theme variables.
2791
2792 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2793 (face-spec-reset-face): Don't assign extra properties in temacs.
2794 (face-spec-recalc): Apply X resources too.
2795
2796 2013-12-21 Chong Yidong <cyd@gnu.org>
2797
2798 * faces.el (face-spec-set):
2799 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2800 * custom.el (defface): Doc fixes (Bug#16203).
2801
2802 * indent.el (indent-rigidly-map): Add docstring, and move commands
2803 into named functions.
2804 (indent-rigidly-left, indent-rigidly-right)
2805 (indent-rigidly-left-to-tab-stop)
2806 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2807 indentation direction based on bidi direction, and accumulate
2808 sequential commands in a single undo boundary.
2809 (indent-rigidly--pop-undo): New utility function.
2810
2811 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2812
2813 * faces.el (read-face-name): Require crm.el when using crm-separator.
2814
2815 2013-12-20 Daniel Colascione <dancol@dancol.org>
2816
2817 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2818 so that we don't reflow comments into the shebang line.
2819
2820 2013-12-20 Juri Linkov <juri@jurta.org>
2821
2822 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2823 a position when `dired-directory' is non-nil. Check integer
2824 positions with `integerp'.
2825 (toggle-save-place, save-places-to-alist): Add check for
2826 `dired-directory'.
2827 (save-place-find-file-hook): Check integer positions with
2828 `integerp'.
2829 (save-place-dired-hook): Use `dired-goto-file' when
2830 `dired-filename' is found in the assoc list. Check integer
2831 positions with `integerp'.
2832 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2833
2834 * dired.el (dired-initial-position-hook): Rename back from
2835 `dired-initial-point-hook'.
2836 (dired-initial-position): Rename `dired-initial-point-hook' to
2837 `dired-initial-position-hook'.
2838 (dired-file-name-at-point): Doc fix. (Bug#15329)
2839
2840 2013-12-20 Juri Linkov <juri@jurta.org>
2841
2842 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2843 (read-regexp-suggestions): New function.
2844 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2845 Use `read-regexp-suggestions'. Add non-empty default to history
2846 for empty input.
2847 (occur-read-regexp-defaults-function): Remove function.
2848 (occur-read-primary-args): Use `regexp-history-last' instead of
2849 `occur-read-regexp-defaults-function'.
2850
2851 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2852 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2853 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2854 `hi-lock-read-regexp-defaults-function'. Doc fix.
2855 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2856 with `find-tag-default-as-symbol-regexp'. Doc fix.
2857 (hi-lock-read-regexp-defaults): Remove function.
2858 (hi-lock-regexp-okay): Add check for null.
2859
2860 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2861 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2862
2863 * subr.el (find-tag-default-as-symbol-regexp): New function.
2864 (find-tag-default-as-regexp): Move symbol regexp formatting to
2865 `find-tag-default-as-symbol-regexp'.
2866
2867 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2868
2869 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2870 (Bug#14179)
2871
2872 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2873
2874 * calendar/todo-mode.el: New implementation of item insertion
2875 commands and key bindings.
2876 (todo-key-prompt): New face.
2877 (todo-insert-item): New command.
2878 (todo-insert-item--parameters): New defconst, replacing defvar
2879 todo-insertion-commands-args-genlist.
2880 (todo-insert-item--param-key-alist): New defconst, replacing
2881 defvar todo-insertion-commands-arg-key-list.
2882 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2883 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2884 (todo-insert-item--next-param): New functions.
2885 (todo-insert-item--args, todo-insert-item--argleft)
2886 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2887 New variables.
2888 (todo-key-bindings-t): Change binding of "i" from
2889 todo-insertion-map to todo-insert-item.
2890 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2891 (todo-insertion-command-name, todo-insertion-commands-names)
2892 (todo-define-insertion-command, todo-insertion-commands)
2893 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2894
2895 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2896
2897 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2898 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2899 eval-when-compile.
2900 (todo-move-category): Allow choosing a non-existing todo file to
2901 move the category to, and create that file.
2902 (todo-default-priority): New user option.
2903 (todo-set-item-priority): Use it.
2904 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2905 (desktop-restore-file-buffer): Declare.
2906 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2907 (todo-modes-set-2): Locally set desktop-save-buffer to
2908 todo-desktop-save-buffer.
2909 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2910 (auto-mode-alist): Add autoload cookie.
2911
2912 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2913
2914 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2915 helpers.el was a poor choice of name.
2916 (string-remove-prefix): New function.
2917 (string-remove-suffix): New function.
2918
2919 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2920
2921 Fix assignment for new window total sizes.
2922 * window.el (window--pixel-to-size): Remove function.
2923 (window--pixel-to-total-1, window--pixel-to-total):
2924 Fix calculation of new total sizes.
2925
2926 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2927
2928 * comint.el (comint-output-filter): Fix rear-nonsticky property
2929 placement (Bug#16010).
2930
2931 2013-12-20 Chong Yidong <cyd@gnu.org>
2932
2933 * faces.el (read-color): Minor fix for completion function.
2934
2935 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2936
2937 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2938 New option. (Bug#16182)
2939 (ruby-smie--indent-to-stmt-p): Use it.
2940 (ruby-smie-rules): Revert the logic in the handling of `when'.
2941 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2942 (ruby-deep-arglist, ruby-deep-indent-paren)
2943 (ruby-deep-indent-paren-style): Update docstrings to note that the
2944 vars don't have any effect with SMIE.
2945
2946 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2947
2948 * calc/calc.el (calc-enter, calc-pop): Use the variable
2949 `calc-context-sensitive-enter'.
2950
2951 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2952
2953 * net/shr.el (shr-insert): Protect against infloops in degenerate
2954 tables.
2955
2956 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2957
2958 * progmodes/octave.el (octave): Add link to manual and octave
2959 homepage.
2960 (octave-mode-menu): Link to octave-mode manual.
2961
2962 2013-12-20 Leo Liu <sdl.web@gmail.com>
2963
2964 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2965 insertion using skeleton-end-newline. (Bug#16138)
2966
2967 2013-12-20 Juri Linkov <juri@jurta.org>
2968
2969 * replace.el (occur-engine): Use `add-face-text-property'
2970 to add the face property to matches and titles. (Bug#14645)
2971
2972 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2973 the palette of other hi-lock colors.
2974 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2975
2976 2013-12-19 Juri Linkov <juri@jurta.org>
2977
2978 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2979 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2980 (minibuffer-history-symbol): Move variable declaration closer to
2981 its usage.
2982
2983 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2984 (Bug#14785)
2985
2986 2013-12-19 Juri Linkov <juri@jurta.org>
2987
2988 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2989 New function.
2990 (log-edit-hook): Add it to :options. (Bug#16170)
2991
2992 2013-12-19 Juri Linkov <juri@jurta.org>
2993
2994 * simple.el (eval-expression-print-format): Don't check for
2995 command names and the last command. Always display additional
2996 formats of the integer result in the echo area, and insert them
2997 to the current buffer only with a zero prefix arg.
2998 Display character when char-displayable-p is non-nil.
2999 (eval-expression): With a zero prefix arg, set `print-length' and
3000 `print-level' to nil, and insert the integer values from
3001 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3002
3003 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3004 `eval-last-sexp-arg-internal'. Doc fix.
3005 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3006 `eval-last-sexp-print-value'. Doc fix.
3007 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3008 Set `print-length' and `print-level' to nil when arg is zero.
3009 (eval-last-sexp): Doc fix.
3010 (eval-defun-2): Print the integer values from
3011 `eval-expression-print-format' at the end.
3012
3013 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3014 values from `eval-expression-print-format' at the end.
3015
3016 * ielm.el (ielm-eval-input): Print the integer
3017 values from `eval-expression-print-format' at the end.
3018
3019 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3020
3021 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3022 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3023
3024 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3027 (hl-line-highlight, global-hl-line-highlight): Use it.
3028 (hl-line-overlay): Use defvar-local.
3029
3030 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3031
3032 * term/ns-win.el: Require dnd.
3033 (global-map): Remove drag items.
3034 (ns-insert-text, ns-set-foreground-at-mouse)
3035 (ns-set-background-at-mouse):
3036 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3037 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3038 New functions.
3039
3040 2013-12-19 Glenn Morris <rgm@gnu.org>
3041
3042 * emacs-lisp/ert.el (ert-select-tests):
3043 Fix string/symbol mixup. (Bug#16121)
3044
3045 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3046
3047 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3048 keywords to their parent.
3049
3050 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3051
3052 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3053 first arg to be a string (fixed dead code), or an operator symbol.
3054 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3055 operator symbols.
3056 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3057 did nothing. Don't respond to `(:after ".")', it will be called
3058 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3059 change anything. Only return indentation for binary operators
3060 when they are hanging. De-dent opening paren when its parent is
3061 `.', otherwise it looks bad when the dot is not at bol or eol
3062 (bug#16182).
3063
3064 2013-12-19 Juri Linkov <juri@jurta.org>
3065
3066 * replace.el (query-replace-read-args): Split a non-negative arg
3067 and a negative arg into separate elements.
3068 (query-replace, query-replace-regexp, replace-string)
3069 (replace-regexp): Add arg `backward'. Doc fix.
3070 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3071 move point to the beginning of the match.
3072 (replace-search, replace-highlight): Use new arg `backward'
3073 to set the value of `isearch-forward'.
3074 (perform-replace): Add arg `backward' and use it to perform
3075 replacement backward. (Bug#14979)
3076
3077 * isearch.el (isearch-query-replace): Use a negative prefix arg
3078 to call `perform-replace' with a non-nil arg `backward'.
3079
3080 2013-12-18 Juri Linkov <juri@jurta.org>
3081
3082 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3083 to the default list. Move `log-edit-show-files' to the end.
3084 Add more available functions to options.
3085 (log-edit): Move default specific settings to
3086 `log-edit-insert-message-template'. Don't move point.
3087 (log-edit-insert-message-template): New function.
3088 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3089 (Bug#16170)
3090
3091 2013-12-18 Juri Linkov <juri@jurta.org>
3092
3093 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3094 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3095
3096 2013-12-18 Leo Liu <sdl.web@gmail.com>
3097
3098 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3099 (Bug#16186)
3100
3101 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3102
3103 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3104 formats for displaying file sizes when the -s switch is given.
3105 Instead, compute a separate format for displaying the size in
3106 blocks, which is displayed in addition to the "regular" size.
3107 When -h is given in addition to -s, produce size in blocks in
3108 human-readable form as well. (Bug#16179)
3109
3110 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3111
3112 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3113 Reference tables with ~\ref{...} instead of only \ref{...}.
3114
3115 2013-12-18 Chong Yidong <cyd@gnu.org>
3116
3117 * cus-edit.el (custom-magic-alist): Fix "themed" description
3118 (Bug#14348).
3119
3120 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3121 is non-nil, do not create a new entry in the symbol's theme-value
3122 or theme-face property; update theme-settings only (Bug#14664).
3123 (custom-available-themes): Doc fix.
3124
3125 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3126 (Bug#15674).
3127
3128 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3129
3130 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3131
3132 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3133 (Bug#13914).
3134
3135 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3136
3137 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3138
3139 2013-12-18 Glenn Morris <rgm@gnu.org>
3140
3141 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3142 * cus-start.el (load-prefer-newer): New option.
3143
3144 2013-12-18 Le Wang <l26wang@gmail.com>
3145
3146 * comint.el (comint-previous-matching-input-from-input):
3147 Retain point (Bug#13404).
3148
3149 2013-12-18 Chong Yidong <cyd@gnu.org>
3150
3151 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3152
3153 2013-12-18 Glenn Morris <rgm@gnu.org>
3154
3155 * mail/emacsbug.el (report-emacs-bug):
3156 Only mention enable-multibyte-characters if non-standard.
3157
3158 2013-12-17 Juri Linkov <juri@jurta.org>
3159
3160 * arc-mode.el (archive-extract-by-file): Check if directory exists
3161 before deletion to not show irrelevant errors if it doesn't exist.
3162
3163 2013-12-17 Juri Linkov <juri@jurta.org>
3164
3165 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3166 (Bug#14751)
3167
3168 * net/eww.el (browse-web): Add alias to `eww'.
3169 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3170 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3171
3172 * net/browse-url.el (browse-url-browser-function): Move `eww'
3173 closer to similar functions.
3174
3175 * startup.el (fancy-startup-screen, fancy-about-screen):
3176 Set browse-url-browser-function to eww-browse-url locally.
3177 (Bug#14751)
3178
3179 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 * window.el (window--pixel-to-total): Remove unused `mini' var.
3182 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3183 (split-window): Remove unused `new' var.
3184 (window--display-buffer): Remove unused `frame' and `delta' vars.
3185 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3186 and display-width'.
3187
3188 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3189
3190 * dired.el (dired-mark-pop-up):
3191 * register.el (register-preview): Don't bind
3192 split-height-threshold here since it's now done in
3193 display-buffer-below-selected.
3194
3195 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3196
3197 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3198 xterm-rgb-convert-to-16bit.
3199 (rxvt-register-default-colors): Standardize with
3200 xterm-register-default-colors (Bug#14078).
3201
3202 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3203
3204 * simple.el (kill-region): Pass mark first, then point, so that
3205 kill-append works right (Bug#12819).
3206 (copy-region-as-kill, kill-ring-save): Likewise.
3207
3208 2013-12-17 Leo Liu <sdl.web@gmail.com>
3209
3210 * net/rcirc.el (rcirc-add-face):
3211 * eshell/em-prompt.el (eshell-emit-prompt):
3212 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3213 (Bug#16167)
3214
3215 2013-12-17 Chong Yidong <cyd@gnu.org>
3216
3217 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3218 Suggested by Xue Fuqiao.
3219
3220 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3221
3222 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3223
3224 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * net/shr.el (shr-insert-document): Remove unused var
3227 `shr-preliminary-table-render'.
3228 (shr-rescale-image): Remove unused arg `force'.
3229 (shr-put-image): Update calls accordingly.
3230 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3231
3232 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3233
3234 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3235 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3236 :close-all, to see which indentation method to use (Bug#16116).
3237 (smie-rules-function): Document the method :close-all.
3238
3239 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3240
3241 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3242
3243 * net/eww.el (eww-display-html): If we can't find the anchor we're
3244 looking for, then go to point-min.
3245
3246 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3247
3248 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3249 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3250 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3251 Expand dir too, in case it's relative.
3252
3253 2013-12-16 Juri Linkov <juri@jurta.org>
3254
3255 * desktop.el (desktop-auto-save-timeout): Change default to
3256 `auto-save-timeout'. Doc fix.
3257 (desktop-save): Skip the timestamp in desktop-saved-frameset
3258 when checking for auto-save changes.
3259 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3260 `desktop-auto-save' is called repeatedly by the idle timer.
3261 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3262 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3263 (Bug#15331)
3264
3265 2013-12-16 Juri Linkov <juri@jurta.org>
3266
3267 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3268 (Bug#16035)
3269 (isearch-pre-command-hook): Check `this-command' for symbolp.
3270
3271 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3274
3275 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3276
3277 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3278 (cfengine3--current-function): Bring in the current-function
3279 functionality from `cfengine3--current-word'.
3280 (cfengine3-completion-function): Bring in the
3281 bounds-of-current-word functionality from
3282 `cfengine3--current-word'.
3283
3284 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3285
3286 * window.el (display-buffer-below-selected):
3287 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3288
3289 2013-12-16 Leo Liu <sdl.web@gmail.com>
3290
3291 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3292 Remove NOMSG arg and all uses changed.
3293
3294 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3295
3296 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3297 (cua--deactivate-rectangle): Don't deactivate the mark.
3298 (cua-set-rectangle-mark): Don't set mark-active since
3299 cua--activate-rectangle already does it for us.
3300 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3301 non-rectangular region.
3302
3303 * emulation/cua-base.el (cua-repeat-replace-region):
3304 Use with-current-buffer.
3305
3306 * net/gnutls.el: Use cl-lib.
3307 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3308
3309 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3310
3311 * emacs-lisp/package.el (package-built-in-p): Support both
3312 built-in and the package.el converted package descriptions.
3313 (package-show-package-list): Allow keywords.
3314 (package-keyword-button-action): Use it instead of
3315 `finder-list-matches'.
3316 (package-menu-filter-interactive): Interactive filtering (by
3317 keyword) function.
3318 (package-menu--generate): Support keywords and change keymappings
3319 and headers when they are given.
3320 (package--has-keyword-p): Helper function.
3321 (package-menu--refresh): Use it.
3322 (package--mapc): Helper function.
3323 (package-all-keywords): Use it.
3324 (package-menu-mode-map): Set up menu items and keybindings to
3325 provide a filtering UI.
3326
3327 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3328
3329 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3330 the behavior when a certificate fails validation. Defaults to
3331 old behavior: never abort, just warn.
3332 (gnutls-negotiate): Use it.
3333
3334 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3335
3336 * window.el (display-buffer-below-selected): Never split window
3337 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3338
3339 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3340
3341 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3342 (package-buffer-info): Use it (bug#15108).
3343
3344 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3345
3346 * icomplete.el (icomplete-completions): Make sure the prefix is already
3347 displayed elsewhere before hiding it (bug#16219).
3348
3349 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3350
3351 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3352 open-paren tokens when preceded by a open-paren, too.
3353 (ruby-smie-rules): Handle virtual indentation after open-paren
3354 tokens specially. If there is code between it and eol, return the
3355 column where is starts (Bug#16118).
3356
3357 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3358
3359 * progmodes/cfengine.el: Fix `add-hook' doc.
3360 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3361 (cfengine3--current-word): Fix parameters.
3362 (cfengine3-make-syntax-cache): Simplify further.
3363 (cfengine3-completion-function, cfengine3--current-function):
3364 Use `assq' for symbols.
3365 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3366
3367 2013-12-13 Glenn Morris <rgm@gnu.org>
3368
3369 * loadup.el (load-path): Warn if site-load or site-init changes it.
3370 No more need to reset it when bootstrapping.
3371
3372 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3373
3374 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3375 locations for cf-promises.
3376 (cfengine-mode-syntax-functions-regex): New caching variable.
3377 (cfengine3-fallback-syntax): Fallback syntax for cases where
3378 cf-promises doesn't run.
3379 (cfengine3--current-word): Reimplement using
3380 `cfengine-mode-syntax-functions-regex'.
3381 (cfengine3-completion-function, cfengine3--current-function):
3382 Use `cfengine3-make-syntax-cache' directly.
3383 (cfengine3-clear-syntax-cache): New function.
3384 (cfengine3-make-syntax-cache): Simplify and create
3385 `cfengine-mode-syntax-functions-regex' on demand.
3386 (cfengine3-format-function-docstring): Don't call
3387 `cfengine3-make-syntax-cache' explicitly.
3388
3389 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3390
3391 Fix windmove-find-other-window broken after pixelwise resizing
3392 (Bug#16017).
3393 * windmove.el (windmove-other-window-loc): Revert change from
3394 2013-12-04.
3395 (windmove-find-other-window): Call window-in-direction.
3396 * window.el (window-in-direction): New arguments SIGN, WRAP and
3397 MINI to emulate original windmove-find-other-window behavior.
3398
3399 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3400
3401 * simple.el (blink-matching--overlay): New variable.
3402 (blink-matching-open): Instead of moving point, highlight the
3403 matching paren with an overlay
3404 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3405
3406 * faces.el (paren-showing-faces, show-paren-match)
3407 (show-paren-mismatch): Move from paren.el.
3408
3409 2013-12-13 Leo Liu <sdl.web@gmail.com>
3410
3411 * indent.el (indent-region): Disable progress reporter in
3412 minibuffer. (Bug#16108)
3413
3414 * bindings.el (visual-order-cursor-movement): Fix version.
3415
3416 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3417
3418 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3419 Also match after beginning of line.
3420 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3421 files. Thanks to Russell Sim. (Bug#15378)
3422
3423 2013-12-13 Juri Linkov <juri@jurta.org>
3424
3425 * simple.el <Keypad support>: Remove key bindings duplicated
3426 with bindings.el. (Bug#14397)
3427
3428 2013-12-13 Juri Linkov <juri@jurta.org>
3429
3430 * comint.el (comint-mode-map): Replace `delete-char' with
3431 `delete-forward-char'. (Bug#16109)
3432
3433 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3434
3435 * progmodes/python.el (python-indent-calculate-indentation):
3436 Fix de-denters cornercase. (Bug#15731)
3437
3438 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3439
3440 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3441 (advice--make): Pay attention to `depth'.
3442 (advice--make-1): Don't autoload commands eagerly.
3443 * emacs-lisp/elp.el (elp-instrument-function):
3444 * emacs-lisp/trace.el (trace-function-internal):
3445 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3446
3447 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3448
3449 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3450
3451 * term/w32-win.el (w32-handle-dropped-file):
3452 * startup.el (normal-top-level):
3453 * net/browse-url.el (browse-url-file-url):
3454 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3455 decode file names using 'utf-8' rather than
3456 file-name-coding-system.
3457
3458 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3459
3460 * progmodes/python.el (python-indent-context)
3461 (python-indent-calculate-indentation): Fix auto-identation
3462 behavior for comment blocks. (Bug#15916)
3463
3464 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3465
3466 * progmodes/python.el (python-indent-calculate-indentation):
3467 When determining indentation, don't treat "return", "pass", etc., as
3468 operators when they are just string constituents. (Bug#15812)
3469
3470 2013-12-12 Juri Linkov <juri@jurta.org>
3471
3472 * uniquify.el (uniquify-buffer-name-style): Change default to
3473 `post-forward-angle-brackets'.
3474
3475 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3476 `uniquify'. Change default to `post-forward-angle-brackets'.
3477
3478 2013-12-11 Glenn Morris <rgm@gnu.org>
3479
3480 * emacs-lisp/package.el (finder-list-matches):
3481 Autoload rather than falsely declaring.
3482
3483 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3484
3485 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3486 (eww-mode-map): Use them.
3487
3488 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3489
3490 * window.el (display-buffer-in-side-window): Fix doc-string
3491 (Bug#16115).
3492
3493 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3494
3495 * vc/vc-git.el: Silence byte-compiler warnings.
3496 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3497 (log-edit-set-header): Declare.
3498
3499 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3500
3501 * Makefile.in (custom-deps, finder-data): Run output file names
3502 through unmsys--file-name. (Bug#16099)
3503
3504 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3507 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3508
3509 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3510 instead of deleting the selection "by hand" (bug#16098).
3511 Rely on insert-for-yank to yank rectangles.
3512 (cua-highlight-region-shift-only): Mark obsolete.
3513 (cua-mode): Don't enable/disable transient-mark-mode,
3514 shift-select-mode (cua-mode works both with and without them), and
3515 pc-selection-mode (obsolete).
3516 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3517 (cua--deactivate-rectangle): Deactivate it.
3518
3519 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3520 (delete-selection-helper): Make sure yank starts at the top of the
3521 deleted region.
3522 (minibuffer-keyboard-quit): Use region-active-p.
3523
3524 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3525
3526 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3527 to `delete' (bug#16109).
3528
3529 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3530
3531 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3532 info manual and show keybindings and set `:group' keyword.
3533
3534 2013-12-11 Juri Linkov <juri@jurta.org>
3535
3536 * delsel.el (delete-active-region): Let-bind `this-command'
3537 to prevent `kill-region' from changing its original value.
3538 (delete-selection-helper): Handle `overwrite-mode' for the type
3539 `kill' exactly the same way as for the type `t'.
3540 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3541 Support more commands. (Bug#13312)
3542
3543 2013-12-11 Juri Linkov <juri@jurta.org>
3544
3545 * bindings.el: Map kp keys to non-kp keys systematically
3546 with basic modifiers control, meta and shift. (Bug#14397)
3547
3548 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3549
3550 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3551 "Close browser" menu items. Fix wrong function of "List
3552 bookmarks".
3553
3554 2013-12-11 Juri Linkov <juri@jurta.org>
3555
3556 * misearch.el (multi-isearch-buffers): Set the value of
3557 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3558 arg of isearch-forward to t.
3559 (multi-isearch-buffers-regexp): Set the value of
3560 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3561 arg of isearch-forward-regexp to t.
3562 (multi-isearch-files): Set the value of
3563 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3564 arg of isearch-forward to t.
3565 (multi-isearch-files-regexp): Set the value of
3566 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3567 arg of isearch-forward-regexp to t. (Bug#16035)
3568
3569 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3570 arg of isearch-forward to t.
3571 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3572 arg of isearch-forward-regexp to t.
3573 (dired-isearch-filter-filenames): Remove unnecessary check for
3574 `dired-isearch-filenames'.
3575
3576 * comint.el (comint-history-isearch-backward):
3577 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3578 (comint-history-isearch-backward-regexp):
3579 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3580
3581 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3582
3583 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3584 unmsys--file-name. (Bug#16099)
3585
3586 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3587
3588 * emacs-lisp/package.el (package-keyword-button-action):
3589 Remove finder.el require dependency.
3590
3591 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3592
3593 * emacs-lisp/package.el: Require finder.el.
3594 (describe-package-1): Add keyword buttons.
3595 (package-make-button): New convenience function.
3596 (package-keyword-button-action): Keyword button action using
3597 `finder-list-matches'.
3598
3599 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3600
3601 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3602 last commit.
3603
3604 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3605
3606 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3607 symlinked files.
3608
3609 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3610
3611 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3612 after the end of a percent literal.
3613
3614 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3615
3616 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3617 Handle caret-delimited strings (Bug#16079).
3618
3619 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3620
3621 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3622 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3623 `ruby-parse-partial' (Bug#16078).
3624
3625 2013-12-09 Leo Liu <sdl.web@gmail.com>
3626
3627 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3628
3629 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3630
3631 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3632 (js-switch-indent-offset): New option.
3633 (js--proper-indentation): Use it. And handle the case when
3634 "default" is actually a key in an object literal.
3635 (js--same-line): New function.
3636 (js--multi-line-declaration-indentation): Use it.
3637 (js--indent-in-array-comp, js--array-comp-indentation):
3638 New functions.
3639 (js--proper-indentation): Use them, to handle array comprehension
3640 continuations.
3641
3642 2013-12-08 Leo Liu <sdl.web@gmail.com>
3643
3644 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3645 (flymake-make-overlay): Remove arg MOUSE-FACE.
3646 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3647
3648 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3651 New function.
3652 (redisplay-highlight-region-function): Use it.
3653
3654 * emulation/cua-base.el (cua--explicit-region-start)
3655 (cua--last-region-shifted): Remove.
3656 (cua--deactivate): Use deactivate-mark.
3657 (cua--pre-command-handler-1): Don't handle shift-selection.
3658 (cua--post-command-handler-1): Don't change transient-mark-mode.
3659 (cua--select-keymaps): Use region-active-p rather than
3660 cua--explicit-region-start or cua--last-region-shifted.
3661 (cua-mode): Enable shift-select-mode.
3662
3663 2013-12-08 Leo Liu <sdl.web@gmail.com>
3664
3665 * progmodes/flymake.el (flymake-popup-current-error-menu):
3666 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3667 (flymake-posn-at-point-as-event, flymake-popup-menu)
3668 (flymake-make-emacs-menu): Remove. (Bug#16077)
3669
3670 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * rect.el (rectangle-mark-mode): Activate mark even if
3673 transient-mark-mode is off (bug#16066).
3674 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3675 is > mark and at bolp.
3676
3677 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3678 (region-extract-function): Use it.
3679 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3680 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3681 Delete functions.
3682 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3683 kill-ring-save, kill-region, delete-char, delete-forward-char.
3684 Ignore self-insert-iso.
3685
3686 * emulation/cua-gmrk.el (cua--init-global-mark):
3687 Ignore `self-insert-iso'.
3688
3689 * emulation/cua-base.el (cua--prefix-copy-handler)
3690 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3691 checking cua--rectangle.
3692 (cua-delete-region): Use region-extract-function.
3693 (cua-replace-region): Delete function.
3694 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3695 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3696 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3697 (cua--init-keymaps): Don't remap delete-selection commands.
3698 (cua-mode): Use delete-selection-mode instead of rolling our own
3699 (bug#16085).
3700
3701 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3702 Obey region-extract-function.
3703
3704 Make registers and delete-selection-mode work on rectangles.
3705 * register.el (describe-register-1): Don't modify the register's value.
3706 (copy-to-register): Obey region-extract-function.
3707 * delsel.el (delete-active-region): Obey region-extract-function.
3708
3709 2013-12-08 Leo Liu <sdl.web@gmail.com>
3710
3711 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3712 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3713 (flymake-compilation-prevents-syntax-check)
3714 (flymake-start-syntax-check-on-newline)
3715 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3716 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3717 (flymake-xml-program, flymake-master-file-dirs)
3718 (flymake-master-file-count-limit)
3719 (flymake-allowed-file-name-masks): Relocate.
3720 (flymake-makehash, flymake-float-time)
3721 (flymake-replace-regexp-in-string, flymake-split-string)
3722 (flymake-get-temp-dir): Remove.
3723 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3724 (flymake-current-row, flymake-selected-frame)
3725 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3726 related functions. (Bug#16077)
3727
3728 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3729
3730 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3731
3732 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3733
3734 * help-fns.el (describe-function-1): Use new advice-* functions
3735 rather than old ad-* functions. Fix function type description and
3736 source links for advised functions and subrs.
3737
3738 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3739
3740 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3741
3742 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3743
3744 * progmodes/compile.el (compilation-start):
3745 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3746
3747 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3748 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3749
3750 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3751
3752 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3753 Touch up the last change.
3754
3755 2013-12-06 Leo Liu <sdl.web@gmail.com>
3756
3757 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3758 (inferior-octave-startup): Always use "octave> " for prompt.
3759 (octave-goto-function-definition)
3760 (octave-sync-function-file-names)
3761 (octave-find-definition-default-filename): Remove redundant backquotes.
3762
3763 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3764
3765 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3766 syntax for `?'.
3767 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3768 where appropriate already.
3769 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3770 end of method names (Bug#15874).
3771
3772 2013-12-06 Juri Linkov <juri@jurta.org>
3773
3774 * isearch.el (isearch--saved-overriding-local-map):
3775 New internal variable.
3776 (isearch-mode): Set it to the initial value of
3777 `overriding-terminal-local-map'.
3778 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3779 with `isearch--saved-overriding-local-map'. (Bug#16035)
3780
3781 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3782
3783 * progmodes/octave.el (inferior-octave-completion-table):
3784 Turn back into function, use `completion-table-with-cache'
3785 (Bug#11906). Update all references.
3786
3787 * minibuffer.el (completion-table-with-cache): New function.
3788
3789 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3790
3791 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3792
3793 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3794
3795 * net/eww.el (eww-current-source): New variable to store page
3796 source.
3797 (eww-display-html, eww-mode, eww-save-history)
3798 (eww-restore-history): Use it.
3799 (eww-view-source): New command to view page source.
3800 Opportunistically uses `html-mode' to highlight the buffer.
3801 (eww-mode-map): Install it.
3802
3803 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3804
3805 * net/dbus.el (dbus-unregister-service)
3806 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3807 Fix docstring.
3808 (dbus-unregister-service): Skip :serial entries in
3809 `dbus-registered-objects-table'.
3810 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3811
3812 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3813
3814 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3815 around keywords with extra `split-string' argument.
3816
3817 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3818
3819 * windmove.el (windmove-other-window-loc): Handle navigation
3820 between windows (excluding the minibuffer window - Bug#16017).
3821
3822 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3823
3824 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3825 in D-Bus type syntax.
3826 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3827 preserve unibyte strings. (Bug#16048)
3828
3829 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3830
3831 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3832 Call force-mode-line-update is the proper buffer (bug#16042).
3833
3834 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3835
3836 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3837 `log-edit-remember-comment', make argument optional. Adjust all
3838 callers.
3839 (log-edit-mode): Add `log-edit-remember-comment' to
3840 `kill-buffer-hook' locally.
3841 (log-edit-kill-buffer): Don't remember comment explicitly since
3842 the buffer is killed anyway.
3843
3844 2013-12-04 Juri Linkov <juri@jurta.org>
3845
3846 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3847 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3848
3849 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3850
3851 * notifications.el (notifications-close-notification): Call the
3852 D-Bus method with ID being a `:uint32'. (Bug#16030)
3853
3854 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3855
3856 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3857
3858 2013-12-03 Juri Linkov <juri@jurta.org>
3859
3860 * progmodes/compile.el (compilation-start): Rename window alist
3861 entry `no-display-ok' to `allow-no-window'.
3862
3863 * simple.el (shell-command): Add window alist entry
3864 `allow-no-window' to `display-buffer'.
3865 (async-shell-command): Doc fix.
3866
3867 * window.el (display-buffer-no-window): New action function.
3868 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3869
3870 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3871
3872 * vc/log-edit.el (log-edit-set-header): Extract from
3873 `log-edit-toggle-header'.
3874 (log-edit-extract-headers): Separate the summary, when extracted
3875 from header, from the rest of the message with an empty line.
3876
3877 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3878 line, if present, to the Summary header.
3879
3880 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3881
3882 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3883 in current-buffer (bug#16029).
3884
3885 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3886
3887 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3888 (debugger-mode-map): Bind it.
3889 (debugger--backtrace-base): New function.
3890 (debugger-eval-expression): Use it.
3891 (debugger-frame-number): Skip local vars when present.
3892 (debugger--locals-visible-p, debugger--insert-locals)
3893 (debugger--show-locals, debugger--hide-locals): New functions.
3894
3895 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3896
3897 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3898 "LC_ALL".
3899 (tramp-get-remote-locale): New defun.
3900 (tramp-open-connection-setup-interactive-shell): Use it.
3901
3902 2013-12-02 Leo Liu <sdl.web@gmail.com>
3903
3904 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3905
3906 * progmodes/sh-script.el (sh-shell-process):
3907 * progmodes/octave.el (inferior-octave-process-live-p):
3908 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3909 (gdb-inferior-io-sentinel):
3910 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3911
3912 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3913
3914 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3915 `save-selected-window' to `log-edit-hide-buf'. This makes
3916 `log-edit-show-files' idempotent.
3917 (log-edit-show-files): Mark the new window as dedicated.
3918
3919 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3920
3921 * vc/log-edit.el (log-edit-mode-map): Add binding for
3922 `log-edit-kill-biffer'.
3923 (log-edit-hide-buf): Add a FIXME comment.
3924 (log-edit-add-new-comment): New function, extracted from
3925 `log-edit-done'.
3926 (log-edit-done, log-edit-add-to-changelog): Use it.
3927 (log-edit-kill-buffer): New command.
3928
3929 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3930
3931 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3932 instead of killing the buffer.
3933
3934 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3937
3938 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3939
3940 * net/eww.el (eww-form-checkbox-selected-symbol)
3941 (eww-form-checkbox-symbol): New customizable variable.
3942 (eww-form-checkbox, eww-toggle-checkbox):
3943 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3944
3945 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3946 (shr--get-media-pref, shr--extract-best-source): New function.
3947 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3948 no :src tag was specified.
3949
3950 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3951 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3952 Use \\` to match beginning of string instead of ^.
3953 (eww-browse-with-external-browser): Provide optional URL parameter.
3954 (eww-render): Set `eww-current-title' back to "".
3955
3956 * net/shr.el (shr-tag-video): Display content for video if no
3957 poster is available.
3958 (shr-tag-audio): Add support for <audio> tag.
3959
3960 * net/eww.el (eww-text-input-types): New const.
3961 (eww-process-text-input): Treat input types in
3962 `eww-text-input-types' as text.
3963
3964 * net/shr.el (shr-tag-table): Fix comment typo.
3965
3966 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3967
3968 * net/eww.el (eww-follow-link): New command to avoid reloading
3969 pages when we follow #target links (bug#15243).
3970 (eww-quit): Special mode buffers shouldn't query before exiting.
3971
3972 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3973
3974 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3975 forms.
3976
3977 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3978
3979 * net/eww.el (eww-restore-history): Update the window title after
3980 moving in the history.
3981 (eww-current-dom): New variable used to save the current DOM.
3982
3983 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3984
3985 * vc/log-edit.el (log-edit-mode-map): Add binding for
3986 `log-edit-beginning-of-line'.
3987 (log-edit-setup-add-author): New user option.
3988 (log-edit-beginning-of-line): New command.
3989 (log-edit): Move major mode call above the contents setup so that
3990 the local variable values are already applied.
3991 (log-edit): Only insert "Author: " when
3992 `log-edit-setup-add-author' is non-nil.
3993 (log-edit): When SETUP is non-nil, position point after ": "
3994 instead of point-min.
3995
3996 2013-12-01 Glenn Morris <rgm@gnu.org>
3997
3998 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3999
4000 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4001
4002 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4003 redisplay to make sure the initial frame gets a chance to become
4004 visible. (Bug#16014)
4005
4006 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4007
4008 Support resizing frames and windows pixelwise.
4009 * cus-start.el (frame-resize-pixelwise)
4010 (window-resize-pixelwise): New entries.
4011 * emacs-lisp/debug.el (debug): Use window-total-height instead
4012 of window-total-size.
4013 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4014 * help.el (describe-bindings-internal): Use help-buffer as
4015 argument for with-help-window.
4016 (temp-buffer-max-width): New option.
4017 (resize-temp-buffer-window, help-window-setup)
4018 (with-help-window): Rewrite.
4019 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4020 dragging dividers.
4021 * window.el (frame-char-size, window-min-pixel-height)
4022 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4023 (window-min-pixel-width, window-safe-min-pixel-size)
4024 (window-combination-p, window-safe-min-size)
4025 (window-resizable-p, window--size-to-pixel)
4026 (window--pixel-to-size, window--resize-apply-p): New functions.
4027 (window-safe-min-height): Fix doc-string.
4028 (window-size, window-min-size, window--min-size-1)
4029 (window-sizable, window-sizable-p, window--min-delta-1)
4030 (window-min-delta, window--max-delta-1, window-max-delta)
4031 (window--resizable, window--resizable-p, window-resizable)
4032 (window-full-height-p, window-full-width-p, window-at-side-p)
4033 (window--in-direction-2, window-in-direction)
4034 (window--resize-reset-1, window--resize-mini-window)
4035 (window-resize, window-resize-no-error)
4036 (window--resize-child-windows-normal)
4037 (window--resize-child-windows, window--resize-siblings)
4038 (window--resize-this-window, window--resize-root-window)
4039 (window--resize-root-window-vertically)
4040 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4041 (maximize-window, minimize-window, delete-window)
4042 (quit-restore-window, window-split-min-size, split-window)
4043 (balance-windows-2, balance-windows)
4044 (balance-windows-area-adjust, balance-windows-area)
4045 (window--state-get-1, window-state-get, window--state-put-1)
4046 (window--state-put-2, window-state-put)
4047 (display-buffer-record-window, window--display-buffer):
4048 Make functions handle pixelwise sizing of windows.
4049 (display-buffer--action-function-custom-type)
4050 (display-buffer-fallback-action):
4051 Add display-buffer-in-previous-window.
4052 (display-buffer-use-some-window): Resize window to height it had
4053 before.
4054 (fit-window-to-buffer-horizontally): New option.
4055 (fit-frame-to-buffer): Describe new values.
4056 (fit-frame-to-buffer-bottom-margin): Replace with
4057 fit-frame-to-buffer-margins.
4058 (window--sanitize-margin): New function.
4059 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4060 using window-text-pixel-size.
4061
4062 2013-11-30 Glenn Morris <rgm@gnu.org>
4063
4064 * emacs-lisp/bytecomp.el (byte-compile-form):
4065 Make the `interactive-only' warning like the `obsolete' one.
4066 * comint.el (comint-run):
4067 * files.el (insert-file-literally, insert-file):
4068 * replace.el (replace-string, replace-regexp):
4069 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4070 (goto-line, insert-buffer, next-line, previous-line):
4071 Tweak `interactive-only' spec.
4072
4073 Stop keeping (most) generated cedet grammar files in the repository.
4074 * Makefile.in (semantic): New.
4075 (compile-main): Depend on semantic.
4076
4077 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4080 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4081
4082 * uniquify.el (uniquify-buffer-name-style): Change default.
4083
4084 * loadup.el: Preload "uniquify".
4085
4086 * time.el (display-time-update): Update all mode lines (bug#15999).
4087
4088 * electric.el (electric-indent-mode): Enable by default.
4089 * loadup.el: Preload "electric".
4090
4091 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4092
4093 * emacs-lisp/helpers.el (string-empty-p): New function.
4094 (string-blank-p): New function.
4095
4096 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4097
4098 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4099 (Bug#14029).
4100
4101 2013-11-29 Andreas Politz <politza@fh-trier.de>
4102 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4103 allow non-lambda lists as functions.
4104 (imenu--in-alist): Don't recurse into non-subalists.
4105 (imenu): Don't pass function itself as an argument (Bug#14029).
4106
4107 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * progmodes/python.el (python-mode-map): Remove binding for ":".
4110 (python-indent-electric-colon): Remove command.
4111 (python-indent-post-self-insert-function): Integrate the previous code
4112 of python-indent-electric-colon. Make it conditional on
4113 electric-indent-mode.
4114 (python-mode): Add ?: to electric-indent-chars.
4115 Move python-indent-post-self-insert-function to the end of
4116 post-self-insert-hook.
4117
4118 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * doc-view.el (doc-view-goto-page): Update mode-line.
4121
4122 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4123
4124 2013-11-27 Glenn Morris <rgm@gnu.org>
4125
4126 * international/charprop.el, international/uni-bidi.el:
4127 * international/uni-category.el, international/uni-combining.el:
4128 * international/uni-comment.el, international/uni-decimal.el:
4129 * international/uni-decomposition.el, international/uni-digit.el:
4130 * international/uni-lowercase.el, international/uni-mirrored.el:
4131 * international/uni-name.el, international/uni-numeric.el:
4132 * international/uni-old-name.el, international/uni-titlecase.el:
4133 * international/uni-uppercase.el:
4134 Remove generated files from VCS repository.
4135
4136 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4137
4138 * filenotify.el (file-notify-add-watch): Don't special-case
4139 w32notify when computing the directory to watch.
4140
4141 2013-11-27 Glenn Morris <rgm@gnu.org>
4142
4143 Make bootstrap without generated uni-*.el files possible again.
4144 * loadup.el: Update command-line-args checking for unidata-gen.
4145 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4146 * composite.el, international/characters.el:
4147 Handle unicode tables being undefined.
4148
4149 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4150 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4151 (compile-main): Depend on leim rule.
4152 (leim): New rule.
4153 * loadup.el: Move leim-list.el to leim/ subdirectory.
4154 * startup.el (normal-top-level): No more leim directory.
4155 * international/ja-dic-cnv.el (skkdic-convert):
4156 Disable version-control and autoloads in output files.
4157 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4158 Disable version-control and autoloads in output files.
4159 * leim/quail: Move here from ../leim.
4160 * leim/quail/hangul.el (hangul-input-method-activate):
4161 Add autoload cookie.
4162 (generated-autoload-load-name): Set file-local value.
4163 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4164 (generated-autoload-load-name): Set file-local value.
4165
4166 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4167
4168 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4169 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4170 (eww-quit): Ask confirmation before quitting eww.
4171
4172 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4173
4174 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4175 reading output from Diff on MS-Windows and MS-DOS.
4176
4177 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4178
4179 * emacs-lisp/helpers.el (string-reverse): New function.
4180
4181 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4182
4183 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4184 names on MS Windows, like "/[::1]:".
4185
4186 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4187 SWITCHES.
4188
4189 2013-11-26 Glenn Morris <rgm@gnu.org>
4190
4191 * progmodes/python.el (python-indent-guess-indent-offset):
4192 Avoid corner-case error. (Bug#15975)
4193
4194 Preload leim-list.el. (Bug#4789)
4195 * loadup.el: Load leim-list.el when found.
4196 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4197
4198 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4199
4200 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4201
4202 * emacs-lisp/helpers.el (string-join): New function.
4203
4204 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4205
4206 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4207 Mark as obsolete and replace it with a symbol property.
4208 (byte-compile-form): Use new 'interactive-only property.
4209 * comint.el, files.el, replace.el, simple.el:
4210 Apply new 'interactive-only properly.
4211
4212 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4213
4214 * window.el (display-buffer-at-bottom): Make sure that
4215 split-window-sensibly creates the new window on bottom
4216 (Bug#15961).
4217
4218 2013-11-23 David Kastrup <dak@gnu.org>
4219
4220 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4221 on the conflict markers when available.
4222 (smerge--get-marker): New function.
4223 (smerge-end-re, smerge-base-re): Add subgroup.
4224
4225 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4226
4227 * frame.el (handle-focus-in, handle-focus-out): Add missing
4228 interactive spec.
4229
4230 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4231
4232 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4233 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4234
4235 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4238 (gomoku--last-pos): New var.
4239 (gomoku--intangible-chars): New const.
4240 (gomoku--intangible): New function.
4241 (gomoku-mode): Use it. Derive from special-mode.
4242 (gomoku-move-up): Adjust line count.
4243 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4244 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4245 Simplify accordingly.
4246
4247 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4248 Remove blink-cursor code.
4249 (blink-cursor-timer-function, blink-cursor-suspend):
4250 Don't special-case GUIs.
4251 (blink-cursor-mode): Use focus-in/out-hook.
4252
4253 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4254
4255 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4256 work when annotation is invisible (Bug#13886).
4257
4258 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4259
4260 * json.el (json-alist-p): Only return non-nil if the alist has
4261 simple keys (Bug#13518).
4262
4263 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4264
4265 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4266 when control-statement is the first statement in a buffer (Bug#15956).
4267
4268 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4269
4270 * imenu.el (imenu-generic-skip-comments-and-strings):
4271 New option (Bug#15560).
4272 (imenu--generic-function): Use it.
4273
4274 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4275
4276 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4277 (Bug#13898)
4278
4279 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4280
4281 * emacs-lisp/helpers.el: Add some string helpers.
4282 (string-trim-left): Removes leading whitespace.
4283 (string-trim-right): Removes trailing whitespace.
4284 (string-trim): Removes leading and trailing whitespace.
4285
4286 * subr.el (string-suffix-p): New function.
4287
4288 2013-11-23 Glenn Morris <rgm@gnu.org>
4289
4290 * progmodes/python.el (python-shell-send-file):
4291 Add option to delete file when done. (Bug#15647)
4292 (python-shell-send-string, python-shell-send-region): Use it.
4293
4294 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4295
4296 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4297 to set buffer-read-only to t, never to nil. (Bug#15938)
4298
4299 * textmodes/tex-mode.el (latex-noindent-environments):
4300 Add safe-local-variable property. (Bug#15936)
4301
4302 2013-11-23 Glenn Morris <rgm@gnu.org>
4303
4304 * textmodes/enriched.el (enriched-mode): Doc fix.
4305 * emacs-lisp/authors.el (authors-renamed-files-alist):
4306 Add enriched.doc -> enriched.txt.
4307
4308 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4309
4310 2013-11-22 Leo Liu <sdl.web@gmail.com>
4311
4312 * progmodes/octave.el (inferior-octave-startup): Spit out error
4313 message.
4314
4315 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4316
4317 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4318 Improve docstring.
4319 Add :version.
4320 (ruby-encoding-magic-comment-style): Add :version.
4321
4322 2013-11-22 Leo Liu <sdl.web@gmail.com>
4323
4324 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4325 (Bug#15076)
4326 (octave-help-mode): Adapt to change to help-mode-finish to use
4327 derived-mode-p on 2013-09-17.
4328 (inferior-octave-prompt): Also match octave-gui.
4329 (octave-kill-process): Don't ask twice. (Bug#10564)
4330
4331 2013-11-22 Leo Liu <sdl.web@gmail.com>
4332
4333 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4334 (inferior-octave-startup, inferior-octave-check-process)
4335 (inferior-octave-track-window-width-change)
4336 (octave-completion-at-point, octave-eldoc-function): Use it.
4337 (octave-kill-process): Provide confirmation. (Bug#10564)
4338
4339 2013-11-21 Leo Liu <sdl.web@gmail.com>
4340
4341 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4342 Fix obsolete variable comment-use-global-state.
4343
4344 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4345
4346 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4347 Add `octave-source-file'.
4348 (octave-source-file): New function. (Bug#15935)
4349
4350 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4351
4352 * net/eww.el (eww-local-regex): New variable.
4353 (eww): Use it to detect localhost and similar.
4354
4355 2013-11-21 Leo Liu <sdl.web@gmail.com>
4356
4357 Add completion for command `ag'.
4358 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4359 (pcomplete/ag): New function.
4360 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4361
4362 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4365 (bug#14646).
4366 (make-obsolete): Remove interactive spec.
4367
4368 2013-11-21 Glenn Morris <rgm@gnu.org>
4369
4370 * startup.el (command-line-1): Use path-separator with -L.
4371
4372 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4373
4374 * emacs-lisp/package.el (describe-package-1): Add package archive
4375 to shown fields.
4376
4377 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4378
4379 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4380 Change default to "# encoding: %s" to differentiate it from the
4381 default Ruby encoding comment template.
4382
4383 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4384
4385 * ses.el (ses-mode): Doc fix. (Bug#14748)
4386
4387 2013-11-20 Leo Liu <sdl.web@gmail.com>
4388
4389 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4390
4391 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4392
4393 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4394 when rebase or bisect are in progress.
4395
4396 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4397
4398 * filenotify.el (file-notify-add-watch): Doc fix.
4399
4400 2013-11-19 Leo Liu <sdl.web@gmail.com>
4401
4402 * obsolete/rcompile.el: Mark obsolete.
4403
4404 * progmodes/compile.el (compilation-start)
4405 (compilation-goto-locus, compilation-find-file):
4406 Pass no-display-ok and handle nil value from display-buffer.
4407 (Bug#13594)
4408
4409 * window.el (display-buffer-alist, display-buffer): Document the
4410 new parameter no-display-ok. Return either a window or nil
4411 but never a non-window value.
4412
4413 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4414
4415 * electric.el (electric-indent-mode-map): Remove.
4416 (electric-indent-mode): Change the global-map instead (bug#15915).
4417
4418 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4419 Use add-function.
4420
4421 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4422
4423 * emacs-lisp/nadvice.el (remove-function): Align with
4424 add-function's behavior.
4425
4426 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4427 (gdb--string-regexp): New constant.
4428 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4429 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4430 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4431 submatch 1.
4432 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4433 Adjust use accordingly.
4434 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4435
4436 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4437
4438 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4439 interpolation curlies (Bug#15914).
4440
4441 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4442
4443 * calc/calc.el (calc-context-sensitive-enter): New variable.
4444 (calc-enter): Use `calc-context-sensitive-enter'.
4445
4446 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4447
4448 * progmodes/cfengine.el: Version bump.
4449 (cfengine-cf-promises): New defcustom to locate cf-promises.
4450 (cfengine3-vartypes): Add new "data" type.
4451 (cfengine3--current-word): New function to get current name-like
4452 word or its bounds.
4453 (cfengine3--current-function): New function to look up a CFEngine
4454 function's definition.
4455 (cfengine3-format-function-docstring): New function.
4456 (cfengine3-make-syntax-cache): New function.
4457 (cfengine3-documentation-function): New function: ElDoc glue.
4458 (cfengine3-completion-function): New function: completion glue.
4459 (cfengine3-mode): Set `compile-command',
4460 `eldoc-documentation-function', and add to
4461 `completion-at-point-functions'.
4462
4463 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4464
4465 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4466 `tramp-current-connection'.
4467
4468 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4469
4470 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4471 nil/self/true/false with "end of symbol".
4472
4473 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4474
4475 * subr.el (version-regexp-alist): Fix a typo.
4476
4477 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4478
4479 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4480 "en_US.utf8" and "LC_CTYPE" to "".
4481 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4482 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4483
4484 2013-11-15 Leo Liu <sdl.web@gmail.com>
4485
4486 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4487
4488 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4489
4490 * progmodes/gud.el (ctl-x-map):
4491 Remove C-x SPC binding. (Bug#12342)
4492 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4493
4494 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4495
4496 * subr.el (version-regexp-alist):
4497 Recognize hg, svn and darcs versions as snapshot versions.
4498
4499 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4500 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4501 (ruby--encoding-comment-required-p): Extract from
4502 `ruby-mode-set-encoding'.
4503 (ruby-mode-set-encoding): Add the ability to always insert an
4504 utf-8 encoding comment. Fix and simplify coding comment update
4505 logic.
4506
4507 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4508
4509 * net/tramp-gvfs.el (top): Run init code only when
4510 `tramp-gvfs-enabled' is not nil.
4511 (tramp-gvfs-enabled): Check also :system bus.
4512
4513 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 Sync with upstream verilog-mode revision 78e66ba.
4516 * progmodes/verilog-mode.el (verilog-end-of-defun)
4517 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4518 (verilog-get-end-of-defun): Remove unused argument.
4519 (verilog-comment-depth): Remove unused local `e'.
4520 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4521 Don't pass arg to verilog-get-end-of-defun.
4522
4523 2013-11-14 Glenn Morris <rgm@gnu.org>
4524
4525 * obsolete/assoc.el (aget): Prefix dynamic variable.
4526
4527 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4528
4529 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * widget.el, hfy-cmap.el: Remove bogus package version number.
4532
4533 2013-11-13 Glenn Morris <rgm@gnu.org>
4534
4535 * replace.el (replace-eval-replacement):
4536 Try to give more helpful error message. (Bug#15836)
4537
4538 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4539 (archive-7z-update): Avoid custom type mismatches.
4540
4541 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4542
4543 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4544
4545 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4546 address can be empty.
4547
4548 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4549 Accept nil SWITCHES.
4550 (tramp-gvfs-handle-write-region): Implement APPEND.
4551
4552 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4553
4554 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4555 binary "|" operator and closing block args delimiter.
4556 Remove FIXME comment referring to Ruby 1.8-only syntax.
4557 (ruby-smie--implicit-semi-p): Not after "|" operator.
4558 (ruby-smie--closing-pipe-p): New function.
4559 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4560 (ruby-smie-rules): Indent after "|".
4561
4562 2013-11-12 Glenn Morris <rgm@gnu.org>
4563
4564 * ps-print.el (ps-face-attribute-list):
4565 Handle anonymous faces. (Bug#15827)
4566
4567 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4568
4569 * window.el (display-buffer-other-frame): Fix doc-string.
4570 (Bug#15868)
4571
4572 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4573
4574 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4575
4576 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4577
4578 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4579 (tramp-sh-handle-file-local-copy): Don't write a message when
4580 saving temporary files.
4581
4582 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4583 both directories are remote.
4584 (tramp-smb-handle-directory-files): Do not return double entries.
4585 Do not expand full file names.
4586 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4587 (tramp-smb-handle-write-region): Implement APPEND.
4588 (tramp-smb-get-stat-capability): Fix a stupid bug.
4589
4590 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4593
4594 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4595
4596 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4597 throwing error over malformed let/let* (bug#15814).
4598
4599 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4600
4601 * iswitchb.el (iswitchb-mode): Mark obsolete.
4602
4603 2013-11-11 Glenn Morris <rgm@gnu.org>
4604
4605 * international/uni-bidi.el, international/uni-category.el:
4606 * international/uni-name.el, international/uni-numeric.el:
4607 Regenerate for Unicode 6.3.0.
4608
4609 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4610
4611 * net/tramp.el (tramp-methods):
4612 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4613 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4614
4615 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4616
4617 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4618 Force highlighting text after Summary keyword in doc face for rpm.
4619
4620 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4621
4622 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4623 available and the word has no wildcards, append one to the grep pattern.
4624 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4625 (ispell-complete-word): Call `ispell-lookup-words' with the value
4626 independent of `ispell-look-p'.
4627
4628 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4629
4630 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4631 Not after "||".
4632 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4633 their parent.
4634
4635 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4636
4637 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4638 (ruby-font-lock-keywords): Use backquote.
4639
4640 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4641
4642 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4643 (ruby-smie--backward-token): Only consider full-string matches.
4644
4645 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4646
4647 * faces.el (describe-face): Add distant-foreground.
4648
4649 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4650
4651 * progmodes/ruby-mode.el: Improve encoding comment handling.
4652 (ruby-encoding-magic-comment-style): New option.
4653 (ruby-custom-encoding-magic-comment-template): New option.
4654 (ruby--insert-coding-comment, ruby--detect-encoding):
4655 New functions extracted from `ruby-mode-set-encoding'.
4656 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4657 to control the style of the auto-inserted encoding comment.
4658
4659 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4660
4661 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4662 Use `smie-backward-sexp' with token argument.
4663
4664 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4665
4666 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4667 Remove instrumentation code.
4668
4669 2013-11-08 Glenn Morris <rgm@gnu.org>
4670
4671 * progmodes/autoconf.el (autoconf-mode):
4672 Tweak comment-start-skip. (Bug#15822)
4673
4674 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4677 at bobp (bug#15826).
4678 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4679
4680 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4681
4682 * man.el (Man-start-calling): New macro, extracted from
4683 Man-getpage-in-background.
4684 (Man-getpage-in-background): Use it.
4685 (Man-update-manpage): New command.
4686 (Man-mode-map): Bind it.
4687
4688 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4689
4690 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4691 of "and", "or", "&&" and "||".
4692 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4693 argument. Prohibit opening curly brace because it could only be a
4694 block opener in that position.
4695 (ruby-smie--forward-token, ruby-smie--backward-token):
4696 Separate "|" from "&" or "*" going after it. That can happen in block
4697 arguments.
4698 (ruby-smie--indent-to-stmt): New function, seeks the end of
4699 previous statement or beginning of buffer.
4700 (ruby-smie-rules): Use it.
4701 (ruby-smie-rules): Check if there's a ":" before a curly block
4702 opener candidate; if there is, it's a hash.
4703
4704 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4707 (cl--block-wrapper): Fix last accidental change.
4708
4709 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4710
4711 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4712 Instrument, in order to hunt failure on hydra.
4713
4714 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4715
4716 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4717 malformed bindings form (bug#15814).
4718
4719 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4720
4721 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4722 "." compared to " @ ". This incidentally fixes some indentation
4723 examples with "do".
4724 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4725 (ruby-smie-grammar): New tokens: "and" and "or".
4726 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4727 Exclude "and" and "or". Remove "do" in order to work around token
4728 priorities.
4729 (ruby-smie-rules): Add all infix tokens. Handle the case of
4730 beginning-of-buffer.
4731
4732 2013-11-06 Glenn Morris <rgm@gnu.org>
4733
4734 * Makefile.in (setwins_almost, setwins_for_subdirs):
4735 Avoid accidental matches.
4736
4737 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * menu-bar.el (popup-menu): Use key-binding.
4740
4741 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4742
4743 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4744 menus, support also the menus produced by minor modes.
4745 (Bug#15817)
4746
4747 2013-11-06 Leo Liu <sdl.web@gmail.com>
4748
4749 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4750 DISTANCE to bound the search. All uses changed. (Bug#15808)
4751
4752 2013-11-06 Glenn Morris <rgm@gnu.org>
4753
4754 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4755 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4756 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4757
4758 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * electric.el (electric-indent-just-newline): New command.
4761 (electric-indent-mode-map): New keymap.
4762 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4763 Re-add :group which weren't redundant.
4764
4765 * electric.el (electric-indent-local-mode): New minor mode.
4766 (electric-indent-functions-without-reindent): New var.
4767 (electric-indent-post-self-insert-function): Use it.
4768 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4769
4770 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4771
4772 * international/quail.el (quail-help): Be more explicit about the
4773 meaning of the labels shown on the keys. (Bug#15800)
4774
4775 * startup.el (normal-top-level): Load the subdirs.el files before
4776 setting the locale environment. (Bug#15805)
4777
4778 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4779
4780 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4781 via arguments so as to get the right ones (bug#15418).
4782
4783 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4784
4785 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4786
4787 Fix problems found while writing a test suite.
4788
4789 * net/tramp-compat.el (tramp-compat-load): New defun.
4790 * net/tramp.el (tramp-handle-load): Use it.
4791
4792 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4793 "(numberp ok-if-already-exists)" correctly.
4794
4795 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4796
4797 * international/characters.el (glyphless-char-display-control):
4798 Add usage note.
4799
4800 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4801
4802 * progmodes/python.el (python-mode):
4803 * progmodes/scheme.el (scheme-mode):
4804 * progmodes/prolog.el (prolog-mode):
4805 * progmodes/ruby-mode.el (ruby-mode):
4806 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4807 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4808
4809 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * rect.el (rectangle--highlight-for-redisplay):
4812 * emacs-lisp/smie.el (smie--next-indent-change):
4813 Use buffer-chars-modified-tick.
4814
4815 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4816
4817 * electric.el (electric-indent-post-self-insert-function):
4818 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4819
4820 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4821
4822 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4823
4824 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4825
4826 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4827 (bug#15786).
4828
4829 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4832
4833 * progmodes/python.el: Fix up last change.
4834 (python-shell--save-temp-file): New function.
4835 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4836 `string' comes from the current buffer.
4837 (python-shell-send-string-no-output): Remove `msg' arg.
4838 (python--use-fake-loc): New var.
4839 (python-shell-buffer-substring): Obey it. Try to compensate for the
4840 extra coding line added by python-shell--save-temp-file.
4841 (python-shell-send-region): Use python-shell--save-temp-file and
4842 python-shell-send-file directly. Add `nomain' argument.
4843 (python-shell-send-buffer): Use python-shell-send-region.
4844 (python-electric-pair-string-delimiter): New function.
4845 (python-mode): Use it.
4846
4847 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4848
4849 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4850 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4851 environment and decoding all of the default-directory's to here
4852 from command-line.
4853 (command-line): Decode also argv[0].
4854
4855 * loadup.el: Error out if default-directory is a multibyte string
4856 when we are dumping.
4857
4858 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4859
4860 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4861
4862 * emacs-lisp/package.el (package-menu-mode)
4863 (package-menu--print-info, package-menu--archive-predicate):
4864 Add Archive column to package list.
4865
4866 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4867
4868 Fix problems found while writing a test suite.
4869
4870 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4871 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4872 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4873 to nil when running original file name handler. Otherwise,
4874 there are problems with constructs like "$$FOO".
4875
4876 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4877 for `localname'.
4878
4879 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4880
4881 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4882
4883 * subr.el (version<, version<=, version=):
4884 Update docstrings with information for snapshot versions.
4885
4886 * helpers.el: New library for misc helper functions.
4887 (hash-table-keys): New function returning a list of hash keys.
4888 (hash-table-values): New function returning a list of hash values.
4889
4890 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4891
4892 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4893 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4894
4895 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4896
4897 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4898 checking whether point is after a 1-letter word.
4899
4900 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4901
4902 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4903 Don't infloop when expanding region over `multiline' syntax-type that
4904 begins a line (bug#15778).
4905
4906 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4909 Make it into a proper minor mode.
4910 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4911 (rectangle-mark-mode-map): New keymap.
4912 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4913
4914 2013-11-04 Glenn Morris <rgm@gnu.org>
4915
4916 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4917
4918 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4921 (ruby-smie-rules): Use smie-rule-parent instead.
4922
4923 * emacs-lisp/smie.el (smie-rule-parent): Always call
4924 smie-indent-virtual rather than only for hanging tokens.
4925 (smie--next-indent-change): New helper command.
4926
4927 2013-11-03 Glenn Morris <rgm@gnu.org>
4928
4929 * Makefile.in (abs_srcdir): Remove.
4930 (emacs): Unset EMACSLOADPATH.
4931
4932 2013-11-02 Glenn Morris <rgm@gnu.org>
4933
4934 * Makefile.in (EMACS): Use a relative filename.
4935 (abs_top_builddir): Remove.
4936 (custom-deps, finder-data, autoloads): Use --chdir.
4937
4938 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4939
4940 Use relative filenames in TAGS files.
4941 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4942 (lisptagsfiles4, TAGS): Use relative file names.
4943 (TAGS-LISP): Remove.
4944 (maintainer-clean): No more TAGS-LISP file.
4945
4946 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4947 (lisptagsfiles4): Use absolute filenames again.
4948 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4949 Remove all *loaddefs files, not just the first. Remove esh-groups.
4950 (maintainer-clean): Delete TAGS, TAGS-LISP.
4951
4952 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4953
4954 * emacs-lisp/package.el (package-version-join):
4955 Recognize snapshot versions.
4956
4957 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4958
4959 * subr.el (version-regexp-alist): Add support for snapshot versions.
4960
4961 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4962
4963 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4964 New function, replacement for `smie-rule-parent' for when we want to
4965 skip over our direct parent if it's an assignment token..
4966 (ruby-smie-rules): Use it.
4967
4968 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4969
4970 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4971 unconditionally. Remove now unnecessary forward declarations.
4972 Remove XEmacs-specific setup.
4973 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4974 (ruby-font-lock-syntactic-keywords)
4975 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4976 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4977 (ruby-here-doc-end-syntax): Remove.
4978 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4979 defined as function.
4980
4981 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4982
4983 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4984
4985 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4986
4987 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4988 table and abbrev table, `define-derived-mode' does that for us
4989 anyway.
4990
4991 2013-11-01 Glenn Morris <rgm@gnu.org>
4992
4993 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4994 files is atomic for some time, so no parallel compilation issues).
4995
4996 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4997
4998 * faces.el (face-x-resources): Add :distant-foreground.
4999 (region): Use :distant-foreground for gtk and ns.
5000
5001 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5002
5003 Allow multiple bibliographies when BibLaTeX is used rather than
5004 BibTeX.
5005 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5006 (reftex-locate-bibliography-files): Us it.
5007
5008 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5009
5010 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5011 allow comments in pbm files.
5012
5013 * term/w32-win.el (dynamic-library-alist): Support newer versions
5014 of libjpeg starting with v7: look only for the DLL from the
5015 version against which Emacs was built.
5016 Support versions of libpng beyond 1.4.x.
5017 Support libtiff v4.x.
5018
5019 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5020
5021 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5022 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5023 Add property :safe.
5024 (ruby-deep-arglist): Add property :type.
5025
5026 2013-10-31 Glenn Morris <rgm@gnu.org>
5027
5028 * Makefile.in (custom-deps, finder-data): No need to setq the target
5029 variables, we are in the right directory and the defaults work fine.
5030
5031 2013-10-30 Glenn Morris <rgm@gnu.org>
5032
5033 * Makefile.in (autoloads): Do not use abs_lisp.
5034
5035 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5036 `newline' does not respect `standard-output', so use `princ'.
5037
5038 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5039
5040 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5041 * buff-menu.el (Buffer-menu--unmark): New function.
5042 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5043
5044 2013-10-30 Glenn Morris <rgm@gnu.org>
5045
5046 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5047
5048 * emacs-lisp/package.el (lm-homepage): Declare.
5049
5050 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5051 Fix doc typos.
5052
5053 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5054
5055 * Makefile.in (finder-data, autoloads, update-subdirs)
5056 (compile-main, compile-clean, compile-always, bootstrap-clean):
5057 Check return value of cd.
5058 (compile-calc): Remove.
5059
5060 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5061
5062 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5063
5064 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5065 (byte-compile-and-folded): New function.
5066 (=, <, >, <=, >=): Use it.
5067
5068 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5069 (path-separator, null-device, buffer-file-coding-system)
5070 (lpr-headers-switches): Check system-type before modifying them.
5071 (find-buffer-file-type-coding-system): Mark obsolete.
5072 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5073 find-file-not-found-set-buffer-file-coding-system.
5074 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5075 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5076 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5077 (w32-direct-print-region-helper, w32-direct-print-region-function)
5078 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5079 * startup.el (normal-top-level-add-subdirs-to-load-path):
5080 * ps-print.el (ps-print-region-function):
5081 * lpr.el (print-region-function): Use new name.
5082
5083 * subr.el (custom-declare-variable-early): Remove function.
5084 (custom-declare-variable-list): Remove var.
5085 (error, user-error): Remove `while' loop.
5086 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5087 (user-emacs-directory-warning, locate-user-emacs-file):
5088 Move to files.el.
5089 * simple.el (read-quoted-char-radix, read-quoted-char):
5090 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5091 Move from subr.el.
5092 * custom.el (custom-declare-variable-list): Don't process
5093 custom-declare-variable-list.
5094
5095 * progmodes/python.el (python-shell-get-buffer): New function.
5096 (python-shell-get-process): Use it.
5097 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5098 Python which encoding was used. Don't split-string since we only care
5099 about the first line. Return the temp-file, if applicable.
5100 (python-shell-send-region): Tell compile.el how to turn locations in
5101 the temp-file into locations in the source buffer.
5102
5103 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5104
5105 * subr.el (undefined): Add missing behavior from the C code for
5106 unbound keys.
5107
5108 * rect.el: Use lexical-binding. Add new rectangular region support.
5109 (rectangle-mark): New command.
5110 (rectangle--region): New var.
5111 (deactivate-mark-hook): Reset rectangle--region.
5112 (rectangle--extract-region, rectangle--insert-for-yank)
5113 (rectangle--highlight-for-redisplay)
5114 (rectangle--unhighlight-for-redisplay): New functions.
5115 (region-extract-function, redisplay-unhighlight-region-function)
5116 (redisplay-highlight-region-function): Use them to handle
5117 rectangular region.
5118 * simple.el (region-extract-function): New var.
5119 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5120 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5121 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5122 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5123 (redisplay-unhighlight-region-function)
5124 (redisplay-highlight-region-function): New vars.
5125 (redisplay--update-region-highlight): New function.
5126 (pre-redisplay-function): Use it.
5127 (exchange-point-and-mark): Don't deactivate the mark before
5128 reactivate-it anyway.
5129 * comint.el (comint-kill-region): Remove yank-handler argument.
5130 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5131 (delete-char): Remove property, since it's now part of their
5132 default behavior.
5133 (self-insert-iso): Remove property since this command doesn't exist.
5134
5135 * emacs-lisp/package.el (package--download-one-archive)
5136 (describe-package-1): Don't query the user about final newline.
5137
5138 2013-10-29 Daniel Colascione <dancol@dancol.org>
5139
5140 * net/tramp.el (tramp-methods): Document new functionality.
5141 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5142 tramp-hostname-checker if method provides one instead of scanning
5143 argument list for "%h" to decide hostname acceptability.
5144
5145 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5146
5147 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5148 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5149 Handle COPY-CONTENTS. (Bug#15737)
5150
5151 2013-10-28 Daiki Ueno <ueno@gnu.org>
5152
5153 * epa-file.el
5154 (epa-file-cache-passphrase-for-symmetric-encryption):
5155 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5156
5157 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5158
5159 * image.el (defimage, image-load-path): Doc fixes.
5160
5161 2013-10-27 Alan Mackenzie <acm@muc.de>
5162
5163 Indent statements in macros following "##" correctly.
5164 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5165 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5166
5167 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5168
5169 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5170
5171 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5172
5173 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5174 after `=' is probably a new expression.
5175
5176 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5177
5178 * man.el (man-imenu-title): New option.
5179 (Man-mode-map): Add menu. (Bug#15722)
5180 (Man-mode): Add imenu to menu.
5181
5182 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5183
5184 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5185 specific in what the first arg can be: a non-keyword word,
5186 string/regexp/percent literal opener, opening paren, or unary
5187 operator followed directly by word.
5188
5189 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5192 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5193 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5194 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5195 Remove vars, they do not apply any more.
5196 (prolog-mode-abbrev-table): Remove redundant declaration.
5197 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5198 (prolog-use-smie): Remove.
5199 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5200 supported by prolog-electric-if-then-else-flag.
5201 (prolog-mode-variables, prolog-menu): Use setq-local.
5202 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5203 Remove binding to `Backspace' since this key doesn't exist anyway.
5204 Remove bindings for electric self-inserting keys.
5205 (prog-mode): Assume it's defined.
5206 (prolog-post-self-insert): New function.
5207 (prolog-mode): Use it.
5208 (prolog-indent-line, prolog-indent-level)
5209 (prolog-find-indent-of-matching-paren)
5210 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5211 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5212 (prolog-goto-next-paren, prolog-in-string-or-comment)
5213 (prolog-tokenize, prolog-inside-mline-comment)
5214 (prolog-find-start-of-mline-comment): Remove functions.
5215 (prolog-find-unmatched-paren, prolog-clause-end)
5216 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5217 (prolog-electric--if-then-else): Rename from
5218 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5219 (prolog-tokenize-searchkey): Remove const.
5220 (prolog-clause-info): Use forward-sexp.
5221 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5222 (prolog-electric-if-then-else): Remove commands.
5223 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5224 for use in post-self-insert-hook.
5225 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5226 for use in post-self-insert-hook.
5227 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5228 for use in post-self-insert-hook.
5229 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5230 adapt it for use in post-self-insert-hook.
5231
5232 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5233
5234 * emacs-lisp/ert.el (ert-run-tests-interactively):
5235 Use `completing-read'. (Bug#9756)
5236
5237 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5238
5239 * simple.el (line-move): Call line-move-1 instead of
5240 line-move-visual when the current window hscroll is zero, but
5241 temporary-goal-column indicates we will need to hscroll as result
5242 of the movement. (Bug#15712)
5243
5244 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5245
5246 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5247 capitalization. Use :visible instead of :active.
5248 Fix `ruby-indent-exp' reference. Add menu items for the generic
5249 commands that are used with SMIE.
5250 (ruby-do-end-to-brace): Insert space after `{'.
5251
5252 2013-10-25 John Anthony <john@jo.hnanthony.com>
5253
5254 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5255
5256 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5257
5258 2013-10-25 Glenn Morris <rgm@gnu.org>
5259
5260 * vc/vc.el (vc-print-log): Don't use a working revision unless
5261 one was explicitly specified. (Bug#15322)
5262
5263 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5264
5265 * subr.el (add-to-list): Preserve return value in compiler-macro
5266 (bug#15692).
5267
5268 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5269
5270 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5271 result. Ask user to retry using '-all' flag. (Bug#15701)
5272
5273 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * emacs-lisp/smie.el: New smie-config system.
5276 (smie-config): New defcustom.
5277 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5278 (smie-config-guess, smie-config-save): New commands.
5279 (smie-config--mode-local, smie-config--buffer-local)
5280 (smie-config--trace, smie-config--modefuns): New vars.
5281 (smie-config--advice, smie-config--mode-hook)
5282 (smie-config--setter, smie-config-local, smie-config--get-trace)
5283 (smie-config--guess-value, smie-config--guess): New functions.
5284 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5285 text properties. Treat "string fence" syntax like string syntax.
5286
5287 * progmodes/sh-script.el (sh-use-smie): Change default.
5288 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5289 (sh-var-value): Simplify by CSE.
5290 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5291 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5292 is used.
5293 (sh-guess-basic-offset): Use cl-incf.
5294 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5295
5296 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5297
5298 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5299 (bug#15699).
5300
5301 2013-10-24 Glenn Morris <rgm@gnu.org>
5302
5303 * Makefile.in (abs_top_srcdir): Remove.
5304 (update-subdirs): Use relative path to update-subdirs.
5305
5306 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5307
5308 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5309 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5310 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5311 Call unmsys--file-name before expand-file-name, not after it.
5312
5313 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5314
5315 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5316 (ert-test-skipped): New error.
5317 (ert-skip, ert-stats-skipped): New defuns.
5318 (ert--skip-unless): New macro.
5319 (ert-test-skipped): New struct.
5320 (ert--run-test-debugger, ert-test-result-type-p)
5321 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5322 (ert--stats-set-test-and-result, ert-char-for-test-result)
5323 (ert-string-for-test-result, ert-run-tests-batch)
5324 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5325 Handle skipped tests. (Bug#9803)
5326
5327 2013-10-24 Glenn Morris <rgm@gnu.org>
5328
5329 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5330
5331 * Makefile.in (abs_top_srcdir): New, set by configure.
5332 (update-subdirs): Correct build-aux location.
5333
5334 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5335
5336 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5337 value, whether we could auto-deduce `backend', or not.
5338
5339 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5340 with parameters" example. Simplify the "is it block or is it
5341 hash" check, but also make it more thorough.
5342
5343 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5344
5345 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5346
5347 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5350 { if it is hanging.
5351
5352 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5353 :before ";".
5354
5355 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5356
5357 * progmodes/compile.el (compilation-directory-matcher)
5358 (compilation-page-delimiter):
5359 Support GNU Make-4.0 directory quoting. (Bug#15678)
5360
5361 2013-10-23 Leo Liu <sdl.web@gmail.com>
5362
5363 * ido.el (ido-tidy): Handle read-only text.
5364
5365 2013-10-23 Glenn Morris <rgm@gnu.org>
5366
5367 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5368 (emacs, compile, compile-always):
5369 Quote entities that might contain whitespace.
5370 (custom-deps, finder-data, autoloads): Use abs_lisp.
5371 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5372 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5373 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5374
5375 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5376
5377 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5378 Use `following-char'.
5379
5380 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5383 * progmodes/ruby-mode.el (ruby-smie-rules):
5384 Remove corresponding workaround. Fix indentation rule of ";" so it
5385 also applies when ";" is the parent.
5386
5387 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5388
5389 * frame.el (display-screens, display-pixel-height)
5390 (display-pixel-width, display-mm-width, display-backing-store)
5391 (display-save-under, display-planes, display-color-cells)
5392 (display-visual-class, display-monitor-attributes-list):
5393 Mention the optional ‘display’ argument in doc strings.
5394
5395 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5396
5397 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5398 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5399
5400 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5401
5402 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5403 TODO. Add "." after " @ ".
5404 (ruby-smie--at-dot-call): New function. Checks if point at method
5405 call with explicit target.
5406 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5407 to the method name tokens when it precedes them.
5408 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5409 (ruby-smie-rules): Add rule for indentation before and after "."
5410 token.
5411
5412 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 * textmodes/remember.el (remember-diary-extract-entries):
5415 Avoid add-to-list.
5416
5417 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5418 an instruction.
5419
5420 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5421
5422 * progmodes/ruby-mode.el (ruby-smie-grammar):
5423 Add (almost) all infix operators.
5424 (ruby-smie--implicit-semi-p): Add new operator chars.
5425
5426 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5427 `smie-down-list'.
5428 (ruby-smie--args-separator-p): Check that there's no newline
5429 between method call and its arguments.
5430
5431 2013-10-20 Alan Mackenzie <acm@muc.de>
5432
5433 Allow comma separated lists after Java "implements".
5434
5435 * progmodes/cc-engine.el (c-backward-over-enum-header):
5436 Parse commas.
5437 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5438 from a "disallowed" list in enum fontification.
5439
5440 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5441
5442 * startup.el (default-frame-background-mode): Remove unused defvar.
5443
5444 * progmodes/verilog-mode.el (verilog-mode): Don't set
5445 comment-indent-function globally.
5446
5447 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5448
5449 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5450 Move Info menu item creation to ns-win.el.
5451
5452 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5453 in menu bar.
5454
5455 * menu-bar.el: Move GNUstep specific menus...
5456
5457 * term/ns-win.el (ns-initialize-window-system): ... to here.
5458
5459 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * simple.el (newline): Only run post-self-insert-hook when
5462 called interactively.
5463
5464 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5465
5466 * icomplete.el (icomplete-with-completion-tables): Add :version.
5467
5468 2013-10-19 Alan Mackenzie <acm@muc.de>
5469
5470 Fix fontification bugs with constructors and const.
5471
5472 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5473 CASE 2) Remove the check for the absence of a suffix construct
5474 after a function declaration with only types (no identifiers) in
5475 the parentheses. Also, accept a function declaration with just a
5476 type inside the parentheses, if this type can be positively
5477 recognised as such, or if a prefix keyword like "explicit" nails
5478 down the construct as a declaration.
5479
5480 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5481
5482 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5483 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5484 the problem whereby selecting a menu item that leads to a
5485 minibuffer prompt moves the cursor out of the minibuffer window,
5486 making it hard to type at the prompt. Suggested by Stefan Monnier
5487 <monnier@iro.umontreal.ca>.
5488
5489 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5490
5491 * menu-bar.el: Don't make Services menu.
5492
5493 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5494
5495 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5496 (ffap-alist): Use ffap-c++-mode for c++-mode.
5497 (ffap-c++-path): New variable.
5498 (ffap-c++-mode): New function.
5499
5500 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5501
5502 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5503
5504 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5505
5506 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5507 introduced on 2013-09-08, which results in an infinite loop
5508 requesting a password.
5509
5510 2013-10-18 Glenn Morris <rgm@gnu.org>
5511
5512 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5513
5514 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5515
5516 Sync with upstream verilog-mode revision 1a6ecec7.
5517 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5518 (verilog-mode-release-date): Remove.
5519 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5520 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5521 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5522 (verilog-auto-tieoff-ignore-regexp)
5523 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5524 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5525 (verilog-signals-with, verilog-dir-cache-preserving)
5526 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5527 Doc fixes.
5528 (verilog-case-fold): New option, to control case folding in
5529 regexp searches, bug597.
5530 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5531 (verilog-string-match-fold, verilog-in-paren-count)
5532 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5533 (verilog-at-close-struct-p): New functions.
5534 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5535 (verilog-forward-sexp, verilog-set-auto-endcomments)
5536 (verilog-leap-to-case-head): Handle "unique0" case.
5537 (verilog-in-constraint-re): New constant.
5538 (verilog-keywords, verilog-type-font-keywords):
5539 Add some SystemVerilog 1800-2012 keywords.
5540 (verilog-label-be): Remove unimplemented argument, bug669.
5541 (verilog-batch-execute-func): When batch expanding clear
5542 create-lockfiles to prevent spurious user locks when a file ends
5543 up not changing.
5544 (verilog-calculate-indent, verilog-calc-1)
5545 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5546 (verilog-do-indent): Fix indentation of nested constraints
5547 and structures.
5548 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5549 (verilog-auto-inst-param): Use verilog-string-match-fold.
5550 (verilog-read-inst-module-matcher):
5551 Fix AUTOINST on gate primitives with #1.
5552 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5553 Reads all user-defined typed variables.
5554 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5555 (verilog-signals-matching-regexp)
5556 (verilog-signals-not-matching-regexp, verilog-auto):
5557 Respect verilog-case-fold.
5558 (verilog-diff-report): Fix line count.
5559 (verilog-auto-assign-modport): Remove unused local `modi'.
5560 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5561 better handle multidimensional arrays.
5562 Fix packed array ports misadding bit index in AUTOINST, bug637.
5563 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5564 to not double-declare existing outputs and inputs, respectively.
5565 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5566 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5567 (verilog-sk-uvm-component): New skeleton.
5568 (verilog-submit-bug-report): Add verilog-case-fold,
5569 remove verilog-mode-release-date.
5570
5571 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5572
5573 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5574 as before.
5575
5576 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5577
5578 * textmodes/remember.el (remember): Set buffer-offer-save in
5579 remember buffers (bug#13566).
5580
5581 2013-10-18 Daniel Colascione <dancol@dancol.org>
5582
5583 When evaluating forms in ielm, direct standard output to ielm
5584 buffer. Add new ielm-return-for-effect command. Remove trailing
5585 whitespace throughout.
5586
5587 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5588 (ielm-return-for-effect): New command.
5589 (ielm-send-input): Accept optional `for-effect' parameter.
5590 (ielm-eval-input): Accept optional `for-effect' parameter.
5591 Bind `standard-output' to stream we create using
5592 `ielm-standard-output-impl'. Suppress printing result when
5593 `for-effect'.
5594 (ielm-standard-output-impl): New function.
5595 (inferior-emacs-lisp-mode): Explain new features in documentation.
5596
5597 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5598
5599 Code cleanup.
5600
5601 * net/tramp.el (tramp-debug-message): Do not check for connection
5602 buffer.
5603 (tramp-message): Use "vector" connection property.
5604
5605 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5606 (tramp-equal-remote, tramp-eshell-directory-change)
5607 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5608 (tramp-adb-handle-rename-file)
5609 * net/tramp-cmds.el (tramp-list-remote-buffers)
5610 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5611 * net/tramp-compat.el (tramp-compat-process-running-p)
5612 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5613 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5614 (tramp-gvfs-handle-rename-file)
5615 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5616 (tramp-set-file-uid-gid)
5617 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5618 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5619 of `file-remote-p'.
5620
5621 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5622 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5623 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5624 (tramp-gw-open-network-stream): Suppress unrelated traces.
5625
5626 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5627 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5628 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5629 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5630 connection property.
5631
5632 * net/tramp-cache.el (top): Suppress traces when reading
5633 persistency file.
5634
5635 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5636 Refactor common code. Improve debug message.
5637 (tramp-maybe-open-connection)
5638 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5639 connection buffer too early.
5640
5641 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5642 from `tramp-smb-actions-with-acl'.
5643 (tramp-smb-actions-set-acl): New defconst.
5644 (tramp-smb-handle-copy-directory)
5645 (tramp-smb-action-get-acl): New defun, renamed from
5646 `tramp-smb-action-with-acl'.
5647 (tramp-smb-action-set-acl): New defun.
5648 (tramp-smb-handle-set-file-acl): Rewrite.
5649
5650 2013-10-17 Glenn Morris <rgm@gnu.org>
5651
5652 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5653
5654 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * skeleton.el (skeleton-newline): Remove.
5657 (skeleton-internal-1): Use (insert "\n") instead.
5658
5659 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5660 let-bindings.
5661
5662 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5663 forward-sexp-function while we redo its job (bug#15613).
5664
5665 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5666
5667 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5668 represented by lists.
5669
5670 2013-10-16 Glenn Morris <rgm@gnu.org>
5671
5672 * tmm.el (tmm--history): New dynamic variable.
5673 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5674
5675 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5676
5677 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5678 (tramp-smb-errors): Add error messages.
5679 (tramp-smb-actions-with-acl): New defconst.
5680 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5681 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5682 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5683 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5684 (tramp-smb-get-stat-capability): Fix tests.
5685
5686 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5687
5688 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5689 (bug#15580).
5690
5691 2013-10-16 Glenn Morris <rgm@gnu.org>
5692
5693 * ansi-color.el (ansi-color-drop-regexp):
5694 Add 1J, 1K, 2K. (Bug#15617)
5695
5696 * files.el (hack-local-variables--warned-lexical): New.
5697 (hack-local-variables):
5698 Warn about misplaced lexical-binding. (Bug#15616)
5699
5700 * net/eww.el (eww-render): Always set eww-current-url,
5701 and update header line. (Bug#15622)
5702 (eww-display-html): ... Rather than just doing it here.
5703
5704 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5705
5706 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5707 menu navigations commands.
5708
5709 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5710
5711 * progmodes/subword.el (subword-capitalize): Be careful when
5712 the search for [[:alpha:]] fails (bug#15580).
5713
5714 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5715
5716 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5717 to commands that scroll the menu.
5718
5719 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5720
5721 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5722 Handle methods ending with `?' and `!'.
5723
5724 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5725
5726 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5727 `japanese-cp932' to `cp932' to fix the problem where saving a
5728 source file written in Shift_JIS twice would end up having
5729 `coding: japanese-cp932' which Ruby could not recognize.
5730 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5731 in `ruby-encoding-map'.
5732 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5733 doesn't need to be explicitly declared in magic comment.
5734 (ruby-encoding-map): Add type declaration for better customize UI.
5735
5736 2013-10-13 Glenn Morris <rgm@gnu.org>
5737
5738 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5739 Occur buffers are read-only. http://bugs.debian.org/720775
5740
5741 * emacs-lisp/authors.el (authors-fixed-entries):
5742 Comment out old alpha stuff.
5743
5744 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5745
5746 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5747 to `after-save-hook' instead of `before-save-hook'.
5748 (ruby-mode-set-encoding): Use the value of coding system used to
5749 write the file. Call `basic-save-buffer-1' after modifying the
5750 buffer.
5751
5752 2013-10-13 Alan Mackenzie <acm@muc.de>
5753
5754 Fix indentation/fontification of Java enum with
5755 "implements"/generic.
5756
5757 * progmodes/cc-engine.el (c-backward-over-enum-header):
5758 Extracted from the three other places and enhanced to handle generics.
5759 (c-inside-bracelist-p): Uses new function above.
5760 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5761 function above.
5762 (c-font-lock-enum-tail): Uses new function above.
5763
5764 2013-10-13 Kenichi Handa <handa@gnu.org>
5765
5766 * international/mule-cmds.el (select-safe-coding-system): Remove a
5767 superfluous condition in chekcing whether a coding system is safe
5768 or not.
5769
5770 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5771
5772 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5773
5774 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5775
5776 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5777
5778 2013-10-13 Glenn Morris <rgm@gnu.org>
5779
5780 * menu-bar.el (menu-bar-update-buffers):
5781 Unify Buffers menu prompt string. (Bug#15576)
5782
5783 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5784
5785 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5786 Add some entries.
5787 (authors-fixed-entries): Use accented form of name.
5788
5789 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5792 method calls (bug#15594).
5793 (ruby-smie--args-separator-p): New function.
5794 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5795 recognize paren-free method calls.
5796
5797 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5798 internals of universal-argument.
5799
5800 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5801
5802 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5803 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5804 dropped menu on second mouse click on the menu bar.
5805
5806 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5809 (explicit-shell-file-name): Declare.
5810 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5811 (sh-completion-at-point-function): New function.
5812 (sh-mode): Use it.
5813 (sh-smie--keyword-p): Remove unused argument.
5814 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5815 vars.
5816 (sh-set-shell): Always setup SMIE, even if we use the
5817 old indentation code.
5818
5819 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5820
5821 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5822 cases of ? and =.
5823 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5824 predicate would return nil are almost non-existent.
5825 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5826
5827 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5828 cache also after commands that modify the buffer but don't move
5829 point.
5830
5831 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * env.el (substitute-env-in-file-name): New function.
5834 (substitute-env-vars): Extend the meaning of the optional arg.
5835
5836 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5837
5838 * term/w32-win.el (dynamic-library-alist): Define separate lists
5839 of GIF DLLs for versions before and after 5.0.0 of giflib.
5840 (Bug#15531)
5841
5842 2013-10-10 João Távora <joaotavora@gmail.com>
5843
5844 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5845 not locked, use last revision and current source as
5846 defaults. (Bug#15569)
5847
5848 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5849
5850 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5851 menu-bar is hidden.
5852
5853 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5854
5855 * window.el (pop-to-buffer-same-window): Fix doc-string.
5856 (Bug#15492)
5857
5858 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5861
5862 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5863
5864 * calendar/icalendar.el (icalendar-import-file):
5865 Fix interactive spec. (Bug#15482)
5866
5867 2013-10-10 Glenn Morris <rgm@gnu.org>
5868
5869 * desktop.el (desktop-save): Default to saving in .emacs.d,
5870 since PWD is no longer in desktop-path by default. (Bug#15319)
5871
5872 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5873 now that text mode has a menu with the same entry.
5874 (menu-bar-text-mode-auto-fill): Remove now unused func.
5875 * textmodes/text-mode.el (text-mode-map):
5876 Use auto-fill help text from menu-bar.el.
5877
5878 2013-10-10 John Anthony <john@jo.hnanthony.com>
5879
5880 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5881
5882 2013-10-09 Juri Linkov <juri@jurta.org>
5883
5884 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5885 instead of this-command-keys. Add universal-argument-more and
5886 universal-argument-minus to the list of prefix commands. (Bug#15568)
5887
5888 2013-10-09 Glenn Morris <rgm@gnu.org>
5889
5890 * vc/vc-svn.el (vc-svn-create-repo):
5891 Expand paths in file://... url. (Bug#15446)
5892
5893 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5894 Add some entries.
5895 (authors): Remove unused local variables.
5896
5897 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * profiler.el: Create a more coherent calltree from partial backtraces.
5900 (profiler-format): Hide the tail with `invisible' so that C-s can still
5901 find the hidden elements.
5902 (profiler-calltree-depth): Don't recurse so enthusiastically.
5903 (profiler-function-equal): New hash-table-test.
5904 (profiler-calltree-build-unified): New function.
5905 (profiler-calltree-build): Use it.
5906 (profiler-report-make-name-part): Indent the calltree less.
5907 (profiler-report-mode): Add visibility specs for profiler-format.
5908 (profiler-report-expand-entry, profiler-report-toggle-entry):
5909 Expand the whole subtree when provided with a prefix arg.
5910
5911 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5912
5913 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5914 iuwu-mod token.
5915 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5916 hanging iuwu-mod token.
5917 (ruby-smie--forward-token): Do not include a dot after a token in
5918 that token.
5919 (ruby-smie--backward-token): Likewise.
5920
5921 2013-10-08 Juri Linkov <juri@jurta.org>
5922
5923 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5924 to isearch-other-control-char.
5925 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5926 and isearch-post-command-hook to post-command-hook.
5927 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5928 and isearch-post-command-hook from post-command-hook.
5929 (isearch-unread-key-sequence)
5930 (isearch-reread-key-sequence-naturally)
5931 (isearch-lookup-scroll-key, isearch-other-control-char)
5932 (isearch-other-meta-char): Remove functions.
5933 (isearch-pre-command-hook, isearch-post-command-hook):
5934 New functions based on isearch-other-meta-char rewritten
5935 relying on the new behavior of overriding-terminal-local-map
5936 that does not replace the local keymaps any more. (Bug#15200)
5937
5938 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5939
5940 Support menus on text-mode terminals.
5941 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5942 functionality.
5943
5944 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5945
5946 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5947 Move here from mouse.el.
5948 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5949 and arrow keys.
5950 (tty-menu-navigation-map): New map for TTY menu navigation.
5951
5952 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5953
5954 * frame.el (display-mouse-p): Report text-mode mouse as available
5955 on w32.
5956 (display-popup-menus-p): Report availability if mouse is
5957 available; don't condition on window-system.
5958
5959 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5960 (tty-menu-selected-face): New faces.
5961
5962 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5963
5964 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5965 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5966 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5967 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5968 New constants.
5969 (lisp-mode-variables): New `elisp' argument.
5970 (emacs-lisp-mode): Use it.
5971 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5972 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5973
5974 * indent.el: Use lexical-binding.
5975 (indent-region): Add progress reporter.
5976 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5977 last step.
5978 (indent--next-tab-stop): New function to implement this behavior.
5979 (tab-to-tab-stop, move-to-tab-stop): Use it.
5980
5981 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5982
5983 * indent.el (indent-rigidly--current-indentation): New function.
5984 (indent-rigidly-map): New var.
5985 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5986
5987 2013-10-08 Bastien Guerry <bzg@gnu.org>
5988
5989 * register.el (insert-register): Fix 2013-10-07 change.
5990
5991 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * progmodes/perl-mode.el: Use lexical-binding.
5994 Remove redundant :group args.
5995 (perl-nochange): Change default to be closer to other major modes's
5996 standard behavior.
5997 (perl-indent-line): Don't consider text on current line as a
5998 valid beginning of function from which to indent.
5999
6000 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6001 with more than one argument (bug#15538).
6002
6003 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6004
6005 * vc/pcvs.el: Use lexical-binding.
6006 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6007 environment of `eval'.
6008 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6009 than a list of expressions. Adjust callers.
6010 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6011
6012 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6013
6014 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6015 case of the dot in a chained method call being on the following line.
6016
6017 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6018
6019 * electric.el (electric-indent-inhibit): New var.
6020 (electric-indent-post-self-insert-function): Use it.
6021 * progmodes/python.el (python-mode): Set it.
6022
6023 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6024 open braces.
6025
6026 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6027
6028 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6029 (css-mode): Use electric-indent-chars.
6030
6031 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6032 (font-lock-beg, font-lock-end): Move before first use.
6033 (nxml-mode): Use syntax-propertize-function.
6034 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6035 (nxml-extend-after-change-region): Remove.
6036 * nxml/xmltok.el: Use lexical-binding.
6037 (xmltok-save): Use `declare'.
6038 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6039 * nxml/nxml-util.el: Use lexical-binding.
6040 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6041 Use `declare'.
6042 * nxml/nxml-ns.el: Use lexical-binding.
6043 (nxml-ns-save): Use `declare'.
6044 (nxml-ns-prefixes-for): Avoid add-to-list.
6045 * nxml/rng-match.el: Use lexical-binding.
6046 (rng--ipattern): Use cl-defstruct.
6047 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6048 (rng-cons-group-after, rng-subst-group-after)
6049 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6050 Use closures instead of `(lambda...).
6051
6052 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6053
6054 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6055 of BEG and END.
6056
6057 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6058 Use `tramp-handle-insert-file-contents'.
6059 (tramp-gvfs-handle-insert-file-contents): Remove function.
6060
6061 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6062 Use `save-restriction' in order to keep markers.
6063
6064 * net/trampver.el: Update release number.
6065
6066 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * progmodes/compile.el (compilation-parse-errors):
6069 Use compilation--put-prop.
6070 (compilation--ensure-parse): Check compilation-multiline.
6071
6072 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6073
6074 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6075 lexical-binding.
6076
6077 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6078
6079 * progmodes/ruby-mode.el: Fix recently added tests.
6080 (ruby-smie-grammar): Add - and +.
6081 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6082 (ruby-smie--backward-id): New functions.
6083 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6084 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6085 any more.
6086
6087 2013-10-07 Leo Liu <sdl.web@gmail.com>
6088
6089 * register.el (register-preview-delay)
6090 (register-preview-functions): New variables.
6091 (register-read-with-preview, register-preview)
6092 (register-describe-oneline): New functions.
6093 (point-to-register, window-configuration-to-register)
6094 (frame-configuration-to-register, jump-to-register)
6095 (number-to-register, view-register, insert-register)
6096 (copy-to-register, append-to-register, prepend-to-register)
6097 (copy-rectangle-to-register): Use register-read-with-preview to
6098 read register. (Bug#15525)
6099
6100 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6101
6102 * net/network-stream.el (network-stream-open-starttls): Don't add
6103 --insecure if it's already present, because that gnutls-cli
6104 rejects getting that parameter twice.
6105
6106 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6107
6108 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6109 keyword, too.
6110
6111 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6112
6113 * newcomment.el (comment-use-global-state): Change default value
6114 to t, mark obsolete (Bug#15251).
6115 (comment-beginning): In addition to `comment-to-syntax', check the
6116 value of `comment-use-global-state'.
6117
6118 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6119
6120 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6121 (ruby-comment-column): Follow the global default, by default.
6122 (ruby-smie-grammar): Add assignment syntax.
6123 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6124 open-paren, a comma, or a \.
6125 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6126 and line continuations.
6127 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6128 followed by implicit semi-colons. Add rule for string concatenation
6129 and for indentation at BOB.
6130 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6131
6132 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6133 calling next-sexp, since next-token may have skipped chars which
6134 next-sexp doesn't know should be skipped!
6135
6136 2013-10-05 Leo Liu <sdl.web@gmail.com>
6137
6138 * progmodes/octave.el (octave-send-region):
6139 Call compilation-forget-errors.
6140
6141 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6142
6143 * vc/vc-svn.el (vc-svn-find-admin-dir):
6144 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6145 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6146 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6147 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6148
6149 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6150
6151 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6152
6153 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6154
6155 * subr.el (read-passwd): Hide chars even when called within a context
6156 where after-change-functions is disabled (bug#15501).
6157 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6158 until we removed ourself from overriding-terminal-local-map.
6159
6160 2013-10-04 Leo Liu <sdl.web@gmail.com>
6161
6162 * progmodes/octave.el (inferior-octave-mode):
6163 Call compilation-forget-errors.
6164
6165 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6166
6167 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6168
6169 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6170
6171 * net/secrets.el (secrets-create-collection): Add optional
6172 argument ALIAS. Use proper Label keyword. Append ALIAS as
6173 dbus-call-method argument. (Bug#15516)
6174
6175 2013-10-04 Leo Liu <sdl.web@gmail.com>
6176
6177 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6178 (inferior-octave-compilation-font-lock-keywords): New variables.
6179 (compilation-error-regexp-alist)
6180 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6181 (inferior-octave-mode): Use compilation-shell-minor-mode.
6182
6183 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6184
6185 * minibuffer.el (completion--replace): Be careful that `end' might be
6186 a marker.
6187
6188 2013-10-03 Daiki Ueno <ueno@gnu.org>
6189
6190 Add support for package signature checking.
6191 * emacs-lisp/package.el (url-http-file-exists-p)
6192 (epg-make-context, epg-context-set-home-directory)
6193 (epg-verify-string, epg-context-result-for)
6194 (epg-signature-status, epg-signature-to-string)
6195 (epg-check-configuration, epg-configuration)
6196 (epg-import-keys-from-file): Declare.
6197 (package-check-signature): New user option.
6198 (package-unsigned-archives): New user option.
6199 (package-desc): Add `signed' field.
6200 (package-load-descriptor): Set `signed' field if .signed file exists.
6201 (package--archive-file-exists-p): New function.
6202 (package--check-signature): New function.
6203 (package-install-from-archive): Check package signature.
6204 (package--download-one-archive): Check archive signature.
6205 (package-delete): Remove .signed file.
6206 (package-import-keyring): New command.
6207 (package-refresh-contents): Import default keyring.
6208 (package-desc-status): Add "unsigned" status.
6209 (describe-package-1, package-menu--print-info)
6210 (package-menu-mark-delete, package-menu--find-upgrades)
6211 (package-menu--status-predicate): Support "unsigned" status.
6212
6213 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6216 the new compilation scheme using the new byte-codes.
6217
6218 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6219 (byte-pophandler): New byte codes.
6220 (byte-goto-ops): Adjust accordingly.
6221 (byte-compile--use-old-handlers): New var.
6222 (byte-compile-catch): Use new byte codes depending on
6223 byte-compile--use-old-handlers.
6224 (byte-compile-condition-case--old): Rename from
6225 byte-compile-condition-case.
6226 (byte-compile-condition-case--new): New function.
6227 (byte-compile-condition-case): New function that dispatches depending
6228 on byte-compile--use-old-handlers.
6229 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6230 when we can.
6231
6232 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6233 Optimize under `condition-case' and `catch' if
6234 byte-compile--use-old-handlers is nil.
6235 (disassemble-offset): Handle new bytecodes.
6236
6237 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * subr.el (error): Use `declare'.
6240 (decode-char, encode-char): Use advertised-calling-convention instead
6241 of the docstring to discourage use of the `restriction' arg.
6242
6243 2013-10-03 Daiki Ueno <ueno@gnu.org>
6244
6245 * epg.el (epg-verify-file): Add a comment saying that it does not
6246 notify verification error as a return value nor a signal.
6247 (epg-verify-string): Ditto.
6248
6249 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6250
6251 * progmodes/compile.el (compilation-start): Try globbing the arg to
6252 `cd' (bug#15417).
6253
6254 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6255
6256 Sync with Tramp 2.2.8.
6257
6258 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6259 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6260 * net/trampver.el: Update release number.
6261
6262 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6263
6264 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6265 and default-process-coding-system for darwin only.
6266
6267 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6270
6271 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6272
6273 * vc/vc-git.el (vc-git-grep): Disable pager.
6274
6275 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6276
6277 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6278 Use :url instead of :homepage, as per
6279 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6280
6281 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6282 non-nil, use `syntax-ppss' (Bug#15251).
6283
6284 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6285
6286 * progmodes/octave.el (inferior-octave-startup-file):
6287 Prefer ~/.emacs.d/init_octave.m.
6288
6289 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6290
6291 * emacs-lisp/package.el (package-desc-from-define):
6292 Accept additional arguments as plist, convert them to an alist and store
6293 them in the `extras' slot.
6294 (package-generate-description-file): Convert extras alist back to
6295 plist and append to the `define-package' form arguments.
6296 (package--alist-to-plist): New function.
6297 (package--ac-desc): Add `extras' slot.
6298 (package--add-to-archive-contents): Check if the archive-contents
6299 vector is long enough, and if it is, pass its `extras' slot value
6300 to `package-desc-create'.
6301 (package-buffer-info): Call `lm-homepage', pass the returned value
6302 to `package-desc-from-define'.
6303 (describe-package-1): Render the homepage button (Bug#13291).
6304
6305 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6306 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6307
6308 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6309
6310 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6311 and default-process-coding-system to utf-8-unix (Bug#15402).
6312
6313 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6314
6315 * subr.el (looking-back): Do not recommend using looking-back.
6316
6317 2013-09-28 Alan Mackenzie <acm@muc.de>
6318
6319 Fix indentation/fontification of Java enum with "implements".
6320
6321 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6322 regexp which matches "implements", etc., in Java.
6323 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6324 specifier clauses coming after "enum".
6325 * progmodes/cc-fonts.el (c-font-lock-declarations)
6326 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6327 after "enum".
6328
6329 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6330
6331 * faces.el (region): Change ns_selection_color to
6332 ns_selection_fg_color, add ns_selection_bg_color.
6333
6334 2013-09-28 Leo Liu <sdl.web@gmail.com>
6335
6336 * progmodes/octave.el (inferior-octave-completion-table)
6337 (inferior-octave-completion-at-point): Minor tweaks.
6338
6339 * textmodes/ispell.el (ispell-lookup-words): Rename from
6340 lookup-words. (Bug#15460)
6341 (lookup-words): Obsolete.
6342 (ispell-complete-word, ispell-command-loop): All uses changed.
6343
6344 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6345
6346 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6347 (octave-mode-menu): Add octave-send-buffer.
6348 (octave-send-buffer): New function.
6349
6350 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6351
6352 * progmodes/octave.el (octave-mode-map): Add key binding for
6353 octave-lookfor.
6354 (octave-mode-menu): Add octave-lookfor.
6355 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6356 octave-lookfor.
6357 (octave-lookfor): New function.
6358
6359 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6360
6361 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6362 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6363 its convention.
6364 (cl--loop-set-iterator-function): New function.
6365 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6366 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6367 Bind `it' with `let' instead of substituting it with `cl-subst'.
6368 (cl--unused-var-p): New function.
6369 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6370 Eliminate some unused variable warnings (bug#15326).
6371
6372 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6373
6374 * doc-view.el (doc-view-scale-reset): Rename from
6375 `doc-view-reset-zoom-level'.
6376 (doc-view-scale-adjust): New command.
6377 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6378 `doc-view-scale-adjust'.
6379
6380 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6381
6382 * doc-view.el (doc-view-reset-zoom-level): New command.
6383 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6384 zoom commands (bug#15466).
6385
6386 2013-09-26 Kenichi Handa <handa@gnu.org>
6387
6388 * international/quail.el (quail-help): Make it not a command.
6389
6390 2013-09-26 Leo Liu <sdl.web@gmail.com>
6391
6392 * minibuffer.el (completion-all-sorted-completions): Make args
6393 optional as they are.
6394
6395 2013-09-25 Daniel Colascione <dancol@dancol.org>
6396
6397 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6398 specs are and that they're not evaluated.
6399
6400 2013-09-24 Sam Steingold <sds@gnu.org>
6401
6402 * midnight.el (clean-buffer-list-kill-regexps)
6403 (clean-buffer-list-kill-buffer-names): Update for the new Man
6404 buffer naming which includes the object name.
6405
6406 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6407
6408 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6409 (eshell-parse-command, eshell-parse-pipeline): Use it since
6410 eshell-separate-commands requires a dynamic scoped var.
6411 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6412
6413 2013-09-23 Leo Liu <sdl.web@gmail.com>
6414
6415 * autoinsert.el (auto-insert-alist): Make the value of
6416 lexical-binding match its file setting.
6417
6418 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6419
6420 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6421
6422 * autoarg.el (autoarg-kp-digit-argument):
6423 * electric.el (Electric-command-loop):
6424 * kmacro.el (kmacro-step-edit-insert):
6425 Do not set universal-argument-num-events.
6426
6427 2013-09-22 Leo Liu <sdl.web@gmail.com>
6428
6429 * files.el (interpreter-mode-alist): Add octave.
6430
6431 2013-09-21 Alan Mackenzie <acm@muc.de>
6432
6433 C++: fontify identifier in declaration following "public:" correctly.
6434 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6435 to match "public", etc.
6436 (c-decl-prefix-re): Add ":" into the C++ value.
6437 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6438 bit. Add a check for a ":" preceded by "public", etc.
6439
6440 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6441
6442 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6443 recognized by GDB 7.5 and later.
6444
6445 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6446
6447 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6448
6449 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * subr.el (internal--call-interactively): New const.
6452 (called-interactively-p): Use it (bug#3984).
6453
6454 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6455
6456 * vc/pcvs.el (cvs-mode-ignore):
6457 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6458 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6459
6460 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6463 (eshell-ls-orig-insert-directory): Remove.
6464 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6465 (eshell-ls-use-in-dired): Use advice-add/remove.
6466 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6467 Add `orig-fun' arg for use in :around advice.
6468 Make it check (redundantly) eshell-ls-use-in-dired.
6469
6470 2013-09-19 Glenn Morris <rgm@gnu.org>
6471
6472 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6473
6474 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6475
6476 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6477
6478 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6479
6480 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6481 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6482 (tramp-get-remote-python): New defuns.
6483 (tramp-get-remote-uid-with-perl)
6484 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6485 contributed by yary <not.com@gmail.com> (tiny change).
6486 (tramp-get-remote-uid-with-python)
6487 (tramp-get-remote-gid-with-python): New defuns. Python code
6488 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6489 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6490
6491 2013-09-19 Glenn Morris <rgm@gnu.org>
6492
6493 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6494
6495 * eshell/em-unix.el (eshell-remove-entries):
6496 Rename argument to avoid name-clash with global `top-level'.
6497
6498 * eshell/esh-proc.el (eshell-kill-process-function):
6499 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6500 (eshell-reset-after-proc): Remove unused arg `proc'.
6501
6502 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6503 (directory-files-and-attributes): Mark unused arg.
6504
6505 * eshell/em-unix.el (eshell-remove-entries):
6506 Remove unused arg `path'. Update callers.
6507
6508 * eshell/em-hist.el (eshell-hist-parse-arguments):
6509 Remove unused arg `silent'. Update callers.
6510
6511 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6512 Fix (f)boundp mix-up.
6513
6514 * eshell/em-smart.el (eshell-smart-scroll-window)
6515 (eshell-disable-after-change):
6516 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6517
6518 2013-09-18 Alan Mackenzie <acm@muc.de>
6519
6520 Fix fontification of type when followed by "const".
6521 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6522 "known" types from fontification.
6523
6524 2013-09-18 Glenn Morris <rgm@gnu.org>
6525
6526 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6527 (chart-face-list): Drop Emacsen without display-color-p.
6528
6529 * net/eww.el (libxml-parse-html-region): Declare.
6530 (eww-display-html): Explicit error if no libxml2 support.
6531
6532 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6533
6534 * image.el (image-type-from-buffer, image-multi-frame-p):
6535 Remove --without-x warning/error.
6536
6537 * mouse.el (mouse-yank-primary):
6538 * term.el (term-mouse-paste):
6539 Reorder to silence --without-x compilation.
6540
6541 * mpc.el (doc-view-mode): Silence --without-x compilation.
6542
6543 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6544 Silence --without-x compilation.
6545
6546 * progmodes/gud.el (gud-find-file, gud-mode):
6547 Silence --without-x compilation.
6548 (tooltip-mode): Declare.
6549
6550 * wdired.el (dired-backup-overwrite): Remove declaration.
6551 (wdired-mode-map): Add doc string.
6552
6553 * custom.el (x-get-resource): Declare.
6554
6555 * eshell/em-glob.el (ange-cache):
6556 * eshell/em-unix.el (ange-cache): Declare.
6557
6558 * faces.el (x-display-list, x-open-connection, x-get-resource):
6559 Declare.
6560
6561 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6562 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6563 Declare.
6564
6565 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6566
6567 * net/gnutls.el (gnutls-log-level): Declare.
6568
6569 * net/shr.el (image-size, image-animate): Declare.
6570
6571 * simple.el (font-info): Declare.
6572
6573 * subr.el (x-popup-dialog): Declare.
6574
6575 * term/common-win.el (x-select-enable-primary)
6576 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6577 Declare.
6578
6579 * term/ns-win.el (x-handle-args): Declare.
6580
6581 * term/x-win.el (x-select-enable-clipboard): Declare.
6582
6583 * term/w32-win.el (create-default-fontset): Declare.
6584
6585 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6586 Declare.
6587
6588 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6589 (fit-frame-to-buffer): Explicit error if --without-x.
6590 (mouse-autoselect-window-select): Silence compiler.
6591
6592 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6593
6594 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6595 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6596 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6597 * eshell/esh-util.el (eshell-sublist):
6598 Remove unused local variables.
6599
6600 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6601
6602 * textmodes/two-column.el: Make 2C-split work for --without-x.
6603 (scroll-bar-columns): Autoload.
6604 (top-level): Require fringe when compiling.
6605
6606 2013-09-18 Leo Liu <sdl.web@gmail.com>
6607
6608 * subr.el (add-hook): Robustify to handle closure as well.
6609
6610 2013-09-17 Glenn Morris <rgm@gnu.org>
6611
6612 * simple.el (messages-buffer-mode-map): Unbind "g".
6613
6614 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * help-mode.el (help-mode-finish): Use derived-mode-p.
6617 Remove obsolete highlighting.
6618
6619 * play/life.el (life-mode): Use define-derived-mode. Derive from
6620 special-mode.
6621 (life): Let-bind inhibit-read-only.
6622 (life-setup): Avoid `setq'. Use `life-mode'.
6623
6624 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6625 which should not be needed any more.
6626 (package-menu-refresh, package-menu-describe-package): Use user-error.
6627
6628 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6629 (eshell-post-rewrite-command-hook): Make obsolete.
6630 (eshell-parse-command): Simplify.
6631 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6632 (eshell--cmd): Declare.
6633 (eshell-parse-pipeline): Remove unused var `final-p'.
6634 Pass a dynvar to eshell-post-rewrite-command-hook.
6635 Implement the new eshell-post-rewrite-command-function.
6636 (eshell-invoke-directly): Remove unused arg `input'.
6637 * eshell/esh-io.el (eshell-io-initialize):
6638 Use eshell-post-rewrite-command-function (bug#15399).
6639 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6640 adjust to new calling convention.
6641 (eshell-create-handles): Rename args to avoid clashing with dynvar
6642 `standard-output'.
6643
6644 2013-09-17 Glenn Morris <rgm@gnu.org>
6645
6646 * simple.el (messages-buffer-mode): New major mode.
6647 (messages-buffer): New function.
6648 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6649 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6650 (ert-run-test): Use `messages-buffer' function.
6651 (ert--force-message-log-buffer-truncation): Ignore read-only.
6652 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6653 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6654
6655 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6656
6657 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6658
6659 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6660
6661 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * icomplete.el (icomplete-in-buffer): New var.
6664 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6665 vars and replace them with functions.
6666 (icomplete-minibuffer-setup): Adjust accordingly.
6667 (icomplete--completion-table, icomplete--completion-predicate)
6668 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6669 New functions.
6670 (icomplete-forward-completions, icomplete-backward-completions)
6671 (icomplete-simple-completing-p, icomplete-exhibit)
6672 (icomplete-completions): Use them.
6673 (icomplete--in-region-buffer): New var.
6674 (icomplete--in-region-setup): New function.
6675 (icomplete-mode): Use it.
6676
6677 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6678 (bug#15379).
6679 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6680 return args and options.
6681 (eshell-eval-using-options): Use the new return value of
6682 eshell--do-opts to set the options's vars in their scope.
6683 (eshell--set-option): Rename from eshell-set-option.
6684 Add arg `opt-vals'.
6685 (eshell--process-option): Rename from eshell-process-option.
6686 Add arg `opt-vals'.
6687 (eshell--process-args): Use an `opt-vals' alist to store the options's
6688 values during their processing and return them additionally to the
6689 remaining args.
6690
6691 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6692
6693 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6694 continuation character an operator, as far as indentation is
6695 concerned (Bug#15369).
6696
6697 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6698
6699 * window.el (window--state-put-2): Don't process buffer state
6700 when buffer doesn't exist any more (Bug#15382).
6701
6702 2013-09-15 Glenn Morris <rgm@gnu.org>
6703
6704 * eshell/em-unix.el (eshell/rm):
6705 Make -f ignore missing files. (Bug#15373)
6706
6707 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6708 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6709 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6710
6711 2013-09-14 Glenn Morris <rgm@gnu.org>
6712
6713 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6714
6715 2013-09-13 Glenn Morris <rgm@gnu.org>
6716
6717 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6718 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6719
6720 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6721
6722 * frame.el (x-focus-frame): Mark as declared in frame.c.
6723
6724 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * ls-lisp.el: Use advice-add.
6727 (original-insert-directory): Remove.
6728 (ls-lisp--insert-directory): Rename from insert-directory; add
6729 `orig-fun' argument.
6730 (insert-directory): Advise.
6731
6732 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6733
6734 * term.el (term-emulate-terminal): Decode the command string
6735 before passing it to term-command-hook. (Bug#15337)
6736
6737 2013-09-13 Glenn Morris <rgm@gnu.org>
6738
6739 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6740
6741 * eshell/esh-ext.el (eshell-search-path): Declare.
6742
6743 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6744 Otherwise an error occurs if eshell-dirs module not loaded.
6745
6746 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6747
6748 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6749
6750 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6751 `tramp-check-proper-host'. Check for a valid method name.
6752
6753 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6754 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6755 * net/tramp-sh.el (tramp-maybe-open-connection):
6756 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6757
6758 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6759 also for hash values.
6760
6761 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * term/ns-win.el (parameters): Don't declare as dynamic.
6764 (before-make-frame-hook): Don't add ineffective function.
6765
6766 * eshell/*.el: Use lexical-binding (bug#15231).
6767
6768 2013-09-12 Kenichi Handa <handa@gnu.org>
6769
6770 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6771
6772 2013-09-12 Glenn Morris <rgm@gnu.org>
6773
6774 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6775 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6776
6777 * subr.el (do-after-load-evaluation): Also give compiler warnings
6778 when obsolete files are used (except by obsolete files).
6779
6780 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6781 in the status output, assume `filename' is the first. (Bug#15322)
6782
6783 * vc/vc.el (vc-deduce-fileset): Doc fix.
6784
6785 * calc/calc-help.el (Info-goto-node):
6786 * progmodes/cperl-mode.el (Info-find-node):
6787 * vc/ediff.el (Info-goto-node): Update declarations.
6788
6789 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6790
6791 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6792 (vc-bzr-pull): Require vc-dispatcher.
6793 * vc/vc-git.el (vc-compilation-mode): Declare.
6794 (vc-git-pull): Require vc-dispatcher.
6795
6796 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6797
6798 * progmodes/octave.el (help-button-action): Declare.
6799
6800 * shell.el (shell-directory-tracker): Output error as a message
6801 rather than just returning it as a string.
6802 (shell-process-pushd): Remove useless use of message.
6803
6804 * dframe.el (dframe-timer-fn):
6805 * files.el (dir-locals-read-from-file):
6806 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6807 (mpc-format):
6808 * reveal.el (reveal-post-command):
6809 * saveplace.el (load-save-place-alist-from-file):
6810 * shell.el (shell-resync-dirs):
6811 * w32-common-fns.el (x-get-selection-value):
6812 * emacs-lisp/copyright.el (copyright-find-copyright):
6813 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6814 * emulation/tpu-edt.el (tpu-copy-keyfile):
6815 * play/bubbles.el (bubbles--mark-neighbourhood):
6816 * progmodes/executable.el
6817 (executable-make-buffer-file-executable-if-script-p):
6818 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6819
6820 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6821
6822 Cleanup Eshell to rely less on dynamic scoping.
6823 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6824 last-value, and ext-command here. Bind `args' closer to `body'.
6825 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6826 (eshell--args): Declare new dynamic var.
6827 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6828 last-value, and ext-command. Pass `args' to `body'.
6829 (eshell-process-args): Bind eshell--args.
6830 (eshell-set-option): Use eshell--args.
6831 * eshell/eshell.el (eshell): Use derived-mode-p.
6832 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6833 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6834 (eshell-glob-function): Declare.
6835 * eshell/esh-util.el: Require cl-lib.
6836 (eshell-read-hosts-file): Avoid add-to-list.
6837 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6838 `err'.
6839 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6840 Declare.
6841 (eshell/diff): Remove unused var `err'.
6842 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6843 `killflag'.
6844 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6845 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6846 first use.
6847 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6848 Move declaration before first use.
6849 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6850 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6851 rely on cl-return.
6852
6853 2013-09-12 Glenn Morris <rgm@gnu.org>
6854
6855 * term/ns-win.el (global-map): Remove binding for ispell-next,
6856 deleted 1999-05-29. (Bug#15357)
6857
6858 2013-09-11 Glenn Morris <rgm@gnu.org>
6859
6860 * echistory.el (electric-command-history): Remove call to deleted func.
6861
6862 * play/landmark.el (landmark-mode): Fix typos.
6863
6864 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6865 Check cvs-sort-ignore-file is bound.
6866
6867 * savehist.el: No need for cl when compiling on Emacs.
6868
6869 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6870
6871 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6872 (bug#15338).
6873 (eshell-self-insert-command, eshell-send-invisible):
6874 Remove unused argument.
6875 (eshell-handle-control-codes): Remove unused var `orig'.
6876 Avoid delete-backward-char.
6877
6878 * files.el (set-auto-mode): Simplify a bit further.
6879
6880 2013-09-11 Glenn Morris <rgm@gnu.org>
6881
6882 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6883 (set-auto-mode): Don't regexp-quote elements.
6884 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6885 * progmodes/cc-mode.el (interpreter-mode-alist):
6886 * progmodes/ruby-mode.el (interpreter-mode-alist):
6887 Revert previous change.
6888
6889 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6890
6891 * play/snake.el (snake-mode):
6892 * play/mpuz.el (mpuz-mode):
6893 * play/landmark.el (lm-mode):
6894 * play/blackbox.el (blackbox-mode):
6895 * play/5x5.el (5x5-mode):
6896 * obsolete/options.el (Edit-options-mode):
6897 * net/quickurl.el (quickurl-list-mode):
6898 * net/newst-treeview.el (newsticker-treeview-mode):
6899 * mail/rmailsum.el (rmail-summary-mode):
6900 * mail/mspools.el (mspools-mode):
6901 * locate.el (locate-mode):
6902 * ibuffer.el (ibuffer-mode):
6903 * emulation/ws-mode.el (wordstar-mode):
6904 * emacs-lisp/debug.el (debugger-mode):
6905 * array.el (array-mode):
6906 * net/eudc.el (eudc-mode): Use define-derived-mode.
6907 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6908 Move initialization into declaration.
6909 (mairix-searches-mode): Use define-derived-mode.
6910 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6911 (eudc-edit-hotlist): Use dolist.
6912 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6913 (Man-mode): Use define-derived-mode.
6914 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6915 (Info-edit-mode): Use define-derived-mode.
6916 (Info-cease-edit): Use Info-mode.
6917 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6918 into declaration.
6919 (eshell-mode): Use define-derived-mode.
6920 * chistory.el (command-history-mode-map): Rename from
6921 command-history-map.
6922 (command-history-mode): Use define-derived-mode.
6923 (Command-history-setup): Remove function.
6924 * calc/calc.el (calc-trail-mode-map): New var.
6925 (calc-trail-mode): Use define-derived-mode.
6926 (calc-trail-buffer): Set calc-main-buffer manually.
6927 * bookmark.el (bookmark-insert-annotation): New function.
6928 (bookmark-edit-annotation): Use it.
6929 (bookmark-edit-annotation-mode): Make it a proper major mode.
6930 (bookmark-send-edited-annotation): Use derived-mode-p.
6931 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6932 closer to its ideal place. Use \' to match EOS.
6933
6934 * profiler.el (profiler-calltree-find): Use function-equal.
6935
6936 2013-09-10 Glenn Morris <rgm@gnu.org>
6937
6938 * files.el (interpreter-mode-alist): Convert to regexps.
6939 (set-auto-mode): Adapt for this. (Bug#15306)
6940 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6941 Comment out unused variable.
6942 * progmodes/cc-mode.el (interpreter-mode-alist):
6943 * progmodes/python.el (interpreter-mode-alist):
6944 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6945 * progmodes/sh-script.el (sh-set-shell):
6946 No longer use interpreter-mode-alist to get list of shells.
6947
6948 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6949
6950 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6951
6952 * simple.el: Use set-temporary-overlay-map for universal-argument.
6953 (universal-argument-map): Don't use default-bindings (bug#15317).
6954 Bind switch-frame explicitly. Replace universal-argument-minus with
6955 a conditional binding.
6956 (universal-argument-num-events, saved-overriding-map): Remove.
6957 (restore-overriding-map): Remove.
6958 (universal-argument--mode): Rename from save&set-overriding-map,
6959 and rewrite.
6960 (universal-argument, universal-argument-more, negative-argument)
6961 (digit-argument): Adjust accordingly.
6962 (universal-argument-minus): Remove.
6963 (universal-argument-other-key): Remove.
6964
6965 * subr.el (with-demoted-errors): Add `format' argument.
6966
6967 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6968
6969 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6970 `tramp-cleanup-connection'.
6971
6972 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6973 parameters KEEP-DEBUG and KEEP-PASSWORD.
6974
6975 * net/tramp.el (tramp-file-name-handler):
6976 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6977 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6978 (tramp-maybe-open-connection):
6979 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6980 Use `tramp-cleanup-connection'.
6981
6982 * net/tramp-sh.el (tramp-maybe-open-connection):
6983 Catch 'uname-changed inside the progress reporter.
6984
6985 2013-09-10 Glenn Morris <rgm@gnu.org>
6986
6987 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6988
6989 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6990 returns "alternate access method" in mode (eg "-rw-r--r--.").
6991
6992 2013-09-08 Glenn Morris <rgm@gnu.org>
6993
6994 * saveplace.el (load-save-place-alist-from-file):
6995 Demote errors. (Bug#15305)
6996
6997 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6998
6999 Improve compatibility with older Emacsen, and XEmacs.
7000
7001 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7002 only if it is bound. It isn't for XEmacs.
7003 (with-tramp-progress-reporter): Do not let-bind `result'.
7004 This yields to scoping errors in XEmacs.
7005 (tramp-handle-make-auto-save-file-name): New function, moved from
7006 tramp-sh.el.
7007
7008 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7009 for `make-auto-save-file-name'.
7010 (tramp-adb--gnu-switches-to-ash):
7011 Use `tramp-compat-replace-regexp-in-string'.
7012
7013 * net/tramp-cache.el (tramp-cache-print): Call
7014 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7015
7016 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7017 bound. It isn't for XEmacs.
7018
7019 * net/tramp-compat.el (tramp-compat-copy-file):
7020 Catch `wrong-number-of-arguments' error.
7021 (tramp-compat-replace-regexp-in-string): New defun.
7022
7023 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7024 for `make-auto-save-file-name'.
7025 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7026 `copy-file'.
7027 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7028 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7029 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7030
7031 * net/tramp-gw.el (tramp-gw-open-network-stream):
7032 Use `tramp-compat-replace-regexp-in-string'.
7033
7034 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7035 Call `tramp-handle-make-auto-save-file-name'.
7036 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7037 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7038 (tramp-sh-file-inotifywait-process-filter):
7039 Use `tramp-compat-replace-regexp-in-string'.
7040 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7041
7042 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7043 for `make-auto-save-file-name'.
7044 (tramp-smb-handle-copy-directory):
7045 Call `tramp-compat-replace-regexp-in-string'.
7046 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7047 (tramp-smb-handle-copy-file): Improve error message.
7048 (tramp-smb-handle-rename-file): Rename directly only in case
7049 `newname' does not exist yet. This is a restriction of smbclient.
7050 (tramp-smb-maybe-open-connection): Rerun the function only when
7051 `auth-sources' is non-nil.
7052
7053 2013-09-08 Kenichi Handa <handa@gnu.org>
7054
7055 * international/characters.el: Set category "^" (Combining) for
7056 more characters.
7057
7058 2013-09-07 Alan Mackenzie <acm@muc.de>
7059
7060 Correctly fontify Java class constructors.
7061 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7062 in Java Mode.
7063 (c-recognize-typeless-decls): Set the Java value to t.
7064 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7065 While handling a "(", add a check for, effectively, Java, and handle a
7066 "typeless" declaration there.
7067
7068 2013-09-07 Roland Winkler <winkler@gnu.org>
7069
7070 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7071 field subtitle for entry type book.
7072
7073 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * minibuffer.el: Make minibuffer-complete call completion-in-region
7076 rather than other way around.
7077 (completion--some, completion-pcm--find-all-completions):
7078 Don't delay signals when debugging.
7079 (minibuffer-completion-contents): Beware fields within the
7080 minibuffer contents.
7081 (completion-all-sorted-completions): Use defvar-local.
7082 (completion--do-completion, completion--cache-all-sorted-completions)
7083 (completion-all-sorted-completions, minibuffer-force-complete):
7084 Add args `beg' and `end'.
7085 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7086 (minibuffer-complete): Use completion-in-region.
7087 (completion-complete-and-exit): New fun, extracted from
7088 minibuffer-complete-and-exit.
7089 (minibuffer-complete-and-exit): Use it.
7090 (completion--complete-and-exit): Rename from
7091 minibuffer--complete-and-exit.
7092 (completion-in-region--single-word): New function, extracted from
7093 minibuffer-complete-word.
7094 (minibuffer-complete-word): Use it.
7095 (display-completion-list): Make `common-substring' argument obsolete.
7096 (completion--in-region): Call completion--in-region-1 instead of
7097 minibuffer-complete.
7098 (completion-help-at-point): Pass boundaries to
7099 minibuffer-completion-help as args rather than via an overlay.
7100 (completion-pcm--string->pattern): Use `any-delim'.
7101 (completion-pcm--optimize-pattern): New function.
7102 (completion-pcm--pattern->regex): Handle `any-delim'.
7103 * icomplete.el (icomplete-forward-completions)
7104 (icomplete-backward-completions, icomplete-completions):
7105 Adjust calls to completion-all-sorted-completions and
7106 completion--cache-all-sorted-completions.
7107 (icomplete-with-completion-tables): Default to t.
7108 * emacs-lisp/crm.el (crm--current-element): Rename from
7109 crm--select-current-element. Don't put an overlay but return the
7110 boundaries instead.
7111 (crm--completion-command): Take two new args to bind to the boundaries.
7112 (crm-completion-help): Adjust accordingly.
7113 (crm-complete): Use completion-in-region.
7114 (crm-complete-word): Use completion-in-region--single-word.
7115 (crm-complete-and-exit): Use completion-complete-and-exit.
7116
7117 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7120 than dynamically.
7121
7122 2013-09-06 Juri Linkov <juri@jurta.org>
7123
7124 * info.el (Info-display-images-node): When image file doesn't exist
7125 display text version of the image if it's provided in the Info file.
7126 Otherwise, display the location of missing image from SRC attribute.
7127 Add help-echo text property from ALT attribute. (Bug#15279)
7128
7129 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7130
7131 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7132 (edit-abbrevs-mode): Use define-derived-mode.
7133
7134 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7135 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7136 that it's defined.
7137 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7138 Use define-derived-mode.
7139
7140 * epg.el (epg-start-encrypt): Minor CSE simplification.
7141
7142 2013-09-06 William Xu <william.xwl@gmail.com>
7143
7144 * arc-mode.el: Add support for 7za (bug#15264).
7145 (archive-7z-program): New var.
7146 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7147 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7148 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7149
7150 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7151
7152 Remove URL syntax.
7153
7154 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7155 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7156 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7157 (tramp-postfix-host-format, tramp-file-name-regexp)
7158 (tramp-completion-file-name-regexp)
7159 (tramp-completion-dissect-file-name)
7160 (tramp-handle-substitute-in-file-name): Remove 'url case.
7161 (tramp-file-name-regexp-url)
7162 (tramp-completion-file-name-regexp-url): Remove constants.
7163
7164 2013-09-06 Glenn Morris <rgm@gnu.org>
7165
7166 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7167
7168 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7169
7170 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7171 keywords" below "here-doc beginnings" (Bug#15270).
7172
7173 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * subr.el (pop): Use `car-safe'.
7176 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7177 to detect unused `pop' return value.
7178
7179 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7180 var `block-regexp'.
7181 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7182 (python-fill-string): Remove unused var `marker'.
7183 (python-skeleton-add-menu-items): Remove unused var `items'.
7184
7185 * international/mule-cmds.el: Require CL.
7186 (find-coding-systems-for-charsets): Avoid add-to-list.
7187 (sanitize-coding-system-list): New function, extracted from
7188 select-safe-coding-system-interactively.
7189 (select-safe-coding-system-interactively): Use it.
7190 (read-input-method-name): Accept symbols for `default'.
7191
7192 * emacs-lisp/advice.el (defadvice): Add indent rule.
7193
7194 2013-09-05 Daniel Hackney <dan@haxney.org>
7195
7196 * dired-x.el:
7197 * net/ange-ftp.el:
7198 * net/browse-url.el:
7199 * net/dbus.el:
7200 * net/eudc.el:
7201 * net/eudcb-ldap.el:
7202 * net/eww.el:
7203 * net/imap.el:
7204 * printing.el:
7205 * vc/ediff-diff.el:
7206 * vc/ediff-init.el:
7207 * vc/ediff-merg.el:
7208 * vc/ediff-mult.el:
7209 * vc/ediff-util.el:
7210 * vc/ediff-wind.el:
7211 * vc/ediff.el:
7212 * vc/emerge.el:
7213 * vc/pcvs.el:
7214 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7215 byte compiler. Remove some unused let-bound variables.
7216
7217 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7218
7219 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7220 a "ref-cell", since it gets better optimized (bug#14883).
7221
7222 2013-09-05 Glenn Morris <rgm@gnu.org>
7223
7224 * progmodes/cc-awk.el (c-forward-sws): Declare.
7225
7226 2013-09-04 Glenn Morris <rgm@gnu.org>
7227
7228 * generic-x.el [rul-generic-mode]: Require cc-mode.
7229 (c++-mode-syntax-table): Declare.
7230 (rul-generic-mode-syntax-table): Init in the defvar.
7231
7232 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7233
7234 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7235 (vc-do-command, vc-set-async-update):
7236 * vc/vc-mtn.el (vc-mtn-dir-status):
7237 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7238 (vc-hg-pull, vc-hg-merge-branch):
7239 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7240 (vc-git-merge-branch):
7241 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7242 (vc-cvs-dir-status-files):
7243 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7244 (vc-bzr-dir-status-files):
7245 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7246 * vc/vc-annotate.el: Use lexical-binding.
7247 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7248 (vc-sentinel-movepoint): Declare.
7249 (vc-annotate): Don't use `goto-line'.
7250 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7251 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7252 (vc-sentinel-movepoint): Declare.
7253 * vc/vc-svn.el: Use lexical-binding.
7254 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7255 * vc/vc-sccs.el:
7256 * vc/vc-rcs.el: Use lexical-binding.
7257
7258 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7259 `deleted'. Don't drop errors silently.
7260
7261 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7262
7263 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7264
7265 * vc/vc.el (vc-ignore): Rewrite.
7266 (vc-default-ignore): New function.
7267 (vc-default-ignore-completion-table): Use find-ignore-file.
7268
7269 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7270 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7271 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7272 Remove. Most code moved to vc.el.
7273
7274 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7277 * net/tramp-smb.el (tramp-smb-get-file-entries):
7278 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7279 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7280
7281 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7282 Update call to it.
7283 (eww-change-select): Remove unused var `properties'.
7284 (eww-make-unique-file-name): Remove unused var `base'.
7285
7286 * finder.el (finder-compile-keywords): Don't mess with windows.
7287
7288 * calculator.el (calculator-funcall): Fix typo in last change.
7289
7290 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7291
7292 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7293 <pkg>-autoloads.el file stop us.
7294
7295 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7296 warnings, and factor out common code.
7297
7298 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7299
7300 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7301 two-character operators and whether the character preceding them
7302 changes their meaning (Bug#15208).
7303
7304 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7305
7306 Format code sent to Python shell for robustness.
7307 * progmodes/python.el (python-shell-buffer-substring):
7308 New function.
7309 (python-shell-send-region, python-shell-send-buffer): Use it.
7310
7311 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7312
7313 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7314 * net/tramp.el (tramp-user-error): ... here.
7315 (tramp-find-method, tramp-check-proper-host)
7316 (tramp-dissect-file-name, tramp-debug-message)
7317 (tramp-handle-shell-command):
7318 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7319 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7320
7321 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7322
7323 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7324
7325 * avoid.el (mouse-avoidance-point-position)
7326 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7327 returns nil.
7328
7329 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7330
7331 * progmodes/python.el (python-shell-completion-get-completions):
7332 Drop use of deleted `comint-last-prompt-overlay'.
7333 (python-nav-if-name-main): New command.
7334
7335 2013-09-01 Glenn Morris <rgm@gnu.org>
7336
7337 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7338 Avoid leading space in $wins. Otherwise the sed command used by
7339 eg compile-main ends up containing "/*.el". (Bug#15170)
7340
7341 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7342
7343 2013-08-30 Glenn Morris <rgm@gnu.org>
7344
7345 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7346 Fix is-this-a-directory logic. (Bug#15220)
7347
7348 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * textmodes/css-mode.el: Use SMIE.
7351 (css-smie-grammar): New var.
7352 (css-smie--forward-token, css-smie--backward-token)
7353 (css-smie-rules): New functions.
7354 (css-mode): Use them.
7355 (css-navigation-syntax-table): Remove var.
7356 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7357 (css-indent-calculate, css-indent-line): Remove functions.
7358
7359 Misc changes to reduce use of `(lambda...); and other cleanups.
7360 * cus-edit.el: Use lexical-binding.
7361 (customize-push-and-save, customize-apropos)
7362 (custom-buffer-create-internal): Use closures.
7363 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7364 * progmodes/ada-xref.el: Use setq.
7365 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7366 * dframe.el: Use lexical-binding.
7367 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7368 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7369 * descr-text.el: Use lexical-binding.
7370 (describe-text-widget, describe-text-sexp, describe-property-list):
7371 Use closures.
7372 * comint.el (comint-history-isearch-push-state): Use a closure.
7373 * calculator.el: Use lexical-binding.
7374 (calculator-number-to-string): Make it work with lexical-binding.
7375 (calculator-funcall): Same and use cl-letf.
7376
7377 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7378 (lisp--company-doc-string, lisp--company-location): New functions.
7379 (lisp-completion-at-point): Use them to improve Company support.
7380
7381 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7382 params of lambda expressions.
7383 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7384 (ruby-smie--opening-pipe-p): New function.
7385 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7386 symbols and matched |...| for formal params.
7387 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7388 from being treated as hanging. Handle "rescue".
7389
7390 2013-08-29 Glenn Morris <rgm@gnu.org>
7391
7392 * progmodes/cc-engine.el (c-pull-open-brace):
7393 Move definition before use.
7394
7395 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7396
7397 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7398 are immutable. Don't use `unsafe' any more.
7399 (cl--defsubst-expand): Don't substitute at the same time as keeping
7400 a residual unused let-binding. Don't use `unsafe' any more.
7401
7402 2013-08-29 Glenn Morris <rgm@gnu.org>
7403
7404 * calendar/cal-china.el (calendar-chinese-year-cache):
7405 Recenter on 2015.
7406
7407 * nxml/nxml-util.el (nxml-debug-clear-inside):
7408 Use cl-loop rather than loop.
7409
7410 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7411
7412 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7413
7414 2013-08-28 Glenn Morris <rgm@gnu.org>
7415
7416 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7417
7418 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7419
7420 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7421
7422 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * simple.el (repeat-complex-command--called-interactively-skip):
7425 New function.
7426 (repeat-complex-command): Use it (bug#14136).
7427
7428 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7429 (c-define-abbrev-table): Add `doc' argument.
7430 (c-mode-abbrev-table, c++-mode-abbrev-table)
7431 (objc-mode-abbrev-table, java-mode-abbrev-table)
7432 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7433 (awk-mode-abbrev-table): Use it.
7434 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7435 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7436 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7437 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7438 Move initialization into the declaration; and remove any
7439 autoload cookie.
7440
7441 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7442 and dynamic let binding.
7443
7444 * vc/smerge-mode.el: Remove redundant :group args.
7445
7446 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7447 to load-path.
7448
7449 2013-08-28 Juri Linkov <juri@jurta.org>
7450
7451 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7452 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7453 (isearch-other-meta-char): Handle an undefined shifted printing
7454 character by downshifting it. (Bug#15200)
7455
7456 2013-08-28 Juri Linkov <juri@jurta.org>
7457
7458 * isearch.el (isearch-search): Change regexp error message for
7459 non-regexp searches. (Bug#15166)
7460
7461 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7462
7463 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7464 for portability to hosts where /bin/sh has problems.
7465
7466 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7467
7468 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7469
7470 2013-08-27 Juri Linkov <juri@jurta.org>
7471
7472 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7473 in the keyboard macro. (Bug#15126)
7474
7475 2013-08-27 Juri Linkov <juri@jurta.org>
7476
7477 * isearch.el (isearch-quote-char): Comment out converting unibyte
7478 to multibyte, thus syncing with its `quoted-insert' counterpart.
7479 (Bug#15166)
7480
7481 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7482
7483 * window.el (display-buffer-use-some-window): Add missing
7484 argument in call of get-largest-window (Bug#15185).
7485 Reported by Stephen Leake.
7486
7487 2013-08-27 Glenn Morris <rgm@gnu.org>
7488
7489 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7490
7491 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7494 from a matcher-function unless there's no more matches (bug#15161).
7495
7496 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7497
7498 * minibuffer.el: Revert change from 2013-08-20.
7499
7500 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7501 with text property `tramp-default', if appropriate.
7502 (tramp-check-proper-host): New defun.
7503 (tramp-dissect-file-name): Do not check hostname. Revert change
7504 of 2013-03-18.
7505 (tramp-backtrace): Make VEC-OR-PROC optional.
7506
7507 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7508 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7509 * net/tramp-sh.el (tramp-maybe-open-connection):
7510 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7511 Apply `tramp-check-proper-host'.
7512
7513 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7514
7515 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7516 lambda expression in order to have `describe-variable' display it.
7517
7518 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7519
7520 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7521 BUF can be optional. (Bug#15186)
7522
7523 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7524
7525 * progmodes/flymake.el (flymake-get-real-file-name-function):
7526 Fix broken customization. (Bug#15184)
7527
7528 2013-08-25 Alan Mackenzie <acm@muc.de>
7529
7530 Improve indentation of bracelists defined by macros (without "=").
7531
7532 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7533 expansion begins with "{", regard it as bracelist when it doesn't
7534 contain a ";".
7535
7536 Parse C++ inher-intro when there's a template split over 2 lines.
7537
7538 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7539 rigorously the search for "class" etc. followed by ":".
7540
7541 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7542 random languages a regexp which never matches rather than nil.
7543
7544 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7545
7546 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7547 (c-awk-regexp-one-line-possibly-open-char-list-re)
7548 (c-awk-one-line-possibly-open-regexp-re)
7549 (c-awk-one-line-non-syn-ws*-re): Remove.
7550 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7551 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7552 (c-awk-space*-unclosed-regexp-/-re): New constants.
7553 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7554 aren't regexp delimiters.
7555
7556 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7557 handling for a rare situation in AWK Mode involving unterminated
7558 strings/regexps.
7559
7560 2013-08-23 Glenn Morris <rgm@gnu.org>
7561
7562 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7563
7564 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7565
7566 * files.el (create-file-buffer): If the result would begin with
7567 spaces, prepend a "|" instead of removing them. (Bug#15162)
7568
7569 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7572 text-properties (bug#15155).
7573
7574 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7575 exist any more.
7576 (calc-keypad-redraw): Remove unused var `pad'.
7577 (calc-keypad-press): Remove unused var `menu'.
7578
7579 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7580
7581 * window.el (display-buffer-pop-up-frame):
7582 Call pop-up-frame-function with BUFFER current so `make-frame' will
7583 use it as the new frame's buffer (Bug#15133).
7584
7585 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * calendar/timeclock.el: Minor cleanups.
7588 (timeclock-ask-before-exiting, timeclock-use-display-time):
7589 Use `symbol'.
7590 (timeclock-modeline-display): Define as alias before the
7591 actual definition.
7592 (timeclock-mode-line-display): Use define-minor-mode.
7593 (timeclock-day-list-template): Make it a function, add an argument.
7594 (timeclock-day-list-required, timeclock-day-list-length)
7595 (timeclock-day-list-debt, timeclock-day-list-span)
7596 (timeclock-day-list-break): Adjust calls accordingly.
7597
7598 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7601 Use read--expression so that completion works again.
7602
7603 2013-08-21 Sam Steingold <sds@gnu.org>
7604
7605 Add rudimentary inferior shell interaction
7606 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7607 (sh-set-shell): Reset it.
7608 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7609 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7610
7611 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * align.el: Use lexical-binding.
7614 (align-region): Simplify accordingly.
7615
7616 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7617
7618 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7619
7620 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7621 `non-essential' up.
7622
7623 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7624
7625 * net/tramp.el:
7626 * net/tramp-adb.el:
7627 * net/tramp-cmds.el:
7628 * net/tramp-ftp.el:
7629 * net/tramp-gvfs.el:
7630 * net/tramp-gw.el:
7631 * net/tramp-sh.el: Don't wrap external variable declarations by
7632 `eval-when-compile'.
7633
7634 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7635
7636 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7637 now that Emacs supports ImageMagick animations.
7638
7639 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7640
7641 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7642 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7643
7644 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7645
7646 * window.el (mouse-autoselect-window-select): Do autoselect when
7647 mouse pointer is on margin.
7648
7649 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7650
7651 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7652
7653 2013-08-16 Glenn Morris <rgm@gnu.org>
7654
7655 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7656 Handle "Remote Directory" response of some clients. (Bug#15058)
7657
7658 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7659 Tweak warning. (Bug#14926)
7660
7661 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7662 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7663
7664 * image-mode.el (image-mode-map): Add menu items to reverse,
7665 increase, decrease, reset animation speed.
7666 (image--set-speed, image-increase-speed, image-decrease-speed)
7667 (image-reverse-speed, image-reset-speed): New functions.
7668 (image-mode-map): Add bindings for speed commands.
7669
7670 * image.el (image-animate-get-speed, image-animate-set-speed):
7671 New functions.
7672 (image-animate-timeout): Respect image :speed property.
7673
7674 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7677 previous line (bug#15101).
7678 (debugger-eval-expression, debugger-record-expression):
7679 Use read--expression (bug#15102).
7680
7681 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7682
7683 Remove byte compiler warnings, visible when compiling with
7684 `byte-compile-force-lexical-warnings' set to t.
7685
7686 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7687 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7688 (tramp-handle-unhandled-file-name-directory)
7689 (tramp-handle-file-notify-add-watch, tramp-action-login)
7690 (tramp-action-succeed, tramp-action-permission-denied)
7691 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7692 arguments with "_".
7693
7694 * net/tramp-adb.el (tramp-adb-parse-device-names)
7695 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7696 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7697 (tramp-adb-handle-file-truename): Remove unused arguments.
7698
7699 * net/tramp-cache.el (tramp-flush-directory-property)
7700 (tramp-flush-connection-property, tramp-list-connections)
7701 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7702
7703 * net/tramp-compat.el (tramp-compat-make-temp-file):
7704 Rename FILENAME to F.
7705
7706 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7707 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7708 (tramp-zeroconf-parse-workstation-device-names)
7709 (tramp-zeroconf-parse-webdav-device-names)
7710 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7711
7712 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7713 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7714
7715 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7716 arguments.
7717 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7718 (tramp-sh-handle-insert-file-contents-literally)
7719 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7720 with "_".
7721 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7722 Remove unused variables.
7723
7724 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7725 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7726 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7727
7728 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7729 Make them a defconst.
7730 (tramp-uuencode-region): Remove unused variable.
7731
7732 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7733
7734 * frameset.el (frameset--prop-setter): New function.
7735 (frameset-prop): Add gv-setter declaration.
7736 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7737 parameter was already set in FILTERED. Doc fix.
7738 (frameset--record-minibuffer-relationships): Allow saving a
7739 minibufferless frame without its corresponding minibuffer frame.
7740 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7741 frame, if the frame id matches.
7742 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7743 frames before orphaned ones.
7744 (frameset-restore): Warn about orphaned windows, instead of error out.
7745
7746 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7747
7748 * window.el (window-make-atom): Don't overwrite parameter
7749 already present.
7750 (display-buffer-in-atom-window): Handle special case where we
7751 split an already atomic window.
7752 (window--major-non-side-window, display-buffer-in-side-window)
7753 (window--side-check): Ignore minibuffer window when walking
7754 window tree.
7755 (window-deletable-p): Return 'frame only if no other frame uses
7756 our minibuffer window.
7757 (record-window-buffer): Run buffer-list-update-hook.
7758 (split-window): Make sure window--check-frame won't destroy an
7759 existing atomic window in case the new window gets nested
7760 inside.
7761 (display-buffer-at-bottom): Ignore minibuffer window when
7762 walking window tree. Don't split a side window.
7763 (pop-to-buffer): Don't set-buffer here, the select-window call
7764 should do that.
7765 (mouse-autoselect-window-select): Autoselect only if we are in the
7766 text portion of the window.
7767
7768 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7769
7770 * net/shr.el (shr-parse-image-data): New function to grab both the
7771 data itself and the Content-Type.
7772 (shr-put-image): Use it.
7773
7774 * net/eww.el (eww-display-image): Ditto.
7775
7776 * image.el (image-content-type-suffixes): New variable.
7777
7778 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7779
7780 * progmodes/python.el (python-imenu--build-tree)
7781 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7782
7783 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7784
7785 * simple.el (backward-word): Mention the optional argument.
7786
7787 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7788
7789 * frameset.el (frameset--make): Rename constructor from make-frameset.
7790 (frameset-p, frameset-valid-p): Don't autoload.
7791 (frameset-valid-p): Use normal accessors.
7792
7793 2013-08-13 Glenn Morris <rgm@gnu.org>
7794
7795 * progmodes/compile.el (compile-command): Tweak example in doc.
7796 * obsolete/scribe.el (scribe-mode):
7797 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7798
7799 * mail/feedmail.el (feedmail-confirm-outgoing)
7800 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7801
7802 * cus-start.el (truncate-partial-width-windows): Fix type.
7803
7804 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7805
7806 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7807
7808 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7809
7810 * emacs-lisp/timer.el (timer--time-setter): New function.
7811 (timer--time): Use it as gv-setter.
7812
7813 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7814 setter is not a symbol.
7815
7816 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7817
7818 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7819 if sending fails. This makes debugging easier.
7820
7821 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7822
7823 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7824 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7825 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7826
7827 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7828
7829 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7830
7831 2013-08-12 Glenn Morris <rgm@gnu.org>
7832
7833 * format.el (format-annotate-function):
7834 Handle read-only text properties in the source. (Bug#14887)
7835
7836 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7837
7838 * net/eww.el (eww-display-html): Ignore coding system errors.
7839 One web site uses "utf-8lias" as the coding system.
7840
7841 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7842
7843 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7844
7845 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7846
7847 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7848 (tutorial--detailed-help): Remove unused local variables.
7849 (tutorial--save-tutorial-to): Use ignore-errors.
7850 (help-with-tutorial): Use looking-at-p.
7851
7852 * view.el (view-buffer-other-window, view-buffer-other-frame):
7853 Mark unused arguments.
7854
7855 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7856 (woman-select-symbol-fonts, woman, woman-find-file)
7857 (woman-insert-file-contents, woman-non-underline-faces):
7858 Use string-match-p.
7859 (woman1-unquote): Move declaration.
7860
7861 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7862 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7863 argument. Remove unused local variable.
7864 (xml-parse-elem-type): Use string-match-p.
7865 (xml-substitute-numeric-entities): Use ignore-errors.
7866
7867 * calculator.el (calculator): Mark unused argument.
7868 (calculator-paste, calculator-quit, calculator-integer-p):
7869 Use ignore-errors.
7870 (calculator-string-to-number, calculator-decimal, calculator-exp)
7871 (calculator-op-or-exp): Use string-match-p.
7872
7873 * dired.el (dired-buffer-more-recently-used-p): Declare.
7874 (dired-insert-set-properties, dired-insert-old-subdirs):
7875 Use ignore-errors.
7876
7877 * dired-aux.el (dired-compress): Use ignore-errors.
7878 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7879 (dired-do-async-shell-command, dired-do-shell-command)
7880 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7881 (dired-insert-subdir-validate): Use string-match-p.
7882 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7883 (dired-add-entry): Use string-match-p, looking-at-p.
7884 (dired-insert-subdir-newpos): Remove unused local variable.
7885
7886 * filenotify.el (file-notify-callback): Remove unused local variable.
7887
7888 * filesets.el (filesets-error): Mark unused argument.
7889 (filesets-which-command-p, filesets-filter-dir-names)
7890 (filesets-directory-files, filesets-get-external-viewer)
7891 (filesets-ingroup-get-data): Use string-match-p.
7892
7893 * find-file.el (ff-other-file-name, ff-other-file-name)
7894 (ff-find-the-other-file, ff-cc-hh-converter):
7895 Remove unused local variables.
7896 (ff-get-file-name): Use string-match-p.
7897 (ff-all-dirs-under): Use ignore-errors.
7898
7899 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7900 (follow-select-if-visible): Remove unused local variable.
7901
7902 * forms.el (read-file-filter): Move declaration.
7903 (forms--make-format, forms--make-parser, forms-insert-record):
7904 Quote function with #'.
7905 (forms--update): Use string-match-p. Quote function with #'.
7906
7907 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7908 (help-make-xrefs): Use looking-at-p.
7909 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7910
7911 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7912 (ibuffer-confirm-operation-on): Use string-match-p.
7913
7914 * msb.el (msb-item-handler, msb-dired-item-handler):
7915 Mark unused arguments.
7916
7917 * ses.el (ses-decode-cell-symbol)
7918 (ses-kill-override): Remove unused local variable.
7919 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7920 (ses-load): Use ignore-errors, looking-at-p.
7921 (ses-jump-safe): Use ignore-errors.
7922 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7923
7924 * tabify.el (untabify, tabify): Mark unused arguments.
7925
7926 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7927 Mark unused argument.
7928 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7929 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7930
7931 * emacs-lisp/timer.el (timer--time): Define setter with
7932 gv-define-setter to avoid deprecation warning.
7933
7934 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7935 (*record-cmpl-statistics-p*): Remove (was commented out).
7936 (cmpl-statistics-block): Remove (body was commented out).
7937 All callers changed.
7938 (add-completions-from-buffer, load-completions-from-file):
7939 Remove unused variables.
7940
7941 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7942
7943 * filecache.el (file-cache-delete-file-list):
7944 Print message only when told so.
7945 (file-cache-files-matching): Use #' in mapconcat argument.
7946
7947 * ffap.el (ffap-url-at-point): Fix reference to variable
7948 thing-at-point-default-mail-uri-scheme.
7949
7950 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7951
7952 * subr.el (define-error): New function.
7953 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7954 error-file-not-found and define with define-error.
7955 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7956 and define with define-error.
7957 * userlock.el (file-locked, file-supersession):
7958 * simple.el (mark-inactive):
7959 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7960 * progmodes/ada-mode.el (ada-mode-errors):
7961 * play/life.el (life-extinct):
7962 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7963 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7964 * nxml/rng-util.el (rng-error):
7965 * nxml/rng-uri.el (rng-uri-error):
7966 * nxml/rng-match.el (rng-compile-error):
7967 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7968 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7969 * nxml/nxml-rap.el (nxml-scan-error):
7970 * nxml/nxml-outln.el (nxml-outline-error):
7971 * net/soap-client.el (soap-error):
7972 * net/gnutls.el (gnutls-error):
7973 * net/ange-ftp.el (ftp-error):
7974 * mpc.el (mpc-proc-error):
7975 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7976 (json-number-format, json-string-escape, json-string-format)
7977 (json-key-format, json-object-format):
7978 * jka-compr.el (compression-error):
7979 * international/quail.el (quail-error):
7980 * international/kkc.el (kkc-error):
7981 * emacs-lisp/ert.el (ert-test-failed):
7982 * calc/calc.el (calc-error, inexact-result, math-overflow)
7983 (math-underflow):
7984 * bookmark.el (bookmark-error-no-filename):
7985 * epg.el (epg-error): Define with define-error.
7986
7987 * time.el (display-time-event-handler)
7988 (display-time-next-load-average): Don't call sit-for since it seems
7989 unnecessary (bug#15045).
7990
7991 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7992 Use #' instead of ' to quote functions.
7993 (checkdoc-output-mode): Use setq-local.
7994 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7995 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7996 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7997 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7998 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7999 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8000 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8001 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8002
8003 * ido.el (ido-completion-help): Fix up compiler warning.
8004
8005 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8006
8007 * frameset.el (frameset-p): Add autoload cookie.
8008 (frameset--jump-to-register): New function, based on code moved from
8009 register.el.
8010 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8011
8012 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8013 (frameset-restore, frameset-save, frameset-session-filter-alist):
8014 Remove declarations.
8015 (register-alist): Doc fix.
8016 (frameset-to-register): Move to frameset.el.
8017 (jump-to-register, describe-register-1): Remove frameset-specific code.
8018
8019 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * allout-widgets.el (allout-widgets-pre-command-business)
8022 (allout-widgets-post-command-business)
8023 (allout-widgets-after-change-handler)
8024 (allout-decorate-item-and-context, allout-set-boundary-marker)
8025 (allout-body-modification-handler)
8026 (allout-graphics-modification-handler): Mark ignored arguments.
8027 (allout-widgets-post-command-business)
8028 (allout-widgets-exposure-change-processor)
8029 (allout-widgets-exposure-undo-processor)
8030 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8031 (allout-parse-item-at-point, allout-decorate-item-guides)
8032 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8033 * allout.el (epa-passphrase-callback-function): Declare.
8034 (allout-overlay-insert-in-front-handler)
8035 (allout-overlay-interior-modification-handler)
8036 (allout-isearch-end-handler, allout-chart-siblings)
8037 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8038 (allout-yank-processing, allout-process-exposed)
8039 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8040 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8041 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8042 (lisp-indent-defform): Mark ignored arguments.
8043 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8044 (calculate-lisp-indent): Remove unused variables.
8045 * international/characters.el (indian-2-column, arabic-2-column)
8046 (tibetan): Mark ignored arguments.
8047 (use-cjk-char-width-table): Mark ignored arguments.
8048 Remove unused variables.
8049 * international/fontset.el (build-default-fontset-data)
8050 (x-compose-font-name, create-fontset-from-fontset-spec):
8051 Mark ignored arguments.
8052 (fontset-plain-name): Remove unused variables.
8053 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8054 (keyboard-coding-system): Mark ignored arguments.
8055 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8056 * help.el (resize-temp-buffer-window):
8057 * window.el (display-buffer-in-major-side-window)
8058 (display-buffer-in-side-window, display-buffer-in-previous-window):
8059 Remove unused variables.
8060 * isearch.el (isearch-forward-symbol):
8061 * version.el (emacs-bzr-version-bzr):
8062 * international/mule-cmds.el (current-language-environment):
8063 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8064 (x-handle-display):
8065 * term/pc-win.el (x-list-fonts, x-display-planes)
8066 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8067 (x-server-version, x-display-screens, x-display-mm-height)
8068 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8069 (x-selection-owner-p, x-own-selection-internal)
8070 (x-disown-selection-internal, x-get-selection-internal)
8071 (msdos-initialize-window-system):
8072 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8073 * term/x-win.el (x-handle-no-bitmap-icon):
8074 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8075 (vc-default-find-file-hook, vc-default-extra-menu):
8076 Mark ignored arguments.
8077
8078 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8081 break-condition in the context of the debugged code (bug#12685).
8082
8083 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8084
8085 * comint.el:
8086 Do not use an overlay to highlight the last prompt. (Bug#14744)
8087 (comint-mode): Make comint-last-prompt buffer local.
8088 (comint-last-prompt): New variable.
8089 (comint-last-prompt-overlay): Remove. Superseded by
8090 comint-last-prompt.
8091 (comint-snapshot-last-prompt, comint-output-filter):
8092 Use comint-last-prompt.
8093
8094 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8095
8096 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8097 (frameset-save): Check validity of the resulting frameset.
8098
8099 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8100
8101 * ido.el (ido-record-command): Add doc string.
8102
8103 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8104
8105 * frameset.el (frameset): Do not disable creation of the default
8106 frameset-p predicate. Doc fix.
8107 (frameset-valid-p): New function, copied from the old predicate-p.
8108 Add additional checks.
8109 (frameset-restore): Check with frameset-valid-p.
8110 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8111 (frameset-name, frameset-description, frameset-properties)
8112 (frameset-states): Add docstring.
8113 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8114 (frameset-filter-alist): Doc fixes.
8115
8116 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8117
8118 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8119
8120 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8123 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8124 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8125 (byte-compile-normal-call): Remove obsolescence check.
8126
8127 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8128
8129 * frameset.el (frameset-restore): Doc fix.
8130
8131 * register.el (frameset-frame-id, frameset-frame-with-id)
8132 (frameset-p, frameset-restore, frameset-save): Declare.
8133 (register-alist): Document framesets.
8134 (frameset-session-filter-alist): Declare.
8135 (frameset-to-register): New function.
8136 (jump-to-register): Implement jumping to framesets. Doc fix.
8137 (describe-register-1): Describe framesets.
8138
8139 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8140
8141 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8142
8143 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8144 Use lexical-binding.
8145
8146 * frameset.el (frameset): Use type vector, not list (incompatible
8147 change). Do not declare a new constructor, use the default one.
8148 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8149 `name' and `description', respectively, and add read-only slot
8150 `timestamp'. Doc fixes.
8151 (frameset-copy, frameset-persistent-filter-alist)
8152 (frameset-filter-alist, frameset-switch-to-gui-p)
8153 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8154 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8155 (frameset-filter-iconified, frameset-keep-original-display-p):
8156 Doc fixes.
8157 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8158 Rename from frameset-filter-(save|restore)-param. All callers changed.
8159 Doc fix.
8160 (frameset-p): Adapt to change to vector and be more thorough.
8161 Change arg name to OBJECT. Doc fix.
8162 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8163 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8164 All callers changed.
8165 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8166 All callers changed.
8167 (frameset--record-minibuffer-relationships): Rename from
8168 frameset--process-minibuffer-frames. All callers changed.
8169 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8170 Use new default constructor (again). Doc fix.
8171 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8172 All callers changed.
8173 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8174 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8175 Doc fix.
8176 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8177 PARAMETERS and WINDOW-STATE, respectively.
8178 (frameset-restore): Add new keyword argument PREDICATE.
8179 Reset frameset--target-display to nil. Doc fix.
8180
8181 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8184 (bat-mode): Use it.
8185 (bat-mode-syntax-table): Mark \n as end-of-comment.
8186 (bat-font-lock-keywords): Remove comment rule.
8187
8188 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8189 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8190
8191 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8192 (byte-compile-callargs-warn): Use `push'.
8193 (byte-compile-arglist-warn): Ignore higher-order "calls".
8194 (byte-compile-file-form-autoload): Use `pcase'.
8195 (byte-compile-function-form): If quoting a symbol, check that it exists.
8196
8197 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8198
8199 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8200 and add a few popular commands found in batch files.
8201 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8202 (dos-mode): Doc fixes.
8203
8204 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8207 (dos-mode): Use setq-local. Add space after "rem".
8208 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8209 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8210
8211 2013-08-07 Arni Magnusson <arnima@hafro.is>
8212
8213 * progmodes/dos.el: New file.
8214 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8215 dos-mode.
8216
8217 2013-08-06 Glenn Morris <rgm@gnu.org>
8218
8219 * calendar/calendar.el: Add new faces, and day-header-array.
8220 (calendar-weekday-header, calendar-weekend-header)
8221 (calendar-month-header): New faces.
8222 (calendar-day-header-construct): New function.
8223 (calendar-day-header-width): Also :set calendar-day-header-array.
8224 (calendar-american-month-header, calendar-european-month-header)
8225 (calendar-iso-month-header): Use calendar- faces.
8226 (calendar-generate-month):
8227 Use calendar-day-header-array for day headers; apply faces to them.
8228 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8229 (calendar-abbrev-construct): Add optional maxlen argument.
8230 (calendar-day-name-array): Doc fix.
8231 (calendar-day-name-array, calendar-abbrev-length)
8232 (calendar-day-abbrev-array):
8233 Also :set calendar-day-header-array, and maybe redraw.
8234 (calendar-day-header-array): New option. (Bug#15007)
8235 (calendar-font-lock-keywords): Set to nil and make obsolete.
8236 (calendar-day-name): Add option to use header array.
8237
8238 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8239
8240 * net/shr.el (shr-render-td): Remove debugging.
8241 (shr-render-td): Make width computation consistent by defaulting
8242 all zero-width columns to 10 characters. This may not be optimal,
8243 but it's at least consistent.
8244 (shr-make-table-1): Redo last change to fix the real problem in
8245 colspan handling.
8246
8247 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8248
8249 * files.el (cache-long-line-scans):
8250 Make obsolete alias to `cache-long-scans'.
8251
8252 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8253
8254 * frameset.el (frameset, frameset-filter-alist)
8255 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8256 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8257 (frameset-compute-pos): Rename from frameset--compute-pos,
8258 and add docstring.
8259 (frameset-move-onscreen): Use frameset-compute-pos.
8260 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8261
8262 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8263 Fix typos in docstrings.
8264
8265 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8266
8267 * frame.el (get-other-frame): Tiny cleanup.
8268
8269 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8270
8271 * vc/vc.el (vc-default-ignore-completion-table):
8272 Silence byte-compiler warning.
8273
8274 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8275 slot, which can indeed be nil.
8276 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8277 Move entry for `left' from persistent to live filter alist.
8278 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8279 Doc fixes.
8280 (frameset-filter-params): When restoring a frame, copy items added to
8281 `filtered', to avoid unwittingly modifying the original parameters.
8282 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8283 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8284
8285 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8286 to use looking-at-p instead of looking-at. (Bug#15028)
8287
8288 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 Revert introduction of isearch-filter-predicates (bug#14714).
8291 Rely on add-function instead.
8292 * isearch.el (isearch-filter-predicates): Rename it back to
8293 isearch-filter-predicate.
8294 (isearch-message-prefix): Use advice-function-mapc and advice
8295 properties to get the isearch-message-prefix.
8296 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8297 instead of run-hook-with-args-until-failure.
8298 (isearch-filter-visible): Not obsolete any more.
8299 * loadup.el: Preload nadvice.
8300 * replace.el (perform-replace): Revert to funcall
8301 instead of run-hook-with-args-until-failure.
8302 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8303 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8304 dired-isearch-filenames-toggle; make it into a proper minor mode.
8305 Use add/remove-function.
8306 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8307 Call the minor-mode rather than add/remove-hook.
8308 (dired-isearch-filter-filenames):
8309 Remove isearch-message-prefix property.
8310 * info.el (Info--search-loop): New function, extracted from Info-search.
8311 Funcall isearch-filter-predicate instead of
8312 run-hook-with-args-until-failure isearch-filter-predicates.
8313 (Info-search): Use it.
8314 (Info-mode): Use isearch-filter-predicate instead of
8315 isearch-filter-predicates.
8316
8317 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8318
8319 Do not call to `selected-window' where it is assumed by default.
8320 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8321 `window-hscroll', `window-width', `window-height', `window-buffer',
8322 `window-frame', `window-start', `window-point', `next-window'
8323 and `window-display-table'.
8324 * abbrev.el (abbrev--default-expand):
8325 * bs.el (bs--show-with-configuration):
8326 * buff-menu.el (Buffer-menu-mouse-select):
8327 * calc/calc.el (calc):
8328 * calendar/calendar.el (calendar-generate-window):
8329 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8330 (diary-make-entry):
8331 * comint.el (send-invisible, comint-dynamic-complete-filename)
8332 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8333 * completion.el (complete):
8334 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8335 * disp-table.el (describe-current-display-table):
8336 * doc-view.el (doc-view-insert-image):
8337 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8338 * ehelp.el (with-electric-help):
8339 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8340 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8341 * emacs-lisp/helper.el (Helper-help-scroller):
8342 * emulation/cua-base.el (cua--post-command-handler-1):
8343 * eshell/esh-mode.el (eshell-output-filter):
8344 * ffap.el (ffap-gnus-wrapper):
8345 * help-macro.el (make-help-screen):
8346 * hilit-chg.el (highlight-compare-buffers):
8347 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8348 * hl-line.el (global-hl-line-highlight):
8349 * icomplete.el (icomplete-simple-completing-p):
8350 * isearch.el (isearch-done):
8351 * jit-lock.el (jit-lock-stealth-fontify):
8352 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8353 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8354 * mpc.el (mpc-tagbrowser, mpc):
8355 * net/rcirc.el (rcirc-any-buffer):
8356 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8357 * play/landmark.el (landmark-max-width, landmark-max-height):
8358 * play/zone.el (zone):
8359 * progmodes/compile.el (compilation-goto-locus):
8360 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8361 * progmodes/etags.el (find-tag-other-window):
8362 * progmodes/fortran.el (fortran-column-ruler):
8363 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8364 * progmodes/verilog-mode.el (verilog-point-text):
8365 * reposition.el (reposition-window):
8366 * rot13.el (toggle-rot13-mode):
8367 * server.el (server-switch-buffer):
8368 * shell.el (shell-dynamic-complete-command)
8369 (shell-dynamic-complete-environment-variable):
8370 * simple.el (insert-buffer, set-selective-display)
8371 (delete-completion-window):
8372 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8373 (speedbar-recenter):
8374 * startup.el (fancy-splash-head):
8375 * textmodes/ispell.el (ispell-command-loop):
8376 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8377 * tutorial.el (help-with-tutorial):
8378 * vc/add-log.el (add-change-log-entry):
8379 * vc/compare-w.el (compare-windows):
8380 * vc/ediff-help.el (ediff-indent-help-message):
8381 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8382 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8383 (ediff-setup-control-frame):
8384 * vc/emerge.el (emerge-position-region):
8385 * vc/pcvs-util.el (cvs-bury-buffer):
8386 * window.el (walk-windows, mouse-autoselect-window-select):
8387 * winner.el (winner-set-conf, winner-undo): Related users changed.
8388
8389 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8390
8391 * frameset.el (frameset--set-id): Doc fix.
8392 (frameset-frame-id, frameset-frame-id-equal-p)
8393 (frameset-locate-frame-id): New functions.
8394 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8395 (frameset-restore): Use them.
8396
8397 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8398
8399 Do not call to `selected-frame' where it is assumed by default.
8400 Affected functions are `raise-frame', `redraw-frame',
8401 `frame-first-window', `frame-terminal' and `delete-frame'.
8402 * calendar/appt.el (appt-disp-window):
8403 * epg.el (epg-wait-for-completion):
8404 * follow.el (follow-delete-other-windows-and-split)
8405 (follow-avoid-tail-recenter):
8406 * international/mule.el (set-terminal-coding-system):
8407 * mail/rmail.el (rmail-mail-return):
8408 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8409 * progmodes/f90.el (f90-add-imenu-menu):
8410 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8411 * server.el (server-switch-buffer):
8412 * simple.el (delete-completion-window):
8413 * talk.el (talk):
8414 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8415 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8416 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8417 * vc/ediff.el (ediff-documentation): Related users changed.
8418 * frame.el (selected-terminal): Remove the leftover.
8419
8420 2013-08-05 Glenn Morris <rgm@gnu.org>
8421
8422 * calendar/calendar.el (calendar-generate-month):
8423 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8424 (calendar-generate-month, calendar-font-lock-keywords):
8425 Fix for calendar-day-header-width > length of any day name.
8426
8427 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8428
8429 * desktop.el (desktop-clear): Use new name of sort predicate.
8430
8431 * frameset.el (frameset): Add docstring. Move :version property to its
8432 own `version' slot.
8433 (frameset-copy): Rename from copy-frameset.
8434 (frameset-p): Check more thoroughly.
8435 (frameset-prop): Do not check for :version, which is no longer a prop.
8436 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8437 Use new :never value instead of t.
8438 (frameset-filter-alist): Expand and clarify docstring.
8439 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8440 (frameset-filter-minibuffer, frameset-filter-save-param)
8441 (frameset-filter-restore-param, frameset-filter-iconified):
8442 Add pointer to docstring of frameset-filter-alist.
8443 (frameset-filter-params): Rename filter values to be more meaningful:
8444 :never instead of t, and reverse the meanings of :save and :restore.
8445 (frameset--process-minibuffer-frames): Clarify error message.
8446 (frameset-save): Avoid unnecessary and confusing call to framep.
8447 Use new BOA constructor for framesets.
8448 (frameset--reuse-list): Doc fix.
8449 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8450 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8451 (frameset-minibufferless-first-p): Doc fix.
8452 Rename from frameset-sort-frames-for-deletion.
8453 (frameset-restore): Doc fixes. Use new function names.
8454 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8455
8456 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8457
8458 * desktop.el (desktop-restore-forces-onscreen)
8459 (desktop-restore-reuses-frames): Document :keyword constant values.
8460 (desktop-filter-parameters-alist): Remove, now identical to
8461 frameset-filter-alist.
8462 (desktop--filter-tty*): Remove, moved to frameset.el.
8463 (desktop-save-frameset, desktop-restore-frameset):
8464 Do not pass :filters argument.
8465
8466 * frameset.el (frameset-live-filter-alist)
8467 (frameset-persistent-filter-alist): New variables.
8468 (frameset-filter-alist): Use them. Add autoload cookie.
8469 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8470 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8471 `frameset--id' (it's supposed to be internal to frameset.el).
8472 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8473 (frameset--initial-params): New function.
8474 (frameset--get-frame): Use it. Doc fix.
8475 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8476 Accept :all, not 'all.
8477 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8478 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8479 with fbound symbols. Fix frame id matching, and remove matching ids if
8480 the frame being restored is deleted. Obey :delete.
8481
8482 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8483
8484 * subr.el (macrop): New function.
8485 (text-clone--maintaining): New var.
8486 (text-clone--maintain): Rename from text-clone-maintain. Use it
8487 instead of inhibit-modification-hooks.
8488
8489 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8490 a proxy, so as handle autoloads and redefinitions of the target.
8491 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8492
8493 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8494 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8495 (pcase--mutually-exclusive-p): New function.
8496 (pcase--split-consp): Use it.
8497 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8498 mutually exclusive with the current predicate.
8499
8500 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8501 (edebug-macrop): Remove. Use `macrop' instead.
8502 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8503 (ad-macro-p):
8504 * eshell/esh-cmd.el (eshell-macrop):
8505 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8506
8507 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8510 (advice-mapc): New function, using it.
8511 (advice-function-member-p): New function.
8512 (advice--normalize): Store the cdr in advice--saved-rewrite since
8513 that's the part that will be changed.
8514 (advice--symbol-function): New function.
8515 (advice-remove): Handle removal before the function is defined.
8516 Adjust to new advice--saved-rewrite.
8517 (advice-member-p): Use advice-function-member-p and
8518 advice--symbol-function.
8519
8520 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8521
8522 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8523 (frameset-filter-minibuffer): Doc fix.
8524 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8525 (frameset--set-id, frameset--process-minibuffer-frames)
8526 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8527 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8528
8529 * desktop.el (desktop-clear): Only delete frames when called
8530 interactively and desktop-restore-frames is non-nil. Doc fix.
8531 (desktop-read): Set desktop-saved-frameset to nil.
8532
8533 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8534
8535 * vc/vc.el (vc-ignore): Rewrite.
8536 (vc-default-ignore-completion-table, vc--read-lines)
8537 (vc--add-line, vc--remove-regexp): New functions.
8538
8539 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8540 (vc-svn-ignore-completion-table): New function.
8541
8542 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8543 (vc-hg-ignore-completion-table)
8544 (vc-hg-find-ignore-file): New functions.
8545
8546 * vc/vc-git.el (vc-git-ignore): Rewrite.
8547 (vc-git-ignore-completion-table)
8548 (vc-git-find-ignore-file): New functions.
8549
8550 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8551
8552 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8553 (vc-bzr-ignore-completion-table)
8554 (vc-bzr-find-ignore-file): New functions.
8555
8556 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8557
8558 * frameset.el (frameset-prop): New function and setter.
8559 (frameset-save): Do not modify frame list passed by the caller.
8560
8561 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8564
8565 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8568 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8569
8570 * custom.el (custom-initialize-default, custom-initialize-set)
8571 (custom-initialize-reset, custom-initialize-changed): Affect the
8572 toplevel-default-value (bug#6275, bug#14586).
8573 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8574 for bug#6275.
8575
8576 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8577
8578 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8579 Add cl-def* expressions.
8580
8581 * frameset.el (frameset-filter-params): Fix order of arguments.
8582
8583 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8584
8585 Move code related to saving frames to frameset.el.
8586 * desktop.el: Require frameset.
8587 (desktop-restore-frames): Doc fix.
8588 (desktop-restore-reuses-frames): Rename from
8589 desktop-restoring-reuses-frames.
8590 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8591 (desktop-clear): Clear frames too.
8592 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8593 (desktop--filter-tty*, desktop-save, desktop-read):
8594 Use frameset functions.
8595 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8596 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8597 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8598 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8599 (desktop--process-minibuffer-frames, desktop-save-frames)
8600 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8601 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8602 (desktop--sort-states, desktop-restoring-frames-p)
8603 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8604 (desktop-restoring-frameset-p, desktop-restore-frameset)
8605 (desktop--check-dont-save, desktop-save-frameset): New functions.
8606 (desktop--app-id): New constant.
8607 (desktop-first-buffer, desktop-buffer-ok-count)
8608 (desktop-buffer-fail-count): Move before first use.
8609 * frameset.el: New file.
8610
8611 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8612
8613 * files.el: Use lexical-binding.
8614 (dir-locals-read-from-file): Remove unused `err' variable.
8615 (hack-dir-local-variables--warned-coding): New var.
8616 (hack-dir-local-variables): Use it to avoid repeated warnings.
8617 (make-backup-file-name--default-function): New function.
8618 (make-backup-file-name-function): Use it as default.
8619 (buffer-stale--default-function): New function.
8620 (buffer-stale-function): Use it as default.
8621 (revert-buffer-insert-file-contents--default-function): New function.
8622 (revert-buffer-insert-file-contents-function): Use it as default.
8623 (insert-directory): Avoid add-to-list.
8624
8625 * autorevert.el (auto-revert-handler): Simplify.
8626 Use buffer-stale--default-function.
8627
8628 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8629
8630 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8631
8632 * whitespace.el (whitespace-ensure-local-variables): New function.
8633 (whitespace-cleanup-region): Call it.
8634 (whitespace-turn-on): Call it.
8635
8636 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8637
8638 Complete file name handlers.
8639
8640 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8641 (tramp-handle-verify-visited-file-modtime)
8642 (tramp-handle-file-notify-rm-watch): New functions.
8643 (tramp-call-process): Do not bind `default-directory'.
8644
8645 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8646 Order alphabetically.
8647 <access-file, add-name-to-file, dired-call-process>:
8648 <dired-compress-file, file-acl, file-notify-rm-watch>:
8649 <file-ownership-preserved-p, file-selinux-context>:
8650 <make-directory-internal, make-symbolic-link, set-file-acl>:
8651 <set-file-selinux-context, set-visited-file-modtime>:
8652 <verify-visited-file-modtime>: Add handler.
8653 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8654
8655 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8656 <file-notify-add-watch, file-notify-rm-watch>:
8657 <set-file-times, set-visited-file-modtime>:
8658 <verify-visited-file-modtime>: Add handler.
8659 (with-tramp-gvfs-error-message)
8660 (tramp-gvfs-handle-set-visited-file-modtime)
8661 (tramp-gvfs-fuse-file-name): Remove.
8662 (tramp-gvfs-handle-file-notify-add-watch)
8663 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8664 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8665
8666 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8667 Order alphabetically.
8668 <file-notify-rm-watch>: Use default Tramp handler.
8669 <executable-find>: Remove private handler.
8670 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8671 `default-directory'.
8672 (tramp-sh-handle-executable-find)
8673 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8674 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8675 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8676 Do not use `format' in `tramp-message'.
8677
8678 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8679 <file-notify-rm-watch, set-visited-file-modtime>:
8680 <verify-visited-file-modtime>: Add handler.
8681 (tramp-smb-call-winexe): Do not bind `default-directory'.
8682
8683 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8684
8685 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8686
8687 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8688
8689 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8690 use it.
8691 (log-view-diff-changeset): Same.
8692 (log-view-diff-common): Call backend command `previous-revision'
8693 to find out the previous revision, in both cases. Swap the
8694 variables `to' and `fr', so that `fr' usually refers to the
8695 earlier revision (Bug#14989).
8696
8697 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8698
8699 * ibuf-ext.el (ibuffer-filter-by-filename):
8700 Make it work with dired buffers too.
8701
8702 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8703
8704 * emacs-lisp/re-builder.el (reb-color-display-p):
8705 * files.el (save-buffers-kill-terminal):
8706 * net/browse-url.el (browse-url):
8707 * server.el (server-save-buffers-kill-terminal):
8708 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8709 Prefer nil to selected-frame for the first arg of frame-parameter.
8710
8711 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8712
8713 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8714
8715 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8716
8717 * minibuffer.el (completion--twq-all): Try and preserve each
8718 completion's case choice (bug#14907).
8719
8720 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8721
8722 * net/network-stream.el (open-network-stream): Mention the new
8723 :nogreeting parameter.
8724 (network-stream-open-starttls): Use the :nogreeting parameter
8725 (bug#14938).
8726
8727 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8728
8729 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8730 more natural than popping.
8731
8732 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8733 (shr-urlify): Highlight under mouse.
8734
8735 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8736
8737 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8738
8739 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8740
8741 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8742 buffer for output.
8743
8744 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8745 point-min==1. Fix search string. Fix parentheses missing.
8746
8747 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8748 assume point-min==1. Fix search string. Fix parentheses missing.
8749
8750 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8751
8752 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8753 buffer for output.
8754
8755 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8756
8757 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8758 initial frame is minibuffer-less. (Bug#14841)
8759
8760 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8761
8762 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8763 option.
8764
8765 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8766 (tramp-maybe-open-connection): Use it.
8767
8768 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8769
8770 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8771 minimal set of parameters passed when creating a frame, because
8772 the minibuffer status of a frame cannot be changed later.
8773
8774 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8775
8776 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8777 replace-regexp-in-string and inadvertent omissions in previous change.
8778 (todo-filter-items): Ensure only file names are comma-separated in
8779 name of filtered items buffer.
8780
8781 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8782
8783 * desktop.el: Optionally force offscreen frames back onscreen.
8784 (desktop-restoring-reuses-frames): New option.
8785 (desktop--compute-pos, desktop--move-onscreen): New functions.
8786 (desktop--make-frame): Use desktop--move-onscreen.
8787
8788 2013-07-27 Alan Mackenzie <acm@muc.de>
8789
8790 Fontify a Java generic method as a function.
8791 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8792 value to t.
8793
8794 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8795
8796 * calendar/todo-mode.el: Add command to rename todo files.
8797 (todo-rename-file): New command.
8798 (todo-key-bindings-t): Add key binding for it. Change the
8799 bindings of todo-filter-regexp-items(-multifile) to use `x'
8800 instead of `r', since the latter is better suited to the new
8801 renaming command.
8802
8803 2013-07-27 Alan Mackenzie <acm@muc.de>
8804
8805 Make Java try-with-resources statement parse properly.
8806 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8807 (c-block-stmt-1-2-key): New language constants/variables.
8808 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8809 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8810 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8811 with c-block-stmt-1-2-key.
8812
8813 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8814
8815 * desktop.el (desktop--make-frame): Apply most frame parameters after
8816 creating the frame to force (partially or totally) offscreen frames to
8817 be restored as such.
8818
8819 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8820
8821 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8822 (Bug#14948)
8823
8824 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8827 `base' arg of backtrace-frame.
8828
8829 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8830
8831 * simple.el (list-processes): Doc fix.
8832
8833 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8834
8835 * desktop.el (desktop--select-frame):
8836 Try harder to reuse existing frames.
8837
8838 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8841 (edebug-eval): Use backtrace-eval.
8842 (edebug--display, edebug--recursive-edit): Don't let-bind the
8843 edebug-outer-* vars that keep track of variables we locally let-bind.
8844 (edebug-outside-excursion): Don't restore outside values of locally
8845 let-bound vars.
8846 (edebug--display): Use user-error.
8847 (cl-lexical-debug, cl-debug-env): Remove.
8848
8849 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8850
8851 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8852 are restored to be sure that they are visible before deleting any
8853 remaining ones.
8854
8855 2013-07-26 Matthias Meulien <orontee@gmail.com>
8856
8857 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8858 vc-print-root-log. (Bug#14948)
8859
8860 2013-07-26 Richard Stallman <rms@gnu.org>
8861
8862 Add aliases for encrypting mail.
8863 * epa.el (epa-mail-aliases): New option.
8864 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8865 Bind inhibit-read-only so read-only text doesn't ruin everything.
8866 (epa-mail-default-recipients): New subroutine broken out.
8867 Handle epa-mail-aliases.
8868
8869 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8870
8871 Add support for lexical variables to the debugger's `e' command.
8872 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8873 vars, except for debugger-outer-match-data.
8874 (debugger-frame-number): Move check for "on a function call" from
8875 callers into it. Add `skip-base' argument.
8876 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8877 (debugger-env-macro): Only reset the state stored in non-variables,
8878 i.e. current-buffer and match-data.
8879 (debugger-eval-expression): Rewrite using backtrace-eval.
8880 * subr.el (internal--called-interactively-p--get-frame): Remove.
8881 (called-interactively-p):
8882 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8883 `base' arg of backtrace-frame instead.
8884
8885 2013-07-26 Glenn Morris <rgm@gnu.org>
8886
8887 * align.el (align-regexp): Doc fix. (Bug#14857)
8888 (align-region): Explicit error if subexpression missing/does not match.
8889
8890 * simple.el (global-visual-line-mode):
8891 Do not duplicate the mode lighter. (Bug#14858)
8892
8893 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8894
8895 * window.el (display-buffer): In display-buffer bind
8896 split-window-keep-point to t, bug#14829.
8897
8898 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8899
8900 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8901 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8902 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8903 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8904 Change accordingly.
8905 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8906 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8907
8908 2013-07-25 Glenn Morris <rgm@gnu.org>
8909
8910 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8911
8912 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8913
8914 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8915 parameter to modify-frame-parameters if the value has not changed;
8916 this is a workaround for bug#14949.
8917 (desktop--make-frame): On cl-delete-if call, check parameter name,
8918 not full parameter.
8919
8920 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8921
8922 * vc/vc.el (vc-ignore): New function.
8923
8924 * vc/vc-svn.el (vc-svn-ignore): New function.
8925
8926 * vc/vc-hg.el (vc-hg-ignore): New function.
8927
8928 * vc/vc-git.el (vc-git-ignore): New function.
8929
8930 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8931 (vc-dir-ignore): New function.
8932
8933 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8934 (cvs-append-to-ignore): Move here from pcvs.el.
8935
8936 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8937
8938 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8939
8940 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8941
8942 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8943 (desktop-restore-frames): Warn when deleting an existing frame failed.
8944
8945 2013-07-24 Glenn Morris <rgm@gnu.org>
8946
8947 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8948
8949 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8950
8951 * filenotify.el (file-notify-supported-p):
8952 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8953 Remove functions.
8954
8955 * autorevert.el (auto-revert-use-notify)
8956 (auto-revert-notify-add-watch):
8957 * net/tramp.el (tramp-file-name-for-operation):
8958 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8959 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8960 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8961 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8962 Remove `file-notify-supported-p' entry.
8963
8964 2013-07-24 Glenn Morris <rgm@gnu.org>
8965
8966 * printing.el: Replace all uses of deleted ps-windows-system,
8967 ps-lp-system, ps-flatten-list with lpr- versions.
8968
8969 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8972 checked with memq (bug#14935).
8973
8974 * files.el (revert-buffer-function): Use a non-nil default.
8975 (revert-buffer-preserve-modes): Declare var to
8976 provide access to the `preserve-modes' argument.
8977 (revert-buffer): Let-bind it.
8978 (revert-buffer--default): New function, extracted from revert-buffer.
8979
8980 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * lpr.el: Signal print errors more prominently.
8983 (print-region-function): Don't default to nil.
8984 (lpr-print-region): New function, extracted from print-region-1.
8985 Check lpr's return value and signal an error in case of problem.
8986 (print-region-1): Use it.
8987 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8988 versions instead.
8989 (ps-printer-name): Default to nil.
8990 (ps-printer-name-option): Default to lpr-printer-switch.
8991 (ps-print-region-function): Don't default to nil.
8992 (ps-postscript-code-directory): Simplify default.
8993 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8994 (ps-string-list, ps-eval-switch, ps-flatten-list)
8995 (ps-flatten-list-1): Remove.
8996 (ps-multibyte-buffer): Avoid setq.
8997 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8998 (print-region-function, ps-print-region-function): Don't set them here.
8999
9000 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9001
9002 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9003 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9004 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9005 (ido-decorations): Doc fix.
9006
9007 * ansi-color.el: Fix old URL.
9008
9009 2013-07-23 Michael R. Mauger <michael@mauger.com>
9010
9011 * progmodes/sql.el: Version 3.3
9012 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9013 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9014 (sql-interactive-remove-continuation-prompt): Rewrite, use
9015 functions above. Fix continuation prompt and complete output line
9016 handling.
9017 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9018 redirected output buffer.
9019 (sql-mode): Restore deleted code (Bug#13591).
9020
9021 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9022
9023 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9024
9025 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9026
9027 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9028
9029 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9030 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9031 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9032
9033 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9034
9035 * desktop.el (desktop-clear): Simplify; remove useless checks
9036 against invalid buffer names.
9037 (desktop-list*): Use cl-list*.
9038 (desktop-buffer-info, desktop-create-buffer): Simplify.
9039
9040 2013-07-23 Leo Liu <sdl.web@gmail.com>
9041
9042 * bookmark.el (bookmark-make-record): Restore NAME as a default
9043 value. (Bug#14933)
9044
9045 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9046
9047 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9048 extracted from autoload--insert-text.
9049 (autoload--insert-text): Remove.
9050 (autoload--print-cookie-text): New function, extracted from
9051 autoload--insert-cookie-text.
9052 (autoload--insert-cookie-text): Remove.
9053 (autoload-generate-file-autoloads): Adjust calls accordingly.
9054
9055 * winner.el (winner-hook-installed-p): Remove.
9056 (winner-mode): Simplify accordingly.
9057
9058 * subr.el (add-to-list): Fix compiler-macro when `append' is
9059 not constant. Don't use `cl-member' for the base case.
9060
9061 * progmodes/subword.el: Fix boundary case (bug#13758).
9062 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9063 own group.
9064 (subword-backward-regexp): Make it a constant.
9065 (subword-forward-internal): Don't treat a trailing capital as the
9066 beginning of a word.
9067
9068 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9069
9070 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9071 global value of tabulated-list-revert-hook (bug#14930).
9072
9073 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9074
9075 * desktop.el: Require 'cl-lib.
9076 (desktop-before-saving-frames-functions): New hook.
9077 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9078 for frames being saved. Rename from desktop--save-minibuffer-frames.
9079 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9080 Do not save frames with non-nil `desktop-dont-save' parameter.
9081 Filter out deleted frames.
9082 (desktop--find-frame): Use cl-find-if.
9083 (desktop--select-frame): Use cl-(first|second|third) to access values
9084 of desktop-mini.
9085 (desktop--make-frame): Use cl-delete-if.
9086 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9087 (desktop-restore-frames): Use cl-(first|second|third) to access values
9088 of desktop-mini. Look for visible frame at the end, not while
9089 restoring frames.
9090
9091 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9092 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9093 Use string-match-p, looking-at-p (bug#14927).
9094
9095 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9096
9097 * desktop.el (desktop-saved-frame-states):
9098 Rename from desktop--saved-states; all users changed.
9099 (desktop-save-frames): Rename from desktop--save-frames.
9100 Do not save state to desktop file.
9101 (desktop-save): Save desktop-saved-frame-states to desktop file
9102 and reset to nil.
9103 (desktop-restoring-frames-p): New function.
9104 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9105 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9106 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9107
9108 * desktop.el: Correctly restore iconified frames.
9109 (desktop--filter-iconified-position): New function.
9110 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9111
9112 2013-07-20 Glenn Morris <rgm@gnu.org>
9113
9114 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9115 Let `message' do the formatting.
9116 (def-gdb-preempt-display-buffer): Add explicit format.
9117
9118 * image-dired.el (image-dired-track-original-file):
9119 Use with-current-buffer.
9120 (image-dired-track-thumbnail): Use with-current-buffer.
9121 Avoid changing point of wrong window.
9122
9123 * image-dired.el (image-dired-track-original-file):
9124 Avoid changing point of wrong window. (Bug#14909)
9125
9126 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9127
9128 * progmodes/gdb-mi.el (gdb-done-or-error):
9129 Guard against "%" in gdb output. (Bug#14127)
9130
9131 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9132
9133 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9134 (Bug#14826)
9135
9136 * international/mule.el (coding-system-iso-2022-flags): Fix last
9137 change.
9138
9139 2013-07-20 Kenichi Handa <handa@gnu.org>
9140
9141 * international/mule.el (coding-system-iso-2022-flags):
9142 Add `8-bit-level-4'. (Bug#8522)
9143
9144 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9145
9146 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9147 (bug#14815).
9148
9149 * net/eww.el (eww-process-text-input): Allow inputting when the
9150 point is at the start of the line, as the properties aren't
9151 front-sticky.
9152
9153 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9154 degenerate widths.
9155
9156 2013-07-19 Richard Stallman <rms@gnu.org>
9157
9158 * epa.el (epa-popup-info-window): Doc fix.
9159
9160 * subr.el (split-string): New arg TRIM.
9161
9162 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9163
9164 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9165 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9166
9167 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9168
9169 * filenotify.el (file-notify--library): Rename from
9170 `file-notify-support'. Do not autoload. Adapt all uses.
9171 (file-notify-supported-p): New defun.
9172
9173 * autorevert.el (auto-revert-use-notify):
9174 Use `file-notify-supported-p' instead of `file-notify-support'.
9175 Adapt docstring.
9176 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9177
9178 * net/tramp.el (tramp-file-name-for-operation):
9179 Add `file-notify-supported-p'.
9180
9181 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9182 New defun.
9183 (tramp-sh-file-name-handler-alist): Add it as handler for
9184 `file-notify-supported-p '.
9185
9186 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9187 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9188 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9189 Add `ignore' as handler for `file-notify-*' functions.
9190
9191 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9192
9193 * simple.el (line-move-partial, line-move): Don't start vscroll or
9194 scroll-up if the current line is not taller than the window.
9195 (Bug#14881)
9196
9197 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9198
9199 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9200 highlight question marks in the method names as strings.
9201 (ruby-block-beg-keywords): Inline.
9202 (ruby-font-lock-keyword-beg-re): Extract from
9203 `ruby-font-lock-keywords'.
9204
9205 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9206
9207 * frame.el (blink-cursor-blinks): New defcustom.
9208 (blink-cursor-blinks-done): New defvar.
9209 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9210 (blink-cursor-timer-function): Check if number of blinks has been
9211 done on X and NS.
9212 (blink-cursor-suspend, blink-cursor-check): New defuns.
9213
9214 2013-07-15 Glenn Morris <rgm@gnu.org>
9215
9216 * edmacro.el (edmacro-format-keys): Fix previous change.
9217
9218 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9219
9220 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9221 The hack didn't work outside English locales anyway.
9222
9223 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9224
9225 * simple.el (define-alternatives): Rename from alternatives-define,
9226 per RMS' suggestion.
9227
9228 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9229
9230 * desktop.el (desktop-restore-frames): Change default to t.
9231 (desktop-restore-in-current-display): Now offer more options.
9232 (desktop-restoring-reuses-frames): New customization option.
9233 (desktop--saved-states): Doc fix.
9234 (desktop-filter-parameters-alist): New variable, renamed and expanded
9235 from desktop--excluded-frame-parameters.
9236 (desktop--target-display): New variable.
9237 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9238 (desktop--filter-tty*, desktop--filter-*-color)
9239 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9240 (desktop--filter-save-desktop-parm)
9241 (desktop-restore-in-original-display-p): New functions.
9242 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9243 (desktop--save-minibuffer-frames): New function, inspired by a similar
9244 function from Martin Rudalics.
9245 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9246 (desktop--restore-in-this-display-p): Remove.
9247 (desktop--find-frame): Rename from desktop--find-frame-in-display
9248 and add predicate argument.
9249 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9250 (desktop--reuse-list): New variable.
9251 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9252 New functions.
9253 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9254
9255 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9256
9257 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9258
9259 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9260
9261 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9262 Highlight conversion methods on Kernel.
9263
9264 2013-07-13 Alan Mackenzie <acm@muc.de>
9265
9266 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9267 and comment it out. This out-commenting enables certain C++
9268 declarations to be parsed correctly.
9269
9270 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9271
9272 * international/mule.el (define-coding-system): Doc fix.
9273
9274 * simple.el (default-font-height): Don't call font-info if the
9275 frame's default font didn't change since the frame was created.
9276 (Bug#14838)
9277
9278 2013-07-13 Leo Liu <sdl.web@gmail.com>
9279
9280 * ido.el (ido-read-file-name): Guard against non-symbol value.
9281
9282 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9283
9284 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9285 in nested defuns.
9286
9287 2013-07-13 Leo Liu <sdl.web@gmail.com>
9288
9289 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9290 ido-set-matches call. (Bug#6852)
9291
9292 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9293
9294 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9295 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9296 Ruby 2.0.
9297 (ruby-font-lock-keywords): Distinguish calls to functions with
9298 module-like names from module references. Highlight character
9299 literals.
9300
9301 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9302
9303 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9304 (gdb-send): Handle continued commands. (Bug#14847)
9305
9306 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9307
9308 * desktop.el (desktop--v2s): Remove unused local variable.
9309 (desktop-save-buffer): Make defvar-local; adjust docstring.
9310 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9311 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9312
9313 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9314
9315 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9316
9317 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9318
9319 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9320 (Bug#14842)
9321
9322 2013-07-12 Glenn Morris <rgm@gnu.org>
9323
9324 * doc-view.el: Require cl-lib at runtime too.
9325 (doc-view-remove-if): Remove.
9326 (doc-view-search-next-match, doc-view-search-previous-match):
9327 Use cl-remove-if.
9328
9329 * edmacro.el: Require cl-lib at runtime too.
9330 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9331 (edmacro-mismatch, edmacro-subseq): Remove.
9332
9333 * shadowfile.el: Require cl-lib.
9334 (shadow-remove-if): Remove.
9335 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9336 Use cl-remove-if.
9337
9338 * wid-edit.el: Require cl-lib.
9339 (widget-choose): Use cl-remove-if.
9340 (widget-remove-if): Remove.
9341
9342 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9343 (ebrowse-delete-if-not): Remove.
9344 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9345 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9346 Use cl-delete-if-not.
9347
9348 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9349
9350 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9351 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9352
9353 2013-07-12 Leo Liu <sdl.web@gmail.com>
9354
9355 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9356
9357 2013-07-11 Glenn Morris <rgm@gnu.org>
9358
9359 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9360 (edebug-gensym-index, edebug-gensym):
9361 Remove reimplementation of cl-gensym.
9362 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9363
9364 * thumbs.el: Require cl-lib at run-time too.
9365 (thumbs-gensym-counter, thumbs-gensym):
9366 Remove reimplementation of cl-gensym.
9367 (thumbs-temp-file): Use cl-gensym.
9368
9369 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9370 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9371 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9372 (ert--union, ert--gensym-counter, ert--gensym-counter)
9373 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9374 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9375 (ert-make-test-unbound, ert--expand-should-1)
9376 (ert--expand-should, ert--should-error-handle-error)
9377 (should-error, ert--explain-equal-rec)
9378 (ert--plist-difference-explanation, ert-select-tests)
9379 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9380 Use cl-lib functions rather than reimplementations.
9381
9382 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9383
9384 * net/tramp.el (tramp-methods): Extend docstring.
9385 (tramp-connection-timeout): New defcustom.
9386 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9387 (with-tramp-progress-reporter): Simplify.
9388 (tramp-process-actions): Improve messages.
9389
9390 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9391 * net/tramp-sh.el (tramp-maybe-open-connection):
9392 Use `tramp-connection-timeout'.
9393 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9394 (Bug#14808)
9395
9396 2013-07-11 Leo Liu <sdl.web@gmail.com>
9397
9398 * ido.el (ido-read-file-name): Conform to the requirements of
9399 read-file-name. (Bug#11861)
9400 (ido-read-directory-name): Conform to the requirements of
9401 read-directory-name.
9402
9403 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9404
9405 * subr.el (delay-warning): New function.
9406
9407 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9408
9409 * simple.el (default-line-height): New function.
9410 (line-move-partial, line-move): Use it instead of computing the
9411 line height inline.
9412 (line-move-partial): Always compute ROWH. If the last line is
9413 partially-visible, but its text is completely visible, allow
9414 cursor to enter such a partially-visible line.
9415
9416 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9417
9418 Improve error messages. (Bug#14808)
9419
9420 * net/tramp.el (tramp-current-connection): New defvar, moved from
9421 tramp-sh.el.
9422 (tramp-message-show-progress-reporter-message): Remove, not
9423 needed anymore.
9424 (tramp-error-with-buffer): Show message in minibuffer.
9425 Discard input before waiting. Reset connection timestamp.
9426 (with-tramp-progress-reporter): Improve messages.
9427 (tramp-process-actions): Use progress reporter. Delete process in
9428 case of error. Improve messages.
9429
9430 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9431 Call `tramp-error-with-buffer' with vector and buffer.
9432 (tramp-current-connection): Remove.
9433 (tramp-maybe-open-connection): The car of
9434 `tramp-current-connection' are the first 3 slots of the vector.
9435
9436 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9437
9438 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9439 inside continued strings.
9440
9441 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9442
9443 Timestamp fixes for undo (Bug#14824).
9444 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9445
9446 2013-07-10 Leo Liu <sdl.web@gmail.com>
9447
9448 * files.el (require-final-newline): Allow safe local value.
9449 (Bug#14834)
9450
9451 2013-07-09 Leo Liu <sdl.web@gmail.com>
9452
9453 * ido.el (ido-read-directory-name): Handle fallback.
9454 (ido-read-file-name): Update DIR to ido-current-directory.
9455 (Bug#1516)
9456 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9457
9458 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9459
9460 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9461 "autoload". Remove "warn lower camel case" section, previously
9462 commented out. Highlight negation char. Do not highlight the
9463 target in singleton method definitions.
9464
9465 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9466
9467 * faces.el (tty-setup-hook): Declare the hook.
9468
9469 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9470 and detect when a guard/pred depends on local vars (bug#14773).
9471 (pcase--u1): Adjust caller.
9472
9473 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9474
9475 * simple.el (line-move-partial, line-move): Account for
9476 line-spacing.
9477 (line-move-partial): Avoid setting vscroll when the last
9478 partially-visible line in window is of default height.
9479
9480 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9481
9482 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9483 been used a while.
9484
9485 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9486
9487 * subr.el (read-quoted-char): Remove unused local variable `char'.
9488
9489 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9490
9491 * ediff.el (ediff-version): Version update.
9492 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9493 (ediff-merge-with-ancestor-command, ediff-directories-command)
9494 (ediff-directories3-command, ediff-merge-directories-command)
9495 (ediff-merge-directories-with-ancestor-command): New functions.
9496 All are command-line interfaces to ediff: to facilitate calling
9497 Emacs with the appropriate ediff functions invoked.
9498
9499 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9500 (viper-save-kill-buffer): Check if buffer is modified.
9501
9502 * viper.el (viper-version): Version update.
9503 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9504
9505 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9506
9507 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9508 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9509 (viper-intercept-ESC-key): Simplify.
9510 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9511 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9512 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9513 (viper-setup-ESC-to-escape): New functions.
9514 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9515 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9516
9517 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9518
9519 * simple.el (default-font-height, window-screen-lines):
9520 New functions.
9521 (line-move, line-move-partial): Use them instead of
9522 frame-char-height and window-text-height. This makes scrolling
9523 text smoother when the buffer's default face uses a font that is
9524 different from the frame's default font.
9525
9526 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9527
9528 * files.el (write-file): Do not display confirm dialog for NS,
9529 it does its own dialog, which can't be canceled (Bug#14578).
9530
9531 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9532
9533 * simple.el (line-move-partial): Adjust the row returned by
9534 posn-at-point for the current window-vscroll. (Bug#14567)
9535
9536 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9537
9538 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9539 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9540 spaces.
9541
9542 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9543
9544 * window.el (window-state-put-stale-windows): New variable.
9545 (window--state-put-2): Save list of windows without matching buffer.
9546 (window-state-put): Remove "bufferless" windows if possible.
9547
9548 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9549
9550 * simple.el (alternatives-define): Remove leftover :group keyword.
9551 Tweak docstring.
9552
9553 2013-07-06 Leo Liu <sdl.web@gmail.com>
9554
9555 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9556 (ido-enable-virtual-buffers): New variable.
9557 (ido-buffer-internal, ido-toggle-virtual-buffers)
9558 (ido-make-buffer-list): Use it.
9559 (ido-exhibit): Support turning on and off virtual buffers
9560 automatically.
9561
9562 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9563
9564 * simple.el (alternatives-define): New macro.
9565
9566 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9567
9568 * subr.el (read-quoted-char): Use read-key.
9569 (sit-for): Let read-event decode tty input (bug#14782).
9570
9571 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9572
9573 * calendar/todo-mode.el: Add handling of file deletion, both by
9574 mode command and externally. Fix various related bugs.
9575 Clarify Commentary and improve some documentation strings and code.
9576 (todo-delete-file): New command.
9577 (todo-check-file): New function.
9578 (todo-show): Handle external deletion of the file we're trying to
9579 show (bug#14688). Replace called-interactively-p by an optional
9580 prefix argument to avoid problematic interaction with catch form
9581 when byte compiled (bug#14702).
9582 (todo-quit): Handle external deletion of the archive's todo file.
9583 Make sure the buffer that was visiting the archive file is still
9584 live before trying to bury it.
9585 (todo-category-completions): Handle external deletion of any
9586 category completion files.
9587 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9588 of todo files, in case of external deletion.
9589 (todo-add-file): Replace unnecessary setq by let-binding.
9590 (todo-find-archive): Check whether there are any archives.
9591 Replace unnecessary setq by let-binding.
9592 (todo-archive-done-item): Use find-file-noselect to get the
9593 archive buffer whether or not the archive already exists.
9594 Remove superfluous code. Use file size instead of buffer-file-name to
9595 check if the archive is new; if it is, update list of archives.
9596 (todo-default-todo-file): Allow nil to be a valid value for when
9597 there are no todo files.
9598 (todo-reevaluate-default-file-defcustom): Use corrected definition
9599 of todo-default-todo-file.
9600 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9601 (todo-delete-category, todo-show-categories-table)
9602 (todo-category-number): Clarify comment.
9603 (todo-filter-items): Clarify documentation string.
9604 (todo-show-current-file, todo-display-as-todo-file)
9605 (todo-reset-and-enable-done-separator): Tweak documentation string.
9606 (todo-done-separator): Make separator length window-width, since
9607 bug#2749 is now fixed.
9608
9609 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9610
9611 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9612 Support both "gvfs-monitor-dir" and "inotifywait".
9613 (tramp-sh-file-inotifywait-process-filter): Rename from
9614 `tramp-sh-file-notify-process-filter'.
9615 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9616 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9617
9618 2013-07-05 Leo Liu <sdl.web@gmail.com>
9619
9620 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9621
9622 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9623
9624 * frame.el (display-pixel-height, display-pixel-width)
9625 (display-mm-height, display-mm-width): Mention behavior on
9626 multi-monitor setups in docstrings.
9627 (w32-display-monitor-attributes-list): Declare function.
9628 (display-monitor-attributes-list): Use it.
9629
9630 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9631
9632 * filenotify.el: New package.
9633
9634 * autorevert.el (top): Require filenotify.el.
9635 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9636 instead.
9637 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9638 (auto-revert-notify-handler): Use `file-notify-*' functions.
9639
9640 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9641
9642 * net/tramp.el (tramp-file-name-for-operation):
9643 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9644
9645 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9646 for `file-notify-add-watch' and `file-notify-rm-watch'.
9647 (tramp-process-sentinel): Improve trace.
9648 (tramp-sh-handle-file-notify-add-watch)
9649 (tramp-sh-file-notify-process-filter)
9650 (tramp-sh-handle-file-notify-rm-watch)
9651 (tramp-get-remote-inotifywait): New defuns.
9652
9653 2013-07-03 Juri Linkov <juri@jurta.org>
9654
9655 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9656 call of `occur-read-primary-args' to interactive spec.
9657
9658 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9659 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9660
9661 2013-07-03 Matthias Meulien <orontee@gmail.com>
9662
9663 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9664 `Buffer-menu-multi-occur'. Add it to the menu.
9665 (Buffer-menu-mode): Document it in docstring.
9666 (Buffer-menu-multi-occur): New command. (Bug#14673)
9667
9668 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9669
9670 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9671 keywords and built-ins.
9672
9673 2013-07-03 Glenn Morris <rgm@gnu.org>
9674
9675 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9676
9677 Make info-xref checks case-sensitive by default
9678 * info.el (Info-find-node, Info-find-in-tag-table)
9679 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9680 Add option for exact case matching of nodes.
9681 * info-xref.el (info-xref): New custom group.
9682 (info-xref-case-fold): New option.
9683 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9684
9685 2013-07-03 Leo Liu <sdl.web@gmail.com>
9686
9687 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9688
9689 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9690
9691 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9692 middle of block statement initially, lower the depth. Remove
9693 FIXME comment, not longer valid. Remove middle of block statement
9694 detection, no need to do that anymore since we've been using
9695 `ruby-parse-region' here.
9696
9697 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9698
9699 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9700
9701 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9702
9703 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9704
9705 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9706
9707 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9708 (desktop-restore-in-current-display): New customization option.
9709 (desktop--excluded-frame-parameters): Add `font'.
9710 (desktop--save-frames): Rename from desktop--save-windows.
9711 (desktop--restore-in-this-display-p): New function.
9712 (desktop--make-full-frame): Remove unwanted width/height from
9713 full(width|height) frames.
9714 (desktop--restore-frames): Rename from desktop--restore-windows.
9715 Obey desktop-restore-current-display. Do not delete old frames or
9716 select a new frame unless we were able to restore at least one frame.
9717
9718 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9719
9720 * files.el (find-file-noselect): Simplify conditional expression.
9721
9722 * textmodes/remember.el (remember-append-to-file):
9723 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9724
9725 Add `remember-notes' function to store random notes across Emacs
9726 restarts.
9727 * textmodes/remember.el (remember-data-file): Add :set callback to
9728 affect notes buffer (if any).
9729 (remember-notes): New command.
9730 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9731 New defcustoms for the `remember-notes' function.
9732 (remember-notes-save-and-bury-buffer): New command.
9733 (remember-notes-mode-map): New variable.
9734 (remember-mode): New minor mode.
9735 (remember-notes--kill-buffer-query): New function.
9736 * startup.el (initial-buffer-choice): Add notes to custom type.
9737
9738 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9739
9740 * bindings.el (right-char, left-char): Don't call sit-for, this is
9741 no longer needed. Use arithmetic comparison only for numerical
9742 arguments.
9743
9744 * international/mule-cmds.el (select-safe-coding-system):
9745 Handle the case of FROM being a string correctly. (Bug#14755)
9746
9747 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9748
9749 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9750 progression on degenerate tables.
9751 (shr-rescale-image): ImageMagick animated images currently don't work.
9752
9753 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9754
9755 Some fixes and improvements for desktop frame restoration.
9756 It is still experimental and disabled by default.
9757 * desktop.el (desktop--save-windows): Put the selected frame at
9758 the head of the list.
9759 (desktop--make-full-frame): New function.
9760 (desktop--restore-windows): Try to re-select the frame that was
9761 selected upon saving. Do not abort if some frames fail to restore,
9762 just show an error message and continue. Set up maximized frames
9763 so they have default non-maximized dimensions.
9764
9765 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9766
9767 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9768 Don't start heredoc inside a string or comment.
9769
9770 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9771
9772 * bindings.el (visual-order-cursor-movement): New defcustom.
9773 (right-char, left-char): Provide visual-order cursor motion by
9774 calling move-point-visually. Update the doc strings.
9775
9776 2013-06-28 Kenichi Handa <handa@gnu.org>
9777
9778 * international/mule.el (define-coding-system): New coding system
9779 properties :inhibit-null-byte-detection,
9780 :inhibit-iso-escape-detection, and :prefer-utf-8.
9781 (set-buffer-file-coding-system): If :charset-list property of
9782 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9783 appropriate for setting.
9784
9785 * international/mule-cmds.el (select-safe-coding-system):
9786 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9787 multibyte characters, return utf-8 (or one of its siblings).
9788
9789 * international/mule-conf.el (prefer-utf-8): New coding system.
9790 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9791 files.
9792
9793 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9794
9795 * net/shr.el (shr-render-region): New function.
9796
9797 * net/eww.el: Autoload `eww-browse-url'.
9798
9799 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9800
9801 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9802 Adapt to `package-desc-version' being a list.
9803 Use `package--ac-desc-version' to retrieve version from a package
9804 archive element.
9805
9806 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9807
9808 New experimental feature to save&restore window and frame setup.
9809 * desktop.el (desktop-save-windows): New defcustom.
9810 (desktop--saved-states): New var.
9811 (desktop--excluded-frame-parameters): New defconst.
9812 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9813 (desktop--restore-windows, desktop--save-windows): New functions.
9814 (desktop-save): Call `desktop--save-windows'.
9815 (desktop-read): Call `desktop--restore-windows'.
9816
9817 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9818
9819 * net/shr.el (add-face-text-property): Remove compat definition.
9820
9821 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9822
9823 * info.el (Info-try-follow-nearest-node): Move search for footnote
9824 above search for node name to prevent missing a footnote (bug#14717).
9825
9826 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9827
9828 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9829
9830 2013-06-27 Leo Liu <sdl.web@gmail.com>
9831
9832 * net/eww.el (eww-read-bookmarks): Check file size.
9833
9834 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9837 advice--pending if newdef is nil or an autoload (bug#13820).
9838 (advice-mapc): New function.
9839
9840 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9841
9842 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9843 probably.
9844 (eww-mode-map): Add a menu bar.
9845 (eww-add-bookmark): New command.
9846 (eww-bookmark-mode): New mode and commands.
9847 (eww-add-bookmark): Remove newlines from the title.
9848 (eww-bookmark-browse): Don't bug out if it's the only window.
9849
9850 2013-06-26 Glenn Morris <rgm@gnu.org>
9851
9852 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9853 (hfy-size): Handle ttys. (Bug#14668)
9854
9855 * info-xref.el: Update for Texinfo 5 change in *note format.
9856 (info-xref-node-re, info-xref-note-re): New constants.
9857 (info-xref-check-buffer): Use info-xref-note-re.
9858
9859 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9860
9861 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9862
9863 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9864 nil terminate the loop (bug#14718).
9865
9866 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9867
9868 * net/eww.el: Rework history traversal. When going forward/back,
9869 put these actions into the history, too, so that they can be
9870 replayed.
9871 (eww-render): Move the history reset to the correct buffer.
9872
9873 2013-06-25 Juri Linkov <juri@jurta.org>
9874
9875 * files-x.el (modify-dir-local-variable): Change the header comment
9876 in the file with directory local variables. (Bug#14692)
9877
9878 * files-x.el (read-file-local-variable-value): Add `default'.
9879 (Bug#14710)
9880
9881 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9882
9883 * net/eww.el (eww-make-unique-file-name): Create a unique file
9884 name before saving to entering `y' accidentally asynchronously.
9885
9886 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9887
9888 * net/eww.el (eww-download): New command and keystroke.
9889
9890 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9891
9892 * net/eww.el (eww-copy-page-url): Change name of command.
9893
9894 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9895 be more consistent with Info and dired.
9896
9897 * net/eww.el (eww-mode-map): Ditto.
9898
9899 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9902 packages from archives.
9903 (package-archive-contents): Change format; include obsolete packages.
9904 (package-desc): Use `dir' to mark builtin packages.
9905 (package--from-builtin): Set the `dir' field to `builtin'.
9906 (generated-autoload-file, version-control): Declare.
9907 (package-compute-transaction): Change first arg and return value to be
9908 lists of package-descs. Adjust to new package-archive-contents format.
9909 (package--add-to-archive-contents): Adjust to new
9910 package-archive-contents format.
9911 (package-download-transaction): Arg is now a list of package-descs.
9912 (package-install): If `pkg' is a package name, pass it as
9913 a requirement, so it is subject to the usual (e.g. disabled) checks.
9914 (describe-package): Accept package-desc as well.
9915 (describe-package-1): Describe a specific package-desc. Add links to
9916 other package-descs for the same package name.
9917 (package-menu-describe-package): Pass the actual package-desc.
9918 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9919 works correctly.
9920 (package-desc-status): New function.
9921 (package-menu--refresh): New function, extracted
9922 from package-menu--generate.
9923 (package-menu--generate): Use it.
9924 (package-delete): Update package-alist.
9925 (package-menu-execute): Don't call package-initialize.
9926
9927 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9928 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9929 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9930 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9931 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9932 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9933
9934 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9935
9936 * window.el (window--state-get-1): Workaround for bug#14527.
9937 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9938
9939 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9940
9941 * net/eww.el (eww-back-url): Implement the history by stashing all
9942 the data into a list.
9943 (eww-forward-url): Allow going forward in the history, too.
9944
9945 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9946
9947 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9948 for values and use read--expression for expressions (bug#14710).
9949 (read-file-local-variable): Avoid setq.
9950 (read-file-local-variable-mode): Use minor-mode-list.
9951
9952 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9953
9954 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9955 for DOI URLs.
9956
9957 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9958
9959 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9960 Update imenu-support when dialect changes.
9961
9962 2013-06-25 Leo Liu <sdl.web@gmail.com>
9963
9964 * ido.el (ido-read-internal): Allow forward slash on windows.
9965
9966 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9967
9968 * net/eww.el (eww): Start of strings is \\`, not ^.
9969
9970 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9971
9972 * net/shr.el (shr-browse-url): Fix interactive spec.
9973
9974 * net/eww.el (eww): Add a trailing slash to domain names.
9975
9976 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9977
9978 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9979
9980 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9981
9982 * net/shr.el (shr-browse-url): Use an external browser if given a
9983 prefix.
9984
9985 * net/eww.el (eww-external-browser): Move to shr.
9986
9987 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9988
9989 * net/eww.el (eww): Work more correctly for file: URLs.
9990 (eww-detect-charset): Allow quoted charsets.
9991 (eww-yank-page-url): New command and keystroke.
9992
9993 2013-06-24 Daiki Ueno <ueno@gnu.org>
9994
9995 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9996 file name of gpg executable.
9997 (epg-context-program): New function.
9998 (epg-context-home-directory): New function.
9999 (epg-context-set-program): New function.
10000 (epg-context-set-home-directory): New function.
10001 (epg--start): Use `epg-context-program' instead of
10002 'epg-gpg-program'.
10003 (epg--list-keys-1): Likewise.
10004
10005 2013-06-24 Leo Liu <sdl.web@gmail.com>
10006
10007 * ido.el (ido-read-internal): Fix bug#14620.
10008
10009 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10010
10011 * faces.el (face-documentation): Simplify.
10012 (read-face-attribute, tty-find-type, x-resolve-font-name):
10013 Use `string-match-p'.
10014 (list-faces-display): Use `string-match-p'. Simplify.
10015 (face-spec-recalc): Check face to avoid face alias loops.
10016 (read-color): Use `string-match-p' and non-capturing parenthesis.
10017
10018 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10019
10020 * net/shr.el (shr-rescale-image): Use the new
10021 :max-width/:max-height functionality.
10022
10023 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10024
10025 * net/eww.el (eww-search-prefix): New variable.
10026 (eww): Use it.
10027 (eww-external-browser): New variable.
10028 (eww-mode-map): New keystroke.
10029 (eww-browse-with-external-browser): New command.
10030
10031 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10032
10033 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10034
10035 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10036 Don't skip aligning the next header field when padding is 0;
10037 otherwise, field width is not respected unless the title is as
10038 wide as the field.
10039
10040 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10041
10042 * emacs-lisp/package.el (package-el-version): Remove.
10043 (package-process-define-package): Fix inf-loop.
10044 (package-install): Allow symbols as arguments again.
10045
10046 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10047
10048 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10049 add some more keyword-like methods.
10050 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10051
10052 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10053
10054 * bs.el (bs-buffer-show-mark): Make defvar-local.
10055 (bs-mode): Use setq-local.
10056
10057 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10058 (emacs-lock--try-unlocking): Make defvar-local.
10059
10060 2013-06-22 Glenn Morris <rgm@gnu.org>
10061
10062 * play/cookie1.el (cookie-apropos): Minor simplification.
10063
10064 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10065
10066 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10067
10068 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10069 `regexp-opt', it breaks the build during dumping.
10070
10071 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10072
10073 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10074 Highlight keyword-like methods on Kernel and Module with
10075 font-lock-builtin-face.
10076 (auto-mode-alist): Consolidate different entries into one regexp
10077 and add more *file-s.
10078
10079 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10080
10081 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10082
10083 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10084 (diary-entry): Use it in the action of this button type instead of
10085 diary-goto-entry.
10086
10087 * calendar/todo-mode.el: New version.
10088 (todo-add-category): Append new category to end of file and give
10089 it the highest number, instead of putting it at the beginning and
10090 giving it 0. Incorporate noninteractive functionality.
10091 (todo-forward-category): Adapt to 1-based category numbering.
10092 Allow skipping over archived categories.
10093 (todo-backward-category): Derive from todo-forward-category.
10094 (todo-backward-item, todo-forward-item): Make noninteractive and
10095 delegate interactive part to new commands. Make sensitive to done items.
10096 (todo-categories): Make value an alist of category names and
10097 vectors of item counts.
10098 (todo-category-beg): Make a defconst.
10099 (todo-category-number): Use 1 instead of 0 as initial value.
10100 (todo-category-select): Make sensitive to overlays, optional item
10101 highlighting and done items.
10102 (todo-delete-item): Make sensitive to overlays and marked and done items.
10103 (todo-edit-item): Make sensitive to overlays and editing of
10104 date/time header optional. Add format checks.
10105 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10106 no-op if point is not on an item. Advertise using todo-edit-quit.
10107 (todo-edit-mode): Make sensitive to new format, font-locking, and
10108 multiple todo files.
10109 (todo-insert-item, todo-insert-item-here): Derive from
10110 todo-basic-insert-item and extend functionality.
10111 (todo-item-end, todo-item-start): Make sensitive to done items.
10112 (todo-item-string): Don't return text properties. Restore point.
10113 (todo-jump-to-category): Make sensitive to multiple todo files and
10114 todo archives. Use extended category completion.
10115 (todo-lower-item, todo-raise-item): Rename to *-priority and
10116 derive from todo-set-item-priority.
10117 (todo-mode): Derive from special-mode. Make sensitive to new
10118 format, font-locking and multiple todo files. Make read-only.
10119 (todo-mode-map): Don't suppress digit keys, so they can supply
10120 prefix arguments. Add many new key bindings.
10121 (todo-prefix): Insert as an overlay instead of file text.
10122 Change semantics from diary date expression to purely visual mark.
10123 (todo-print): Rename to todo-print-buffer. Make buffer display
10124 features printable. Remove option to restrict number of items
10125 printed. Add option to print to file.
10126 (todo-print-function): Rename to todo-print-buffer-function.
10127 (todo-quit): Extend to handle exiting new todo modes.
10128 (todo-remove-item): Make sensitive to overlays.
10129 (todo-save): Extend to buffers of filtered items.
10130 (todo-show): Make sensitive to done items, multiple todo files and
10131 new todo modes. Offer to convert legacy todo file before creating
10132 first new todo file.
10133 (todo-show-priorities): Rename to todo-top-priorities.
10134 Change semantics of value 0.
10135 (todo-top-priorities): Rename to todo-filter-top-priorities,
10136 derive from todo-filter-items and extend functionality.
10137 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10138 and extend functionality to other types of filtered items.
10139 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10140 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10141 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10142 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10143 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10144 (todo-edit-mode-hook, todo-entry-prefix-function)
10145 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10146 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10147 (todo-initials, todo-insert-threshold, todo-item-string-start)
10148 (todo-line-string, todo-menu, todo-mode-hook)
10149 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10150 (todo-print-priorities, todo-remove-separator)
10151 (todo-save-top-priorities-too, todo-string-count-lines)
10152 (todo-string-multiline-p, todo-time-string-format)
10153 (todo-tmp-buffer-name): Remove.
10154 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10155 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10156 (todo-edit-category-diary-inclusion)
10157 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10158 (todo-edit-file, todo-edit-item-date-day)
10159 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10160 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10161 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10162 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10163 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10164 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10165 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10166 (todo-filter-top-priorities-multifile, todo-find-archive)
10167 (todo-find-filtered-items-file, todo-go-to-source-item)
10168 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10169 (todo-jump-to-archive-category, todo-lower-category)
10170 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10171 (todo-move-category, todo-move-item, todo-next-button)
10172 (todo-next-item, todo-padded-string, todo-powerset)
10173 (todo-previous-button, todo-previous-item)
10174 (todo-print-buffer-to-file, todo-raise-category)
10175 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10176 (todo-set-category-number, todo-set-item-priority)
10177 (todo-set-top-priorities-in-category)
10178 (todo-set-top-priorities-in-file, todo-show-categories-table)
10179 (todo-sort-categories-alphabetically-or-numerically)
10180 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10181 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10182 (todo-toggle-item-header, todo-toggle-item-highlighting)
10183 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10184 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10185 (todo-unarchive-items, todo-unmark-category): New commands.
10186 (todo-absolute-file-name, todo-add-to-buffer-list)
10187 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10188 (todo-basic-insert-item, todo-category-completions)
10189 (todo-category-number, todo-category-string-matcher-1)
10190 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10191 (todo-check-format, todo-clear-matches)
10192 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10193 (todo-current-category, todo-date-string-matcher)
10194 (todo-define-insertion-command, todo-diary-expired-matcher)
10195 (todo-diary-goto-entry, todo-diary-item-p)
10196 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10197 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10198 (todo-done-item-section-p, todo-done-separator)
10199 (todo-done-string-matcher, todo-files, todo-filter-items)
10200 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10201 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10202 (todo-insert-category-line, todo-insert-item-from-calendar)
10203 (todo-insert-sort-button, todo-insert-with-overlays)
10204 (todo-insertion-command-name, todo-insertion-key-bindings)
10205 (todo-label-to-key, todo-longest-category-name-length)
10206 (todo-make-categories-list, todo-mode-external-set)
10207 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10208 (todo-modes-set-3, todo-multiple-filter-files)
10209 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10210 (todo-read-category, todo-read-date, todo-read-dayname)
10211 (todo-read-file-name, todo-read-time)
10212 (todo-reevaluate-category-completions-files-defcustom)
10213 (todo-reevaluate-default-file-defcustom)
10214 (todo-reevaluate-filelist-defcustoms)
10215 (todo-reevaluate-filter-files-defcustom)
10216 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10217 (todo-reset-done-separator, todo-reset-done-separator-string)
10218 (todo-reset-done-string, todo-reset-global-current-todo-file)
10219 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10220 (todo-reset-prefix, todo-set-categories)
10221 (todo-set-date-from-calendar, todo-set-show-current-file)
10222 (todo-set-top-priorities, todo-short-file-name)
10223 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10224 (todo-total-item-counts, todo-update-buffer-list)
10225 (todo-update-categories-display, todo-update-categories-sexp)
10226 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10227 New functions.
10228 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10229 New major modes.
10230 (todo-categories, todo-display, todo-edit, todo-faces)
10231 (todo-filtered): New defgroups.
10232 (todo-archived-only, todo-button, todo-category-string, todo-date)
10233 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10234 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10235 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10236 (todo-add-item-if-new-category, todo-always-add-time-string)
10237 (todo-categories-align, todo-categories-archived-label)
10238 (todo-categories-category-label, todo-categories-diary-label)
10239 (todo-categories-done-label, todo-categories-number-separator)
10240 (todo-categories-todo-label, todo-categories-totals-label)
10241 (todo-category-completions-files, todo-completion-ignore-case)
10242 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10243 (todo-done-separator-string, todo-done-string)
10244 (todo-files-function, todo-filter-done-items, todo-filter-files)
10245 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10246 (todo-initial-category, todo-initial-file, todo-item-mark)
10247 (todo-legacy-date-time-regexp, todo-mode-line-function)
10248 (todo-nondiary-marker, todo-number-prefix)
10249 (todo-print-buffer-function, todo-show-current-file)
10250 (todo-show-done-only, todo-show-first, todo-show-with-done)
10251 (todo-skip-archived-categories, todo-top-priorities-overrides)
10252 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10253 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10254 New defcustoms.
10255 (todo-category-done, todo-date-pattern, todo-date-string-start)
10256 (todo-diary-items-buffer, todo-done-string-start)
10257 (todo-filtered-items-buffer, todo-item-start)
10258 (todo-month-abbrev-array, todo-month-name-array)
10259 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10260 (todo-top-priorities-buffer): New defconsts.
10261 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10262 (todo-categories-with-marks, todo-category-string-face)
10263 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10264 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10265 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10266 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10267 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10268 (todo-font-lock-keywords, todo-global-current-todo-file)
10269 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10270 (todo-insertion-commands-args)
10271 (todo-insertion-commands-args-genlist)
10272 (todo-insertion-commands-names, todo-insertion-map)
10273 (todo-key-bindings-t, todo-key-bindings-t+a)
10274 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10275 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10276 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10277 (todo-visited): New variables.
10278
10279 2013-06-21 Glenn Morris <rgm@gnu.org>
10280
10281 * play/cookie1.el (cookie-apropos): Add optional display argument.
10282 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10283 (psychoanalyze-pinhead): Use cookie-doctor.
10284
10285 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10286
10287 * emacs-lisp/package.el (tar-get-file-descriptor)
10288 (tar--extract): Declare.
10289
10290 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10291
10292 Extend flymake's warning predicate to be a function (bug#14217).
10293 * progmodes/flymake.el (flymake-warning-predicate): New.
10294 (flymake-parse-line): Use it.
10295 (flymake-warning-re): Make obsolete alias to
10296 `flymake-warning-predicate'.
10297
10298 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10299
10300 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10301 (package-obsolete-list): Remove.
10302 (package-activate): Remove min-version argument. Add `force' argument.
10303 Adjust to new package-alist format.
10304 (package-mark-obsolete): Remove.
10305 (package-unpack): Force reload of the package's autoloads.
10306 (package-installed-p): Check builtins if the installed package is not
10307 recent enough.
10308 (package-initialize): Don't reset package-obsolete-list.
10309 Don't specify which package version to activate.
10310 (package-process-define-package, describe-package-1)
10311 (package-menu--generate): Adjust to new package-alist format.
10312
10313 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10314
10315 * allout-widgets.el (allout-widgets-mode-off)
10316 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10317 (allout-widgets-post-command-business)
10318 (allout-widgets-after-copy-or-kill-function)
10319 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10320 (allout-decorate-item-and-context)
10321 (allout-graphics-modification-handler): Fix typos in docstrings.
10322 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10323
10324 * cmuscheme.el (scheme-start-file): Doc fix.
10325 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10326 (scheme-input-filter): Use `string-match-p'.
10327
10328 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10329
10330 * dired-x.el: Use Dired consistently in docstrings.
10331
10332 * dired.el: Use Dired consistently in docstrings.
10333 (dired-readin, dired-mode): Use `setq-local'.
10334 (dired-switches-alist): Make defvar-local.
10335 (dired-buffers-for-dir): Use `zerop'.
10336 (dired-safe-switches-p, dired-switches-escape-p)
10337 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10338 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10339 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10340 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10341 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10342 (dired-toggle-marks, dired-mark-files-containing-regexp)
10343 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10344 (dired-flag-auto-save-files, dired-flag-backup-files):
10345 Use `looking-at-p'.
10346 (dired-mark-files-regexp, dired-build-subdir-alist):
10347 Use `string-match-p', `looking-at-p'.
10348
10349 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10350 (direct-print-region-helper): Use `string-match-p'.
10351
10352 2013-06-21 Leo Liu <sdl.web@gmail.com>
10353
10354 * comint.el (comint-redirect-results-list-from-process):
10355 Fix infinite loop.
10356
10357 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10358
10359 * net/eww.el (eww-update-header-line-format): Quote % characters.
10360
10361 2013-06-21 Glenn Morris <rgm@gnu.org>
10362
10363 * play/cookie1.el (cookie): New custom group.
10364 (cookie-file): New option.
10365 (cookie-check-file): New function.
10366 (cookie): Make it interactive. Make start and end messages optional.
10367 Interactively, display the result. Default to cookie-file.
10368 (cookie-insert): Default to cookie-file.
10369 (cookie-snarf): Make start and end messages optional.
10370 Default to cookie-file. Use with-temp-buffer.
10371 (cookie-read): Rename from read-cookie.
10372 Make start and end messages optional. Default to cookie-file.
10373 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10374 Do not autoload it.
10375 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10376 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10377
10378 2013-06-21 Leo Liu <sdl.web@gmail.com>
10379
10380 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10381
10382 2013-06-21 Glenn Morris <rgm@gnu.org>
10383
10384 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10385
10386 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10387 Daniel Hackney <dan@haxney.org>
10388
10389 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10390 Consolidate the single-file vs tarball code.
10391 (package-desc-suffix): New function.
10392 (package-desc-full-name): Don't bother inlining it.
10393 (package-load-descriptor): Return the new package-desc.
10394 (package-mark-obsolete): Remove unused arg `package'.
10395 (package-unpack): Make it work for single files as well.
10396 Make it update package-alist.
10397 (package--make-autoloads-and-stuff): Rename from
10398 package--make-autoloads-and-compile. Don't compile any more.
10399 (package--compile): New function.
10400 (package-generate-description-file): New function, extracted from
10401 package-unpack-single.
10402 (package-unpack-single): Remove.
10403 (package--with-work-buffer): Add indentation and debugging info.
10404 (package-download-single): Remove.
10405 (package-install-from-archive): Rename from package-download-tar, make
10406 it take a pkg-desc, and make it work for single files as well.
10407 (package-download-transaction): Simplify.
10408 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10409 external tar program.
10410 (package-install-from-buffer): Remove `pkg-desc' argument.
10411 Use package-tar-file-info for tar-mode buffers.
10412 (package-install-file): Simplify accordingly.
10413 (package-archive-base): Change to take a pkg-desc.
10414 * tar-mode.el (tar--check-descriptor): New function, extracted from
10415 tar-get-descriptor.
10416 (tar-get-descriptor): Use it.
10417 (tar-get-file-descriptor): New function.
10418 (tar--extract): New function, extracted from tar-extract.
10419 (tar--extract): Use it.
10420 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10421 case the summary uses non-ascii. Adjust to new calling convention of
10422 package-tar-file-info.
10423
10424 2013-06-21 Leo Liu <sdl.web@gmail.com>
10425
10426 * comint.el (comint-redirect-results-list-from-process):
10427 Fix random delay. (Bug#14681)
10428
10429 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10430
10431 * profiler.el (profiler-format-number): Use log, not log10.
10432
10433 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10434
10435 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10436
10437 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10440 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10441 yet available.
10442 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10443 (AUTOGENEL): ... here.
10444 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10445 (cl--defsubst-expand): Use it.
10446
10447 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10448
10449 * subr.el (log10): Move here from C code, and declare as obsolete.
10450 All uses of (log10 X) replaced with (log X 10).
10451
10452 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10453
10454 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10455 Declare with `defvar-local'.
10456 (tabulated-list-use-header-line, tabulated-list-entries)
10457 (tabulated-list-padding, tabulated-list-printer)
10458 (tabulated-list-sort-key): Declare with `defvar-local'.
10459 (tabulated-list-init-header, tabulated-list-print-fake-header):
10460 Use `setq-local'.
10461
10462 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10463
10464 * arc-mode.el (archive-mode): Add `archive-write-file' to
10465 `write-contents-functions' also for remote files. (Bug#14652)
10466
10467 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10468
10469 * cus-edit.el (custom-commands): Fix typos.
10470 (custom-display): Fix tooltip text.
10471 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10472 Fix typos in docstrings.
10473 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10474 (custom-unlispify-menu-entry, custom-magic-value-create)
10475 (custom-add-see-also, custom-group-value-create): Use ?\s.
10476 (custom-guess-type, customize-apropos, editable-field)
10477 (custom-face-value-create): Use `string-match-p'.
10478 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10479
10480 * custom.el (custom-load-symbol): Use `string-match-p'.
10481
10482 * ansi-color.el: Convert to lexical binding.
10483 (ansi-colors): Fix URL.
10484 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10485 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10486 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10487
10488 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10489
10490 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10491
10492 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10493
10494 2013-06-19 Tom Tromey <tromey@redhat.com>
10495
10496 * net/eww.el (eww-top-url): Remove.
10497 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10498 (eww-render): Set new variables. Don't set eww-top-url.
10499 (eww-handle-link): Handle "prev", "home", and "contents".
10500 Downcase the rel text.
10501 (eww-top-url): Choose best top URL.
10502
10503 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10504
10505 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10506 relying in widget.el. Using widget.el leads to too many
10507 user interface inconsistencies.
10508 (eww-self-insert): Implement entering commands in text fields.
10509 (eww-process-text-input): New function to make text input field editing
10510 work.
10511 (eww-submit): Rewrite to use the new-style form methods.
10512 (eww-select-display): Display the correct selected item.
10513 (eww-change-select): Implement changing the select value.
10514 (eww-toggle-checkbox): Implement radio/checkboxes.
10515 (eww-update-field): Fix compilation error.
10516 (eww-tag-textarea): Implement <textarea>.
10517
10518 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10519 we don't shadow mode-specific bindings.
10520
10521 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10522 nothing to push.
10523
10524 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10525
10526 2013-06-19 Glenn Morris <rgm@gnu.org>
10527
10528 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10529
10530 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10531
10532 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10533 not needed.
10534
10535 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10536
10537 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10538
10539 * net/browse-url.el (browse-url-browser-function):
10540 `eww-browse-url' has the right calling signature, `eww' does not.
10541
10542 2013-06-19 Glenn Morris <rgm@gnu.org>
10543
10544 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10545 Only eval autoloaded macros.
10546 (byte-compile-autoload): Only give the macro warning for macros.
10547
10548 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10549 (ps-underlined-faces): Declare.
10550
10551 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10552 (speedbar-add-supported-extension): Declare.
10553
10554 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10555 Don't include a date stamp in the header of the generated file;
10556 it leads to needless differences between output files.
10557
10558 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10559
10560 * net/secrets.el (secrets-struct-secret-content-type):
10561 Replace check of introspection data by a test call of "CreateItem".
10562 Some servers do not offer introspection.
10563
10564 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10565
10566 * electric.el (electric-pair-mode): Improve interaction with
10567 electric-layout-mode.
10568 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10569 (electric-pair-syntax): Use text-mode-syntax-table in comments
10570 and strings.
10571 (electric-pair--insert): New function.
10572 (electric-pair-post-self-insert-function): Use it and
10573 electric--after-char-pos.
10574
10575 2013-06-19 Leo Liu <sdl.web@gmail.com>
10576
10577 * progmodes/octave.el (octave-help): Fix regexp.
10578
10579 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10580
10581 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10582 (shr-table-horizontal-line): Allow nil as a value, and change the
10583 default.
10584 (shr-insert-table-ruler): Respect the nil value.
10585
10586 2013-06-18 Tom Tromey <tromey@barimba>
10587
10588 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10589 New defvars.
10590 (eww-open-file): New defun.
10591 (eww-render): Initialize new variables.
10592 (eww-display-html): Handle "link" and "a".
10593 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10594 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10595 (eww-back-url): Rename from eww-previous-url.
10596 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10597 New defuns.
10598
10599 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10600
10601 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10602 Distinguish ternary operator tokens from slash symbol and slash
10603 char literal.
10604
10605 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10606
10607 Convert symbol prettification into minor mode and global minor mode.
10608
10609 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10610 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10611 (prettify-symbols--keywords): Rename from
10612 `prog-prettify-symbols-alist' and make a local defvar.
10613 (prettify-symbols--compose-symbol): Rename from
10614 `prog--prettify-font-lock-compose-symbol'.
10615 (prettify-symbols--make-keywords): Rename from
10616 `prog-prettify-font-lock-symbols-keywords' and simplify.
10617 (prog-prettify-install): Remove.
10618 (prettify-symbols-mode): New minor mode, based on
10619 `prog-prettify-install'.
10620 (turn-on-prettify-symbols-mode): New function.
10621 (global-prettify-symbols-mode): New globalized minor mode.
10622
10623 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10624 * progmodes/cfengine.el (cfengine3-mode):
10625 * progmodes/perl-mode.el (perl-mode): Don't call
10626 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10627
10628 2013-06-18 Juri Linkov <juri@jurta.org>
10629
10630 * files-x.el (modify-file-local-variable-message): New function.
10631 (modify-file-local-variable)
10632 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10633 and call `modify-file-local-variable-message' when it's non-nil.
10634 (add-file-local-variable, delete-file-local-variable)
10635 (add-file-local-variable-prop-line)
10636 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10637 and use it. (Bug#9820)
10638
10639 2013-06-18 Juri Linkov <juri@jurta.org>
10640
10641 * emulation/vi.el (vi-shell-op):
10642 * emulation/vip.el (vip-execute-com, ex-command):
10643 * emulation/viper-cmd.el (viper-exec-bang):
10644 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10645 the call of `shell-command-on-region'. (Bug#14637)
10646
10647 * simple.el (shell-command-on-region): Doc fix.
10648
10649 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10650
10651 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10652 (bug#14633).
10653
10654 2013-06-18 Glenn Morris <rgm@gnu.org>
10655
10656 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10657
10658 * newcomment.el (comment-search-forward, comment-search-backward):
10659 Doc fix. (Bug#14376)
10660
10661 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10662
10663 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10664 (buffer-face-mode-invoke): Doc fix.
10665
10666 2013-06-18 Matthias Meulien <orontee@gmail.com>
10667
10668 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10669 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10670
10671 2013-06-18 Glenn Morris <rgm@gnu.org>
10672
10673 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10674 Replace obsolete function generic-make-keywords with its expansion.
10675
10676 * progmodes/python.el (ffap-alist): Declare.
10677
10678 * textmodes/reftex.el (bibtex-mode-map): Declare.
10679
10680 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10681
10682 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10683 (package-unpack, package-unpack-single): Return the pkg-dir.
10684 (package-download-transaction): Use it to update package-alist.
10685
10686 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10687
10688 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10689 possible choice.
10690
10691 2013-06-17 Juri Linkov <juri@jurta.org>
10692
10693 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10694
10695 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10696
10697 * emacs-lisp/package.el (package-load-descriptor):
10698 Remove `with-syntax-table' call, `read' doesn't need it.
10699 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10700
10701 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10702
10703 * startup.el (command-line): Expand package name returned by
10704 `package--description-file' (bug#14639).
10705
10706 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10707
10708 * emacs-lisp/package.el (package-load-descriptor): Do not call
10709 `emacs-lisp-mode', just use its syntax table.
10710
10711 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10712
10713 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10714 `font-lock-extra-managed-props' if any prettifying keyword is added.
10715 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10716 (prog-mode): Use `setq-local'.
10717
10718 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10719
10720 * international/characters.el (standard-case-table): Set syntax of ?»
10721 and ?« to punctuation.
10722
10723 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10724
10725 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10726 Save relevant match data before calling `syntax-ppss' (bug#14595).
10727
10728 2013-06-15 Juri Linkov <juri@jurta.org>
10729
10730 * files-x.el (modify-file-local-variable-prop-line): Add local
10731 variables to the end of the existing comment on the first line.
10732 Use `file-auto-mode-skip' to skip interpreter magic line,
10733 and also skip XML declaration.
10734
10735 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10736
10737 * startup.el (package--builtin-versions): New var.
10738 (package-subdirectory-regexp): Remove.
10739 (package--description-file): Hard code its value instead.
10740
10741 * emacs-lisp/package.el: Don't activate packages older than builtin.
10742 (package-obsolete-list): Rename from package-obsolete-alist, and make
10743 it into a simple list of package-desc.
10744 (package-strip-version): Remove.
10745 (package-built-in-p): Use package--builtin-versions.
10746 (package-mark-obsolete): Simplify.
10747 (package-process-define-package): Mark it obsolete if older than the
10748 builtin version.
10749 (package-handle-response): Use line-end-position.
10750 (package-read-archive-contents, package--download-one-archive):
10751 Simplify.
10752 (package--add-to-archive-contents): Skip if older than the builtin or
10753 installed version.
10754 (package-menu-describe-package): Fix last change.
10755 (package-list-unversioned): New var.
10756 (package-menu--generate): Use it.
10757
10758 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10759 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10760 (autoload-builtin-package-versions): New variable.
10761 (autoload-generate-file-autoloads): Use them.
10762 Remove the list of autoloaded functions/macros from the
10763 (autoload...) comments.
10764
10765 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10766
10767 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10768
10769 * simple.el (line-move-partial): Don't jump to the next screen
10770 line as soon as it becomes visible. Instead, continue enlarging
10771 the vscroll until the portion of a tall screen line that's left on
10772 display is about the height of the frame's default font.
10773 (Bug#14567)
10774
10775 2013-06-15 Glenn Morris <rgm@gnu.org>
10776
10777 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10778 compilation-error-regexp-alist void, or local while let-bound.
10779
10780 * progmodes/make-mode.el (makefile-mode-syntax-table):
10781 Treat "=" as punctuation. (Bug#14614)
10782
10783 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10784
10785 * help-fns.el (describe-variable):
10786 Add extra line for permanent-local variables.
10787
10788 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10789
10790 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10791 Add export, import, library. (Bug#9164)
10792 (library): Set indent function.
10793
10794 2013-06-14 Glenn Morris <rgm@gnu.org>
10795
10796 * term/xterm.el (xterm--query):
10797 Stop after first matching handler. (Bug#14615)
10798
10799 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10800
10801 Add support for dired in saveplace.
10802 * dired.el (dired-initial-position-hook): New variable.
10803 (dired-initial-position): Call hook to place cursor position.
10804 * saveplace.el (save-place-to-alist): Add dired position.
10805 (save-place-dired-hook): New function.
10806
10807 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10808
10809 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10810 through a symbol rather than letrec.
10811
10812 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10813 (package-desc): Add `dir' field.
10814 (package-desc-full-name): New function.
10815 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10816 (package-maybe-load-descriptor): Remove.
10817 (package-load-all-descriptors): Just call package-load-descriptor.
10818 (package--disabled-p): New function.
10819 (package-desc-vers, package-desc-doc): Remove aliases.
10820 (package--dir): Remove function.
10821 (package-activate): Check if a package is disabled.
10822 (package-process-define-package): New function, extracted from
10823 define-package.
10824 (define-package): Turn into a place holder.
10825 (package-unpack-single, package-tar-file-info):
10826 Use package--description-file.
10827 (package-compute-transaction): Use package--disabled-p.
10828 (package-download-transaction): Don't call
10829 package-maybe-load-descriptor since they're all loaded anyway.
10830 (package-install): Change argument to be a pkg-desc.
10831 (package-delete): Use a single pkg-desc argument.
10832 (describe-package-1): Use package-desc-dir instead of package--dir.
10833 Use package-desc property instead of package-symbol.
10834 (package-install-button-action): Adjust accordingly.
10835 (package--push): Rewrite.
10836 (package-menu--print-info): Adjust accordingly. Change the ID format
10837 to be a pkg-desc.
10838 (package-menu-describe-package, package-menu-get-status)
10839 (package-menu--find-upgrades, package-menu-mark-upgrades)
10840 (package-menu-execute, package-menu--name-predicate):
10841 Adjust accordingly.
10842 * startup.el (package--description-file): New function.
10843 (command-line): Use it.
10844 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10845 Use package-desc-version.
10846
10847 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10848 (byte-compile-preprocess): Use it.
10849 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10850 can't quite recognize.
10851 (byte-compile-add-to-list): Remove.
10852 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10853 (cconv-closure-convert): Add assertion.
10854
10855 * emacs-lisp/map-ynp.el: Use lexical-binding.
10856 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10857 Factor out some repeated code.
10858
10859 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10860
10861 * subr.el (with-eval-after-load): New macro.
10862 (eval-after-load): Allow form to be a function.
10863 take advantage of lexical-binding.
10864 (do-after-load-evaluation): Use dolist and adjust to new format.
10865 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10866
10867 2013-06-13 Juri Linkov <juri@jurta.org>
10868
10869 * replace.el (perform-replace): Display "symbol " and other search
10870 modes from `isearch-message-prefix' in the *Help* buffer.
10871
10872 * isearch.el (isearch-query-replace): Add " symbol" and other
10873 possible search modes from `isearch-message-prefix' to the prompt.
10874 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10875 when reading a regexp to collect.
10876
10877 2013-06-13 Juri Linkov <juri@jurta.org>
10878
10879 * isearch.el (word-search-regexp): Match whitespace if the search
10880 string begins or ends in whitespace. The LAX arg is applied to
10881 both ends of the search string. Use `regexp-quote' and explicit
10882 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10883 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10884 boundaries are replaced with symbol boundaries, and characters
10885 between symbols match non-word non-symbol syntax. (Bug#14602)
10886
10887 2013-06-13 Juri Linkov <juri@jurta.org>
10888
10889 * isearch.el (isearch-del-char): Don't exceed the length of
10890 `isearch-string' by the prefix arg. (Bug#14563)
10891
10892 2013-06-13 Juri Linkov <juri@jurta.org>
10893
10894 * isearch.el (isearch-yank-word, isearch-yank-line)
10895 (isearch-char-by-name, isearch-quote-char)
10896 (isearch-printing-char, isearch-process-search-char):
10897 Add optional count prefix arg. (Bug#14563)
10898
10899 * international/isearch-x.el
10900 (isearch-process-search-multibyte-characters):
10901 Add optional count prefix arg.
10902
10903 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10904
10905 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10906 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10907 lexical-binding.
10908
10909 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10910
10911 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10912
10913 2013-06-13 Glenn Morris <rgm@gnu.org>
10914
10915 * startup.el (tty-handle-args):
10916 Don't just discard "--" and anything after. (Bug#14608)
10917
10918 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10919
10920 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10921
10922 Implement changes in Secret Service API. Make it backward compatible.
10923 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10924 (secrets-create-item): Use it. Prefix properties with interface.
10925
10926 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10927
10928 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10929 (term-emulate-terminal): Respect term-suppress-hard-newline.
10930
10931 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10932
10933 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10934 Only remove a `thumb-file' overlay. (Bug#14548)
10935
10936 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10937
10938 * mail/reporter.el (reporter-submit-bug-report):
10939 Handle missing package-name. (Bug#14600)
10940
10941 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10942
10943 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10944 (reftex-citation-prompt, reftex-default-bibliography)
10945 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10946 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10947 (reftex-bib-sort-author, reftex-bib-sort-year)
10948 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10949 (reftex-extract-bib-entries-from-thebibliography)
10950 (reftex-get-bibkey-default, reftex-get-bib-names)
10951 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10952 (reftex-format-bib-entry, reftex-parse-bibitem)
10953 (reftex-format-bibitem, reftex-do-citation)
10954 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10955 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10956 (reftex-insert-bib-matches, reftex-format-citation)
10957 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10958 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10959 existing comments into docstrings.
10960
10961 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10962
10963 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10964
10965 2013-06-12 Andreas Schwab <schwab@suse.de>
10966
10967 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10968 for auto-save files.
10969
10970 2013-06-12 Glenn Morris <rgm@gnu.org>
10971
10972 * ido.el (ido-delete-ignored-files): Remove.
10973 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10974 Go back to calling ido-ignore-item-p directly.
10975
10976 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10977
10978 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10979
10980 * ido.el (ido-delete-ignored-files): New function,
10981 split from ido-make-file-list-1.
10982 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10983 (ido-make-file-list-1): Use ido-delete-ignored-files.
10984
10985 2013-06-12 Leo Liu <sdl.web@gmail.com>
10986
10987 * progmodes/octave.el (inferior-octave-startup)
10988 (inferior-octave-completion-table)
10989 (inferior-octave-track-window-width-change)
10990 (octave-eldoc-function-signatures, octave-help)
10991 (octave-find-definition): Use single quoted strings.
10992 (inferior-octave-startup-args): Change default value.
10993 (inferior-octave-startup): Do not hard code "-i" and
10994 "--no-line-editing".
10995 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10996 (inferior-octave-directory-tracker): Use it.
10997 (octave-goto-function-definition): Robustify.
10998 (octave-help): Support highlighting operators in 'See also'.
10999 (octave-find-definition): Find subfunctions only in Octave mode.
11000
11001 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11002
11003 * help-fns.el (help-fns--compiler-macro): If the handler function is
11004 named, then put a link to it.
11005 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11006 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11007 (cl-typep): Use it.
11008 (cl-eval-when): Simplify debug spec.
11009 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11010 compiler-macro function instead of setting `compiler-macro-file'.
11011
11012 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11013
11014 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11015 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11016
11017 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11018 Daniel Hackney <dan@haxney.org>
11019
11020 First part of Daniel Hackney's patch to package.el.
11021 * emacs-lisp/package.el: Use defstruct.
11022 (package-desc): New, main struct.
11023 (package--bi-desc, package--ac-desc): New structs, used to describe the
11024 format in external files.
11025 (package-desc-vers): Replace with package-desc-version accessor.
11026 (package-desc-doc): Replace with package-desc-summary accessor.
11027 (package-activate-1): Remove `package' arg since the pkg-vec now
11028 includes the name.
11029 (define-package): Use package-desc-from-define.
11030 (package-unpack-single): Change file-name arg to be a symbol.
11031 (package--add-to-archive-contents): Use package-desc-create and new
11032 accessor functions to package--ac-desc.
11033 (package-buffer-info, package-tar-file-info): Return a package-desc.
11034 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11035 arg to be a package-desc.
11036 (package-install-file): Adjust accordingly. Use \' to match EOS.
11037 (package--from-builtin): New function.
11038 (describe-package-1, package-menu--generate): Use it.
11039 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11040 (package-generate-autoloads): Idem and return the name of the file.
11041 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11042 Change pkg-info arg to be a package-desc.
11043 Use package-make-ac-desc.
11044 (package-upload-file): Use \' to match EOS.
11045 * finder.el (finder-compile-keywords): Use package-make-builtin.
11046
11047 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 * vc/vc.el (vc-deduce-fileset): Change error message.
11050 (vc-read-backend): New function.
11051 (vc-next-action): Use it.
11052
11053 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11054
11055 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11056 (prolog-font-lock-keywords): Use regexp-opt instead.
11057 Don't manually highlight strings.
11058 (prolog-mode-variables): Simplify comment-start-skip.
11059 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11060
11061 * emacs-lisp/generic.el (generic--normalise-comments)
11062 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11063 (generic-mode-set-comments): Use them.
11064 (generic-bracket-support): Use setq-local.
11065 (generic-make-keywords-list): Declare obsolete.
11066
11067 2013-06-11 Glenn Morris <rgm@gnu.org>
11068
11069 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11070 Prettify after setting font-lock-defaults. (Bug#14574)
11071
11072 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11073
11074 * replace.el (query-replace, occur-read-regexp-defaults-function)
11075 (replace-search):
11076 * subr.el (declare-function, number-sequence, local-set-key)
11077 (substitute-key-definition, locate-user-emacs-file)
11078 (with-silent-modifications, split-string, eval-after-load):
11079 Fix typos, remove unneeded backslashes and reflow some docstrings.
11080
11081 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11082
11083 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11084 default for Elisp files.
11085
11086 2013-06-11 Glenn Morris <rgm@gnu.org>
11087
11088 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11089 although define-derived-mode was doing this anyway. (Bug#14583)
11090
11091 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11092
11093 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11094 Fix make-variable-buffer-local call to refer to the correct variable.
11095
11096 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11097
11098 * eshell/em-term.el (eshell-visual-commands)
11099 (eshell-visual-subcommands, eshell-visual-options):
11100 Add summary line to docstrings. Add cross-references.
11101
11102 2013-06-10 Glenn Morris <rgm@gnu.org>
11103
11104 * epa.el (epa-read-file-name): New function. (Bug#14510)
11105 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11106
11107 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11108
11109 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11110 output redirection to be ignored with visual commands.
11111
11112 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11113
11114 * eshell/em-term.el (eshell-visual-command-p): New function.
11115 (eshell-term-initialize): Move long lambda to separate function
11116 eshell-visual-command-p.
11117 * eshell/em-dirs.el (eshell-dirs-initialize):
11118 * eshell/em-script.el (eshell-script-initialize):
11119 Add missing #' to lambda.
11120
11121 2013-06-08 Leo Liu <sdl.web@gmail.com>
11122
11123 * progmodes/octave.el (octave-add-log-current-defun): New function.
11124 (octave-mode): Set add-log-current-defun-function.
11125 (octave-goto-function-definition): Do not move point if not found.
11126 (octave-find-definition): Enhance to try subfunctions first.
11127
11128 2013-06-08 Glenn Morris <rgm@gnu.org>
11129
11130 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11131 (byte-compile-backward-char, byte-compile-backward-word):
11132 Improve previous change, to handle non-explicit nil.
11133
11134 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11137 (smie--opener/closer-at-point): New function.
11138 (smie--matching-block-data): Use it. Don't match from right after an
11139 opener or right before a closer. Obey smie-blink-matching-inners.
11140 Don't signal a mismatch for repeated inners like "switch..case..case".
11141
11142 2013-06-07 Leo Liu <sdl.web@gmail.com>
11143
11144 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11145 to t. (Bug#14303)
11146 (octave-function-header-regexp): Fix. (Bug#14570)
11147 (octave-help-mode-finish-hook, octave-help-mode-finish):
11148 Remove. Just use temp-buffer-show-hook.
11149
11150 * newcomment.el (comment-search-backward): Revert last change.
11151 (Bug#14434)
11152
11153 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11154
11155 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11156
11157 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11158 through xargs, to avoid failure due to MS-Windows limitations on
11159 command-line length.
11160
11161 2013-06-06 Glenn Morris <rgm@gnu.org>
11162
11163 * font-lock.el (lisp-font-lock-keywords-2):
11164 Treat user-error like error.
11165
11166 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11167 (byte-compile-backward-char, byte-compile-backward-word):
11168 Handle explicit nil arguments. (Bug#14565)
11169
11170 2013-06-05 Alan Mackenzie <acm@muc.de>
11171
11172 * isearch.el (isearch-allow-prefix): New user option.
11173 (isearch-other-meta-char): Don't exit isearch when a prefix
11174 argument is typed whilst `isearch-allow-prefix' is non-nil.
11175 (Bug#9706)
11176
11177 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 * autorevert.el (auto-revert-notify-handler): Use memq.
11180 Hide assertion failure.
11181
11182 * skeleton.el: Use cl-lib.
11183 (skeleton-further-elements): Use defvar-local.
11184 (skeleton-insert): Use cl-progv.
11185
11186 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11187
11188 * progmodes/prog-mode.el (prog-prettify-symbols)
11189 (prog-prettify-install): Update docstrings.
11190
11191 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11192
11193 * simple.el: Move all the prog-mode code to prog-mode.el.
11194 * progmodes/prog-mode.el: New file.
11195 * loadup.el: Add prog-mode.el.
11196
11197 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11198
11199 * simple.el (prog-prettify-symbols): Add version.
11200 (prog-prettify-install): Add convenience function to prettify symbols.
11201
11202 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11203 (perl--augmented-font-lock-keywords-1)
11204 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11205 variables and use it.
11206
11207 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11208 (cfengine3-mode): Remove unneeded variable and use it.
11209
11210 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11211 (lisp--augmented-font-lock-keywords-1)
11212 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11213 Remove unneeded variables and use it.
11214
11215 2013-06-05 João Távora <joaotavora@gmail.com>
11216
11217 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11218 to point when opening the connection. (Bug#14380)
11219
11220 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11221
11222 * subr.el (load-history-regexp, load-history-filename-element)
11223 (eval-after-load, after-load-functions, do-after-load-evaluation)
11224 (eval-next-after-load, display-delayed-warnings)
11225 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11226 definition of save-match-data.
11227 (overriding-local-map): Remove accidental obsolescence declaration.
11228
11229 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11230
11231 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11232
11233 Generalize symbol prettify support to prog-mode and implement it
11234 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11235 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11236 (prog--prettify-font-lock-compose-symbol)
11237 (prog-prettify-font-lock-symbols-keywords): New variables and
11238 functions to support symbol prettification.
11239 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11240 (lisp--augmented-font-lock-keywords-1)
11241 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11242 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11243 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11244 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11245 Implement prettify of -> => :: strings.
11246 * progmodes/perl-mode.el (perl-prettify-symbols)
11247 (perl--font-lock-compose-symbol)
11248 (perl--font-lock-symbols-keywords): Move to prog-mode.
11249 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11250 (perl-font-lock-keywords-1)
11251 (perl-font-lock-keywords-2): Remove explicit prettify support.
11252 (perl--augmented-font-lock-keywords)
11253 (perl--augmented-font-lock-keywords-1)
11254 (perl--augmented-font-lock-keywords-2, perl-mode):
11255 Implement prettify support.
11256
11257 2013-06-05 Leo Liu <sdl.web@gmail.com>
11258
11259 Re-implement SMIE matching block highlight using
11260 show-paren-data-function. (Bug#14395)
11261 * emacs-lisp/smie.el (smie-matching-block-highlight)
11262 (smie--highlight-matching-block-overlay)
11263 (smie--highlight-matching-block-lastpos)
11264 (smie-highlight-matching-block)
11265 (smie-highlight-matching-block-mode): Remove.
11266 (smie--matching-block-data-cache): New variable.
11267 (smie--matching-block-data): New function.
11268 (smie-setup): Use smie--matching-block-data for
11269 show-paren-data-function.
11270
11271 * progmodes/octave.el (octave-mode-menu): Fix.
11272 (octave-find-definition): Skip garbage lines.
11273
11274 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11275
11276 Fix compilation error with simultaneous dynamic+lexical scoping.
11277 Add warning when a defvar appears after the first let-binding.
11278 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11279 (byte-compile-close-variables): Initialize it.
11280 (byte-compile--declare-var): New function.
11281 (byte-compile-file-form-defvar)
11282 (byte-compile-file-form-define-abbrev-table)
11283 (byte-compile-file-form-custom-declare-variable): Use it.
11284 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11285 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11286 (byte-compile-bind): Handle dynamic bindings that shadow
11287 lexical bindings.
11288 (byte-compile-unbind): Make arg non-optional.
11289 (byte-compile-let): Simplify.
11290 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11291 (cconv--analyse-function, cconv-analyse-form): Populate it.
11292 Protect byte-compile-bound-variables to limit the scope of defvars.
11293 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11294 Remove unneeded rule for `declare'.
11295
11296 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11297 so as to avoid depending on cl-adjoin at run-time.
11298 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11299
11300 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11301 (macroexp--warn-and-return): Use it.
11302
11303 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11304
11305 * subr.el: Convert to lexical binding.
11306 (overriding-local-map): Make obsolete.
11307 (add-to-list): Doc fix. Add compiler macro.
11308 (read-key): Swap values of local maps.
11309
11310 2013-06-05 Leo Liu <sdl.web@gmail.com>
11311
11312 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11313
11314 2013-06-04 Leo Liu <sdl.web@gmail.com>
11315
11316 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11317 (compilation-auto-jump): Suppress the "Mark set" message to give
11318 way to exit message.
11319
11320 2013-06-04 Alan Mackenzie <acm@muc.de>
11321
11322 Remove faulty optimisation from indentation calculation.
11323 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11324 search limit based on 2000 characters back from indent-point.
11325
11326 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11327
11328 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11329
11330 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11331
11332 * emacs-lisp/lisp.el: Use lexical-binding.
11333 (lisp--local-variables-1, lisp--local-variables): New functions.
11334 (lisp--local-variables-completion-table): New var.
11335 (lisp-completion-at-point): Use it complete let-bound vars.
11336
11337 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11338 eagerly (bug#14422).
11339
11340 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11341
11342 * autorevert.el (auto-revert-notify-enabled)
11343 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11344 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11345 (auto-revert-notify-handler): Handle also gfilenotify.
11346
11347 * subr.el (file-notify-handle-event): New defun. Replacing ...
11348 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11349 Remove.
11350
11351 2013-06-03 Juri Linkov <juri@jurta.org>
11352
11353 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11354 `M-s h .'. (Bug#14427)
11355
11356 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11357 command `hi-lock-face-symbol-at-point'.
11358 (hi-lock-face-symbol-at-point): New command.
11359 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11360 (hi-lock-menu): Add `highlight-symbol-at-point'.
11361 (hi-lock-mode): Doc fix.
11362
11363 * isearch.el (isearch-forward-symbol-at-point): New command.
11364 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11365 (isearch-highlight-regexp): Add a regexp which matches
11366 words/symbols for word/symbol mode.
11367
11368 * subr.el (find-tag-default-bounds): New function with the body
11369 mostly moved from `find-tag-default'.
11370 (find-tag-default): Move most code to `find-tag-default-bounds',
11371 call it and apply `buffer-substring-no-properties' afterwards.
11372
11373 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11374
11375 * eshell/em-term.el (eshell-term-initialize):
11376 Use `cl-intersection' rather than `intersection'.
11377
11378 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11379
11380 * vc/log-view.el: Doc fix.
11381 (log-view-mode-map): Copy keymap from `special-mode-map'.
11382
11383 2013-06-02 Eric Ludlam <zappo@gnu.org>
11384
11385 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11386 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11387 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11388 (eieio-unbound, eieio-default-superclass)
11389 (eieio--define-field-accessors, method-static, method-before)
11390 (method-primary, method-after, method-num-lists)
11391 (method-generic-before, method-generic-primary)
11392 (method-generic-after, method-num-slots)
11393 (eieio-specialized-key-to-generic-key)
11394 (eieio--check-type, class-v, class-p)
11395 (eieio-class-name, define-obsolete-function-alias)
11396 (eieio-class-parents-fast, eieio-class-children-fast)
11397 (same-class-fast-p, class-constructor, generic-p)
11398 (generic-primary-only-p, generic-primary-only-one-p)
11399 (class-option-assoc, class-option, eieio-object-p)
11400 (class-abstract-p, class-method-invocation-order)
11401 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11402 (eieio-class-un-autoload, eieio-defclass)
11403 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11404 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11405 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11406 (eieio-defgeneric-reset-generic-form)
11407 (eieio-defgeneric-form-primary-only)
11408 (eieio-defgeneric-reset-generic-form-primary-only)
11409 (eieio-defgeneric-form-primary-only-one)
11410 (eieio-defgeneric-reset-generic-form-primary-only-one)
11411 (eieio-unbind-method-implementations)
11412 (eieio--defmethod, eieio--typep)
11413 (eieio-perform-slot-validation, eieio-validate-slot-value)
11414 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11415 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11416 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11417 (eieio-slot-name-index, eieio-class-slot-name-index)
11418 (eieio-set-defaults, eieio-initarg-to-attribute)
11419 (eieio-attribute-to-initarg, eieio-c3-candidate)
11420 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11421 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11422 (eieio-class-precedence-list, eieio-generic-call-methodname)
11423 (eieio-generic-call-arglst, eieio-generic-call-key)
11424 (eieio-generic-call-next-method-list)
11425 (eieio-pre-method-execution-functions, eieio-generic-call)
11426 (eieio-generic-call-primary-only, eieiomt-method-list)
11427 (eieiomt-optimizing-obarray, eieiomt-install)
11428 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11429 (eieio-generic-form, eieio-defmethod, make-obsolete)
11430 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11431 (defclass): Remove `eval-and-compile' from macro.
11432 (call-next-method, shared-initialize): Instead of using
11433 `scoped-class' variable, use new eieio--scoped-class, and
11434 eieio--with-scoped-class.
11435 (initialize-instance): Rename local variable 'scoped-class' to
11436 'this-class' to remove ambiguitity from old global.
11437
11438 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11439 eieio.el.
11440 (eieio--scoped-class-stack): New variable.
11441 (eieio--scoped-class): New fcn.
11442 (eieio--with-scoped-class): New scoping macro.
11443 (eieio-defclass): Use pushnew instead of add-to-list.
11444 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11445 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11446 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11447 `scoped-class' variable, use new eieio--scoped-class, and
11448 eieio--with-scoped-class.
11449
11450 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11451
11452 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11453
11454 * eshell/esh-ext.el (eshell-external-command): Pass args to
11455 `eshell-find-interpreter'.
11456 (eshell-find-interpreter): Add new second parameter ARGS.
11457
11458 * eshell/em-script.el (eshell-script-initialize): Add second arg
11459 to the function added as MATCH to `eshell-interpreter-alist'.
11460
11461 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11462 the function added as MATCH to `eshell-interpreter-alist'.
11463
11464 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11465 (eshell-visual-options): New defcustom.
11466 (eshell-escape-control-x): Adapt docstring.
11467 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11468 `eshell-visual-options' in addition to `eshell-visual-commands'.
11469 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11470
11471 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11472
11473 * progmodes/python.el (python-indent-block-enders): Add break,
11474 continue and raise keywords.
11475
11476 2013-06-01 Glenn Morris <rgm@gnu.org>
11477
11478 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11479
11480 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11481 * progmodes/cc-cmds.el (delete-forward-p):
11482 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11483 * progmodes/cc-engine.el (buffer-syntactic-context):
11484 * progmodes/cc-fonts.el (face-property-instance):
11485 * progmodes/cc-mode.el (set-keymap-parents):
11486 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11487 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11488 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11489 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11490 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11491
11492 * progmodes/cc-vars.el (other): Emacs has this widget since
11493 at least 21.1, so don't (re)define it.
11494
11495 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11496 Replace the obsolete alias pcomplete-arg-quote-list.
11497
11498 2013-06-01 Leo Liu <sdl.web@gmail.com>
11499
11500 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11501 punctuation syntax.
11502 (inferior-octave-minimal-columns)
11503 (inferior-octave-last-column-width): New variables.
11504 (inferior-octave-track-window-width-change): New function.
11505 (inferior-octave-mode): Adjust column width so that Octave output,
11506 for example from 'ls', can fit into the window nicely.
11507
11508 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11509
11510 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11511 Highlight expansions inside regexp literals.
11512
11513 2013-05-31 Glenn Morris <rgm@gnu.org>
11514
11515 * obsolete/sym-comp.el (symbol-complete):
11516 Replace obsolete completion-annotate-function.
11517
11518 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11519
11520 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11521
11522 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11523 New function, checks if point is inside a literal that allows
11524 expression expansion.
11525 (ruby-syntax-propertize-expansion): Use it.
11526 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11527 around the body.
11528
11529 2013-05-30 Juri Linkov <juri@jurta.org>
11530
11531 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11532 to "\M-si".
11533 (isearch-invisible): New variable.
11534 (isearch-forward): Doc fix.
11535 (isearch-mode): Set `isearch-invisible'
11536 to the value of `search-invisible'.
11537 (isearch-toggle-case-fold): Doc fix.
11538 (isearch-toggle-invisible): New command.
11539 (isearch-query-replace): Let-bind `search-invisible'
11540 to the value of `isearch-invisible'.
11541 (isearch-search): Use `isearch-invisible' instead of
11542 `search-invisible'. Let-bind `search-invisible'
11543 to the value of `isearch-invisible'. (Bug#11378)
11544
11545 2013-05-30 Juri Linkov <juri@jurta.org>
11546
11547 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11548 call when `query-flag' is nil and `search-invisible' is non-nil.
11549 (Bug#11746)
11550
11551 2013-05-30 Glenn Morris <rgm@gnu.org>
11552
11553 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11554
11555 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11556 (cc-require): Suppress spurious "noruntime" warnings.
11557 (cc-require-when-compile): Use fboundp, for sake of compiler.
11558
11559 * progmodes/cc-mode.el: Move load of cc-vars before that of
11560 cc-langs (which in turn loads cc-vars), to quieten compiler.
11561
11562 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11563
11564 * paren.el: Simplify the code.
11565 (show-paren-mode): Always start the timer.
11566 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11567 (show-paren--overlay, show-paren--overlay-1): Rename from
11568 show-paren-overlay and show-paren-overlay-1, and initialize to an
11569 overlay rather than to nil.
11570 (show-paren-function): Misc cleanup and simplifications.
11571
11572 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11573
11574 * paren.el (show-paren-data-function): New hook.
11575 (show-paren--default): New function, extracted from show-paren-function.
11576 (show-paren-function): Use show-paren-data-function.
11577
11578 2013-05-30 Glenn Morris <rgm@gnu.org>
11579
11580 * ielm.el (ielm-map, ielm-complete-symbol):
11581 Use completion-at-point rather than obsolete functions.
11582 (inferior-emacs-lisp-mode): Doc fix.
11583 Set completion-at-point-functions, rather than
11584 comint-dynamic-complete-functions.
11585
11586 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11587 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11588 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11589
11590 * image.el (image-animated-p): Tweak definition.
11591
11592 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11593 (rlogin-process-connection-type): Tweak default. Add set-after.
11594 (rlogin-host): Doc fix.
11595 (rlogin): Tweak prompt.
11596 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11597
11598 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11599 * progmodes/tcl.el (inferior-tcl-mode-map):
11600 Use completion-at-point rather than obsolete alias.
11601
11602 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11603
11604 * minibuffer.el (read-file-name-completion-ignore-case):
11605 Move before completion--in-region, for eager macro expansion.
11606
11607 2013-05-29 Juri Linkov <juri@jurta.org>
11608
11609 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11610 for total count of matching lines. Add `global-matches' for total
11611 count of matches. Rename `matches' to `lines' for count of
11612 matching lines. Add `matches' for count of matches.
11613 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11614 to `prev-line' for line number of prev match endpt.
11615 Increment `matches' for every match. Print the number of
11616 matching lines in the header.
11617 (occur-context-lines): Rename `lines' to `curr-line'.
11618 Rename `prev-lines' to `prev-line'. (Bug#14017)
11619
11620 2013-05-29 Juri Linkov <juri@jurta.org>
11621
11622 * replace.el (perform-replace): Add `skip-read-only-count',
11623 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11624 Increment them for corresponding conditions and report the number
11625 of skipped occurrences in the final message. (Bug#11746)
11626 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11627 (replace-string, replace-regexp): Doc fix.
11628
11629 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11632
11633 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11634 prog-mode-map (bug#14504).
11635
11636 2013-05-29 Leo Liu <sdl.web@gmail.com>
11637
11638 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11639 (octave-help): Small simplification.
11640
11641 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11642 off the highlight first.
11643
11644 2013-05-29 Glenn Morris <rgm@gnu.org>
11645
11646 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11647 Handle idlwave-last-system-routine-info-cons-cell being nil.
11648
11649 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11650 (idlwave-write-paths): Simplify via with-temp-buffer.
11651
11652 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11653 * emulation/cua-rect.el: Also load cua-base at run time.
11654
11655 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11656 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11657 (cperl-imenu-on-info): Require imenu.
11658
11659 2013-05-28 Alan Mackenzie <acm@muc.de>
11660
11661 Handle "capitalised keywords" correctly.
11662 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11663
11664 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11665
11666 * eshell/em-unix.el: Add -r option to cp.
11667
11668 2013-05-28 Glenn Morris <rgm@gnu.org>
11669
11670 * vc/vc-arch.el (vc-exec-after): Declare.
11671 (vc-switches): Autoload.
11672 * vc/vc-bzr.el: No need to require vc when compiling.
11673 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11674 (vc-resynch-buffer, vc-dir-refresh): Declare.
11675 (vc-setup-buffer, vc-switches): Autoload.
11676 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11677 (vc-resynch-buffer): Declare.
11678 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11679 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11680 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11681 (grep-read-regexp, grep-read-files, grep-expand-template)
11682 (vc-dir-refresh): Declare.
11683 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11684 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11685 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11686 * vc/vc-mtn.el (vc-exec-after): Declare.
11687 (vc-switches): Autoload.
11688 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11689 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11690 (vc-file-tree-walk): Declare.
11691 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11692 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11693 (vc-tag-precondition, vc-rename-master): Autoload.
11694 * vc/vc-svn.el (vc-exec-after): Declare.
11695 (vc-switches, vc-setup-buffer): Autoload.
11696 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11697 Autoload.
11698 (vc-resynch-buffer): Declare.
11699
11700 * obsolete/fast-lock.el (byte-compile-warnings):
11701 Don't warn about obsolete features in this obsolete file.
11702
11703 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11704 Move definition before use.
11705
11706 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11707 (dun-unix-verbs): Remove dun-zippy.
11708 (dun-zippy): Remove function.
11709
11710 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11711
11712 2013-05-27 Juri Linkov <juri@jurta.org>
11713
11714 * replace.el (replace-search): New function with code moved out
11715 from `perform-replace'.
11716 (replace-highlight, replace-dehighlight): Move function definitions
11717 up closer to `replace-search'. (Bug#11746)
11718
11719 2013-05-27 Juri Linkov <juri@jurta.org>
11720
11721 * replace.el (perform-replace): Ignore invisible matches.
11722 In addition to checking `query-replace-skip-read-only', also
11723 filter out matches by calling `run-hook-with-args-until-failure'
11724 on `isearch-filter-predicates', and also check `search-invisible'
11725 for t or call `isearch-range-invisible'.
11726 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11727
11728 2013-05-27 Juri Linkov <juri@jurta.org>
11729
11730 * isearch.el (isearch-filter-predicates): Rename from
11731 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11732 (isearch-message-prefix): Display text from the property
11733 `isearch-message-prefix' of the currently active filters.
11734 (isearch-search): Don't compare `isearch-filter-predicate' with
11735 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11736 on `isearch-filter-predicates'. Also check `search-invisible' for t
11737 or call `isearch-range-invisible'.
11738 (isearch-filter-visible): Make obsolete.
11739 (isearch-lazy-highlight-search):
11740 Call `run-hook-with-args-until-failure' on
11741 `isearch-filter-predicates' and use `isearch-range-invisible'.
11742
11743 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11744 `isearch-filter-predicates' instead of `funcall'ing
11745 `isearch-filter-predicate'.
11746 (Info-mode): Set `Info-isearch-filter' to
11747 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11748
11749 * dired-aux.el (dired-isearch-filter-predicate-orig):
11750 Remove variable.
11751 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11752 (dired-isearch-filenames-end): Add and remove
11753 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11754 instead of changing the value of `isearch-filter-predicate'.
11755 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11756 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11757 Put property `isearch-message-prefix' to "filename " on
11758 `dired-isearch-filter-filenames'.
11759
11760 * wdired.el (wdired-change-to-wdired-mode):
11761 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11762 locally instead of changing `isearch-filter-predicate'.
11763 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11764
11765 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11766
11767 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11768 return the commit hash (Bug#14459). Also set the
11769 `vc-git-detached' property.
11770 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11771 (vc-git-mode-line-string): Use the same help-echo format whether
11772 in detached mode or not, because we know the actual revision now.
11773 When in detached mode, shorten the revision to 7 chars.
11774
11775 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11776
11777 * emacs-lisp/easy-mmode.el (define-minor-mode):
11778 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11779 mode hook and provide a docstring.
11780
11781 2013-05-27 Alan Mackenzie <acm@muc.de>
11782
11783 Remove spurious syntax-table text properties inserted by C-y.
11784 * progmodes/cc-mode.el (c-after-change): Also clear hard
11785 syntax-table property with value nil.
11786
11787 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11788
11789 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11790 when reading the events; the buffer layout shall not be changed.
11791
11792 2013-05-27 Leo Liu <sdl.web@gmail.com>
11793
11794 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11795 New variable.
11796 (inferior-octave-directory-tracker): Automatically re-sync
11797 default-directory.
11798 (octave-help): Improve handling of 'See also'.
11799
11800 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 * doc-view.el: Minor naming convention tweaks.
11803 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11804
11805 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11806 even if there's no `display' property yet (bug#14435).
11807
11808 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11809
11810 * subr.el (unmsys--file-name): Rename from reveal-filename.
11811
11812 * Makefile.in (custom-deps, finder-data, autoloads)
11813 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11814 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11815 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11816
11817 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11818
11819 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11820 error-completion on the first 2 args of condition-case (bug#14446).
11821 Don't burp at EOB.
11822
11823 2013-05-25 Leo Liu <sdl.web@gmail.com>
11824
11825 * comint.el (comint-previous-matching-input): Do not flood the
11826 *Messages* buffer with trivial messages.
11827
11828 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11829
11830 * progmodes/flymake.el (flymake-nop): Don't return a string.
11831 (flymake-set-at): Fix typo.
11832
11833 * simple.el (read--expression): New function, extracted from
11834 eval-expression. Set completion-at-point-functions (bug#14465).
11835 (eval-expression, eval-minibuffer): Use it.
11836
11837 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11838
11839 * progmodes/flymake.el (flymake-save-buffer-in-file)
11840 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11841 (flymake-selected-frame, flymake-log, flymake-ins-after)
11842 (flymake-set-at, flymake-get-buildfile-from-cache)
11843 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11844 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11845 Refine the doc string.
11846 (flymake-get-file-name-mode-and-masks): Reformat.
11847 (flymake-get-real-file-name-function): Fix a minor bug.
11848
11849 2013-05-24 Juri Linkov <juri@jurta.org>
11850
11851 * progmodes/grep.el (grep-mode-font-lock-keywords):
11852 Support =linenumber= format used by git-grep for lines with
11853 function names. (Bug#13549)
11854
11855 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11856
11857 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11858 0 after a semi-colon; it works better for smie-auto-fill.
11859 (octave--indent-new-comment-line): New function.
11860 (octave-indent-new-comment-line): Use it (indirectly).
11861 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11862 modify comment-line-break-function.
11863
11864 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11865 (smie-setup): Use add-function to set it.
11866
11867 2013-05-24 Sam Steingold <sds@gnu.org>
11868
11869 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11870 argument (before the `interactive' argument).
11871
11872 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11873
11874 * image-mode.el (image-mode-winprops): Add winprops to
11875 image-mode-winprops-alist before running
11876 image-mode-new-window-functions.
11877 * doc-view.el (doc-view-new-window-function): Don't delay
11878 doc-view-goto-page via timers (bug#14435).
11879
11880 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11881
11882 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11883 (doc-view-desktop-save-buffer): New function.
11884 (doc-view-restore-desktop-buffer): New function.
11885 (desktop-buffer-mode-handlers):
11886 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11887 handler.
11888 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11889 `desktop-save-buffer' function.
11890
11891 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11892
11893 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11894 (tramp-gvfs-file-name-handler): Raise a user error when
11895 `tramp-gvfs-enabled' is nil.
11896 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11897 Do not raise a user error when loading package. (Bug#14447)
11898
11899 * net/xesam.el: Move to obsolete/.
11900
11901 2013-05-24 Glenn Morris <rgm@gnu.org>
11902
11903 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11904
11905 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11906
11907 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11908 (Info-find-node, Man-getpage-in-background): Declare.
11909
11910 * mail/unrmail.el (unrmail):
11911 Replace obsolete detect-coding-with-priority.
11912
11913 * net/socks.el (socks-split-string): Use this rather than split-string.
11914 (socks-nslookup-host): Update for above change.
11915 (dynamic-choice, s5-dynamic-choice-match)
11916 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11917 Comment out unused code.
11918
11919 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11920 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11921 (gud-tooltip-echo-area): Make obsolete.
11922 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11923
11924 * progmodes/js.el (js--optimize-arglist): Declare.
11925
11926 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11927
11928 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11929 (ediff-window-C): Declare.
11930
11931 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11932 Tweak requires to silence compiler.
11933
11934 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11935 (he-search-string, he-tried-table, he-expand-list)
11936 (he-init-string, he-string-member, he-substitute-string)
11937 (he-reset-string): Declare.
11938
11939 * obsolete/options.el (list-options): Use custom-variable-p,
11940 rather than obsolete alias.
11941
11942 2013-05-23 Sam Steingold <sds@gnu.org>
11943
11944 * simple.el (shell-command-on-region): Pass the `replace' argument
11945 down to `call-process-region' to comply with the doc as reported on
11946 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11947
11948 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11949
11950 * emacs-lisp/smie.el (smie-indent-forward-token)
11951 (smie-indent-backward-token): Handle string tokens (bug#14381).
11952
11953 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11954
11955 * ielm.el (ielm-menu): New menu.
11956 (inferior-emacs-lisp-mode): Set comment-start.
11957
11958 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11959
11960 * textmodes/reftex.el (reftex-ref-style-toggle):
11961 Fix deactivate action.
11962
11963 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11964 Add cleveref macros.
11965
11966 * textmodes/reftex-parse.el
11967 (reftex-locate-bibliography-files): Accept options for
11968 bibliography commands.
11969 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11970 Add addbibresource. Basic Biblatex support.
11971
11972 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11973
11974 * net/tramp-gvfs.el (top):
11975 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11976 when loading package. (Bug#14447)
11977
11978 2013-05-23 Glenn Morris <rgm@gnu.org>
11979
11980 * progmodes/js.el: No need to load comint when compiling.
11981 (ring-insert, comint-send-string, comint-send-input)
11982 (comint-last-input-end, ido-chop): Declare.
11983
11984 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11985 * vc/ediff-mult.el: Adjust requires.
11986 (ediff-directories-internal, ediff-directory-revisions-internal)
11987 (ediff-patch-file-internal): Declare.
11988 * vc/ediff-ptch.el: Adjust requires.
11989 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11990 (ediff-find-file): Autoload.
11991 * vc/ediff-util.el: No need to load ediff when compiling.
11992 (ediff-regions-internal): Declare.
11993 * vc/ediff-wind.el: Adjust requires.
11994 (ediff-compute-toolbar-width): Define when compiling.
11995 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11996 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11997 (dired-get-filename, dired-get-marked-files)
11998 (ediff-last-dir-patch, ediff-patch-default-directory)
11999 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12000 (ediff-patch-buffer-internal): Declare.
12001
12002 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12003 (ispell-process, ispell-buffer-local-words, lm-summary)
12004 (lm-section-start, lm-section-end): Declare.
12005 (checkdoc-ispell-init): Simplify.
12006
12007 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12008 (he-string-member, he-reset-string, he-substitute-string): Declare.
12009
12010 * eshell/em-ls.el: Adjust requires.
12011 (eshell-glob-regexp): Declare.
12012 * eshell/em-tramp.el: Adjust requires.
12013 (eshell-parse-command): Autoload.
12014 * eshell/em-xtra.el: Adjust requires.
12015 (eshell-parse-command): Autoload.
12016 * eshell/esh-ext.el: Adjust requires.
12017 (eshell-parse-command, eshell-close-handles): Autoload.
12018 * eshell/esh-io.el: Adjust requires.
12019 (eshell-output-filter): Autoload.
12020 * eshell/esh-util.el: No need to load tramp when compiling.
12021 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12022 Declare.
12023 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12024 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12025 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12026 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12027 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12028 * eshell/esh-opt.el, eshell/esh-proc.el:
12029 * eshell/esh-var.el: Adjust requires.
12030 * eshell/eshell.el: Do not require esh-util twice.
12031 (eshell-add-input-to-history): Declare.
12032 (eshell-command): Check history module is active before using it.
12033
12034 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12035
12036 2013-05-22 Leo Liu <sdl.web@gmail.com>
12037
12038 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12039
12040 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12041
12042 * autorevert.el (auto-revert-notify-add-watch)
12043 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12044 it indicates changes in file modification time.
12045
12046 2013-05-22 Glenn Morris <rgm@gnu.org>
12047
12048 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12049 Always delete the autoloaded function from the noruntime and
12050 unresolved functions lists.
12051
12052 * allout.el: No need to load epa, epg, overlay when compiling.
12053 (epg-context-set-passphrase-callback, epg-list-keys)
12054 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12055 (epg-key-user-id-list): Declare.
12056
12057 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12058 (viper-set-parsing-style-toggling-macro)
12059 (viper-set-emacs-state-searchstyle-macros):
12060 Use called-interactively-p on Emacs.
12061 (viper-looking-back): Make it an obsolete alias. Update callers.
12062 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12063 Use looking-back rather than viper-looking-back.
12064 (viper-tmp-insert-at-eob, viper-enlarge-region)
12065 (viper-read-string-with-history, viper-register-to-point)
12066 (viper-append-to-register, viper-change-state-to-vi)
12067 (viper-backward-char-carefully, viper-forward-char-carefully)
12068 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12069 (viper-change-state-to-emacs): Declare.
12070 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12071 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12072 * emulation/viper-mous.el: Do not load viper-cmd.
12073 (viper-backward-char-carefully, viper-forward-char-carefully)
12074 (viper-forward-word, viper-adjust-window): Declare.
12075
12076 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12077
12078 * progmodes/idlw-help.el (idlwave-help-fontify):
12079 Use called-interactively-p.
12080
12081 * term/w32console.el (w32-get-console-codepage)
12082 (w32-get-console-output-codepage): Declare.
12083
12084 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12085 Remove unnecessary declarations.
12086 (dframe-message): Doc fix.
12087
12088 * info.el (dframe-select-attached-frame, dframe-current-frame):
12089 Declare.
12090
12091 * speedbar.el (speedbar-message): Make it an obsolete alias.
12092 Update all callers.
12093 (speedbar-with-attached-buffer)
12094 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12095 (speedbar-with-writable): Use backquote.
12096 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12097 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12098 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12099 rather than speedbar- aliases.
12100 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12101 (speedbar-make-specialized-keymap, speedbar-insert-button)
12102 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12103 (speedbar-do-function-pointer): Declare.
12104 (rmail-speedbar-button, rmail-speedbar-find-file)
12105 (rmail-speedbar-move-message):
12106 Use dframe-with-attached-buffer rather than speedbar- alias.
12107 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12108 (dframe-message, speedbar-make-specialized-keymap)
12109 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12110 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12111 (speedbar-insert-button, dframe-select-attached-frame)
12112 (dframe-maybee-jump-to-attached-frame)
12113 (speedbar-change-initial-expansion-list)
12114 (speedbar-previously-used-expansion-list-name): Declare.
12115 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12116 Use dframe-message, dframe-with-attached-buffer rather than
12117 speedbar- aliases.
12118 (gud-sentinel): Silence compiler.
12119 * progmodes/vhdl-mode.el (speedbar-refresh)
12120 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12121 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12122 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12123 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12124 (speedbar-file-lists, speedbar-make-tag-line)
12125 (speedbar-line-directory, speedbar-goto-this-file)
12126 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12127 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12128 (speedbar-make-button, speedbar-reset-scanners)
12129 (speedbar-files-item-info, speedbar-line-text)
12130 (speedbar-find-file-in-frame, speedbar-set-timer)
12131 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12132 (speedbar-with-writable): Do not (re)define it.
12133 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12134 rather than speedbar- alias.
12135
12136 2013-05-21 Leo Liu <sdl.web@gmail.com>
12137
12138 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12139 menu items.
12140 (octave-mode): Tweak fill-nobreak-predicate.
12141 (inferior-octave-startup): Check process to avoid infinite loop.
12142 (inferior-octave): Pop to buffer first to show abornmal process
12143 exit information.
12144
12145 2013-05-21 Glenn Morris <rgm@gnu.org>
12146
12147 * printing.el (pr-menu-bar): Define when compiling.
12148
12149 2013-05-21 Leo Liu <sdl.web@gmail.com>
12150
12151 * progmodes/octave.el (octave-auto-fill): Remove.
12152 (octave-indent-new-comment-line): Improve.
12153 (octave-mode): Use auto fill mode through
12154 comment-line-break-function and fill-nobreak-predicate.
12155 (octave-goto-function-definition): Support DEFUN_DLD.
12156 (octave-beginning-of-defun): Small tweak.
12157 (octave-help): Show parent directory.
12158
12159 2013-05-21 Glenn Morris <rgm@gnu.org>
12160
12161 * files.el (dired-unmark):
12162 * progmodes/gud.el (gdb-input): Update declarations.
12163
12164 * calculator.el (electric, ehelp): No need to load when compiling.
12165 (Electric-command-loop, electric-describe-mode): Declare.
12166
12167 * doc-view.el (doc-view-current-converter-processes): Move before use.
12168
12169 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12170 Move MODE-set-explicitly definition before use.
12171
12172 * international/mule-diag.el (mule-diag):
12173 Don't use obsolete window-system-version.
12174
12175 * mail/feedmail.el (smtpmail): No need to load when compiling.
12176 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12177
12178 * mail/mail-utils.el (rfc822): No need to load when compiling.
12179 (rfc822-addresses): Autoload it.
12180 (mail-strip-quoted-names): Trivial simplification.
12181
12182 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12183 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12184
12185 * net/snmp-mode.el (tempo): Don't duplicate requires.
12186
12187 * progmodes/prolog.el (info): No need to load when compiling.
12188 (comint): Require before shell requires it.
12189 (Info-goto-node): Autoload it.
12190 (Info-follow-nearest-node): Declare.
12191 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12192
12193 * textmodes/artist.el (picture-mode-exit): Declare.
12194
12195 * textmodes/reftex-parse.el (reftex-parse-from-file):
12196 Trivial rewrite so the compiler can parse it better.
12197
12198 2013-05-20 Leo Liu <sdl.web@gmail.com>
12199
12200 * progmodes/octave.el (octave-help-mode-map)
12201 (octave-help-mode-finish-hook): New variables.
12202 (octave-help-mode, octave-help-mode-finish): New functions.
12203 (octave-help): Use octave-help-mode.
12204
12205 2013-05-20 Glenn Morris <rgm@gnu.org>
12206
12207 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12208
12209 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12210
12211 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12212 start at point, so that expansion starting right after opening
12213 slash in a regexp is recognized.
12214 (ruby-syntax-before-regexp-re): New defvar, extracted from
12215 ruby-syntax-propertize-function. Since the value of this regexp
12216 is looked up at runtime now, we should be able to turn
12217 `ruby-syntax-methods-before-regexp' into a defcustom later.
12218 (ruby-syntax-propertize-function): Split regexp matching into two
12219 parts, for opening and closing slashes. That allows us to skip
12220 over string interpolations and support multiline regexps.
12221 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12222 for them, which calls `ruby-syntax-propertize-expansion'.
12223 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12224 call to `ruby-syntax-propertize-function'.
12225 (ruby-syntax-propertize-expansion): Extracted from
12226 `ruby-syntax-propertize-expansions'. Handles one expansion.
12227 (ruby-syntax-propertize-percent-literal): Leave point right after
12228 the percent symbol, so that the expression expansion rule can
12229 propertize the contents.
12230 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12231 heredoc openers.
12232 (ruby-syntax-propertize-expansions): Remove.
12233
12234 2013-05-18 Juri Linkov <juri@jurta.org>
12235
12236 * man.el (Man-default-man-entry): Remove `-' from the end
12237 of the default value. (Bug#14400)
12238
12239 2013-05-18 Glenn Morris <rgm@gnu.org>
12240
12241 * comint.el (comint-password-prompt-regexp):
12242 Allow "password for XXX" where XXX contains colons (eg https://...).
12243
12244 2013-05-18 Leo Liu <sdl.web@gmail.com>
12245
12246 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12247 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12248 (octave-source-directories): Don't check process.
12249 (octave-source-directories, octave-find-definition): Doc fix.
12250
12251 2013-05-18 Glenn Morris <rgm@gnu.org>
12252
12253 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12254 Remove backspace/delete bindings. (Bug#14392)
12255
12256 * cus-dep.el (custom-make-dependencies): Sort the output.
12257 (custom-versions-load-alist): Convert comment to doc.
12258
12259 2013-05-17 Leo Liu <sdl.web@gmail.com>
12260
12261 * newcomment.el (comment-search-backward): Stricter in finding
12262 comment start. (Bug#14303)
12263
12264 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12265 (octave-comment-start-skip): Properly anchored.
12266
12267 2013-05-17 Leo Liu <sdl.web@gmail.com>
12268
12269 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12270 Clean up when turned off. (Bug#14395)
12271 (smie--highlight-matching-block-overlay): No longer buffer-local.
12272 (smie-highlight-matching-block): Adjust.
12273
12274 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12275
12276 Doc string fix for "nanoseconds" (Bug#14406).
12277 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12278 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12279
12280 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12281
12282 * calc/calc-units.el (math-extract-units): Preserve powers
12283 of units.
12284
12285 2013-05-17 Leo Liu <sdl.web@gmail.com>
12286
12287 * subr.el (delete-consecutive-dups): New function.
12288 * ido.el (ido-set-matches-1): Use it.
12289 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12290 * ido.el (ido-remove-consecutive-dups): Remove.
12291
12292 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12293
12294 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12295 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12296 regexp-opt's `words'.
12297
12298 2013-05-16 Leo Liu <sdl.web@gmail.com>
12299
12300 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12301 (smie--highlight-matching-block-overlay)
12302 (smie--highlight-matching-block-lastpos)
12303 (smie--highlight-matching-block-timer): New variables.
12304 (smie-highlight-matching-block): New function.
12305 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12306 (smie-setup): Conditionally enable smie-blink-matching-open.
12307
12308 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12309
12310 Sync with upstream verilog-mode r840.
12311 * progmodes/verilog-mode.el (verilog-mode-version)
12312 (verilog-mode-release-date): Update.
12313 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12314 (verilog-sig-tieoff): Fix string error on
12315 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12316 (verilog-read-decls): Fix parameters confusing
12317 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12318
12319 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12320
12321 * subr.el (reveal-filename): New function.
12322
12323 * loadup.el: Compute Emacs executable versions on MS-Windows,
12324 where executables have the .exe extension. Add a hard link
12325 emacs-XX.YY.ZZ.exe on MS-Windows.
12326
12327 * Makefile.in (XARGS_LIMIT): New variable.
12328 (custom-deps, finder-data, autoloads)
12329 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12330 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12331 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12332 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12333
12334 2013-05-16 Leo Liu <sdl.web@gmail.com>
12335
12336 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12337 (octave-mode-menu, octave-mode-map): Remove its uses.
12338
12339 2013-05-16 Reto Zimmermann <reto@gnu.org>
12340
12341 Sync with upstream vhdl mode v3.34.2.
12342 * progmodes/vhdl-mode.el: Use `push' throughout.
12343 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12344 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12345 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12346 (vhdl-actual-generic-name): New option to derive actual generic name.
12347 (vhdl-port-paste-signals): Replace formal by actual generics.
12348 (vhdl-beautify): New name for old group vhdl-align. Update users.
12349 (vhdl-beautify-options): New option.
12350 (vhdl-last-input-event): New compat alias. Use throughout.
12351 (vhdl-goto-line): Replace user level function `goto-line'.
12352 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12353 vhdl-fix-statement-buffer.
12354 (vhdl-create-mode-menu): Add some entries.
12355 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12356 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12357 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12358 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12359 to force statements on one line.
12360 (vhdl-remove-trailing-spaces-region):
12361 New, split from vhdl-remove-trailing-spaces.
12362 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12363 Respect vhdl-beautify-options.
12364 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12365 (vhdl-update-sensitivity-list): Not add with index if exists without.
12366 Not include array index with signal. Ignore keywords in comments.
12367 (vhdl-get-visible-signals): Regexp tweaks.
12368 (vhdl-template-component-inst): Handle empty library.
12369 (vhdl-template-type): Add template for 'enum' type.
12370 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12371 Use vhdl-replace-string.
12372 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12373 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12374 (vhdl-speedbar-initialize): Update for above name change.
12375 (vhdl-compose-wire-components): Fix in handling of constants.
12376 (vhdl-error-regexp-emacs-alist): New variable.
12377 (vhdl-error-regexp-add-emacs): New function;
12378 adds support for new compile.el (Emacs 22+)
12379 (vhdl-generate-makefile-1): Change target order for single lib. units.
12380 Allow use of absolute file names.
12381
12382 2013-05-16 Leo Liu <sdl.web@gmail.com>
12383
12384 * simple.el (prog-indent-sexp): Indent enclosing defun.
12385
12386 2013-05-15 Glenn Morris <rgm@gnu.org>
12387
12388 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12389 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12390 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12391 (whitespace-highlight): Move to whitespace group.
12392
12393 * comint.el (comint-source):
12394 * pcmpl-linux.el (pcmpl-linux):
12395 * shell.el (shell-faces):
12396 * eshell/esh-opt.el (eshell-opt):
12397 * international/ccl.el (ccl): Remove empty custom groups.
12398
12399 * completion.el (dynamic-completion-mode):
12400 * jit-lock.el (jit-lock-debug-mode):
12401 * minibuffer.el (completion-in-region-mode):
12402 * type-break.el (type-break-mode-line-message-mode)
12403 (type-break-query-mode):
12404 * emulation/tpu-edt.el (tpu-edt-mode):
12405 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12406 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12407 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12408
12409 * term/xterm.el (xterm): Change parent group to terminals.
12410
12411 * master.el (master): Remove empty custom group.
12412 (master-mode): Remove unused :group argument.
12413 * textmodes/refill.el (refill): Remove empty custom group.
12414 (refill-mode): Remove unused :group argument.
12415
12416 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12417
12418 * cus-dep.el: Provide a feature.
12419 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12420 Don't mistakenly ignore files whose basenames match a basename
12421 from preloaded-file-list (eg cedet/ede/simple.el).
12422 Add a fallback method for getting :group.
12423
12424 2013-05-15 Juri Linkov <juri@jurta.org>
12425
12426 * isearch.el (isearch-char-by-name): Rename from
12427 `isearch-insert-char-by-name'. Doc fix.
12428 (isearch-forward): Mention `isearch-char-by-name' in
12429 the docstring. (Bug#13348)
12430
12431 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12432 `exit-minibuffer' instead of
12433 `isearch-nonincremental-exit-minibuffer'.
12434 (isearch-edit-string): Remove mention of
12435 `isearch-nonincremental-exit-minibuffer' from docstring.
12436 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12437 (isearch-forward-exit-minibuffer)
12438 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12439
12440 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12441
12442 * loadup.el: Just use unversioned DOC.
12443
12444 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12445 literals as extending to EOB.
12446 (nxml-last-fontify-end): Remove unused variable.
12447 (nxml-after-change1): Use with-silent-modifications.
12448 (nxml-extend-after-change-region): Simplify.
12449 (nxml-extend-after-change-region1): Remove function.
12450 (nxml-after-change1): Don't adjust for dependent regions.
12451 (nxml-fontify-matcher): Simplify.
12452 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12453 (xmltok-add-dependent): Remove function.
12454 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12455 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12456 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12457 unclosed <[[, <?, comment, and other literals as extending to EOB.
12458 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12459 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12460 Remove functions.
12461 (rng-do-some-validation-1): Don't mark dependent regions.
12462 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12463 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12464 (nxml-clear-dependent-regions): Remove functions.
12465 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12466 (nxml-ensure-scan-up-to-date):
12467 Don't clear&mark dependent regions.
12468
12469 2013-05-15 Leo Liu <sdl.web@gmail.com>
12470
12471 * progmodes/octave.el (octave-goto-function-definition):
12472 Improve and fix callers.
12473
12474 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12475
12476 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12477 the setter (bug#14387).
12478
12479 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12480 surrounding group (bug#14402).
12481
12482 2013-05-14 Juri Linkov <juri@jurta.org>
12483
12484 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12485 (Bug#14390)
12486
12487 2013-05-14 Glenn Morris <rgm@gnu.org>
12488
12489 * progmodes/f90.el (f90-imenu-generic-expression):
12490 Fix typo in 2013-05-08 change. (Bug#14402)
12491
12492 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12493
12494 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12495 Remove signals for which replies are never received.
12496
12497 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12498
12499 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12500 (gdb-handler-alist, gdb-handler-number): Remove variables.
12501 (gdb-handler-list): New variable.
12502 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12503 (gdb-pending-handler-p, gdb-handle-reply)
12504 (gdb-remove-all-pending-triggers): New functions.
12505 (gdb-discard-unordered-replies): New defcustom.
12506 (gdb-handler): New defstruct.
12507 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12508 instead of gdb-pending-triggers. Update docstring.
12509 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12510 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12511 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12512 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12513 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12514 (gdb-frame-handler): Pending triggers are now automatically managed.
12515 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12516 Remove argument.
12517 (gdb-input): Automatically handles pending triggers. Update docstring.
12518 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12519 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12520 Update comments.
12521 (gdb-done-or-error): Now use gdb-handle-reply.
12522
12523 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12524
12525 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12526 gdb-debug-log.
12527
12528 2013-05-14 Glenn Morris <rgm@gnu.org>
12529
12530 * subr.el (user-emacs-directory-warning): New option.
12531 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12532
12533 2013-05-14 Leo Liu <sdl.web@gmail.com>
12534
12535 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12536 during redisplay.
12537 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12538 (octave-font-lock-texinfo-comment): Fix invalid search bound
12539 error: wrong side of point.
12540
12541 2013-05-14 Glenn Morris <rgm@gnu.org>
12542
12543 * progmodes/flymake.el (flymake-xml-program): New option.
12544 (flymake-xml-init): Use it.
12545
12546 * term/xterm.el: Provide a feature.
12547
12548 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12549
12550 2013-05-13 Glenn Morris <rgm@gnu.org>
12551
12552 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12553 Add compat aliases as a hack workaround. (Bug#14384)
12554
12555 2013-05-13 Leo Liu <sdl.web@gmail.com>
12556
12557 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12558 ###, and %!.
12559 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12560 C-M-q.
12561 (octave-comment-start-skip): Include %!.
12562 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12563
12564 2013-05-12 Leo Liu <sdl.web@gmail.com>
12565
12566 * progmodes/octave.el (inferior-octave-startup): Store the value
12567 of __octave_srcdir__ for octave-source-directories.
12568 (inferior-octave-check-process): New function refactored out of
12569 inferior-octave-send-list-and-digest.
12570 (octave-source-directories)
12571 (octave-find-definition-filename-function): New variables.
12572 (octave-source-directories)
12573 (octave-find-definition-default-filename): New functions.
12574 (octave-find-definition): Improve to find functions implemented in C++.
12575
12576 2013-05-12 Glenn Morris <rgm@gnu.org>
12577
12578 * calendar/diary-lib.el (diary-outlook-format-1):
12579 Don't include dayname in the output. (Bug#14349)
12580
12581 2013-05-11 Glenn Morris <rgm@gnu.org>
12582
12583 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12584
12585 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12586 Treat cc-provide like provide.
12587
12588 2013-05-11 Kevin Ryde <user42@zip.com.au>
12589
12590 * cus-dep.el (custom-make-dependencies):
12591 Use generated-autoload-load-name for the sake of files such
12592 such cedet/semantic/bovine/c.el, where the base file name
12593 is not in load-path. (Bug#5277)
12594
12595 2013-05-11 Glenn Morris <rgm@gnu.org>
12596
12597 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12598 Provide features.
12599
12600 2013-05-11 Leo Liu <sdl.web@gmail.com>
12601
12602 * progmodes/octave.el (octave-indent-comment): Improve.
12603 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12604 (octave-eldoc-function-signatures, octave-eldoc-function):
12605 New functions.
12606 (octave-mode, inferior-octave-mode): Add eldoc support.
12607
12608 2013-05-11 Richard Stallman <rms@gnu.org>
12609
12610 * epa.el (epa-decrypt-file): Take output file name as argument
12611 and read it using `interactive'.
12612
12613 2013-05-11 Leo Liu <sdl.web@gmail.com>
12614
12615 * progmodes/octave.el (octave-beginning-of-line)
12616 (octave-end-of-line): Check before using up-list because it jumps
12617 out of more syntactic contructs since moving to smie.
12618 (octave-indent-comment): New function.
12619 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12620 (octave-begin-keywords, octave-end-keywords)
12621 (octave-reserved-words, octave-smie-bnf-table)
12622 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12623
12624 2013-05-11 Glenn Morris <rgm@gnu.org>
12625
12626 * faces.el (internal-face-x-get-resource):
12627 * frame.el (ns-display-monitor-attributes-list):
12628 * calc/calc-aent.el (math-to-radians-2):
12629 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12630 Fix declarations.
12631
12632 * calc/calc-menu.el: Make it loadable in isolation.
12633
12634 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12635 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12636 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12637 (eudc-bbdb-query-internal): Require 'bbdb.
12638
12639 * lpr.el (lpr-headers-switches):
12640 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12641
12642 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12643
12644 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12645
12646 * term.el (term-set-escape-char): Make it idempotent.
12647
12648 2013-05-10 Leo Liu <sdl.web@gmail.com>
12649
12650 * progmodes/octave.el (inferior-octave-completion-table):
12651 No longer a function and all uses changed. Use cache to speed up
12652 completion due to bug#11906.
12653 (octave-beginning-of-defun): Re-write to be more general.
12654
12655 2013-05-10 Glenn Morris <rgm@gnu.org>
12656
12657 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12658
12659 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12660
12661 * comint.el (comint-redirect-send-command-to-process): Use :around
12662 rather than :override for comint-redirect-filter.
12663 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12664 Call it instead of comint-redirect-original-filter-function (which
12665 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12666
12667 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12668
12669 * frame.el (display-monitor-attributes-list): Add NS case.
12670 (ns-display-monitor-attributes-list): Declare.
12671
12672 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12673
12674 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12675
12676 2013-05-09 Glenn Morris <rgm@gnu.org>
12677
12678 * international/fontset.el (vertical-centering-font-regexp):
12679 Set standard-value.
12680
12681 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12682
12683 * bookmark.el (bookmark-search-delay):
12684 * cus-start.el (vertical-centering-font-regexp):
12685 * ps-mule.el (ps-mule-font-info-database-default):
12686 * ps-print.el (ps-default-fg, ps-default-bg):
12687 * type-break.el (type-break-good-break-interval):
12688 * whitespace.el (whitespace-indentation-regexp)
12689 (whitespace-space-after-tab-regexp):
12690 * emacs-lisp/testcover.el (testcover-1value-functions)
12691 (testcover-noreturn-functions, testcover-progn-functions)
12692 (testcover-prog1-functions):
12693 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12694 * eshell/em-glob.el (eshell-glob-translate-alist):
12695 * play/tetris.el (tetris-tty-colors):
12696 * progmodes/cpp.el (cpp-face-default-list):
12697 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12698 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12699 (idlwave-help-browser-generic-args):
12700 * progmodes/make-mode.el (makefile-special-targets-list):
12701 * progmodes/python.el (python-shell-virtualenv-path):
12702 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12703 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12704 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12705 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12706 * textmodes/reftex-vars.el (reftex-format-label-function):
12707 * textmodes/remember.el (remember-diary-file): Fix custom types.
12708
12709 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12710 Add :version.
12711
12712 2013-05-09 Leo Liu <sdl.web@gmail.com>
12713
12714 * progmodes/octave.el (inferior-octave-completion-at-point):
12715 Restore file completion. (Bug#14300)
12716 (inferior-octave-startup): Fix incorrect highlighting for the
12717 first prompt.
12718
12719 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12720
12721 * progmodes/ruby-mode.el: First cut at SMIE support.
12722 (ruby-use-smie): New var.
12723 (ruby-smie-grammar): New constant.
12724 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12725 (ruby-smie--forward-token, ruby-smie--backward-token)
12726 (ruby-smie-rules): New functions.
12727 (ruby-mode-variables): Setup SMIE if applicable.
12728
12729 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12730
12731 * simple.el (line-move-visual): Signal beginning/end of buffer
12732 only if vertical-motion moved less than it was requested. Avoids
12733 silly incorrect error messages when there are display strings with
12734 multiple newlines at EOL.
12735
12736 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12737
12738 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12739 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12740 (prolog-char-quote-workaround):
12741 * progmodes/cperl-mode.el (cperl-under-as-char):
12742 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12743 Mark as obsolete.
12744 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12745 their declaration.
12746 (vhdl-mode-syntax-table-init): Remove.
12747
12748 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12749 last change.
12750
12751 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12752 syntax for "_".
12753 (ld-script-font-lock-keywords):
12754 Change regexps to use things like \_< and \_>.
12755
12756 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12757 Change all regexps to use things like \_< and \_>.
12758
12759 * progmodes/autoconf.el (autoconf-definition-regexp)
12760 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12761 Handle a _ with symbol syntax.
12762 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12763
12764 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12765 Consolidate declaration.
12766 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12767 the declaration.
12768 (ada-create-syntax-table): Remove.
12769 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12770 already has the right syntax nowadays.
12771 (ada-goto-next-word): Don't change the syntax of "_".
12772
12773 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12774 with-wrapper-hook.
12775
12776 2013-05-08 Sam Steingold <sds@gnu.org>
12777
12778 * thingatpt.el (thing-at-point): Accept optional second argument
12779 NO-PROPERTIES to strip the text properties from the return value.
12780 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12781 to `thing-at-point' instead of stripping the properties ourselves.
12782 Also, when `thing-at-point' fails to find a url, prepend "http://"
12783 to the filename at point on the assumption that the user is
12784 pointing at something like gnu.org/gnu.
12785
12786 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12787
12788 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12789 * faces.el (crm-separator):
12790 Silence byte-compiler.
12791
12792 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12793 (tool-bar-map): Remove unneeded defvars.
12794
12795 2013-05-08 Leo Liu <sdl.web@gmail.com>
12796
12797 Re-work a fix for bug#10994 based on Le Wang's patch.
12798 * ido.el (ido-remove-consecutive-dups): New helper.
12799 (ido-completing-read): Use it.
12800 (ido-chop): Revert fix for bug#10994.
12801
12802 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12803
12804 * cus-edit.el (custom-save-variables):
12805 Pretty-print long values. (Bug#14187)
12806
12807 2013-05-08 Glenn Morris <rgm@gnu.org>
12808
12809 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12810 (m4-mode-syntax-table): Init in the defvar.
12811 (m4-mode-abbrev-table): Let define-derived-mode define it.
12812
12813 2013-05-08 Tom Tromey <tromey@redhat.com>
12814
12815 * progmodes/m4-mode.el (m4-mode-syntax-table):
12816 Do not treat "_" as word constituent. (Bug#14167)
12817
12818 2013-05-07 Glenn Morris <rgm@gnu.org>
12819
12820 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12821 Remove explicit eshell-isearch-cancel-map.
12822
12823 * progmodes/f90.el (f90-smart-end-names): New option.
12824 (f90-smart-end): Doc fix.
12825 (f90-end-block-optional-name): New constant.
12826 (f90-block-match): Respect f90-smart-end-names.
12827
12828 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12829
12830 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12831 about implicit semi-colons (bug#14218).
12832
12833 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12834
12835 * frame.el (display-monitor-attributes-list)
12836 (frame-monitor-attributes): New functions.
12837
12838 2013-05-06 Leo Liu <sdl.web@gmail.com>
12839
12840 * progmodes/octave.el (octave-syntax-propertize-function): Change
12841 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12842 (octave-font-lock-keywords): Use octave-operator-regexp.
12843 (octave-completion-at-point): Rename from
12844 octave-completion-at-point-function.
12845 (inferior-octave-directory-tracker): Robustify.
12846 (octave-text-functions): Remove and fix its uses. No such things
12847 any more.
12848
12849 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12850
12851 * emacs-lisp/trace.el (trace--display-buffer): New function.
12852 (trace-make-advice): Use it.
12853
12854 2013-05-06 Juri Linkov <juri@jurta.org>
12855
12856 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12857 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12858 Doc fix.
12859 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12860 in the help string. (Bug#12985)
12861
12862 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12863
12864 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12865
12866 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12867
12868 * progmodes/perl-mode.el: Add support for here documents.
12869 (perl-syntax-propertize-function): Match here-doc markers.
12870 (perl-syntax-propertize-special-constructs): Find their end.
12871 (perl-imenu-generic-expression): Use [:alnum:].
12872
12873 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12874 (advice--add-function): Refresh the advice if already present
12875 (bug#14317).
12876
12877 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12878
12879 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12880
12881 2013-05-06 Glenn Morris <rgm@gnu.org>
12882
12883 * w32-fns.el (w32-charset-info-alist): Declare.
12884
12885 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12886 of its defcustom properties.
12887 (eshell-cmpl-initialize): No need to load pcomplete.
12888
12889 * generic-x.el: No need to require comint when compiling.
12890
12891 * net/eudc-export.el: Make it loadable without bbdb.
12892 (top-level): Use require rather than load-library.
12893 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12894 (eudc-batch-export-records-to-bbdb)
12895 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12896 Require bbdb.
12897
12898 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12901 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12902 some tweaks, instead.
12903
12904 2013-05-05 Leo Liu <sdl.web@gmail.com>
12905
12906 * progmodes/octave.el (octave-font-lock-keywords)
12907 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12908 (inferior-octave-send-list-and-digest): Improve error message.
12909 (octave-mode, inferior-octave-mode): Use setq-local.
12910 (octave-help): Set info-lookup-mode.
12911
12912 2013-05-05 Richard Stallman <rms@gnu.org>
12913
12914 * vc/compare-w.el (compare-windows-whitespace):
12915 Treat no-break space as whitespace.
12916
12917 * mail/rmailsum.el (rmail-summary-rmail-update):
12918 Detect empty summary and don't change selected message.
12919 (rmail-summary-goto-msg): Likewise.
12920
12921 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12922 Doc fixes, rename args.
12923
12924 2013-05-05 Alan Mackenzie <acm@muc.de>
12925
12926 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12927
12928 2013-05-05 Juri Linkov <juri@jurta.org>
12929
12930 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12931 to not add the length of the summary segment to the return value.
12932 (Bug#14125)
12933
12934 2013-05-05 Leo Liu <sdl.web@gmail.com>
12935
12936 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12937 (inferior-octave-output-filter): Remove.
12938 (octave-send-region, inferior-octave-startup): Fix callers.
12939 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12940 (octave-binary-file-extensions): New user variable.
12941 (octave-find-definition): Confirm if opening binary files.
12942 (octave-help-file): Use octave-find-definition to get the binary
12943 confirmation.
12944 (octave-help): Adjust for octave-help-file change.
12945
12946 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12947
12948 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12949 Merge the two entries that handle function definitions.
12950 (pascal--syntax-propertize): New const.
12951 (pascal-mode): Use it. Use setq-local.
12952
12953 2013-05-04 Glenn Morris <rgm@gnu.org>
12954
12955 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12956 (diary-from-outlook): Respect diary-from-outlook-function.
12957
12958 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12959
12960 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12961 Move the declaration from C.
12962 (read-minibuffer, eval-minibuffer): Move from C.
12963 (completion-setup-function): Avoid minibuffer-completion-contents.
12964
12965 2013-05-03 Leo Liu <sdl.web@gmail.com>
12966
12967 * progmodes/octave.el (octave-font-lock-keywords): Do not
12968 dehighlight 'end' in comments or strings.
12969 (octave-completing-read, octave-goto-function-definition):
12970 New helpers.
12971 (octave-help-buffer): New user variable.
12972 (octave-help-file, octave-help-function): New button types.
12973 (octave-help): New command and bind it to C-h ;.
12974 (octave-find-definition): New command and bind it to M-.
12975 (user-error): Alias to error if not defined.
12976
12977 2013-05-02 Leo Liu <sdl.web@gmail.com>
12978
12979 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12980 for \. (bug#14332)
12981 (octave-font-lock-keywords): Include [ and {.
12982
12983 2013-05-02 Leo Liu <sdl.web@gmail.com>
12984
12985 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12986 (inferior-octave): Remove calling comint-mode and return the buffer.
12987 (inferior-octave-startup): Cosmetic changes.
12988
12989 2013-05-02 Leo Liu <sdl.web@gmail.com>
12990
12991 * progmodes/octave.el (octave-syntax-propertize-function):
12992 Include the case when ' is at line beginning. (Bug#14336)
12993
12994 2013-05-02 Glenn Morris <rgm@gnu.org>
12995
12996 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12997 * desktop.el (vc-dir-mode): Just autoload it here.
12998
12999 2013-05-02 Alan Mackenzie <acm@muc.de>
13000
13001 Eliminate variable c-standard-font-lock-fontify-region-function.
13002 * progmodes/cc-mode.el
13003 (c-standard-font-lock-fontify-region-function): Remove.
13004 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13005
13006 2013-05-01 Leo Liu <sdl.web@gmail.com>
13007
13008 * progmodes/octave.el: Compatible with older emacs-24 releases.
13009 (inferior-octave-has-built-in-variables): Remove. Built-in
13010 variables were removed from Octave in 2007.
13011 (inferior-octave-startup): Fix uses.
13012 (comint-line-beginning-position): Remove compatibility code for
13013 emacs 21.
13014
13015 2013-05-01 Juri Linkov <juri@jurta.org>
13016
13017 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13018
13019 2013-05-01 Juri Linkov <juri@jurta.org>
13020
13021 * comint.el (comint-previous-matching-input): Don't print message
13022 "History item: %d" when `isearch-mode' is active.
13023 (comint-history-isearch-message): Print message "History item: %d"
13024 when `comint-input-ring-index' is not empty and this function is
13025 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13026
13027 2013-05-01 Leo Liu <sdl.web@gmail.com>
13028
13029 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13030 definitions. Use completion-at-point to insert keywords.
13031 (octave-abbrev-start): Remove.
13032 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13033
13034 2013-04-30 Leo Liu <sdl.web@gmail.com>
13035
13036 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13037 change.
13038
13039 2013-04-30 Alan Mackenzie <acm@muc.de>
13040
13041 Handle arbitrarily long C++ member initialisation lists.
13042 * progmodes/cc-engine.el (c-back-over-member-initializers):
13043 new function.
13044 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13045 (most) member init lists.
13046
13047 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13048
13049 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13050 variable.
13051
13052 2013-04-30 Leo Liu <sdl.web@gmail.com>
13053
13054 * progmodes/octave.el (octave-variables): Remove. No builtin
13055 variables any more. All converted to functions.
13056 (octave-font-lock-keywords, octave-completion-at-point-function):
13057 Fix uses.
13058 (octave-font-lock-texinfo-comment): New user variable.
13059 (octave-texinfo-font-lock-keywords): New variable for texinfo
13060 comment block.
13061 (octave-function-comment-block): New face.
13062 (octave-font-lock-texinfo-comment): New function.
13063 (octave-mode): Font lock texinfo comment block.
13064
13065 2013-04-29 Leo Liu <sdl.web@gmail.com>
13066
13067 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13068 indexing expression.
13069 (octave-continuation-string): Do not use \.
13070 (inferior-octave-complete-impossible): Remove.
13071 (inferior-octave-completion-table)
13072 (inferior-octave-completion-at-point): Remove its uses.
13073 (inferior-octave-startup): completion_matches was introduced to
13074 Octave in 1996 so safe to assume it.
13075 (octave-function-file-comment): Improve to follow how Octave does it.
13076 (octave-update-function-file-comment): Tweak.
13077
13078 2013-04-29 Leo Liu <sdl.web@gmail.com>
13079
13080 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13081 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13082 (octave-function-file-comment): Fix typo.
13083 (octave-sync-function-file-names): Use read-char-choice.
13084
13085 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13086
13087 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13088 to t for the less important warnings.
13089
13090 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13091
13092 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13093
13094 2013-04-27 Glenn Morris <rgm@gnu.org>
13095
13096 * vc/log-view.el (log-view-current-entry):
13097 Treat "---" separator lines as part of the following rev. (Bug#14169)
13098
13099 2013-04-27 Juri Linkov <juri@jurta.org>
13100
13101 * subr.el (read-number): Doc fix about using it by interactive
13102 code letter `n'. (Bug#14254)
13103
13104 2013-04-27 Juri Linkov <juri@jurta.org>
13105
13106 * desktop.el (desktop-auto-save-timeout): New option.
13107 (desktop-file-checksum): New variable.
13108 (desktop-save): Add optional arg `auto-save' and don't auto-save
13109 if nothing changed.
13110 (desktop-auto-save-timer): New variable.
13111 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13112 (after-init-hook): Call `desktop-auto-save-set-timer'.
13113 Suggested by Reuben Thomas <rrt@sc3d.org> in
13114 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13115
13116 2013-04-27 Leo Liu <sdl.web@gmail.com>
13117
13118 * progmodes/octave.el (octave-function-file-p)
13119 (octave-skip-comment-forward, octave-function-file-comment)
13120 (octave-update-function-file-comment): New functions.
13121 (octave-mode-map): Bind C-c ; to
13122 octave-update-function-file-comment.
13123 (octave-mode-menu): Add octave-update-function-file-comment.
13124 (octave-mode, inferior-octave-mode): Fix doc-string.
13125 (octave-insert-defun): Conform to Octave's coding convention.
13126 (Bug#14285)
13127
13128 * files.el (basic-save-buffer): Don't let errors in
13129 before-save-hook prevent saving buffer.
13130
13131 2013-04-20 Roland Winkler <winkler@gnu.org>
13132
13133 * faces.el (read-face-name): Use completing-read if arg multiple
13134 is nil.
13135
13136 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13137
13138 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13139 displayed, move point to after the totals line.
13140 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13141 for the details.
13142
13143 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13144
13145 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13146 Add current dir to the load-path.
13147 (package-generate-autoloads): Don't rely on
13148 autoload-ensure-default-file.
13149
13150 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13151
13152 * textmodes/remember.el (remember-store-in-files): Document that
13153 the file name format is passed to `format-time-string'.
13154
13155 2013-04-26 Leo Liu <sdl.web@gmail.com>
13156
13157 * progmodes/octave.el (octave-sync-function-file-names): New function.
13158 (octave-mode): Use it in before-save-hook.
13159
13160 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13161
13162 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13163 (bug#14274).
13164
13165 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13166 \n and comment, even if it's not an implicit ; (bug#14218).
13167
13168 2013-04-26 Glenn Morris <rgm@gnu.org>
13169
13170 * subr.el (read-number): Once more use `read' rather than
13171 `string-to-number', to trap non-numeric input. (Bug#14254)
13172
13173 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13174
13175 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13176 Use `syntax-multiline' text property consistently instead of
13177 `font-lock-multiline'. (Bug#14237)
13178
13179 2013-04-26 Glenn Morris <rgm@gnu.org>
13180
13181 * emacs-lisp/shadow.el (list-load-path-shadows):
13182 No longer necessary to check for duplicate simple.el, since
13183 2012-07-07 change to init_lread to not include installation lisp
13184 directories in load-path when running uninstalled. (Bug#14270)
13185
13186 2013-04-26 Leo Liu <sdl.web@gmail.com>
13187
13188 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13189 (octave-mode, inferior-octave-mode): Use setq-local.
13190 (octave-not-in-string-or-comment-p): Rename to
13191 octave-in-string-or-comment-p.
13192 (octave-in-comment-p, octave-in-string-p)
13193 (octave-in-string-or-comment-p): Replace defsubst with defun.
13194
13195 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13196
13197 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13198
13199 2013-04-25 Bastien Guerry <bzg@gnu.org>
13200
13201 * textmodes/remember.el (remember-data-directory)
13202 (remember-directory-file-name-format): Fix custom types.
13203
13204 2013-04-25 Leo Liu <sdl.web@gmail.com>
13205
13206 * progmodes/octave.el (octave-completion-at-point-function):
13207 Make use of inferior octave process.
13208 (octave-initialize-completions): Remove.
13209 (inferior-octave-completion-table): New function.
13210 (inferior-octave-completion-at-point): Use it.
13211 (octave-completion-alist): Remove.
13212
13213 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13216 (opascal-mode-syntax-table): New var.
13217 (opascal-literal-kind, opascal-is-literal-end)
13218 (opascal-literal-token-at): Rewrite.
13219 (opascal--literal-start-re, opascal-font-lock-keywords)
13220 (opascal--syntax-propertize): New constants.
13221 (opascal-font-lock-defaults): Adjust.
13222 (opascal-mode): Use them. Set comment-<foo> variables as well.
13223 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13224 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13225 (delphi-other-face, opascal-other-face): Remove face variables.
13226 (opascal-save-state): Remove macro.
13227 (opascal-fontifying-progress-step): Remove constant.
13228 (opascal--ignore-changes): Remove var.
13229 (opascal-set-token-property, opascal-parse-next-literal)
13230 (opascal-is-stable-literal, opascal-complete-literal)
13231 (opascal-is-literal-start, opascal-face-of)
13232 (opascal-parse-region, opascal-parse-region-until-stable)
13233 (opascal-fontify-region, opascal-after-change)
13234 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13235 (opascal-debug-parse-region, opascal-debug-parse-window)
13236 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13237 (opascal-debug-fontify-buffer): Remove.
13238 (opascal-debug-mode-map): Adjust accordingly.
13239
13240 2013-04-25 Leo Liu <sdl.web@gmail.com>
13241
13242 Merge octave-mod.el and octave-inf.el into octave.el with some
13243 cleanups.
13244 * progmodes/octave.el: New file renamed from octave-mod.el.
13245 * progmodes/octave-inf.el: Merged into octave.el.
13246 * progmodes/octave-mod.el: Renamed to octave.el.
13247
13248 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13249
13250 * textmodes/reftex-vars.el
13251 (reftex-label-ignored-macros-and-environments): New defcustom.
13252
13253 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13254
13255 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13256
13257 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13258 (smie-indent-keyword): Improve the check to ensure that the next
13259 comment is really on the same line.
13260 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13261
13262 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13263 semi-colons if the line is not otherwise empty (bug#14218).
13264
13265 2013-04-25 Glenn Morris <rgm@gnu.org>
13266
13267 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13268
13269 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * progmodes/opascal.el (opascal-set-token-property): Rename from
13272 opascal-set-text-properties and only set `token' (bug#14134).
13273 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13274 (opascal-literal-text-properties): Remove.
13275 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13276 Adjust callers.
13277
13278 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13279
13280 * textmodes/remember.el (remember-handler-functions): Add an
13281 option for a new handler `remember-store-in-files'.
13282 (remember-data-directory, remember-directory-file-name-format):
13283 New options.
13284 (remember-store-in-files): New function to store remember notes
13285 as separate files within a directory.
13286
13287 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13288
13289 * progmodes/compile.el (compilation-next-error-function):
13290 Pass "formats" to compilation-find-file (bug#11777).
13291
13292 2013-04-24 Glenn Morris <rgm@gnu.org>
13293
13294 * vc/vc-bzr.el (vc-bzr-print-log):
13295 * vc/vc-hg.el (vc-hg-print-log):
13296 * vc/vc-svn.el (vc-svn-print-log):
13297 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13298
13299 * vc/vc-bzr.el (vc-bzr-print-log):
13300 * vc/vc-cvs.el (vc-cvs-print-log):
13301 * vc/vc-git.el (vc-git-print-log):
13302 * vc/vc-hg.el (vc-hg-print-log):
13303 * vc/vc-mtn.el (vc-mtn-print-log):
13304 * vc/vc-rcs.el (vc-rcs-print-log):
13305 * vc/vc-sccs.el (vc-sccs-print-log):
13306 * vc/vc-svn.el (vc-svn-print-log):
13307 * vc/vc.el (vc-print-log-internal): Doc fixes.
13308
13309 2013-04-23 Glenn Morris <rgm@gnu.org>
13310
13311 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13312 Remove venerable code attempting to avoid substitute-command-keys.
13313
13314 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13315
13316 * textmodes/reftex-vars.el (reftex-label-regexps):
13317 Call `reftex-compile-variables' after changes to this variable.
13318
13319 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13320
13321 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13322 Use lexical-binding.
13323 (jit-lock-force-redisplay): Use markers, check buffer's continued
13324 existence and beware narrowed buffers.
13325 (jit-lock-fontify-now): Adjust call accordingly.
13326
13327 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13328
13329 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13330 to avoid misleading the user.
13331
13332 2013-04-22 Leo Liu <sdl.web@gmail.com>
13333
13334 * info-look.el: Prefer latex2e.info. (Bug#14240)
13335
13336 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13337
13338 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13339
13340 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13341 * net/tramp.el (tramp-call-process): ... here.
13342 (tramp-set-completion-function, tramp-parse-putty):
13343 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13344 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13345 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13346 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13347 (tramp-call-local-coding-command): Use `tramp-call-process'
13348 instead of `tramp-compat-call-process'.
13349
13350 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13351 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13352 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13353 (tramp-find-inline-compress): Improve traces.
13354 (tramp-maybe-send-script): Check for Perl binary.
13355 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13356
13357 2013-04-22 Daiki Ueno <ueno@gnu.org>
13358
13359 * epg.el (epg-context-pinentry-mode): New function.
13360 (epg-context-set-pinentry-mode): New function.
13361 (epg--start): Pass --pinentry-mode option to gpg command.
13362
13363 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13364
13365 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13366 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13367 `completion-at-point'. (Bug#13774)
13368
13369 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13370 default key binding for `describe-distribution' has been moved to
13371 `C-h C-o'. (Bug#13970)
13372
13373 2013-04-21 Glenn Morris <rgm@gnu.org>
13374
13375 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13376 Add doc strings.
13377 (vc-print-log): Clarify interactive prompt.
13378
13379 2013-04-20 Glenn Morris <rgm@gnu.org>
13380
13381 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13382 No longer include timestamp etc information.
13383
13384 2013-04-20 Roland Winkler <winkler@gnu.org>
13385
13386 * faces.el (read-face-name): Bug fix, return just one face if arg
13387 multiple is nil. (Bug#14209)
13388
13389 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13390
13391 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13392 (remove-function): Autoload.
13393
13394 * comint.el (comint-redirect-original-filter-function): Remove.
13395 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13396 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13397 (vc-cvs-annotate-command):
13398 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13399 * progmodes/prolog.el (prolog-consult-compile):
13400 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13401 Use add/remove-function instead.
13402 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13403 (gud-tooltip-process-output, gud-tooltip-tips):
13404 Use add/remove-function instead.
13405 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13406 (scheme-interaction-mode, exit-scheme-interaction-mode):
13407 Use add/remove-function instead.
13408
13409 * vc/vc-dispatcher.el: Use lexical-binding.
13410 (vc--process-sentinel): Rename from vc-process-sentinel.
13411 Change last arg to be the code to run. Don't use vc-previous-sentinel
13412 and vc-sentinel-commands any more.
13413 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13414 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13415
13416 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13417
13418 * progmodes/sh-script.el (sh-imenu-generic-expression):
13419 Handle function names with a single character. (Bug#14111)
13420
13421 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13422
13423 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13424 for subroutines defined in an eval (bug#14182).
13425
13426 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13427
13428 * bookmark.el (bookmark-completing-read): Improve handling of empty
13429 string (bug#14176).
13430
13431 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13432
13433 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13434
13435 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13436
13437 New faster Imenu implementation (bug#14058).
13438 * progmodes/python.el:
13439 (python-imenu-prev-index-position):
13440 (python-imenu-format-item-label-function)
13441 (python-imenu-format-parent-item-label-function)
13442 (python-imenu-format-parent-item-jump-label-function):
13443 New vars.
13444 (python-imenu-format-item-label)
13445 (python-imenu-format-parent-item-label)
13446 (python-imenu-format-parent-item-jump-label)
13447 (python-imenu--put-parent, python-imenu--build-tree)
13448 (python-imenu-create-index, python-imenu-create-flat-index)
13449 (python-util-popn): New functions.
13450 (python-mode): Set imenu-create-index-function to
13451 python-imenu-create-index.
13452
13453 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13454
13455 * winner.el (winner-active-region): Use region-active-p, activate-mark
13456 and deactivate-mark (bug#14225).
13457
13458 * simple.el (deactivate-mark): Don't inline it.
13459
13460 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13461
13462 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13463
13464 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13465
13466 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13467 file extensions from the archive-mode entry in order to prefer
13468 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13469
13470 2013-04-18 Leo Liu <sdl.web@gmail.com>
13471
13472 * bindings.el (help-event-list): Add ?\?.
13473
13474 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13475
13476 * subr.el (with-wrapper-hook): Declare obsolete.
13477 * simple.el (filter-buffer-substring-function): New hook.
13478 (filter-buffer-substring): Use it.
13479 (filter-buffer-substring-functions): Mark obsolete.
13480 * minibuffer.el (completion-in-region-function): New hook.
13481 (completion-in-region): Use it.
13482 (completion-in-region-functions): Mark obsolete.
13483 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13484 * abbrev.el (abbrev-expand-function): New hook.
13485 (expand-abbrev): Use it.
13486 (abbrev-expand-functions): Mark obsolete.
13487 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13488 and :filter-return.
13489
13490 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13491
13492 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13493 and do not care about match data.
13494
13495 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13496
13497 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13498 completion tables when completing error conditions and
13499 `declare' arguments.
13500 (lisp-complete-symbol, field-complete): Mark as obsolete.
13501 (check-parens): Unmatched parens are user errors.
13502 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13503
13504 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13505
13506 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13507 command changed buffer (ie. `flyspell-pre-buffer' is not current
13508 buffer), which prevents making decisions based on invalid value of
13509 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13510 cause an error when `flyspell-pre-point' was nil after switching
13511 buffers.
13512 (flyspell-post-command-hook): No longer needs to change buffers when
13513 checking pre-word. While at it remove unnecessary progn.
13514
13515 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13516
13517 * textmodes/ispell.el (ispell-add-per-file-word-list):
13518 Fix `flyspell-correct-word-before-point' error when accepting
13519 words and `coment-padding' is an integer by using
13520 `comment-normalize-vars' (Bug #14214).
13521
13522 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13523
13524 New defun movement commands.
13525 * progmodes/python.el (python-nav--syntactically)
13526 (python-nav--forward-defun, python-nav-backward-defun)
13527 (python-nav-forward-defun): New functions.
13528
13529 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13530
13531 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13532 (python-syntax-context): Use named compiler-macro for backwards
13533 compatibility with Emacs 24.x.
13534
13535 2013-04-17 Leo Liu <sdl.web@gmail.com>
13536
13537 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13538 octave-hide-process-buffer.
13539
13540 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13541
13542 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13543 (bug#14216).
13544
13545 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13546
13547 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13548 Fix adjustment of offset when receiving incomplete responses from GDB
13549 (bug#14129).
13550
13551 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13552
13553 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13554 python-mode-abbrev-table.
13555 (python-skeleton-define): Adjust accordingly.
13556 (python-mode-abbrev-table): New table that inherits from it so that
13557 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13558
13559 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13560 (abbrev-symbol): Use it.
13561 (abbrev--before-point): Use it since we already handle inheritance.
13562
13563 2013-04-16 Leo Liu <sdl.web@gmail.com>
13564
13565 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13566 binding to info-lookup-symbol.
13567
13568 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13569
13570 * minibuffer.el (completion--twq-all):
13571 * term/ns-win.el (ns-initialize-window-system):
13572 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13573
13574 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13577 global bindings.
13578
13579 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13580
13581 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13582
13583 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13584 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13585 to nil.
13586 (ruby-end-of-defun): Remove the unused arg, change the docstring
13587 to reflect that this function is only used as the value of
13588 `end-of-defun-function'.
13589 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13590 to reflect an earlier change that beginning/end-of-defun functions
13591 jump between methods in a class definition, as well as top-level
13592 functions.
13593
13594 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13595
13596 * minibuffer.el (minibuffer-complete): Don't just scroll
13597 a *Completions* that's been iconified.
13598 (minibuffer-force-complete): Make sure repetitions do cycle when going
13599 through completion-in-region -> minibuffer-complete.
13600
13601 2013-04-15 Alan Mackenzie <acm@muc.de>
13602
13603 Correct the placement of c-cpp-delimiters when there're #s not at
13604 col 0.
13605
13606 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13607 place a submatch around the #.
13608 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13609 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13610 on the #, not BOL.
13611
13612 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13613
13614 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13615 (advice--member-p): New arg `name'.
13616 (advice--add-function, advice-member-p): Use it (bug#14202).
13617
13618 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13619
13620 Reformulate java imenu-generic-expression.
13621 The old expression contained ill formed regexps.
13622
13623 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13624 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13625 (cc-imenu-java-method-arg-regexp): New defconsts.
13626 (cc-imenu-java-build-type-args-regex): New defun.
13627 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13628 handling of spaces in the regexp.
13629
13630 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13631
13632 * textmodes/ispell.el (ispell-command-loop): Remove
13633 flyspell highlight of a word when ispell accepts it (bug #14178).
13634
13635 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13636
13637 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13638 uses code from the previous `ange-ftp-run-real-handler'.
13639 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13640 only in case that function exist. This is needed for proper
13641 unloading of Tramp.
13642
13643 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13644
13645 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13646
13647 * textmodes/reftex.el (reftex-compile-variables): Use it.
13648
13649 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * files.el (normal-mode): Only use default major-mode if no other mode
13652 was specified.
13653
13654 * emacs-lisp/trace.el (trace-values): New function.
13655
13656 * files.el: Allow : in local variables (bug#14089).
13657 (hack-local-variable-regexp): New var.
13658 (hack-local-variables-prop-line, hack-local-variables): Use it.
13659
13660 2013-04-13 Roland Winkler <winkler@gnu.org>
13661
13662 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13663 data before it gets modified by bibtex-beginning-of-entry.
13664
13665 2013-04-13 Roland Winkler <winkler@gnu.org>
13666
13667 * textmodes/bibtex.el (bibtex-url): Doc fix.
13668
13669 2013-04-13 Roland Winkler <winkler@gnu.org>
13670
13671 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13672 does not visit a BibTeX file, exclude it from the list of buffers
13673 returned by bibtex-initialize.
13674
13675 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13676
13677 * window.el (split-window): Remove interactive form, since as a
13678 command this function is a special case of split-window-below.
13679 Correct doc string.
13680
13681 2013-04-12 Roland Winkler <winkler@gnu.org>
13682
13683 * faces.el (read-face-name): Do not override value of arg default.
13684 Allow single faces and strings as default values. Remove those
13685 elements from return value that are not faces.
13686 (describe-face): Simplify.
13687 (face-at-point): New optional args thing and multiple so that this
13688 function can provide the same functionality previously provided by
13689 read-face-name.
13690 (make-face-bold, make-face-unbold, make-face-italic)
13691 (make-face-unitalic, make-face-bold-italic, invert-face)
13692 (modify-face, read-face-and-attribute): Use face-at-point.
13693
13694 * cus-edit.el (customize-face, customize-face-other-window)
13695 * cus-theme.el (custom-theme-add-face)
13696 * face-remap.el (buffer-face-set)
13697 * facemenu.el (facemenu-set-face): Use face-at-point.
13698
13699 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13700
13701 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13702
13703 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13704
13705 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13706 off leading { and trailing } from field values.
13707
13708 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13709
13710 * emacs-lisp/timer.el (timer--check): New function.
13711 (timer--time, timer-set-function, timer-event-handler): Use it.
13712 (timer-set-idle-time): Simplify.
13713 (timer--activate): CSE.
13714 (timer-event-handler): Give more info in error message.
13715 (internal-timer-start-idle): New function, moved from C.
13716
13717 * mpc.el (mpc-proc): Add `restart' argument.
13718 (mpc-proc-cmd): Use it.
13719 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13720 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13721 less often.
13722
13723 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13724
13725 * progmodes/sh-script.el: Implement `sh-mode' own
13726 `add-log-current-defun-function' (bug#14112).
13727 (sh-current-defun-name): New function.
13728 (sh-mode): Use the function.
13729
13730 2013-04-09 Bastien Guerry <bzg@gnu.org>
13731
13732 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13733
13734 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13735
13736 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13737
13738 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13739 timer (bug#14156).
13740
13741 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13742
13743 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13744 declaration.
13745
13746 2013-04-07 Leo Liu <sdl.web@gmail.com>
13747
13748 * pcmpl-x.el: New file.
13749
13750 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13751
13752 Do not set x-display-name until X connection is established.
13753 This is needed to prevent from weird situation described at
13754 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13755 * frame.el (make-frame): Set x-display-name after call to
13756 window system initialization function, not before.
13757 * term/x-win.el (x-initialize-window-system): Add optional
13758 display argument and use it.
13759 * term/w32-win.el (w32-initialize-window-system):
13760 * term/ns-win.el (ns-initialize-window-system):
13761 * term/pc-win.el (msdos-initialize-window-system):
13762 Add compatible optional display argument.
13763
13764 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13765
13766 * files.el (normal-backup-enable-predicate): On MS-Windows and
13767 MS-DOS compare truenames of temporary-file-directory and of the
13768 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13769 don't fail comparison by compare-strings. Also, compare file
13770 names case-insensitively on MS-Windows and MS-DOS.
13771
13772 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13773
13774 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13775 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13776
13777 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13778
13779 * whitespace.el (whitespace-color-on, whitespace-color-off):
13780 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13781
13782 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13783
13784 * ispell.el (ispell-set-spellchecker-params):
13785 Really set `ispell-args' for all equivs.
13786
13787 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * ido.el (ido-completions): Use extra elements of ido-decorations
13790 (bug#14143).
13791 (ido-decorations): Update docstring.
13792
13793 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13794
13795 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13796 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13797 nil during initialization, in order not to miss changes since the
13798 file was opened. (Bug#14140)
13799
13800 2013-04-05 Leo Liu <sdl.web@gmail.com>
13801
13802 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13803
13804 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13805
13806 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13807
13808 2013-04-04 Glenn Morris <rgm@gnu.org>
13809
13810 * electric.el (electric-pair-inhibit-predicate): Add :version.
13811
13812 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13813
13814 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13815 when a package is required several times (bug#14082).
13816
13817 2013-04-04 Roland Winkler <winkler@gnu.org>
13818
13819 * faces.el (read-face-name): Behave as promised by the docstring.
13820 Assume that arg default is a list of faces.
13821 (describe-face): Call read-face-name with list of default faces.
13822
13823 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13824
13825 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13826 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13827 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13828 the header.
13829 (bookmark-exit-hook-internal): Save even if list is empty.
13830
13831 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13832
13833 * emacs-lisp/package.el (package-pinned-packages): New var.
13834 (package--add-to-archive-contents): Obey it (bug#14118).
13835
13836 2013-04-03 Alan Mackenzie <acm@muc.de>
13837
13838 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13839 Also adapt to the new values of element 7 of a parse state.
13840
13841 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13842 parameter `not-in-delimiter'. Handle being inside comment opener.
13843 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13844 character in case we're typing a '*' after a '/'.
13845 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13846 instead by passing the parameter to c-state-pp-to-literal.
13847
13848 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13849 for elt. 7 of a parse state.
13850
13851 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13852
13853 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13854 * international/latin1-disp.el, international/mule-util.el:
13855 * language/cyril-util.el, language/european.el, language/ind-util.el:
13856 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13857 * language/tibetan.el, language/viet-util.el:
13858 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13859
13860 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13861
13862 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13863 (electric-pair-post-self-insert-function): Use it.
13864 (electric-pair-default-inhibit): New function, extracted from
13865 electric-pair-post-self-insert-function.
13866
13867 2013-03-31 Roland Winkler <winkler@gnu.org>
13868
13869 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13870
13871 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13872
13873 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13874
13875 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13876
13877 Un-indent after "pass" and "return" statements (Bug#13888)
13878 * progmodes/python.el (python-indent-block-enders): New var.
13879 (python-indent-calculate-indentation): Use it.
13880
13881 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13882
13883 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13884 defun. Defining it as defalias could introduce too eager
13885 byte-compiler optimization. (Bug#14030)
13886
13887 2013-03-30 Chong Yidong <cyd@gnu.org>
13888
13889 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13890
13891 2013-03-30 Leo Liu <sdl.web@gmail.com>
13892
13893 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13894 (kmacro-execute-from-register): Pass the keyboard macro to
13895 kmacro-call-macro or repeating won't work correctly.
13896
13897 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13898
13899 * progmodes/subword.el: Back to using `forward-symbol'.
13900
13901 * subr.el (forward-whitespace, forward-symbol)
13902 (forward-same-syntax): Move from thingatpt.el.
13903
13904 2013-03-29 Leo Liu <sdl.web@gmail.com>
13905
13906 * kmacro.el (kmacro-to-register): New command.
13907 (kmacro-execute-from-register): New function.
13908 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13909
13910 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13911
13912 * mpc.el: Use defvar-local and setq-local.
13913 (mpc--proc-connect): Connection failures are not bugs.
13914 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13915 (mpc-volume-map): Bind to the up-events.
13916
13917 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13918
13919 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13920 instead of `forward-symbol'.
13921
13922 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13923
13924 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13925 (edebug--recursive-edit): Use it.
13926 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13927 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13928
13929 2013-03-28 Leo Liu <sdl.web@gmail.com>
13930
13931 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13932
13933 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13934
13935 * facemenu.el (list-colors-callback): New defvar.
13936 (list-colors-redisplay): New function.
13937 (list-colors-display): Install list-colors-redisplay as the
13938 revert-buffer-function. (Bug#14063)
13939
13940 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13941
13942 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13943 and suffixes don't overlap (bug#14061).
13944
13945 * case-table.el: Use lexical-binding.
13946 (case-table-get-table): New function.
13947 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13948
13949 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13950
13951 * progmodes/subword.el: Add `superword-mode' to do word motion
13952 over symbol_words (parallels and leverages `subword-mode' which
13953 does word motion inside MixedCaseWords).
13954
13955 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13956
13957 * eshell/em-unix.el: Move su and sudo to...
13958 * eshell/em-tramp.el: ...Eshell tramp module.
13959
13960 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13961
13962 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13963 Change return value to be a sexp. Delay `get-buffer' to after
13964 restoring the desktop (bug#13951).
13965
13966 2013-03-26 Leo Liu <sdl.web@gmail.com>
13967
13968 * register.el: Move semantic tag handling back to
13969 cedet/semantic/senator.el. (Bug#14052)
13970
13971 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13972
13973 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13974 into the prompt either (bug#13963).
13975
13976 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13977
13978 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13979 part of "(error-foo)".
13980
13981 2013-03-24 Juri Linkov <juri@jurta.org>
13982
13983 * replace.el (list-matching-lines-prefix-face): New defcustom.
13984 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13985 `occur-engine' if `face-differs-from-default-p' returns t.
13986 (occur-engine): Add `,' inside backquote construct to evaluate
13987 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13988 Pass `prefix-face' to the functions `occur-context-lines' and
13989 `occur-engine-add-prefix'.
13990 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13991 `prefix-face' and propertize the prefix with `prefix-face'.
13992 (Bug#14017)
13993
13994 2013-03-24 Leo Liu <sdl.web@gmail.com>
13995
13996 * nxml/rng-valid.el (rng-validate-while-idle)
13997 (rng-validate-quick-while-idle): Guard against deleted buffer.
13998 (Bug#13999)
13999
14000 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14001 is the last entry in kill-buffer-hook.
14002
14003 * files.el (kill-buffer-hook): Doc fix.
14004
14005 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14006
14007 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14008 Make it safe-local.
14009
14010 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14011
14012 2013-03-23 Leo Liu <sdl.web@gmail.com>
14013
14014 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14015 Remove.
14016
14017 * nxml/rng-valid.el (rng-validate-mode)
14018 (rng-after-change-function, rng-do-some-validation):
14019 * nxml/rng-maint.el (rng-validate-buffer):
14020 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14021 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14022 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14023 (nxml-extend-after-change-region): Use with-silent-modifications.
14024
14025 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14026 timer-idle-list.
14027
14028 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14029 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14030 timer-idle-list. (Bug#13999)
14031
14032 2013-03-23 Juri Linkov <juri@jurta.org>
14033
14034 * info.el (info-index-match): New face.
14035 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14036 main pattern and add text properties with the new face to matches
14037 in index entries relative to the beginning of the index entry.
14038 (Bug#14015)
14039
14040 2013-03-21 Eric Ludlam <zappo@gnu.org>
14041
14042 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14043 Inhibit read only while inserting objects.
14044
14045 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14046
14047 * progmodes/cfengine.el: Update docs to mention
14048 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14049 symbol motion. Remove "_" from the word syntax.
14050
14051 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14052
14053 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14054 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14055
14056 2013-03-20 Juri Linkov <juri@jurta.org>
14057
14058 * info.el (Info-next-reference-or-link)
14059 (Info-prev-reference-or-link): New functions.
14060 (Info-next-reference, Info-prev-reference): Use them.
14061 (Info-try-follow-nearest-node): Handle footnote navigation.
14062 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14063
14064 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14065
14066 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14067 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14068
14069 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14070
14071 Suppress unnecessary non-ASCII chatter during build process.
14072 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14073 (batch-skkdic-convert): Suppress most of the chatter.
14074 It's not needed so much now that machines are faster,
14075 and its non-ASCII component was confusing; see Dmitry Gutov in
14076 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14077
14078 2013-03-20 Leo Liu <sdl.web@gmail.com>
14079
14080 * ido.el (ido-chop): Fix bug#10994.
14081
14082 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14083
14084 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14085 Remove vars.
14086 (whitespace-color-on, whitespace-color-off):
14087 Use `font-lock-fontify-buffer' (Bug#13817).
14088
14089 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14090
14091 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14092 remapping in mode-line.
14093 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14094
14095 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14096
14097 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14098 value for `whitespace-line' face (Bug#13875).
14099 (whitespace-font-lock-keywords): Change description.
14100 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14101 the constructed keywords instead.
14102 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14103
14104 2013-03-19 Leo Liu <sdl.web@gmail.com>
14105
14106 * progmodes/compile.el (compilation-display-error): New command.
14107 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14108 C-o. (Bug#13992)
14109
14110 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14111
14112 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14113
14114 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14115
14116 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14117
14118 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14119
14120 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14121
14122 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14123 * net/tramp-gvfs.el (top):
14124 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14125 (tramp-handle-shell-command): Use it.
14126 (tramp-dissect-file-name): Raise an error when hostname is a
14127 method name, and neither method nor user is specified.
14128
14129 * net/trampver.el: Update release number.
14130
14131 2013-03-18 Leo Liu <sdl.web@gmail.com>
14132
14133 Make sure eldoc can be turned off properly.
14134 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14135 eldoc-mode.
14136 (eldoc-display-message-p): Revert last change.
14137 (eldoc-display-message-no-interference-p)
14138 (eldoc-print-current-symbol-info): Tweak.
14139
14140 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14141
14142 * doc-view.el (doc-view-new-window-function): Check the new window
14143 overlay's display property instead the char property of the
14144 buffer's first char. Use `with-selected-window' instead of
14145 `save-window-excursion' with `select-window'.
14146 (doc-view-document->bitmap): Check the current doc-view overlay's
14147 display property instead the char property of the buffer's first char.
14148
14149 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14150
14151 Automate the build of ja-dic.el (Bug#13984).
14152 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14153 from the input, rather than assume that it's been done for us by the
14154 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14155 the current date into a ja-dic.el comment, as that complicates
14156 regression testing.
14157
14158 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14159
14160 * whitespace.el: Fix double evaluation.
14161 (whitespace-space, whitespace-hspace, whitespace-tab)
14162 (whitespace-newline, whitespace-trailing, whitespace-line)
14163 (whitespace-space-before-tab, whitespace-indentation)
14164 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14165 obsolete defvars.
14166 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14167 (whitespace-color-on): Use a single font-lock-add-keywords call.
14168 Fix double-evaluation of face variables.
14169
14170 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14171
14172 * net/tramp-adb.el (tramp-adb-parse-device-names):
14173 Use `start-process' instead of `call-process'. Otherwise, the
14174 function might be blocked under MS Windows. (Bug#13299)
14175
14176 2013-03-17 Leo Liu <sdl.web@gmail.com>
14177
14178 Extend eldoc to display info in the mode-line. (Bug#13978)
14179 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14180 (eldoc-mode-line-string): New variable.
14181 (eldoc-minibuffer-message): New function.
14182 (eldoc-message-function): New variable.
14183 (eldoc-message): Use it.
14184 (eldoc-display-message-p)
14185 (eldoc-display-message-no-interference-p):
14186 Support eldoc-post-insert-mode.
14187
14188 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14189 (eval-expression): Run it.
14190
14191 2013-03-17 Roland Winkler <winkler@gnu.org>
14192
14193 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14194 strings in the list of return values.
14195
14196 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14197
14198 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14199 radix before checking for HMS forms.
14200
14201 2013-03-16 Leo Liu <sdl.web@gmail.com>
14202
14203 * progmodes/scheme.el: Add indentation and font-locking for λ.
14204 (Bug#13975)
14205
14206 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14207
14208 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14209 token before point (bug#13942).
14210
14211 2013-03-16 Leo Liu <sdl.web@gmail.com>
14212
14213 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14214
14215 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14216
14217 * startup.el (command-line-normalize-file-name): Fix handling of
14218 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14219 <xfq.free@gmail.com> in
14220 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14221
14222 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14223
14224 Sync with Tramp 2.2.7.
14225
14226 * net/trampver.el: Update release number.
14227
14228 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14229
14230 * doc-view.el: Fix bug#13887.
14231 (doc-view-insert-image): Don't modify overlay associated to
14232 non-live windows, and implement horizontal centering of image in
14233 case it's smaller than the window.
14234 (doc-view-new-window-function): Force redisplay of new windows on
14235 doc-view buffers.
14236
14237 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14238
14239 * saveplace.el (save-place-alist-to-file): Don't sort
14240 `save-place-alist', just pretty-print it (bug#13882).
14241
14242 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14243
14244 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14245 Check whether `default-file-name-coding-system' is bound.
14246 It isn't in XEmacs.
14247
14248 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14249
14250 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14251 backquotes for `obsolete' (bug#13929).
14252
14253 * international/mule.el (find-auto-coding): Include file name in
14254 obsolescence warning (bug#13922).
14255
14256 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14257
14258 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14259 for CFEngine 3-specific indentation.
14260 (cfengine3-indent-line): Use it. Fix up category regex.
14261 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14262
14263 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14264
14265 * type-break.el (type-break-file-name):
14266 * textmodes/remember.el (remember-data-file):
14267 * strokes.el (strokes-file):
14268 * shadowfile.el (shadow-initialize):
14269 * saveplace.el (save-place-file):
14270 * ps-bdf.el (bdf-cache-file):
14271 * progmodes/idlwave.el (idlwave-config-directory):
14272 * net/quickurl.el (quickurl-url-file):
14273 * international/kkc.el (kkc-init-file-name):
14274 * ido.el (ido-save-directory-list-file):
14275 * emulation/viper.el (viper-custom-file-name):
14276 * emulation/vip.el (vip-startup-file):
14277 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14278 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14279
14280 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14281
14282 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14283 * language/thai-word.el: Switch to UTF-8.
14284
14285 See ChangeLog.16 for earlier changes.
14286
14287 ;; Local Variables:
14288 ;; coding: utf-8
14289 ;; End:
14290
14291 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14292
14293 This file is part of GNU Emacs.
14294
14295 GNU Emacs is free software: you can redistribute it and/or modify
14296 it under the terms of the GNU General Public License as published by
14297 the Free Software Foundation, either version 3 of the License, or
14298 (at your option) any later version.
14299
14300 GNU Emacs is distributed in the hope that it will be useful,
14301 but WITHOUT ANY WARRANTY; without even the implied warranty of
14302 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14303 GNU General Public License for more details.
14304
14305 You should have received a copy of the GNU General Public License
14306 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.